@overmap-ai/core 1.0.50-document-attachments.0 → 1.0.50-document-attachments.1

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.
@@ -55,6 +55,7 @@ export declare const selectNumberOfComponentsOfComponentType: SelectorWithArgs<s
55
55
  export declare const selectComponentTypesFromIds: SelectorWithArgs<string[], ComponentType[]>;
56
56
  export declare const selectComponentAttachmentMapping: (state: RootState) => Record<string, Stored<ComponentAttachment>>;
57
57
  export declare const selectAllComponentAttachments: Selector<Stored<ComponentAttachment>[]>;
58
+ export declare const selectComponentAttachment: SelectorWithArgs<string, Stored<ComponentAttachment>>;
58
59
  export declare const selectAttachmentsOfComponent: (args: string) => (state: RootState) => Stored<ComponentAttachment>[];
59
60
  export declare const selectAttachmentsOfComponentByType: (args: string) => (state: RootState) => {
60
61
  fileAttachments: Stored<ComponentAttachment>[];
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@redux-offline/redux-offline" />
2
2
  import { Reducer } from "@reduxjs/toolkit";
3
- import { DocumentAttachment, MovePosition, ProjectDocument, RootState, Selector, Stored, Submitted } from "../../typings";
3
+ import { DocumentAttachment, MovePosition, ProjectDocument, RootState, Selector, SelectorWithArgs, Stored, Submitted } from "../../typings";
4
4
  import { AppSelector } from "./componentTypeSlice";
5
5
  export interface DocumentState {
6
6
  documents: Record<string, Stored<ProjectDocument>>;
@@ -91,6 +91,7 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
91
91
  };
92
92
  export declare const selectDocumentAttachmentMapping: (state: RootState) => Record<string, Stored<DocumentAttachment>>;
93
93
  export declare const selectAllDocumentAttachments: Selector<Stored<DocumentAttachment>[]>;
94
+ export declare const selectDocumentAttachment: SelectorWithArgs<string, Stored<DocumentAttachment>>;
94
95
  export declare const selectAttachmentsOfDocument: (args: string) => (state: RootState) => Stored<DocumentAttachment>[];
95
96
  export declare const selectAttachmentsOfDocumentByType: (args: string) => (state: RootState) => {
96
97
  fileAttachments: Stored<DocumentAttachment>[];
@@ -106,6 +106,7 @@ export declare const selectCommentsOfIssue: (args: string) => (state: RootState)
106
106
  export declare const selectIssueUpdateMapping: (state: RootState) => Record<string, Stored<IssueUpdate>>;
107
107
  export declare const selectIssueUpdatesOfIssue: (args: string) => (state: RootState) => Stored<IssueUpdate>[];
108
108
  export declare const selectAttachmentsOfIssue: (args: string) => (state: RootState) => Stored<IssueAttachment>[];
109
+ export declare const selectIssueAttachment: SelectorWithArgs<string, Stored<IssueAttachment>>;
109
110
  export declare const selectAttachmentsOfIssueByType: (args: string) => (state: RootState) => {
110
111
  fileAttachments: Stored<IssueAttachment>[];
111
112
  imageAttachments: Stored<IssueAttachment>[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core functionality for Overmap",
4
4
  "author": "Wôrdn Inc.",
5
5
  "license": "UNLICENSED",
6
- "version": "1.0.50-document-attachments.0",
6
+ "version": "1.0.50-document-attachments.1",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",