UNPKG

n8n

Version:

n8n Workflow Automation Tool

9 lines (8 loc) 721 B
import type { WorkflowEntity } from './databases/entities/WorkflowEntity'; import type { CredentialsEntity } from './databases/entities/CredentialsEntity'; import type { TagEntity } from './databases/entities/TagEntity'; import type { User } from './databases/entities/User'; import type { UserRoleChangePayload, UserSettingsUpdatePayload, UserUpdatePayload } from './requests'; export declare function validateEntity(entity: WorkflowEntity | CredentialsEntity | TagEntity | User | UserUpdatePayload | UserRoleChangePayload | UserSettingsUpdatePayload): Promise<void>; export declare const DEFAULT_EXECUTIONS_GET_ALL_LIMIT = 20; export declare function validateRecordNoXss(record: Record<string, string>): Promise<void>;