feat(Airtable Node): Overhaul (#6200)

This commit is contained in:
Michael Kret
2023-07-17 19:42:30 +03:00
committed by GitHub
parent fc8ed55c0d
commit b69d20c12e
42 changed files with 3989 additions and 871 deletions

View File

@@ -0,0 +1,25 @@
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;
};