49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
/* eslint-disable @nx/enforce-module-boundaries */
|
|
// nx-ignore-next-line
|
|
import type {
|
|
ExpandedTaskInputsReponse,
|
|
ProjectGraphClientResponse,
|
|
TaskGraphClientResponse,
|
|
} from 'nx/src/command-line/graph/graph';
|
|
import { AppConfig, ExternalApi } from '@nx/graph/shared';
|
|
|
|
export declare global {
|
|
interface Window {
|
|
exclude: string[];
|
|
watch: boolean;
|
|
localMode: 'serve' | 'build';
|
|
projectGraphResponse?: ProjectGraphClientResponse;
|
|
taskGraphResponse?: TaskGraphClientResponse;
|
|
expandedTaskInputsResponse?: ExpandedTaskInputsReponse;
|
|
sourceMapsResponse?: Record<string, Record<string, string[]>>;
|
|
environment: 'dev' | 'watch' | 'release' | 'nx-console';
|
|
appConfig: AppConfig;
|
|
useXstateInspect: boolean;
|
|
externalApi?: ExternalApi;
|
|
}
|
|
}
|
|
declare module 'cytoscape' {
|
|
interface Core {
|
|
anywherePanning: Function;
|
|
}
|
|
|
|
interface ElementDefinition {
|
|
pannable?: boolean;
|
|
}
|
|
|
|
interface NodeSingular {
|
|
popperRef: Function;
|
|
pannable: () => boolean;
|
|
}
|
|
|
|
interface EdgeSingular {
|
|
popperRef: Function;
|
|
}
|
|
|
|
namespace Css {
|
|
interface EdgeLine {
|
|
'edge-text-rotation'?: string;
|
|
}
|
|
}
|
|
}
|