@sqlrooms/project / ProjectStateActions
Type Alias: ProjectStateActions<PC>
ProjectStateActions<
PC
>:object
Type Parameters
Type Parameter |
---|
PC |
Type declaration
Name | Type | Description |
---|---|---|
initialize | () => Promise <void > | - |
setProjectConfig | (config ) => void | Set the project config. |
setLastSavedConfig | (config ) => void | Set 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 | - |