@overmap-ai/core 1.0.53-add-agent-conversations.13 → 1.0.53-add-agent-conversations.14
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
|
@@ -5592,7 +5592,7 @@ class ComponentService extends BaseApiService {
|
|
|
5592
5592
|
});
|
|
5593
5593
|
return promise;
|
|
5594
5594
|
}
|
|
5595
|
-
async refreshStore(
|
|
5595
|
+
async refreshStore() {
|
|
5596
5596
|
const { store } = this.client;
|
|
5597
5597
|
const result = await this.enqueueRequest({
|
|
5598
5598
|
description: "Get components",
|
|
@@ -5601,11 +5601,7 @@ class ComponentService extends BaseApiService {
|
|
|
5601
5601
|
blockers: [],
|
|
5602
5602
|
blocks: []
|
|
5603
5603
|
});
|
|
5604
|
-
|
|
5605
|
-
store.dispatch(setComponents(result));
|
|
5606
|
-
} else {
|
|
5607
|
-
store.dispatch(addComponentsInBatches(result));
|
|
5608
|
-
}
|
|
5604
|
+
store.dispatch(setComponents(result));
|
|
5609
5605
|
}
|
|
5610
5606
|
}
|
|
5611
5607
|
class ComponentStageCompletionService extends BaseApiService {
|
|
@@ -6728,42 +6724,6 @@ class MainService extends BaseApiService {
|
|
|
6728
6724
|
if (currentWorkspaceId) {
|
|
6729
6725
|
store.dispatch(setActiveWorkspaceId(currentWorkspaceId));
|
|
6730
6726
|
}
|
|
6731
|
-
if (currentProjectId) {
|
|
6732
|
-
void this.client.projectAccesses.refreshStore();
|
|
6733
|
-
void this.client.projectFiles.refreshStore();
|
|
6734
|
-
void this.client.projectAttachments.refreshStore();
|
|
6735
|
-
let issuesPromise;
|
|
6736
|
-
void Promise.allSettled([
|
|
6737
|
-
this.client.categories.refreshStore(),
|
|
6738
|
-
this.client.issueTypes.refreshStore()
|
|
6739
|
-
]).then(() => {
|
|
6740
|
-
issuesPromise = this.client.issues.refreshStore();
|
|
6741
|
-
});
|
|
6742
|
-
void Promise.allSettled([
|
|
6743
|
-
this.client.componentTypes.refreshStore(),
|
|
6744
|
-
this.client.componentStages.refreshStore()
|
|
6745
|
-
]).then(() => {
|
|
6746
|
-
void this.client.components.refreshStore(overwrite).then(() => {
|
|
6747
|
-
void this.client.componentStageCompletions.refreshStore();
|
|
6748
|
-
void this.client.componentTypeAttachments.refreshStore();
|
|
6749
|
-
void this.client.componentAttachments.refreshStore();
|
|
6750
|
-
});
|
|
6751
|
-
});
|
|
6752
|
-
void this.client.documents.refreshStore().then(() => {
|
|
6753
|
-
void this.client.documentAttachments.refreshStore();
|
|
6754
|
-
});
|
|
6755
|
-
void this.client.userForms.refreshStore().then(() => {
|
|
6756
|
-
void this.client.userFormSubmissions.refreshStore();
|
|
6757
|
-
});
|
|
6758
|
-
void this.client.agent.refreshStore();
|
|
6759
|
-
void this.fetchProjectUsers();
|
|
6760
|
-
await issuesPromise;
|
|
6761
|
-
void this.client.issueAttachments.refreshStore();
|
|
6762
|
-
void this.client.issueComments.refreshStore();
|
|
6763
|
-
void this.client.issueUpdates.refreshStore();
|
|
6764
|
-
}
|
|
6765
|
-
void this.client.teams.refreshStore();
|
|
6766
|
-
store.dispatch(setIsFetchingInitialData(false));
|
|
6767
6727
|
if (overwrite) {
|
|
6768
6728
|
console.log("Overwriting data");
|
|
6769
6729
|
store.dispatch(setProjects(projects));
|
|
@@ -6774,6 +6734,31 @@ class MainService extends BaseApiService {
|
|
|
6774
6734
|
store.dispatch(addOrReplaceProjects(projects));
|
|
6775
6735
|
store.dispatch(addOrReplaceWorkspaces(workspaces));
|
|
6776
6736
|
}
|
|
6737
|
+
await this.client.projectFiles.refreshStore();
|
|
6738
|
+
store.dispatch(setIsFetchingInitialData(false));
|
|
6739
|
+
if (currentProjectId) {
|
|
6740
|
+
void this.client.componentTypes.refreshStore();
|
|
6741
|
+
void this.client.componentStages.refreshStore();
|
|
6742
|
+
void this.client.components.refreshStore();
|
|
6743
|
+
void this.client.componentStageCompletions.refreshStore();
|
|
6744
|
+
void this.client.categories.refreshStore();
|
|
6745
|
+
void this.client.issueTypes.refreshStore();
|
|
6746
|
+
void this.client.issues.refreshStore();
|
|
6747
|
+
void this.fetchProjectUsers();
|
|
6748
|
+
void this.client.documents.refreshStore();
|
|
6749
|
+
void this.client.userForms.refreshStore();
|
|
6750
|
+
void this.client.documentAttachments.refreshStore();
|
|
6751
|
+
void this.client.userFormSubmissions.refreshStore();
|
|
6752
|
+
void this.client.agent.refreshStore();
|
|
6753
|
+
void this.client.issueAttachments.refreshStore();
|
|
6754
|
+
void this.client.issueComments.refreshStore();
|
|
6755
|
+
void this.client.issueUpdates.refreshStore();
|
|
6756
|
+
void this.client.projectAccesses.refreshStore();
|
|
6757
|
+
void this.client.projectAttachments.refreshStore();
|
|
6758
|
+
void this.client.componentTypeAttachments.refreshStore();
|
|
6759
|
+
void this.client.componentAttachments.refreshStore();
|
|
6760
|
+
}
|
|
6761
|
+
void this.client.teams.refreshStore();
|
|
6777
6762
|
}
|
|
6778
6763
|
}
|
|
6779
6764
|
class ProjectAccessService extends BaseApiService {
|