@overmap-ai/core 1.0.63-form-submission-drafts.2 → 1.0.63-form-submission-drafts.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.
|
@@ -1453,6 +1453,17 @@ var __publicField = (obj, key, value) => {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
)
|
|
1455
1455
|
);
|
|
1456
|
+
const selectIssuesByIds = restructureCreateSelectorWithArgs(
|
|
1457
|
+
toolkit.createSelector([selectIssueMapping, (_, issueIds) => issueIds], (issuesMapping, issueIds) => {
|
|
1458
|
+
const issues = [];
|
|
1459
|
+
for (const issueId of issueIds) {
|
|
1460
|
+
const issue = issuesMapping[issueId];
|
|
1461
|
+
if (issue)
|
|
1462
|
+
issues.push(issue);
|
|
1463
|
+
}
|
|
1464
|
+
return issues;
|
|
1465
|
+
})
|
|
1466
|
+
);
|
|
1456
1467
|
const selectRecentIssuesAsSearchResults = toolkit.createSelector(
|
|
1457
1468
|
[selectIssueMapping, selectRecentIssueIds, selectWorkspaceMapping],
|
|
1458
1469
|
(issueMapping, recentIssueIds, workspaceMapping) => {
|
|
@@ -3315,6 +3326,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3315
3326
|
deleteIssueAssociations
|
|
3316
3327
|
} = issueAssociationSlice.actions;
|
|
3317
3328
|
const selectIssueAssociationMapping = (state) => state.issueAssociationReducer.instances;
|
|
3329
|
+
const selectIssueAssociations = toolkit.createSelector([selectIssueAssociationMapping], (associations) => {
|
|
3330
|
+
return Object.values(associations);
|
|
3331
|
+
});
|
|
3318
3332
|
const selectIssueAssociationById = (id) => (state) => {
|
|
3319
3333
|
return state.issueAssociationReducer.instances[id];
|
|
3320
3334
|
};
|
|
@@ -7882,6 +7896,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7882
7896
|
exports2.selectIssue = selectIssue;
|
|
7883
7897
|
exports2.selectIssueAssociationById = selectIssueAssociationById;
|
|
7884
7898
|
exports2.selectIssueAssociationMapping = selectIssueAssociationMapping;
|
|
7899
|
+
exports2.selectIssueAssociations = selectIssueAssociations;
|
|
7885
7900
|
exports2.selectIssueAssociationsOfAsset = selectIssueAssociationsOfAsset;
|
|
7886
7901
|
exports2.selectIssueAssociationsOfIssue = selectIssueAssociationsOfIssue;
|
|
7887
7902
|
exports2.selectIssueAssociationsToIssue = selectIssueAssociationsToIssue;
|
|
@@ -7897,6 +7912,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7897
7912
|
exports2.selectIssueTypesOfOrganization = selectIssueTypesOfOrganization;
|
|
7898
7913
|
exports2.selectIssueUpdateMapping = selectIssueUpdateMapping;
|
|
7899
7914
|
exports2.selectIssueUpdatesOfIssue = selectIssueUpdatesOfIssue;
|
|
7915
|
+
exports2.selectIssuesByIds = selectIssuesByIds;
|
|
7900
7916
|
exports2.selectIssuesOfIssueType = selectIssuesOfIssueType;
|
|
7901
7917
|
exports2.selectIssuesOfIssueTypeCount = selectIssuesOfIssueTypeCount;
|
|
7902
7918
|
exports2.selectLatestFormRevisionByForm = selectLatestFormRevisionByForm;
|