Skip to content

@sqlrooms/project / ProjectStateActions

Type Alias: ProjectStateActions<PC>

ProjectStateActions<PC>: object

Type Parameters

Type Parameter
PC

Type declaration

NameTypeDescription
initialize() => Promise<void>-
setProjectConfig(config) => voidSet the project config.
setLastSavedConfig(config) => voidSet the last saved project config. This can be used to check if the project has unsaved changes.
hasUnsavedChanges()-
setTaskProgress(id, taskProgress) => void-
getLoadingProgress() => TaskProgress | undefined-