UNPKG

n8n

Version:

n8n Workflow Automation Tool

25 lines (24 loc) 768 B
import type { AuthenticatedRequest } from '@n8n/db'; import type { PublicAPIEndpoint } from '../../shared/handler.types'; type FolderHandlers = { createFolder: PublicAPIEndpoint<AuthenticatedRequest<{ projectId: string; }>>; getFolders: PublicAPIEndpoint<AuthenticatedRequest<{ projectId: string; }>>; deleteFolder: PublicAPIEndpoint<AuthenticatedRequest<{ projectId: string; folderId: string; }>>; getFolder: PublicAPIEndpoint<AuthenticatedRequest<{ projectId: string; folderId: string; }>>; updateFolder: PublicAPIEndpoint<AuthenticatedRequest<{ projectId: string; folderId: string; }>>; }; declare const folderHandlers: FolderHandlers; export = folderHandlers;