@overmap-ai/core 1.0.65-asset-stage-completion-plan.3 → 1.0.65-asset-stage-completion-plan.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -1115,7 +1115,7 @@ const assetStageComepltionPlanSlice = createSlice({
|
|
|
1115
1115
|
initialState: initialState$x,
|
|
1116
1116
|
extraReducers: (builder) => builder.addCase("RESET", (state) => Object.assign(state, initialState$x)),
|
|
1117
1117
|
reducers: {
|
|
1118
|
-
|
|
1118
|
+
initializeAssetStageCompletionPlans: assetStageCompletionPlanAdapter.initialize,
|
|
1119
1119
|
addAssetStageCompletionPlan: assetStageCompletionPlanAdapter.addOne,
|
|
1120
1120
|
addAssetStageCompletionPlans: assetStageCompletionPlanAdapter.addMany,
|
|
1121
1121
|
setAssetStageCompletionPlan: assetStageCompletionPlanAdapter.setOne,
|
|
@@ -1127,7 +1127,7 @@ const assetStageComepltionPlanSlice = createSlice({
|
|
|
1127
1127
|
}
|
|
1128
1128
|
});
|
|
1129
1129
|
const {
|
|
1130
|
-
|
|
1130
|
+
initializeAssetStageCompletionPlans,
|
|
1131
1131
|
addAssetStageCompletionPlan,
|
|
1132
1132
|
addAssetStageCompletionPlans,
|
|
1133
1133
|
updateAssetStageCompletionPlan,
|
|
@@ -7652,10 +7652,10 @@ class AssetStageCompletionPlanService extends BaseApiService {
|
|
|
7652
7652
|
if (!assetStageCompletionPlan) {
|
|
7653
7653
|
throw new Error(`AssetStageCompletionPlan with offline_id ${payload.offline_id} not found`);
|
|
7654
7654
|
}
|
|
7655
|
-
const updatedAssetStageCompletionPlan =
|
|
7655
|
+
const updatedAssetStageCompletionPlan = {
|
|
7656
7656
|
...assetStageCompletionPlan,
|
|
7657
7657
|
...payload
|
|
7658
|
-
}
|
|
7658
|
+
};
|
|
7659
7659
|
this.dispatch(updateAssetStageCompletionPlan(updatedAssetStageCompletionPlan));
|
|
7660
7660
|
const promise = this.enqueueRequest({
|
|
7661
7661
|
description: "Update asset stage completion plan",
|
|
@@ -7700,7 +7700,7 @@ class AssetStageCompletionPlanService extends BaseApiService {
|
|
|
7700
7700
|
blockers: [],
|
|
7701
7701
|
blocks: []
|
|
7702
7702
|
});
|
|
7703
|
-
this.dispatch(
|
|
7703
|
+
this.dispatch(initializeAssetStageCompletionPlans(result));
|
|
7704
7704
|
}
|
|
7705
7705
|
}
|
|
7706
7706
|
export {
|
|
@@ -7942,7 +7942,7 @@ export {
|
|
|
7942
7942
|
hashFile,
|
|
7943
7943
|
initSDK,
|
|
7944
7944
|
initializeAssetAttachments,
|
|
7945
|
-
|
|
7945
|
+
initializeAssetStageCompletionPlans,
|
|
7946
7946
|
initializeAssetTypeAttachments,
|
|
7947
7947
|
initializeAssetTypes,
|
|
7948
7948
|
initializeAssets,
|