UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

33 lines (28 loc) 834 B
/** * Nextcloud Node - Version 1 * Discriminator: resource=folder, operation=create */ interface Credentials { nextCloudApi: CredentialReference; nextCloudOAuth2Api: CredentialReference; } /** Create a folder */ export type NextCloudV1FolderCreateParams = { resource: 'folder'; operation: 'create'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The folder to create. The parent folder has to exist. The path should start with "/". */ path?: string | Expression<string> | PlaceholderValue; }; export type NextCloudV1FolderCreateOutput = { error?: string; }; export type NextCloudV1FolderCreateNode = { type: 'n8n-nodes-base.nextCloud'; version: 1; credentials?: Credentials; config: NodeConfig<NextCloudV1FolderCreateParams>; output?: Items<NextCloudV1FolderCreateOutput>; };