mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24:07 -08:00
32 lines
525 B
TypeScript
32 lines
525 B
TypeScript
|
import type { IDataObject } from 'n8n-workflow';
|
||
|
|
||
|
export type SchemaField = {
|
||
|
name: string;
|
||
|
type: string;
|
||
|
mode: string;
|
||
|
fields?: SchemaField[];
|
||
|
};
|
||
|
|
||
|
export type TableSchema = {
|
||
|
fields: SchemaField[];
|
||
|
};
|
||
|
|
||
|
export type TableRawData = {
|
||
|
f: Array<{ v: IDataObject | TableRawData }>;
|
||
|
};
|
||
|
|
||
|
export type JobReference = {
|
||
|
projectId: string;
|
||
|
jobId: string;
|
||
|
location: string;
|
||
|
};
|
||
|
|
||
|
export type JobInsertResponse = {
|
||
|
kind: string;
|
||
|
id: string;
|
||
|
jobReference: JobReference;
|
||
|
status: {
|
||
|
state: 'PENDING' | 'RUNNING' | 'DONE';
|
||
|
};
|
||
|
};
|