@overmap-ai/core 1.0.60-geo-images.7 → 1.0.60-geo-images.8
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.
|
@@ -2364,6 +2364,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2364
2364
|
removeProjectFilesOfProject,
|
|
2365
2365
|
resetProjectFileObjectUrls
|
|
2366
2366
|
} = projectFileSlice.actions;
|
|
2367
|
+
const selectProjectFileMapping = (state) => state.projectFileReducer.projectFiles;
|
|
2367
2368
|
const selectEnabledProjectFiles = (state) => state.projectFileReducer.enabledProjectFiles;
|
|
2368
2369
|
const selectProjectFileVisibility = toolkit.createSelector(
|
|
2369
2370
|
[selectEnabledProjectFiles],
|
|
@@ -2384,6 +2385,14 @@ var __publicField = (obj, key, value) => {
|
|
|
2384
2385
|
);
|
|
2385
2386
|
const selectActiveProjectFileId = (state) => state.projectFileReducer.activeProjectFileId;
|
|
2386
2387
|
const selectIsImportingProjectFile = (state) => state.projectFileReducer.isImportingProjectFile;
|
|
2388
|
+
const selectProjectFileById = restructureCreateSelectorWithArgs(
|
|
2389
|
+
toolkit.createSelector(
|
|
2390
|
+
[selectProjectFileMapping, (_, projectFileId) => projectFileId],
|
|
2391
|
+
(projectFileMapping, projectFileId) => {
|
|
2392
|
+
return projectFileMapping[projectFileId];
|
|
2393
|
+
}
|
|
2394
|
+
)
|
|
2395
|
+
);
|
|
2387
2396
|
const projectFileReducer = projectFileSlice.reducer;
|
|
2388
2397
|
const projectAttachmentAdapter = createModelAdapter((attachment) => attachment.offline_id);
|
|
2389
2398
|
const initialState$h = projectAttachmentAdapter.getInitialState({});
|
|
@@ -7796,6 +7805,8 @@ var __publicField = (obj, key, value) => {
|
|
|
7796
7805
|
exports2.selectProjectAccesses = selectProjectAccesses;
|
|
7797
7806
|
exports2.selectProjectAttachment = selectProjectAttachment;
|
|
7798
7807
|
exports2.selectProjectAttachmentMapping = selectProjectAttachmentMapping;
|
|
7808
|
+
exports2.selectProjectFileById = selectProjectFileById;
|
|
7809
|
+
exports2.selectProjectFileMapping = selectProjectFileMapping;
|
|
7799
7810
|
exports2.selectProjectFileVisibility = selectProjectFileVisibility;
|
|
7800
7811
|
exports2.selectProjectFiles = selectProjectFiles;
|
|
7801
7812
|
exports2.selectProjectUsersAsMapping = selectProjectUsersAsMapping;
|