mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
6de4dfff87
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
39 lines
955 B
TypeScript
39 lines
955 B
TypeScript
import type { VNode, ComponentPublicInstance } from 'vue';
|
|
import type { PartialDeep } from 'type-fest';
|
|
import type { ExternalHooks } from '@/types/externalHooks';
|
|
import type { FrontendSettings } from '@n8n/api-types';
|
|
|
|
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;
|
|
sentry?: { dsn?: string; environment: string; release: 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;
|
|
}
|
|
}
|