mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Airtable Node): Overhaul (#6200)
This commit is contained in:
25
packages/nodes-base/nodes/Airtable/v2/helpers/interfaces.ts
Normal file
25
packages/nodes-base/nodes/Airtable/v2/helpers/interfaces.ts
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user