@overmap-ai/core 1.0.50-document-attachments.1 → 1.0.50-document-attachments.2
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.
|
@@ -1953,6 +1953,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1953
1953
|
[selectComponentTypeAttachmentMapping],
|
|
1954
1954
|
(mapping) => Object.values(mapping)
|
|
1955
1955
|
);
|
|
1956
|
+
const selectComponentTypeAttachment = (attachmentId) => (state) => {
|
|
1957
|
+
return state.componentTypeReducer.attachments[attachmentId];
|
|
1958
|
+
};
|
|
1956
1959
|
const selectAttachmentsOfComponentType = restructureCreateSelectorWithArgs(
|
|
1957
1960
|
toolkit.createSelector(
|
|
1958
1961
|
[selectAllComponentTypeAttachments, (_state, componentTypeId) => componentTypeId],
|
|
@@ -15895,6 +15898,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15895
15898
|
exports2.selectComponentAttachmentMapping = selectComponentAttachmentMapping;
|
|
15896
15899
|
exports2.selectComponentSubmissionMapping = selectComponentSubmissionMapping;
|
|
15897
15900
|
exports2.selectComponentType = selectComponentType;
|
|
15901
|
+
exports2.selectComponentTypeAttachment = selectComponentTypeAttachment;
|
|
15898
15902
|
exports2.selectComponentTypeAttachmentMapping = selectComponentTypeAttachmentMapping;
|
|
15899
15903
|
exports2.selectComponentTypeForm = selectComponentTypeForm;
|
|
15900
15904
|
exports2.selectComponentTypeFromComponent = selectComponentTypeFromComponent;
|