MCPcopy Create free account
hub / github.com/HelloCSV/HelloCSV / constructor

Method constructor

src/importer/state.tsx:78–86  ·  view source on GitHub ↗
(
    importerDefinition: StateBuilderImporterDefinition,
    initialState?: ImporterState
  )

Source from the content-addressed store, hash-verified

76 protected buildSteps: ImporterAction[];
77
78 constructor(
79 importerDefinition: StateBuilderImporterDefinition,
80 initialState?: ImporterState
81 ) {
82 this.importerDefinition = importerDefinition;
83 this.initialState =
84 initialState ?? buildInitialState(importerDefinition.sheets);
85 this.buildSteps = [];
86 }
87
88 public async getState(): Promise<ImporterState> {
89 let state = this.initialState;

Callers

nothing calls this directly

Calls 1

buildInitialStateFunction · 0.85

Tested by

no test coverage detected