@overmap-ai/core 1.0.63-selector-standardization.4 → 1.0.63-selector-standardization.6
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 +15 -15
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +15 -15
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/store/adapter.d.ts +1 -1
- package/dist/store/slices/agentsSlice.d.ts +2 -2
- package/dist/store/slices/assetAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetSlice.d.ts +2 -2
- package/dist/store/slices/assetStageCompletionSlice.d.ts +2 -2
- package/dist/store/slices/assetStageSlice.d.ts +2 -2
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetTypeSlice.d.ts +1 -1
- package/dist/store/slices/authSlice.d.ts +2 -2
- package/dist/store/slices/categorySlice.d.ts +2 -2
- package/dist/store/slices/documentAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/documentSlice.d.ts +1 -1
- package/dist/store/slices/emailDomainsSlice.d.ts +2 -2
- package/dist/store/slices/fileSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/formRevisionSlice.d.ts +2 -2
- package/dist/store/slices/formSlice.d.ts +5 -5
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
- package/dist/store/slices/geoImageSlice.d.ts +2 -2
- package/dist/store/slices/issueAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/issueCommentSlice.d.ts +2 -2
- package/dist/store/slices/issueSlice.d.ts +2 -2
- package/dist/store/slices/issueTypeSlice.d.ts +2 -2
- package/dist/store/slices/issueUpdateSlice.d.ts +2 -2
- package/dist/store/slices/licenseSlice.d.ts +2 -2
- package/dist/store/slices/organizationAccessSlice.d.ts +3 -3
- package/dist/store/slices/organizationSlice.d.ts +2 -2
- package/dist/store/slices/outboxSlice.d.ts +1 -1
- package/dist/store/slices/projectAccessSlice.d.ts +2 -2
- package/dist/store/slices/projectAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/projectFileSlice.d.ts +1 -1
- package/dist/store/slices/projectSlice.d.ts +1 -1
- package/dist/store/slices/rehydratedSlice.d.ts +1 -1
- package/dist/store/slices/teamSlice.d.ts +2 -2
- package/dist/store/slices/userSlice.d.ts +1 -1
- package/dist/store/slices/workspaceSlice.d.ts +2 -2
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -1083,8 +1083,8 @@ const selectAssetAttachments = createSelector(
|
|
|
1083
1083
|
[selectAssetAttachmentMapping],
|
|
1084
1084
|
(mapping) => Object.values(mapping)
|
|
1085
1085
|
);
|
|
1086
|
-
const
|
|
1087
|
-
return state.assetAttachmentReducer.instances[
|
|
1086
|
+
const selectAssetAttachmentById = (id) => (state) => {
|
|
1087
|
+
return state.assetAttachmentReducer.instances[id];
|
|
1088
1088
|
};
|
|
1089
1089
|
const selectAttachmentsOfAsset = restructureCreateSelectorWithArgs(
|
|
1090
1090
|
createSelector(
|
|
@@ -1294,8 +1294,8 @@ const selectAssetTypeAttachments = createSelector(
|
|
|
1294
1294
|
[selectAssetTypeAttachmentMapping],
|
|
1295
1295
|
(mapping) => Object.values(mapping)
|
|
1296
1296
|
);
|
|
1297
|
-
const
|
|
1298
|
-
return state.assetTypeAttachmentReducer.instances[
|
|
1297
|
+
const selectAssetTypeAttachmentById = (id) => (state) => {
|
|
1298
|
+
return state.assetTypeAttachmentReducer.instances[id];
|
|
1299
1299
|
};
|
|
1300
1300
|
const selectAttachmentsOfAssetType = restructureCreateSelectorWithArgs(
|
|
1301
1301
|
createSelector(
|
|
@@ -2256,7 +2256,7 @@ const selectAllProjectAttachments = createSelector(
|
|
|
2256
2256
|
[selectProjectAttachmentMapping],
|
|
2257
2257
|
(mapping) => Object.values(mapping)
|
|
2258
2258
|
);
|
|
2259
|
-
const
|
|
2259
|
+
const selectProjectAttachmentById = (id) => (state) => {
|
|
2260
2260
|
return state.projectAttachmentReducer.instances[id];
|
|
2261
2261
|
};
|
|
2262
2262
|
const selectAttachmentsOfProject = restructureCreateSelectorWithArgs(
|
|
@@ -3056,8 +3056,8 @@ const selectAllDocumentAttachments = createSelector(
|
|
|
3056
3056
|
[selectDocumentAttachmentMapping],
|
|
3057
3057
|
(mapping) => Object.values(mapping)
|
|
3058
3058
|
);
|
|
3059
|
-
const
|
|
3060
|
-
return state.documentAttachmentReducer.instances[
|
|
3059
|
+
const selectDocumentAttachmentById = (id) => (state) => {
|
|
3060
|
+
return state.documentAttachmentReducer.instances[id];
|
|
3061
3061
|
};
|
|
3062
3062
|
const selectAttachmentsOfDocument = restructureCreateSelectorWithArgs(
|
|
3063
3063
|
createSelector(
|
|
@@ -4750,7 +4750,7 @@ class AssetAttachmentService extends BaseAttachmentService {
|
|
|
4750
4750
|
__publicField(this, "removeAttachments", deleteAssetAttachments);
|
|
4751
4751
|
__publicField(this, "removeAttachment", deleteAssetAttachment);
|
|
4752
4752
|
__publicField(this, "setAttachment", setAssetAttachment);
|
|
4753
|
-
__publicField(this, "selectAttachment",
|
|
4753
|
+
__publicField(this, "selectAttachment", selectAssetAttachmentById);
|
|
4754
4754
|
}
|
|
4755
4755
|
buildOfflineAttachment(data) {
|
|
4756
4756
|
return offline({
|
|
@@ -4850,7 +4850,7 @@ class AssetTypeAttachmentService extends BaseAttachmentService {
|
|
|
4850
4850
|
__publicField(this, "removeAttachments", deleteAssetTypeAttachments);
|
|
4851
4851
|
__publicField(this, "removeAttachment", deleteAssetTypeAttachment);
|
|
4852
4852
|
__publicField(this, "setAttachment", setAssetTypeAttachment);
|
|
4853
|
-
__publicField(this, "selectAttachment",
|
|
4853
|
+
__publicField(this, "selectAttachment", selectAssetTypeAttachmentById);
|
|
4854
4854
|
}
|
|
4855
4855
|
buildOfflineAttachment(data) {
|
|
4856
4856
|
return offline({
|
|
@@ -5450,7 +5450,7 @@ class ProjectAttachmentService extends BaseAttachmentService {
|
|
|
5450
5450
|
__publicField(this, "removeAttachments", deleteProjectAttachments);
|
|
5451
5451
|
__publicField(this, "removeAttachment", deleteProjectAttachment);
|
|
5452
5452
|
__publicField(this, "setAttachment", setProjectAttachment);
|
|
5453
|
-
__publicField(this, "selectAttachment",
|
|
5453
|
+
__publicField(this, "selectAttachment", selectProjectAttachmentById);
|
|
5454
5454
|
}
|
|
5455
5455
|
buildOfflineAttachment(data) {
|
|
5456
5456
|
return offline({
|
|
@@ -6993,7 +6993,7 @@ class DocumentAttachmentService extends BaseAttachmentService {
|
|
|
6993
6993
|
__publicField(this, "removeAttachments", deleteDocumentAttachments);
|
|
6994
6994
|
__publicField(this, "removeAttachment", deleteDocumentAttachment);
|
|
6995
6995
|
__publicField(this, "setAttachment", setDocumentAttachment);
|
|
6996
|
-
__publicField(this, "selectAttachment",
|
|
6996
|
+
__publicField(this, "selectAttachment", selectDocumentAttachmentById);
|
|
6997
6997
|
}
|
|
6998
6998
|
buildOfflineAttachment(data) {
|
|
6999
6999
|
return offline({
|
|
@@ -7840,7 +7840,7 @@ export {
|
|
|
7840
7840
|
selectAllDocumentAttachments,
|
|
7841
7841
|
selectAllProjectAttachments,
|
|
7842
7842
|
selectAncestorIdsOfDocument,
|
|
7843
|
-
|
|
7843
|
+
selectAssetAttachmentById,
|
|
7844
7844
|
selectAssetAttachmentMapping,
|
|
7845
7845
|
selectAssetAttachments,
|
|
7846
7846
|
selectAssetById,
|
|
@@ -7848,7 +7848,7 @@ export {
|
|
|
7848
7848
|
selectAssetStages,
|
|
7849
7849
|
selectAssetStagesByIds,
|
|
7850
7850
|
selectAssetToAssetTypeMapping,
|
|
7851
|
-
|
|
7851
|
+
selectAssetTypeAttachmentById,
|
|
7852
7852
|
selectAssetTypeAttachmentMapping,
|
|
7853
7853
|
selectAssetTypeAttachments,
|
|
7854
7854
|
selectAssetTypeById,
|
|
@@ -7887,7 +7887,7 @@ export {
|
|
|
7887
7887
|
selectConversations,
|
|
7888
7888
|
selectCurrentUser,
|
|
7889
7889
|
selectDeletedRequests,
|
|
7890
|
-
|
|
7890
|
+
selectDocumentAttachmentById,
|
|
7891
7891
|
selectDocumentAttachmentMapping,
|
|
7892
7892
|
selectDocumentById,
|
|
7893
7893
|
selectDocuments,
|
|
@@ -7978,7 +7978,7 @@ export {
|
|
|
7978
7978
|
selectProjectAccessMapping,
|
|
7979
7979
|
selectProjectAccessUserMapping,
|
|
7980
7980
|
selectProjectAccesses,
|
|
7981
|
-
|
|
7981
|
+
selectProjectAttachmentById,
|
|
7982
7982
|
selectProjectAttachmentMapping,
|
|
7983
7983
|
selectProjectById,
|
|
7984
7984
|
selectProjectFileById,
|