UNPKG

n8n

Version:

n8n Workflow Automation Tool

17 lines (16 loc) 801 B
import { ErrorReporter, StorageConfig } from 'n8n-core'; import type { ExecutionDataStore, ExecutionRef, ExecutionDataPayload, ExecutionDataBundle } from './types'; export declare class FsStore implements ExecutionDataStore { private readonly storageConfig; private readonly errorReporter; constructor(storageConfig: StorageConfig, errorReporter: ErrorReporter); init(): Promise<void>; write(ref: ExecutionRef, payload: ExecutionDataPayload): Promise<void>; read(ref: ExecutionRef): Promise<ExecutionDataBundle | null>; readMany(refs: ExecutionRef[]): Promise<Map<string, ExecutionDataBundle>>; delete(ref: ExecutionRef | ExecutionRef[]): Promise<void>; private resolveExecutionDir; private resolveBundlePath; private isFileNotFound; private tryRead; }