mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-30 06:59:41 -08:00
bbb2296b3d
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
37 lines
832 B
TypeScript
37 lines
832 B
TypeScript
import type { VNode, ComponentPublicInstance } from 'vue';
|
|
import type { PartialDeep } from 'type-fest';
|
|
import type { ExternalHooks } from '@/types/externalHooks';
|
|
|
|
export {};
|
|
|
|
declare global {
|
|
interface ImportMeta {
|
|
env: {
|
|
DEV: boolean;
|
|
PROD: boolean;
|
|
NODE_ENV: 'development' | 'production';
|
|
VUE_APP_URL_BASE_API: string;
|
|
};
|
|
}
|
|
|
|
interface Window {
|
|
BASE_PATH: string;
|
|
REST_ENDPOINT: string;
|
|
n8nExternalHooks?: PartialDeep<ExternalHooks>;
|
|
preventNodeViewBeforeUnload?: boolean;
|
|
maxPinnedDataSize?: number;
|
|
}
|
|
|
|
namespace JSX {
|
|
interface Element extends VNode {}
|
|
interface ElementClass extends ComponentPublicInstance {}
|
|
interface IntrinsicElements {
|
|
[elem: string]: any;
|
|
}
|
|
}
|
|
|
|
interface Array<T> {
|
|
findLast(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T;
|
|
}
|
|
}
|