UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

28 lines (24 loc) 711 B
/** * Nextcloud Node - Version 1 * Discriminator: resource=file, operation=delete */ interface Credentials { nextCloudApi: CredentialReference; nextCloudOAuth2Api: CredentialReference; } /** Delete a file */ export type NextCloudV1FileDeleteParams = { resource: 'file'; operation: 'delete'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The path to delete. Can be a single file or a whole folder. The path should start with "/". */ path?: string | Expression<string> | PlaceholderValue; }; export type NextCloudV1FileDeleteNode = { type: 'n8n-nodes-base.nextCloud'; version: 1; credentials?: Credentials; config: NodeConfig<NextCloudV1FileDeleteParams>; };