Files
n8n_Demo/n8n-n8n-1.109.2/packages/nodes-base/nodes/Airtable/v2/helpers/interfaces.ts
2025-09-08 04:48:28 +08:00

26 lines
415 B
TypeScript
Executable File

import type { IDataObject } from 'n8n-workflow';
export interface IAttachment {
url: string;
filename: string;
type: string;
}
export interface IRecord {
fields: {
[key: string]: string | IAttachment[];
};
}
export type UpdateRecord = {
fields: IDataObject;
id?: string;
};
export type UpdateBody = {
records: UpdateRecord[];
performUpsert?: {
fieldsToMergeOn: string[];
};
typecast?: boolean;
};