n8n/packages/nodes-base/nodes/Google/Docs/interfaces.d.ts
Iván Ovejero 0d9eeea024
refactor(core): Introduce overload for record-type node parameter (no-changelog) (#4648)
* 📘 Set up overload

* 🔥 Remove inferrable record assertions

* 👕 Fix semicolon

* 👕 Fix another semicolon
2022-11-18 16:29:44 +01:00

14 lines
282 B
TypeScript

import type { IDataObject } from 'n8n-workflow';
export interface IUpdateBody extends IDataObject {
requests: IDataObject[];
writeControl?: { [key: string]: string };
}
export type IUpdateFields = IDataObject & {
writeControlObject: {
control: string;
value: string;
};
}