@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.
@@ -1962,6 +1962,9 @@ const selectAllComponentTypeAttachments = createSelector(
1962
1962
  [selectComponentTypeAttachmentMapping],
1963
1963
  (mapping) => Object.values(mapping)
1964
1964
  );
1965
+ const selectComponentTypeAttachment = (attachmentId) => (state) => {
1966
+ return state.componentTypeReducer.attachments[attachmentId];
1967
+ };
1965
1968
  const selectAttachmentsOfComponentType = restructureCreateSelectorWithArgs(
1966
1969
  createSelector(
1967
1970
  [selectAllComponentTypeAttachments, (_state, componentTypeId) => componentTypeId],
@@ -15905,6 +15908,7 @@ export {
15905
15908
  selectComponentAttachmentMapping,
15906
15909
  selectComponentSubmissionMapping,
15907
15910
  selectComponentType,
15911
+ selectComponentTypeAttachment,
15908
15912
  selectComponentTypeAttachmentMapping,
15909
15913
  selectComponentTypeForm,
15910
15914
  selectComponentTypeFromComponent,