Files
n8n-enterprise-unlocked/packages/nodes-base/nodes/Microsoft/SharePoint/helpers/interfaces.ts
2025-05-16 08:55:10 +01:00

47 lines
666 B
TypeScript

import type { IDataObject } from 'n8n-workflow';
export interface IListColumnType {
id: string;
hidden: boolean;
name: string;
displayName: string;
readOnly: boolean;
required: boolean;
type: string;
enforceUniqueValues: boolean;
choice?: {
choices: string[];
};
}
export interface IDriveItem {
id: string;
name: string;
file?: IDataObject;
folder?: IDataObject;
}
export interface IListItem {
id: string;
fields: {
Title: string;
};
}
export interface IList {
id: string;
displayName: string;
}
export interface ISite {
id: string;
title: string;
}
export interface IErrorResponse {
error: {
code: string;
message: string;
};
}