MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / setDataSourceImportStatus

Function setDataSourceImportStatus

desktop/src/renderer/state/actions.ts:41–44  ·  view source on GitHub ↗
(sourceId: string, status: 'not_imported' | 'importing' | 'imported')

Source from the content-addressed store, hash-verified

39});
40
41export const setDataSourceImportStatus = (sourceId: string, status: 'not_imported' | 'importing' | 'imported') => ({
42 type: 'SET_DATA_SOURCE_IMPORT_STATUS',
43 payload: { sourceId, status },
44});
45
46export const addRun = (run: IRun) => ({
47 type: 'ADD_RUN',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected