UNPKG

n8n

Version:

n8n Workflow Automation Tool

23 lines (22 loc) 817 B
import { z } from 'zod'; import { BaseCommand } from '../base-command'; declare const flagsSchema: z.ZodObject<{ userId: z.ZodOptional<z.ZodString>; projectId: z.ZodOptional<z.ZodString>; deleteWorkflowsAndCredentials: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { projectId?: string | undefined; userId?: string | undefined; deleteWorkflowsAndCredentials?: boolean | undefined; }, { projectId?: string | undefined; userId?: string | undefined; deleteWorkflowsAndCredentials?: boolean | undefined; }>; export declare class Reset extends BaseCommand<z.infer<typeof flagsSchema>> { run(): Promise<void>; getProject(userId?: string, projectId?: string): Promise<import("@n8n/db").Project>; catch(error: Error): Promise<void>; private getOwner; } export {};