UNPKG

n8n

Version:

n8n Workflow Automation Tool

19 lines (18 loc) 915 B
import { SharedWorkflowRepository } from '@n8n/db'; import { VariablesService } from '../../../../environments.ee/variables/variables.service.ee'; import { VariableSerializer } from './variable.serializer'; import type { VariableExportRequest, VariableExportResult } from './variable.types'; export declare class VariableExporter { private readonly variablesService; private readonly sharedWorkflowRepository; private readonly variableSerializer; constructor(variablesService: VariablesService, sharedWorkflowRepository: SharedWorkflowRepository, variableSerializer: VariableSerializer); export(request: VariableExportRequest): Promise<VariableExportResult>; private serializeOrBlock; private resolveRequirements; private resolveBaseDir; private resolveWorkflowProjects; private assertNoBundledVariableCollision; private hasDirectoryCollision; private groupByName; }