@overmap-ai/core 1.0.74-updates.1 → 1.0.74-updates.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.
- package/dist/overmap-core.js +8 -5
- package/dist/overmap-core.umd.cjs +6 -6
- package/dist/store/slices/assetAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureSlice.d.ts +1 -1
- package/dist/store/slices/assetSlice.d.ts +1 -1
- package/dist/store/slices/assetStageCompletionSlice.d.ts +1 -1
- package/dist/store/slices/assetStageSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +1 -1
- package/dist/store/slices/categorySlice.d.ts +1 -1
- package/dist/store/slices/documentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/documentSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionSlice.d.ts +1 -1
- package/dist/store/slices/formSlice.d.ts +1 -1
- package/dist/store/slices/formSubmissionSlice.d.ts +1 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +1 -1
- package/dist/store/slices/issueAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentSlice.d.ts +1 -1
- package/dist/store/slices/issueSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeSlice.d.ts +2 -2
- package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
- package/dist/store/slices/organizationSlice.d.ts +3 -3
- package/dist/store/slices/projectAccessSlice.d.ts +1 -1
- package/dist/store/slices/projectAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/projectFileSlice.d.ts +1 -1
- package/dist/store/slices/projectSlice.d.ts +1 -1
- package/dist/store/slices/teamSlice.d.ts +2 -2
- package/dist/store/slices/userSlice.d.ts +1 -1
- package/dist/typings/models/assets.d.ts +2 -2
- package/dist/typings/models/base.d.ts +1 -1
- package/dist/typings/models/geo.d.ts +1 -4
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -1959,9 +1959,12 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1959
1959
|
)
|
|
1960
1960
|
)
|
|
1961
1961
|
), hA = A(
|
|
1962
|
-
p(
|
|
1963
|
-
|
|
1964
|
-
|
|
1962
|
+
p(
|
|
1963
|
+
[vt, (t, e) => e],
|
|
1964
|
+
(t, e) => g(
|
|
1965
|
+
Object.values(t).filter((s) => s.organization_owner === e)
|
|
1966
|
+
)
|
|
1967
|
+
)
|
|
1965
1968
|
), bl = p(
|
|
1966
1969
|
[gl, Et],
|
|
1967
1970
|
(t, e) => xe(
|
|
@@ -3545,7 +3548,7 @@ class NA extends I {
|
|
|
3545
3548
|
// Basic CRUD functions
|
|
3546
3549
|
add(e) {
|
|
3547
3550
|
const { store: s } = this.client;
|
|
3548
|
-
if (!e.canvas_marker && !e.
|
|
3551
|
+
if (!e.canvas_marker && !e.geo_marker)
|
|
3549
3552
|
throw new Error("Asset must have either a canvas_marker or geo_marker");
|
|
3550
3553
|
const i = s.getState().userReducer.currentUser.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
|
|
3551
3554
|
...e,
|
|
@@ -3575,7 +3578,7 @@ class NA extends I {
|
|
|
3575
3578
|
...i,
|
|
3576
3579
|
...e
|
|
3577
3580
|
};
|
|
3578
|
-
if (!n.canvas_marker && !n.
|
|
3581
|
+
if (!n.canvas_marker && !n.geo_marker)
|
|
3579
3582
|
throw new Error("Asset must have either a canvas_marker or geo_marker");
|
|
3580
3583
|
this.dispatch(Ne(n));
|
|
3581
3584
|
const a = this.enqueueRequest({
|