@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.
@@ -6831,7 +6831,8 @@ var __publicField = (obj, key, value) => {
6831
6831
  ...payloadWithoutImage,
6832
6832
  created_by: currentUser.id,
6833
6833
  form: retForm.offline_id,
6834
- revision: 0
6834
+ revision: 0,
6835
+ submitted_at: (/* @__PURE__ */ new Date()).toISOString()
6835
6836
  };
6836
6837
  const { store } = this.client;
6837
6838
  store.dispatch(addUserForm(retForm));
@@ -6894,7 +6895,8 @@ var __publicField = (obj, key, value) => {
6894
6895
  ...payloadWithoutImage,
6895
6896
  created_by: currentUserId,
6896
6897
  revision: "Pending",
6897
- form: formId2
6898
+ form: formId2,
6899
+ submitted_at: (/* @__PURE__ */ new Date()).toISOString()
6898
6900
  };
6899
6901
  store.dispatch(addUserFormRevision(fullRevision));
6900
6902
  const promise = this.enqueueRequest({