n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 821 B
text/typescript
/**
* Nextcloud Node - Version 1
* Discriminator: resource=folder, operation=move
*/
interface Credentials {
nextCloudApi: CredentialReference;
nextCloudOAuth2Api: CredentialReference;
}
/** Move a file */
export type NextCloudV1FolderMoveParams = {
resource: 'folder';
operation: 'move';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* The path of file or folder to move. The path should start with "/".
*/
path?: string | Expression<string> | PlaceholderValue;
/**
* The new path of file or folder. The path should start with "/".
*/
toPath?: string | Expression<string> | PlaceholderValue;
};
export type NextCloudV1FolderMoveNode = {
type: 'n8n-nodes-base.nextCloud';
version: 1;
credentials?: Credentials;
config: NodeConfig<NextCloudV1FolderMoveParams>;
};