@overmap-ai/core 1.0.48-form-submission-view.0 → 1.0.48-form-submission-view.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.
@@ -45,6 +45,7 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
45
45
  removeAllComponentsOfType: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
46
46
  }, "components">;
47
47
  export declare const selectComponents: (state: RootState) => Component[];
48
+ export declare const selectComponentsMapping: (state: RootState) => Record<string, Component | Submitted<Component>>;
48
49
  export declare const selectComponentsFromComponentType: SelectorWithArgs<string | undefined, Component[]>;
49
50
  export declare const selectComponent: SelectorWithArgs<string, Component>;
50
51
  export declare const selectComponentTypeFromComponent: SelectorWithArgs<string, ComponentType>;
@@ -29,6 +29,7 @@ export declare const selectStageMapping: (state: RootState) => Record<string, Co
29
29
  export declare const selectStage: SelectorWithArgs<string, ComponentStage | undefined>;
30
30
  export declare const selectStages: (state: RootState) => ComponentStage[];
31
31
  export declare const selectStagesFromComponentTypeIds: SelectorWithArgs<string[], Record<string, ComponentStage[]>>;
32
+ export declare const selectComponentTypeStagesMapping: SelectorWithArgs<string, Record<string, ComponentStage>>;
32
33
  export declare const selectStagesFromComponentType: SelectorWithArgs<string, ComponentStage[]>;
33
34
  export declare const selectStagesFromStageIds: SelectorWithArgs<string[], ComponentStage[]>;
34
35
  export declare const selectStageFormIdsFromStageIds: SelectorWithArgs<string[], Record<string, string>>;
@@ -135,6 +135,7 @@ export declare const selectRevisionsForForm: SelectorWithArgs<string, UserFormRe
135
135
  export declare const selectSubmissionsForForm: SelectorWithArgs<string, UserFormSubmission[]>;
136
136
  export declare const selectSubmissionsForIssue: SelectorWithArgs<string, UserFormSubmission[]>;
137
137
  export declare const selectSubmissionsForComponent: SelectorWithArgs<string, UserFormSubmission[]>;
138
+ export declare const selectComponentSubmissionMapping: Selector<Record<string, UserFormSubmission[]>>;
138
139
  export declare const selectUserFormMapping: Selector<Record<Stored<UserForm>["offline_id"], Stored<UserForm>>>;
139
140
  export declare const selectComponentTypeForm: SelectorWithArgs<string, Stored<UserForm>>;
140
141
  export declare const selectLatestRevisionsFromComponentTypeIds: SelectorWithArgs<string[], Record<string, Stored<UserFormRevision>>>;
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.48-form-submission-view.0",
6
+ "version": "1.0.48-form-submission-view.2",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",