@overmap-ai/core 1.0.63-selector-standardization.4 → 1.0.63-selector-standardization.5
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/slices/assetAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/documentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/projectAttachmentSlice.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1071,8 +1071,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1071
1071
|
[selectAssetAttachmentMapping],
|
|
1072
1072
|
(mapping) => Object.values(mapping)
|
|
1073
1073
|
);
|
|
1074
|
-
const
|
|
1075
|
-
return state.assetAttachmentReducer.instances[
|
|
1074
|
+
const selectAssetAttachmentById = (id) => (state) => {
|
|
1075
|
+
return state.assetAttachmentReducer.instances[id];
|
|
1076
1076
|
};
|
|
1077
1077
|
const selectAttachmentsOfAsset = restructureCreateSelectorWithArgs(
|
|
1078
1078
|
toolkit.createSelector(
|
|
@@ -1282,8 +1282,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1282
1282
|
[selectAssetTypeAttachmentMapping],
|
|
1283
1283
|
(mapping) => Object.values(mapping)
|
|
1284
1284
|
);
|
|
1285
|
-
const
|
|
1286
|
-
return state.assetTypeAttachmentReducer.instances[
|
|
1285
|
+
const selectAssetTypeAttachmentById = (id) => (state) => {
|
|
1286
|
+
return state.assetTypeAttachmentReducer.instances[id];
|
|
1287
1287
|
};
|
|
1288
1288
|
const selectAttachmentsOfAssetType = restructureCreateSelectorWithArgs(
|
|
1289
1289
|
toolkit.createSelector(
|
|
@@ -2244,7 +2244,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2244
2244
|
[selectProjectAttachmentMapping],
|
|
2245
2245
|
(mapping) => Object.values(mapping)
|
|
2246
2246
|
);
|
|
2247
|
-
const
|
|
2247
|
+
const selectProjectAttachmentById = (id) => (state) => {
|
|
2248
2248
|
return state.projectAttachmentReducer.instances[id];
|
|
2249
2249
|
};
|
|
2250
2250
|
const selectAttachmentsOfProject = restructureCreateSelectorWithArgs(
|
|
@@ -3044,8 +3044,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3044
3044
|
[selectDocumentAttachmentMapping],
|
|
3045
3045
|
(mapping) => Object.values(mapping)
|
|
3046
3046
|
);
|
|
3047
|
-
const
|
|
3048
|
-
return state.documentAttachmentReducer.instances[
|
|
3047
|
+
const selectDocumentAttachmentById = (id) => (state) => {
|
|
3048
|
+
return state.documentAttachmentReducer.instances[id];
|
|
3049
3049
|
};
|
|
3050
3050
|
const selectAttachmentsOfDocument = restructureCreateSelectorWithArgs(
|
|
3051
3051
|
toolkit.createSelector(
|
|
@@ -4738,7 +4738,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4738
4738
|
__publicField(this, "removeAttachments", deleteAssetAttachments);
|
|
4739
4739
|
__publicField(this, "removeAttachment", deleteAssetAttachment);
|
|
4740
4740
|
__publicField(this, "setAttachment", setAssetAttachment);
|
|
4741
|
-
__publicField(this, "selectAttachment",
|
|
4741
|
+
__publicField(this, "selectAttachment", selectAssetAttachmentById);
|
|
4742
4742
|
}
|
|
4743
4743
|
buildOfflineAttachment(data) {
|
|
4744
4744
|
return offline({
|
|
@@ -4838,7 +4838,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4838
4838
|
__publicField(this, "removeAttachments", deleteAssetTypeAttachments);
|
|
4839
4839
|
__publicField(this, "removeAttachment", deleteAssetTypeAttachment);
|
|
4840
4840
|
__publicField(this, "setAttachment", setAssetTypeAttachment);
|
|
4841
|
-
__publicField(this, "selectAttachment",
|
|
4841
|
+
__publicField(this, "selectAttachment", selectAssetTypeAttachmentById);
|
|
4842
4842
|
}
|
|
4843
4843
|
buildOfflineAttachment(data) {
|
|
4844
4844
|
return offline({
|
|
@@ -5438,7 +5438,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5438
5438
|
__publicField(this, "removeAttachments", deleteProjectAttachments);
|
|
5439
5439
|
__publicField(this, "removeAttachment", deleteProjectAttachment);
|
|
5440
5440
|
__publicField(this, "setAttachment", setProjectAttachment);
|
|
5441
|
-
__publicField(this, "selectAttachment",
|
|
5441
|
+
__publicField(this, "selectAttachment", selectProjectAttachmentById);
|
|
5442
5442
|
}
|
|
5443
5443
|
buildOfflineAttachment(data) {
|
|
5444
5444
|
return offline({
|
|
@@ -6981,7 +6981,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6981
6981
|
__publicField(this, "removeAttachments", deleteDocumentAttachments);
|
|
6982
6982
|
__publicField(this, "removeAttachment", deleteDocumentAttachment);
|
|
6983
6983
|
__publicField(this, "setAttachment", setDocumentAttachment);
|
|
6984
|
-
__publicField(this, "selectAttachment",
|
|
6984
|
+
__publicField(this, "selectAttachment", selectDocumentAttachmentById);
|
|
6985
6985
|
}
|
|
6986
6986
|
buildOfflineAttachment(data) {
|
|
6987
6987
|
return offline({
|
|
@@ -7827,7 +7827,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7827
7827
|
exports2.selectAllDocumentAttachments = selectAllDocumentAttachments;
|
|
7828
7828
|
exports2.selectAllProjectAttachments = selectAllProjectAttachments;
|
|
7829
7829
|
exports2.selectAncestorIdsOfDocument = selectAncestorIdsOfDocument;
|
|
7830
|
-
exports2.
|
|
7830
|
+
exports2.selectAssetAttachmentById = selectAssetAttachmentById;
|
|
7831
7831
|
exports2.selectAssetAttachmentMapping = selectAssetAttachmentMapping;
|
|
7832
7832
|
exports2.selectAssetAttachments = selectAssetAttachments;
|
|
7833
7833
|
exports2.selectAssetById = selectAssetById;
|
|
@@ -7835,7 +7835,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7835
7835
|
exports2.selectAssetStages = selectAssetStages;
|
|
7836
7836
|
exports2.selectAssetStagesByIds = selectAssetStagesByIds;
|
|
7837
7837
|
exports2.selectAssetToAssetTypeMapping = selectAssetToAssetTypeMapping;
|
|
7838
|
-
exports2.
|
|
7838
|
+
exports2.selectAssetTypeAttachmentById = selectAssetTypeAttachmentById;
|
|
7839
7839
|
exports2.selectAssetTypeAttachmentMapping = selectAssetTypeAttachmentMapping;
|
|
7840
7840
|
exports2.selectAssetTypeAttachments = selectAssetTypeAttachments;
|
|
7841
7841
|
exports2.selectAssetTypeById = selectAssetTypeById;
|
|
@@ -7874,7 +7874,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7874
7874
|
exports2.selectConversations = selectConversations;
|
|
7875
7875
|
exports2.selectCurrentUser = selectCurrentUser;
|
|
7876
7876
|
exports2.selectDeletedRequests = selectDeletedRequests;
|
|
7877
|
-
exports2.
|
|
7877
|
+
exports2.selectDocumentAttachmentById = selectDocumentAttachmentById;
|
|
7878
7878
|
exports2.selectDocumentAttachmentMapping = selectDocumentAttachmentMapping;
|
|
7879
7879
|
exports2.selectDocumentById = selectDocumentById;
|
|
7880
7880
|
exports2.selectDocuments = selectDocuments;
|
|
@@ -7965,7 +7965,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7965
7965
|
exports2.selectProjectAccessMapping = selectProjectAccessMapping;
|
|
7966
7966
|
exports2.selectProjectAccessUserMapping = selectProjectAccessUserMapping;
|
|
7967
7967
|
exports2.selectProjectAccesses = selectProjectAccesses;
|
|
7968
|
-
exports2.
|
|
7968
|
+
exports2.selectProjectAttachmentById = selectProjectAttachmentById;
|
|
7969
7969
|
exports2.selectProjectAttachmentMapping = selectProjectAttachmentMapping;
|
|
7970
7970
|
exports2.selectProjectById = selectProjectById;
|
|
7971
7971
|
exports2.selectProjectFileById = selectProjectFileById;
|