mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
97bb703d0a
Github issue / Community forum post (link here to close automatically):
32 lines
532 B
TypeScript
32 lines
532 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 ResponseWithJobReference = {
|
|
kind: string;
|
|
id: string;
|
|
jobReference: JobReference;
|
|
status: {
|
|
state: 'PENDING' | 'RUNNING' | 'DONE';
|
|
};
|
|
};
|