2021-11-03 10:41:59 +00:00
|
|
|
declare module '*.jpg' {
|
|
|
|
export default '' as string;
|
|
|
|
}
|
|
|
|
declare module '*.png' {
|
|
|
|
export default '' as string;
|
|
|
|
}
|
|
|
|
|
2022-07-01 01:14:22 +00:00
|
|
|
declare module '*.svg' {
|
|
|
|
export default '' as string;
|
|
|
|
}
|
|
|
|
|
2022-06-28 07:42:42 +00:00
|
|
|
type SvgrComponent = React.StatelessComponent<React.SVGAttributes<SVGElement>>;
|
|
|
|
|
|
|
|
declare module '*.svg?c' {
|
|
|
|
const value: SvgrComponent;
|
|
|
|
export default value;
|
|
|
|
}
|
|
|
|
|
2021-11-03 10:41:59 +00:00
|
|
|
declare module '*.css';
|
2022-01-23 19:48:04 +00:00
|
|
|
|
|
|
|
declare module '@open-amt-cloud-toolkit/ui-toolkit-react/reactjs/src/kvm.bundle';
|
2022-02-01 17:38:45 +00: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 01:10:42 +00:00
|
|
|
|
|
|
|
interface Window {
|
2022-06-23 07:25:56 +00:00
|
|
|
/**
|
|
|
|
* will be true if portainer is run as a Docker Desktop Extension
|
|
|
|
*/
|
|
|
|
ddExtension?: boolean;
|
2022-04-19 01:10:42 +00:00
|
|
|
}
|
2022-06-28 07:42:42 +00:00
|
|
|
|
|
|
|
declare module 'process' {
|
|
|
|
global {
|
|
|
|
namespace NodeJS {
|
|
|
|
interface ProcessEnv {
|
|
|
|
PORTAINER_EDITION: 'BE' | 'CE';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|