@overmap-ai/core 1.0.50 → 1.0.51-add-submitted-at-to-form-revisions.0

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @overmap-ai/core
2
-
3
- The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
4
- packages.
1
+ # @overmap-ai/core
2
+
3
+ The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
4
+ packages.
@@ -6840,7 +6840,8 @@ class UserFormService extends BaseApiService {
6840
6840
  ...payloadWithoutImage,
6841
6841
  created_by: currentUser.id,
6842
6842
  form: retForm.offline_id,
6843
- revision: 0
6843
+ revision: 0,
6844
+ submitted_at: (/* @__PURE__ */ new Date()).toISOString()
6844
6845
  };
6845
6846
  const { store } = this.client;
6846
6847
  store.dispatch(addUserForm(retForm));
@@ -6903,7 +6904,8 @@ class UserFormService extends BaseApiService {
6903
6904
  ...payloadWithoutImage,
6904
6905
  created_by: currentUserId,
6905
6906
  revision: "Pending",
6906
- form: formId2
6907
+ form: formId2,
6908
+ submitted_at: (/* @__PURE__ */ new Date()).toISOString()
6907
6909
  };
6908
6910
  store.dispatch(addUserFormRevision(fullRevision));
6909
6911
  const promise = this.enqueueRequest({