UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

28 lines (24 loc) 721 B
/** * Nextcloud Node - Version 1 * Discriminator: resource=folder, operation=delete */ interface Credentials { nextCloudApi: CredentialReference; nextCloudOAuth2Api: CredentialReference; } /** Delete a file */ export type NextCloudV1FolderDeleteParams = { resource: 'folder'; 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 NextCloudV1FolderDeleteNode = { type: 'n8n-nodes-base.nextCloud'; version: 1; credentials?: Credentials; config: NodeConfig<NextCloudV1FolderDeleteParams>; };