sanity 5.2.0-next.68 → 5.2.0-next.69

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.
@@ -1,4 +1,4 @@
1
- var version = "5.2.0-next.68+ef88ca91c1", peerDependencies = {
1
+ var version = "5.2.0-next.69+8dae9a7bb6", peerDependencies = {
2
2
  "styled-components": "^6.1.15"
3
3
  };
4
4
  export {
@@ -12757,9 +12757,10 @@ const documentActions = [usePublishAction, useUnpublishAction, useDiscardChanges
12757
12757
  };
12758
12758
  });
12759
12759
  function canHandleCreateIntent(params) {
12760
- return "type" in params ? "template" in params ? {
12761
- template: !0
12762
- } : !0 : !1;
12760
+ if (!("type" in params))
12761
+ return !1;
12762
+ const handle = {};
12763
+ return "mode" in params && (handle.mode = params.mode === "structure"), "template" in params && (handle.template = !0), Object.keys(handle).length ? handle : !0;
12763
12764
  }
12764
12765
  function canHandleEditIntent(params) {
12765
12766
  return "id" in params ? "mode" in params ? {