2021-11-03 12:41:59 +02:00
|
|
|
declare module '*.jpg' {
|
|
|
|
export default '' as string;
|
|
|
|
}
|
|
|
|
declare module '*.png' {
|
|
|
|
export default '' as string;
|
|
|
|
}
|
|
|
|
|
2022-06-28 10:42:42 +03:00
|
|
|
type SvgrComponent = React.StatelessComponent<React.SVGAttributes<SVGElement>>;
|
|
|
|
|
|
|
|
declare module '*.svg?c' {
|
|
|
|
const value: SvgrComponent;
|
|
|
|
export default value;
|
|
|
|
}
|
|
|
|
|
2021-11-03 12:41:59 +02:00
|
|
|
declare module '*.css';
|
2022-01-23 16:48:04 -03:00
|
|
|
|
|
|
|
declare module '@open-amt-cloud-toolkit/ui-toolkit-react/reactjs/src/kvm.bundle';
|
2022-02-01 19:38:45 +02:00
|
|
|
|
|
|
|
declare module 'axios-progress-bar' {
|
|
|
|
import { AxiosInstance } from 'axios';
|
|
|
|
import { NProgressOptions } from 'nprogress';
|
|
|
|
|
|
|
|
export function loadProgressBar(
|
|
|
|
config?: Partial<NProgressOptions>,
|
|
|
|
instance?: AxiosInstance
|
|
|
|
): void;
|
|
|
|
}
|
2022-04-19 13:10:42 +12:00
|
|
|
|
|
|
|
interface Window {
|
2022-06-23 10:25:56 +03:00
|
|
|
/**
|
|
|
|
* will be true if portainer is run as a Docker Desktop Extension
|
|
|
|
*/
|
|
|
|
ddExtension?: boolean;
|
2022-04-19 13:10:42 +12:00
|
|
|
}
|
2022-06-28 10:42:42 +03:00
|
|
|
|
|
|
|
declare module 'process' {
|
|
|
|
global {
|
|
|
|
namespace NodeJS {
|
|
|
|
interface ProcessEnv {
|
|
|
|
PORTAINER_EDITION: 'BE' | 'CE';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|