@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.
|
@@ -5582,7 +5582,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5582
5582
|
});
|
|
5583
5583
|
return promise;
|
|
5584
5584
|
}
|
|
5585
|
-
async refreshStore(
|
|
5585
|
+
async refreshStore() {
|
|
5586
5586
|
const { store } = this.client;
|
|
5587
5587
|
const result = await this.enqueueRequest({
|
|
5588
5588
|
description: "Get components",
|
|
@@ -5591,11 +5591,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5591
5591
|
blockers: [],
|
|
5592
5592
|
blocks: []
|
|
5593
5593
|
});
|
|
5594
|
-
|
|
5595
|
-
store.dispatch(setComponents(result));
|
|
5596
|
-
} else {
|
|
5597
|
-
store.dispatch(addComponentsInBatches(result));
|
|
5598
|
-
}
|
|
5594
|
+
store.dispatch(setComponents(result));
|
|
5599
5595
|
}
|
|
5600
5596
|
}
|
|
5601
5597
|
class ComponentStageCompletionService extends BaseApiService {
|
|
@@ -6718,42 +6714,6 @@ var __publicField = (obj, key, value) => {
|
|
|
6718
6714
|
if (currentWorkspaceId) {
|
|
6719
6715
|
store.dispatch(setActiveWorkspaceId(currentWorkspaceId));
|
|
6720
6716
|
}
|
|
6721
|
-
if (currentProjectId) {
|
|
6722
|
-
void this.client.projectAccesses.refreshStore();
|
|
6723
|
-
void this.client.projectFiles.refreshStore();
|
|
6724
|
-
void this.client.projectAttachments.refreshStore();
|
|
6725
|
-
let issuesPromise;
|
|
6726
|
-
void Promise.allSettled([
|
|
6727
|
-
this.client.categories.refreshStore(),
|
|
6728
|
-
this.client.issueTypes.refreshStore()
|
|
6729
|
-
]).then(() => {
|
|
6730
|
-
issuesPromise = this.client.issues.refreshStore();
|
|
6731
|
-
});
|
|
6732
|
-
void Promise.allSettled([
|
|
6733
|
-
this.client.componentTypes.refreshStore(),
|
|
6734
|
-
this.client.componentStages.refreshStore()
|
|
6735
|
-
]).then(() => {
|
|
6736
|
-
void this.client.components.refreshStore(overwrite).then(() => {
|
|
6737
|
-
void this.client.componentStageCompletions.refreshStore();
|
|
6738
|
-
void this.client.componentTypeAttachments.refreshStore();
|
|
6739
|
-
void this.client.componentAttachments.refreshStore();
|
|
6740
|
-
});
|
|
6741
|
-
});
|
|
6742
|
-
void this.client.documents.refreshStore().then(() => {
|
|
6743
|
-
void this.client.documentAttachments.refreshStore();
|
|
6744
|
-
});
|
|
6745
|
-
void this.client.userForms.refreshStore().then(() => {
|
|
6746
|
-
void this.client.userFormSubmissions.refreshStore();
|
|
6747
|
-
});
|
|
6748
|
-
void this.client.agent.refreshStore();
|
|
6749
|
-
void this.fetchProjectUsers();
|
|
6750
|
-
await issuesPromise;
|
|
6751
|
-
void this.client.issueAttachments.refreshStore();
|
|
6752
|
-
void this.client.issueComments.refreshStore();
|
|
6753
|
-
void this.client.issueUpdates.refreshStore();
|
|
6754
|
-
}
|
|
6755
|
-
void this.client.teams.refreshStore();
|
|
6756
|
-
store.dispatch(setIsFetchingInitialData(false));
|
|
6757
6717
|
if (overwrite) {
|
|
6758
6718
|
console.log("Overwriting data");
|
|
6759
6719
|
store.dispatch(setProjects(projects));
|
|
@@ -6764,6 +6724,31 @@ var __publicField = (obj, key, value) => {
|
|
|
6764
6724
|
store.dispatch(addOrReplaceProjects(projects));
|
|
6765
6725
|
store.dispatch(addOrReplaceWorkspaces(workspaces));
|
|
6766
6726
|
}
|
|
6727
|
+
await this.client.projectFiles.refreshStore();
|
|
6728
|
+
store.dispatch(setIsFetchingInitialData(false));
|
|
6729
|
+
if (currentProjectId) {
|
|
6730
|
+
void this.client.componentTypes.refreshStore();
|
|
6731
|
+
void this.client.componentStages.refreshStore();
|
|
6732
|
+
void this.client.components.refreshStore();
|
|
6733
|
+
void this.client.componentStageCompletions.refreshStore();
|
|
6734
|
+
void this.client.categories.refreshStore();
|
|
6735
|
+
void this.client.issueTypes.refreshStore();
|
|
6736
|
+
void this.client.issues.refreshStore();
|
|
6737
|
+
void this.fetchProjectUsers();
|
|
6738
|
+
void this.client.documents.refreshStore();
|
|
6739
|
+
void this.client.userForms.refreshStore();
|
|
6740
|
+
void this.client.documentAttachments.refreshStore();
|
|
6741
|
+
void this.client.userFormSubmissions.refreshStore();
|
|
6742
|
+
void this.client.agent.refreshStore();
|
|
6743
|
+
void this.client.issueAttachments.refreshStore();
|
|
6744
|
+
void this.client.issueComments.refreshStore();
|
|
6745
|
+
void this.client.issueUpdates.refreshStore();
|
|
6746
|
+
void this.client.projectAccesses.refreshStore();
|
|
6747
|
+
void this.client.projectAttachments.refreshStore();
|
|
6748
|
+
void this.client.componentTypeAttachments.refreshStore();
|
|
6749
|
+
void this.client.componentAttachments.refreshStore();
|
|
6750
|
+
}
|
|
6751
|
+
void this.client.teams.refreshStore();
|
|
6767
6752
|
}
|
|
6768
6753
|
}
|
|
6769
6754
|
class ProjectAccessService extends BaseApiService {
|