22 lines
262 B
TypeScript
22 lines
262 B
TypeScript
|
|
import type { IDataObject } from 'n8n-workflow';
|
||
|
|
|
||
|
|
export interface IData {
|
||
|
|
data: [
|
||
|
|
{
|
||
|
|
id: string;
|
||
|
|
},
|
||
|
|
];
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface IRelation {
|
||
|
|
data: [
|
||
|
|
{
|
||
|
|
relationships: {
|
||
|
|
identities: IData;
|
||
|
|
member: IData;
|
||
|
|
};
|
||
|
|
},
|
||
|
|
];
|
||
|
|
included: IDataObject[];
|
||
|
|
}
|