@overmap-ai/core 1.0.63-form-submission-drafts.3 → 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.
package/dist/overmap-core.js
CHANGED
|
@@ -1465,6 +1465,17 @@ const searchIssues = restructureCreateSelectorWithArgs(
|
|
|
1465
1465
|
}
|
|
1466
1466
|
)
|
|
1467
1467
|
);
|
|
1468
|
+
const selectIssuesByIds = restructureCreateSelectorWithArgs(
|
|
1469
|
+
createSelector([selectIssueMapping, (_, issueIds) => issueIds], (issuesMapping, issueIds) => {
|
|
1470
|
+
const issues = [];
|
|
1471
|
+
for (const issueId of issueIds) {
|
|
1472
|
+
const issue = issuesMapping[issueId];
|
|
1473
|
+
if (issue)
|
|
1474
|
+
issues.push(issue);
|
|
1475
|
+
}
|
|
1476
|
+
return issues;
|
|
1477
|
+
})
|
|
1478
|
+
);
|
|
1468
1479
|
const selectRecentIssuesAsSearchResults = createSelector(
|
|
1469
1480
|
[selectIssueMapping, selectRecentIssueIds, selectWorkspaceMapping],
|
|
1470
1481
|
(issueMapping, recentIssueIds, workspaceMapping) => {
|
|
@@ -7914,6 +7925,7 @@ export {
|
|
|
7914
7925
|
selectIssueTypesOfOrganization,
|
|
7915
7926
|
selectIssueUpdateMapping,
|
|
7916
7927
|
selectIssueUpdatesOfIssue,
|
|
7928
|
+
selectIssuesByIds,
|
|
7917
7929
|
selectIssuesOfIssueType,
|
|
7918
7930
|
selectIssuesOfIssueTypeCount,
|
|
7919
7931
|
selectLatestFormRevisionByForm,
|