export interface YapSerializedPipeline { id?: string; links: YapSerializedLink[]; nodes: YapSerializedNode[]; } export interface YapTransfo extends YapSerializedPipeline { id: string; title: string; description: string; version: string; active: boolean; lastJobExecution?: LastJobExecution | null; creationDate: string; jobInstanceId?: string; } interface LastJobExecution { uuid: string; status: ExecutionState; executionDate: string; } export declare enum ExecutionState { STARTED = "started", TERMINATED = "terminated", ERROR = "error" } export interface YapSerializedLink { start: YapSerializedSlot; end: YapSerializedSlot; } export interface YapSerializedSlot { id: string; slot: number; } export interface YapSerializedNode { id: string; type: string; title: string; spec: YapSerializedSpec; gui: YapSerializedGui; subgraph?: { nodes: YapSerializedNode[]; links: YapSerializedLink[]; }; } export interface YapSerializedGui { pos: any; size: any; } export interface YapSerializedSpec { [key: string]: string | number; } export {};