@overmap-ai/core 1.0.63-selector-standardization.8 → 1.0.63-selector-standardization.9

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.
@@ -15,8 +15,8 @@ export declare abstract class FormService<TState extends OvermapRootState, TSDK
15
15
  Promise<Created<FormRevision>>,
16
16
  Promise<Created<FormRevisionAttachment>[]>
17
17
  ]>;
18
- favorite(formId: string): Promise<undefined>;
19
- unfavorite(formId: string): Promise<undefined>;
18
+ favorite(formId: string, projectId: number): Promise<undefined>;
19
+ unfavorite(formId: string, projectId: number): Promise<undefined>;
20
20
  delete(formId: string): Promise<undefined>;
21
21
  refreshStore(projectId: number): Promise<void>;
22
22
  }
@@ -19,7 +19,6 @@ export declare const licenseSlice: import("@reduxjs/toolkit").Slice<LicenseState
19
19
  export declare const initializeLicences: import("@reduxjs/toolkit").ActionCreatorWithPayload<License[], "license/initializeLicences">, addLicenses: import("@reduxjs/toolkit").ActionCreatorWithPayload<License[], "license/addLicenses">, updateLicense: import("@reduxjs/toolkit").ActionCreatorWithPayload<License, "license/updateLicense">;
20
20
  export declare const selectLicenses: OvermapSelector<Record<string, License>>;
21
21
  export declare const selectLicense: OvermapSelectorWithArgs<string, License | undefined>;
22
- export declare const selectActiveLicense: OvermapSelector<License | null>;
23
22
  export declare const selectLicenseForProject: OvermapSelectorWithArgs<number, License | undefined>;
24
23
  export declare const selectActiveStatusLicenses: OvermapSelector<License[]>;
25
24
  export declare const selectLicensesForProjectsMapping: OvermapSelector<Record<number, License>>;
@@ -7,6 +7,7 @@ export interface Asset extends OfflineModel, MarkableModel, CanvasMarkableModel
7
7
  description?: string;
8
8
  }
9
9
  export interface AssetType extends OfflineModel, IconModel, ColorModel {
10
+ project: number;
10
11
  name?: string;
11
12
  description?: string;
12
13
  }
@@ -117,6 +117,7 @@ export type FormRevisionPayload = Omit<Payload<FormRevision>, "created_by" | "re
117
117
  export interface FormSubmission extends OfflineModel, SubmittedAtModel, CreatedByModel {
118
118
  published_at?: string | null;
119
119
  form_revision: string;
120
+ project: number;
120
121
  values: Record<string, FieldValue>;
121
122
  issue?: string;
122
123
  asset?: string;
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.63-selector-standardization.8",
6
+ "version": "1.0.63-selector-standardization.9",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",