next-sanity 12.0.1 → 12.0.2-canary.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.
Files changed (38) hide show
  1. package/dist/constants.d.ts +0 -2
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/defineLive.d.ts +0 -4
  4. package/dist/defineLive.d.ts.map +1 -1
  5. package/dist/draft-mode/index.d.ts +0 -4
  6. package/dist/draft-mode/index.d.ts.map +1 -1
  7. package/dist/experimental/client-components/live.d.ts +0 -5
  8. package/dist/experimental/client-components/live.d.ts.map +1 -1
  9. package/dist/experimental/live.d.ts +0 -4
  10. package/dist/experimental/live.d.ts.map +1 -1
  11. package/dist/hooks/index.d.ts +0 -12
  12. package/dist/hooks/index.d.ts.map +1 -1
  13. package/dist/image/index.d.ts +0 -6
  14. package/dist/image/index.d.ts.map +1 -1
  15. package/dist/index.d.ts +0 -4
  16. package/dist/isCorsOriginError.d.ts +0 -3
  17. package/dist/isCorsOriginError.d.ts.map +1 -1
  18. package/dist/live/client-components/live/index.d.ts +0 -4
  19. package/dist/live/client-components/live/index.d.ts.map +1 -1
  20. package/dist/live/client-components/live-stream/index.d.ts +0 -6
  21. package/dist/live/client-components/live-stream/index.d.ts.map +1 -1
  22. package/dist/live/server-actions/index.d.ts +0 -3
  23. package/dist/live/server-actions/index.d.ts.map +1 -1
  24. package/dist/live.server-only.d.ts +0 -3
  25. package/dist/live.server-only.d.ts.map +1 -1
  26. package/dist/studio/client-component/index.d.ts +0 -5
  27. package/dist/studio/client-component/index.d.ts.map +1 -1
  28. package/dist/studio/index.d.ts +0 -10
  29. package/dist/studio/index.d.ts.map +1 -1
  30. package/dist/visual-editing/client-component/index.d.ts +0 -6
  31. package/dist/visual-editing/client-component/index.d.ts.map +1 -1
  32. package/dist/visual-editing/index.d.ts +0 -4
  33. package/dist/visual-editing/index.d.ts.map +1 -1
  34. package/dist/visual-editing/server-actions/index.d.ts +0 -2
  35. package/dist/visual-editing/server-actions/index.d.ts.map +1 -1
  36. package/dist/webhook/index.d.ts +0 -3
  37. package/dist/webhook/index.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -1,6 +1,4 @@
1
- //#region src/experimental/constants.d.ts
2
1
  declare const PUBLISHED_SYNC_TAG_PREFIX = "sp:";
3
2
  declare const DRAFT_SYNC_TAG_PREFIX = "sd:";
4
- //#endregion
5
3
  export { PUBLISHED_SYNC_TAG_PREFIX as n, DRAFT_SYNC_TAG_PREFIX as t };
6
4
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","names":[],"sources":["../src/experimental/constants.ts"],"sourcesContent":[],"mappings":";cAAa,yBAAA;AAAA,cACA,qBAAA,GADA,KAAA"}
1
+ {"version":3,"file":"constants.d.ts","names":[],"sources":["../src/experimental/constants.ts"],"sourcesContent":[],"mappings":"AAAa,cAAA,yBAAA,GAAA,KAAA;AACA,cAAA,qBAAA,GAAA,KAAA"}
@@ -1,7 +1,4 @@
1
1
  import { ClientPerspective, ClientReturn, ContentSourceMap, LiveEventGoAway, QueryParams, SanityClient, SyncTag } from "@sanity/client";
2
-
3
- //#region src/live/defineLive.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
@@ -174,6 +171,5 @@ declare function defineLive(config: DefineSanityLiveOptions): {
174
171
  */
175
172
  SanityLiveStream: DefinedSanityLiveStreamType;
176
173
  };
177
- //#endregion
178
174
  export { defineLive as a, DefinedSanityLiveStreamType as i, DefinedSanityFetchType as n, DefinedSanityLiveProps as r, DefineSanityLiveOptions as t };
179
175
  //# sourceMappingURL=defineLive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defineLive.d.ts","names":[],"sources":["../src/live/defineLive.tsx"],"sourcesContent":[],"mappings":";;;;;;AAkBA;AACS,KADG,sBAAA,GACH,CAAA,0BAAA,MAAA,CAAA,CAAA,OAAA,EAAA;EACE,KAAA,EADF,WACE;EAAsB,MAAA,CAAA,EAAtB,WAAsB,GAAR,OAAQ,CAAA,WAAA,CAAA;EAAR;;;;;;EAoBnB,IAAA,CAAA,EAAA,MAAA,EAAA;EAAA,WAAA,CAAA,EAZU,OAYV,CAZkB,iBAYlB,EAAA,KAAA,CAAA;EASN,KAAY,CAAA,EAAA,OAAA;EACH;;;EACgB,GAAA,CAAA,EAAA,KAAA;EAQD;;;;;EAgBA,UAAM,CAAA,EAAA,MAAA;CAAd,EAAA,GAnCV,OAmCU,CAAA;EAAR,IAAA,EAlCA,YAkCA,CAlCa,WAkCb,CAAA;EAGF,SAAM,EApCC,gBAoCD,GAAA,IAAA;EAAA,IAAA,EAAA,MAAA,EAAA;AAKZ,CAAA,CAAA;;;;AA0D4C,KA5FhC,2BAAA,GA4FgC,CAAA,0BAAA,MAAA,CAAA,CAAA,KAAA,EAAA;EAM5C,KAAiB,EAjGR,WAiGQ;EAuCjB,MAAgB,CAAA,EAvIL,WAuIK,GAvIS,OAuIT,CAvIiB,WAuIjB,CAAA;EAAmB;;;;;;;gBA/HnB,QAAQ;;;;;;;;;;;;;UAad,aAAa;eACR;;QAEP,QAAQ,QAAQ,KAAA,CAAM;MAGxB,KAAA,CAAM;;;;UAKK,sBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoDI;;;;;8BAMS,cAAc;;;;;UAM3B,uBAAA;;;;UAIP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCM,UAAA,SAAmB;;;;;eAKpB;;;;;cAKD,KAAA,CAAM,cAAc;;;;oBAId"}
1
+ {"version":3,"file":"defineLive.d.ts","names":[],"sources":["../src/live/defineLive.tsx"],"sourcesContent":[],"mappings":";;AAkBA;;AAEW,KAFC,sBAAA,GAED,CAAA,0BAAA,MAAA,CAAA,CAAA,OAAA,EAAA;EAAsB,KAAA,EADxB,WACwB;EAAR,MAAA,CAAA,EAAd,WAAc,GAAA,OAAA,CAAQ,WAAR,CAAA;EAQD;;;;;;EAYlB,IAAA,CAAA,EAAA,MAAA,EAAA;EASN,WAAY,CAAA,EArBI,OAqBJ,CArBY,iBAqBZ,EAAA,KAAA,CAAA;EACH,KAAA,CAAA,EAAA,OAAA;EACE;;;EAQa,GAAA,CAAA,EAAA,KAAA;EAAR;;;;;EAgBA,UAAA,CAAA,EAAA,MAAA;CAAR,EAAA,GAnCF,OAmCE,CAAA;EAGF,IAAA,EArCE,YAqCI,CArCS,WAqCT,CAAA;EAAA,SAAA,EApCC,gBAoCD,GAAA,IAAA;EAKZ,IAAiB,EAAA,MAAA,EAAA;CAoDI,CAAA;;;;AAYJ,KAlGL,2BAAA,GAsGF,CAAA,0BAAA,MAAA,CAAA,CAAA,KAAA,EAAA;EAmCV,KAAgB,EAxIP,WAwIO;EAAmB,MAAA,CAAA,EAvIxB,WAuIwB,GAvIV,OAuIU,CAvIF,WAuIE,CAAA;EAKpB;;;;;;;gBApIC,QAAQ;;;;;;;;;;;;;UAad,aAAa;eACR;;QAEP,QAAQ,QAAQ,KAAA,CAAM;MAGxB,KAAA,CAAM;;;;UAKK,sBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoDI;;;;;8BAMS,cAAc;;;;;UAM3B,uBAAA;;;;UAIP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCM,UAAA,SAAmB;;;;;eAKpB;;;;;cAKD,KAAA,CAAM,cAAc;;;;oBAId"}
@@ -1,7 +1,4 @@
1
1
  import { SanityClient } from "@sanity/client";
2
-
3
- //#region src/draft-mode/define-enable-draft-mode.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
@@ -39,6 +36,5 @@ interface EnableDraftMode {
39
36
  * @public
40
37
  */
41
38
  declare function defineEnableDraftMode(options: DefineEnableDraftModeOptions): EnableDraftMode;
42
- //#endregion
43
39
  export { DefineEnableDraftModeOptions, EnableDraftMode, defineEnableDraftMode };
44
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/draft-mode/define-enable-draft-mode.ts"],"sourcesContent":[],"mappings":";;;;;;AASA;AAciB,UAdA,4BAAA,CAcA;EACA,MAAA,EAdP,YAcO;EAAoB;;;AAoBrC;;;;;;;;UArBiB,eAAA;iBACA,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;iBAoBrB,qBAAA,UAA+B,+BAA+B"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/draft-mode/define-enable-draft-mode.ts"],"sourcesContent":[],"mappings":";;AASA;AAcA;AACiB,UAfA,4BAAA,CAeA;EAAoB,MAAA,EAd3B,YAc2B;EAAR;;AAoB7B;;;;;;;;;UArBiB,eAAA;iBACA,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;iBAoBrB,qBAAA,UAA+B,+BAA+B"}
@@ -1,10 +1,6 @@
1
1
  import { n as PUBLISHED_SYNC_TAG_PREFIX, t as DRAFT_SYNC_TAG_PREFIX } from "../../constants.js";
2
2
  import { ClientPerspective, InitializedClientConfig, LiveEventGoAway, SyncTag } from "@sanity/client";
3
-
4
- //#region src/experimental/types.d.ts
5
3
  interface SanityClientConfig extends Pick<InitializedClientConfig, "projectId" | "dataset" | "apiHost" | "apiVersion" | "useProjectHostname" | "token" | "requestTagPrefix"> {}
6
- //#endregion
7
- //#region src/experimental/client-components/live.d.ts
8
4
  /**
9
5
  * @alpha CAUTION: This API does not follow semver and could have breaking changes in future minor releases.
10
6
  */
@@ -29,6 +25,5 @@ interface SanityLiveProps {
29
25
  * @alpha CAUTION: This API does not follow semver and could have breaking changes in future minor releases.
30
26
  */
31
27
  declare function SanityLive(props: SanityLiveProps): React.JSX.Element | null;
32
- //#endregion
33
28
  export { SanityLiveProps, SanityLive as default };
34
29
  //# sourceMappingURL=live.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"live.d.ts","names":[],"sources":["../../../src/experimental/types.ts","../../../src/experimental/client-components/live.tsx"],"sourcesContent":[],"mappings":";;;;UAEiB,kBAAA,SAA2B,KAC1C;;;;AADF;;UCgCiB,eAAA;UACP;EADV,gBAAiB,EAAA,OAAA;EACP,cAAA,CAAA,EAAA,OAAA;EAYW,cAAA,CAAA,EAAA,OAAA;EAED,kBAAA,CAAA,EAAA,OAAA;EAAmC,UAAA,EAAA,MAAA,GAAA,SAAA;EAAwB;;;;EAE1C,OAAA,CAAA,EAAA,CAAA,KAAA,EAAA,OAAA,EAAA,GAAA,IAAA;kBAsCb,CAAA,EAAA,MAAA,GAAkB,KAAA;qBA1CrB;uCAED,mCAAmC,wBAAwB,gBACxE;qCAC8B,QAAQ;;;;;iBAsCrB,UAAA,QAAkB,kBAAkB,KAAA,CAAM,GAAA,CAAI"}
1
+ {"version":3,"file":"live.d.ts","names":[],"sources":["../../../src/experimental/types.ts","../../../src/experimental/client-components/live.tsx"],"sourcesContent":[],"mappings":";;UAEiB,kBAAA,SAA2B,KAC1C;AADF;;ACgCA;AACU,UADO,eAAA,CACP;EAYW,MAAA,EAZX,kBAYW;EAED,gBAAA,EAAA,OAAA;EAAmC,cAAA,CAAA,EAAA,OAAA;EAAwB,cAAA,CAAA,EAAA,OAAA;EACxE,kBAAA,CAAA,EAAA,OAAA;EACsC,UAAA,EAAA,MAAA,GAAA,SAAA;EAAR;;;;;;qBAJhB;uCAED,mCAAmC,wBAAwB,gBACxE;qCAC8B,QAAQ;;;;;iBAsCrB,UAAA,QAAkB,kBAAkB,KAAA,CAAM,GAAA,CAAI"}
@@ -2,9 +2,6 @@ import { n as PUBLISHED_SYNC_TAG_PREFIX, t as DRAFT_SYNC_TAG_PREFIX } from "../c
2
2
  import { cookies } from "next/headers";
3
3
  import "server-only";
4
4
  import { ClientPerspective, ClientReturn, ContentSourceMap, LiveEventGoAway, QueryParams, SanityClient, SyncTag } from "next-sanity";
5
-
6
- //#region src/experimental/live.d.ts
7
-
8
5
  /**
9
6
  * @alpha CAUTION: This API does not follow semver and could have breaking changes in future minor releases.
10
7
  */
@@ -141,6 +138,5 @@ declare function defineLive(config: DefineSanityLiveOptions): {
141
138
  */
142
139
  SanityLive: React.ComponentType<DefinedSanityLiveProps>;
143
140
  };
144
- //#endregion
145
141
  export { DefineSanityLiveOptions, DefinedSanityFetchType, DefinedSanityLiveProps, SanityFetchOptions, defineLive, resolvePerspectiveFromCookies };
146
142
  //# sourceMappingURL=live.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"live.d.ts","names":[],"sources":["../../src/experimental/live.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AA2BA;AACW,iBADW,6BAAA,CACX;EAAA,OAAA,EAAA;CAAA,EAAA;EAE0B,OAAA,EAA1B,OAA0B,CAAlB,UAAkB,CAAA,OAAA,OAAA,CAAA,CAAA;CAAlB,CAAA,EACf,OADe,CACP,OADO,CACC,iBADD,EAAA,KAAA,CAAA,CAAA;;;;AACf,UAoEa,kBApEb,CAAA,oBAAA,MAAA,CAAA,CAAA;EAAA,KAAA,EAqEK,WArEL;EAoEJ,MAAiB,CAAA,EAEN,WAFM;EACR;;;EAKO,WAAA,CAAA,EAAA,OAAA,CAAQ,iBAAR,EAAA,KAAA,CAAA;EAAA;AAqBhB;;;EAGqB,KAAA,CAAA,EAAA,OAAA;EAAb;;;;AAeR;EA4CqB,UAAA,CAAA,EAAA,MAAA;EAQD;;;EACb,IAAA,CAAA,EAAA,MAAA,EAAA;;;;AAeP;AAoBgB,KA1GJ,sBAAA,GA0GI,CAAA,0BAAA,MAAA,CAAA,CAAA,OAAA,EAzGL,kBAyGK,CAzGc,WAyGd,CAAA,EAAA,GAxGX,OAwGW,CAAA;EAAmB,IAAA,EAvG3B,YAuG2B,CAvGd,WAuGc,EAAA,OAAA,CAAA;EAIpB;;;;aAtGF;;;;;;;;;UAUI,sBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4CI;;;;;wCAQD,mCAAmC,wBAAwB,gBACxE;;;;sCAS+B,QAAQ;;;;;UAM7B,uBAAA;;;;UAIP;;;;;;;;;;;;;;;iBAgBM,UAAA,SAAmB;;;;eAIpB;;;;cAID,KAAA,CAAM,cAAc"}
1
+ {"version":3,"file":"live.d.ts","names":[],"sources":["../../src/experimental/live.tsx"],"sourcesContent":[],"mappings":";;;;;AA2BA;;AAGqC,iBAHf,6BAAA,CAGe;EAAA,OAAA,EAF1B;CAE0B,EAAA;EAAlB,OAAA,EAAR,OAAQ,CAAA,UAAA,CAAA,OAAkB,OAAlB,CAAA,CAAA;CAAR,CAAA,EACP,OADO,CACC,OADD,CACS,iBADT,EAAA,KAAA,CAAA,CAAA;;;;AACP,UAoEa,kBApEb,CAAA,oBAAA,MAAA,CAAA,CAAA;EAoEJ,KAAiB,EACR,WADQ;EACR,MAAA,CAAA,EACE,WADF;EACE;;;EAIK,WAAA,CAAA,EAAA,OAAA,CAAQ,iBAAR,EAAA,KAAA,CAAA;EAqBhB;;;;EAGQ,KAAA,CAAA,EAAA,OAAA;EAKK;;;AAUb;;EAoDoB,UAAA,CAAA,EAAA,MAAA;EAAmC;;;EAUT,IAAA,CAAA,EAAA,MAAA,EAAA;;;AAM9C;AAoBA;AAAmC,KA1GvB,sBAAA,GA0GuB,CAAA,0BAAA,MAAA,CAAA,CAAA,OAAA,EAzGxB,kBAyGwB,CAzGL,WAyGK,CAAA,EAAA,GAxG9B,OAwG8B,CAAA;EAIpB,IAAA,EA3GP,YA2GO,CA3GM,WA2GN,EAAA,OAAA,CAAA;EAImB;;;;aA1GrB;;;;;;;;;UAUI,sBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4CI;;;;;wCAQD,mCAAmC,wBAAwB,gBACxE;;;;sCAS+B,QAAQ;;;;;UAM7B,uBAAA;;;;UAIP;;;;;;;;;;;;;;;iBAgBM,UAAA,SAAmB;;;;eAIpB;;;;cAID,KAAA,CAAM,cAAc"}
@@ -2,9 +2,6 @@ import "@sanity/comlink";
2
2
  import "@sanity/presentation-comlink";
3
3
  import { useOptimistic } from "@sanity/visual-editing/react";
4
4
  import { ClientPerspective, ClientPerspective as ClientPerspective$1, ClientReturn, ContentSourceMap, QueryParams } from "@sanity/client";
5
-
6
- //#region src/live/hooks/context.d.ts
7
-
8
5
  /**
9
6
  * The Sanity Client perspective used when fetching data in Draft Mode, in the `sanityFetch` calls
10
7
  * used by React Server Components on the page. Note that some of them might set the `perspective` to a different value.
@@ -17,8 +14,6 @@ type DraftPerspective = "checking" | "unknown" | ClientPerspective$1;
17
14
  * @public
18
15
  */
19
16
  type DraftEnvironment = "checking" | "presentation-iframe" | "presentation-window" | "live" | "static" | "unknown";
20
- //#endregion
21
- //#region src/live/hooks/useDraftMode.d.ts
22
17
  /**
23
18
  * Reports the current draft mode environment.
24
19
  * Use it to determine how to adapt the UI based on wether:
@@ -37,8 +32,6 @@ declare function useDraftModeEnvironment(): DraftEnvironment;
37
32
  * @public
38
33
  */
39
34
  declare function useDraftModePerspective(): DraftPerspective;
40
- //#endregion
41
- //#region src/live/hooks/useIsPresentationTool.d.ts
42
35
  /**
43
36
  * Detects if the application is being previewed inside Sanity Presentation Tool.
44
37
  * Presentation Tool can open the application in an iframe, or in a new window.
@@ -50,8 +43,6 @@ declare function useDraftModePerspective(): DraftPerspective;
50
43
  * @public
51
44
  */
52
45
  declare function useIsPresentationTool(): boolean | null;
53
- //#endregion
54
- //#region src/live/hooks/useIsLivePreview.d.ts
55
46
  /**
56
47
  * Detects if the application is considered to be in a "Live Preview" mode.
57
48
  * Live Preview means that the application is either:
@@ -68,8 +59,6 @@ declare function useIsPresentationTool(): boolean | null;
68
59
  * @public
69
60
  */
70
61
  declare function useIsLivePreview(): boolean | null;
71
- //#endregion
72
- //#region src/live/hooks/usePresentationQuery.d.ts
73
62
  /** @alpha */
74
63
  type UsePresentationQueryReturnsInactive = {
75
64
  data: null;
@@ -96,6 +85,5 @@ declare function usePresentationQuery<const QueryString extends string>(props: {
96
85
  params?: QueryParams | Promise<QueryParams>;
97
86
  stega?: boolean;
98
87
  }): UsePresentationQueryReturns<QueryString>;
99
- //#endregion
100
88
  export { type ClientPerspective, type DraftEnvironment, type DraftPerspective, UsePresentationQueryReturns, UsePresentationQueryReturnsActive, UsePresentationQueryReturnsInactive, useDraftModeEnvironment, useDraftModePerspective, useIsLivePreview, useIsPresentationTool, useOptimistic, usePresentationQuery };
101
89
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["perspectiveListeners: Set<() => void>","perspective: DraftPerspective","environmentListeners: Set<() => void>","environment: DraftEnvironment","comlinkListeners: Set<() => void>","comlink: Node<LoaderNodeMsg, LoaderControllerMsg> | null","comlinkProjectId: string | null","comlinkDataset: string | null"],"sources":["../../src/live/hooks/context.ts","../../src/live/hooks/useDraftMode.ts","../../src/live/hooks/useIsPresentationTool.ts","../../src/live/hooks/useIsLivePreview.ts","../../src/live/hooks/usePresentationQuery.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAUA;AAmBA;;KAnBY,gBAAA,4BAA4C;AEExD;;;;ACKgB,KHYJ,gBAAA,GGZI,UAAA,GAAA,qBAAA,GAAA,qBAAA,GAAA,MAAA,GAAA,QAAA,GAAA,SAAA;;;;;;;;AHPhB;AAmBA;;;;ACTgB,iBAAA,uBAAA,CAAA,CAA2B,EAAA,gBAAA;AAmB3C;;;;AC3BA;;iBD2BgB,uBAAA,CAAA,GAA2B;;;;;;;;;AD7B3C;AAmBA;;;iBEjBgB,qBAAA,CAAA;;;;;;;;;AFFhB;AAmBA;;;;ACTA;AAmBA;;;iBEtBgB,gBAAA,CAAA;;;;KCHJ,mCAAA;;;;AJJZ,CAAA;AAmBA;KIRY;QACJ,aAAa;aACR;EHHb,WAAgB,EGID,mBHJC;AAmBhB,CAAA;KGZY,0DACR,sCACA,kCAAkC;;;AFjBtC;;;;ACKA;;iBCiEgB;SACP;EArET,MAAY,CAAA,EAsED,WAtEC,GAsEa,OAtEb,CAsEqB,WAtErB,CAAA;EAOZ,KAAY,CAAA,EAAA,OAAA;CACS,CAAA,EAgEjB,2BAhEiB,CAgEW,WAhEX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":["perspectiveListeners: Set<() => void>","perspective: DraftPerspective","environmentListeners: Set<() => void>","environment: DraftEnvironment","comlinkListeners: Set<() => void>","comlink: Node<LoaderNodeMsg, LoaderControllerMsg> | null","comlinkProjectId: string | null","comlinkDataset: string | null"],"sources":["../../src/live/hooks/context.ts","../../src/live/hooks/useDraftMode.ts","../../src/live/hooks/useIsPresentationTool.ts","../../src/live/hooks/useIsLivePreview.ts","../../src/live/hooks/usePresentationQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAUA;AAmBA;;ACTA;AAmBgB,KD7BJ,gBAAA,GC6BI,UAAA,GAA2B,SAAA,GD7Ba,mBC6Bb;AGlB3C;;;;AAGe,KJKH,gBAAA,GILG,UAAA,GAAA,qBAAA,GAAA,qBAAA,GAAA,MAAA,GAAA,QAAA,GAAA,SAAA;;;;;AJdf;AAmBA;;ACTA;AAmBA;;AC3BgB,iBDQA,uBAAA,CAAA,CCRA,EDQ2B,gBCR3B;;ACKhB;;ACHA;AAOA;;AACQ,iBHiBQ,uBAAA,CAAA,CGjBR,EHiBmC,gBGjBnC;;;;;;AJZR;AAmBA;;ACTA;AAmBA;iBC3BgB,qBAAA,CAAA;;;;;;AFFhB;AAmBA;;ACTA;AAmBA;;AC3BA;;ACKA;;ACHY,iBDGI,gBAAA,CAAA,CCHJ,EAAA,OAAA,GAAA,IAAA;;KAAA,mCAAA;;;EJJZ,WAAY,EAAA,IAAA;AAmBZ,CAAA;;ACTgB,KGCJ,iCHD+B,CAAA,oBAAA,MAAA,CAAA,GAAA;EAmB3C,IAAgB,EGjBR,YHiBQ,CGjBK,WHiBL,CAAA;aGhBH;EFXb,WAAgB,EEYD,mBFZC;;ACKA,KCUJ,2BDVI,CAAA,oBAAA,MAAA,CAAA,GCWZ,mCDXY,GCYZ,iCDZY,CCYsB,WDZtB,CAAA;;ACHhB;AAOA;;;;;;AAMY,iBAuDI,oBAvDJ,CAAA,0BAAA,MAAA,CAAA,CAAA,KAAA,EAAA;EACR,KAAA,EAuDK,WAvDL;EACkC,MAAA,CAAA,EAuD3B,WAvD2B,GAuDb,OAvDa,CAuDL,WAvDK,CAAA;EAAlC,KAAA,CAAA,EAAA,OAAA;CAAA,CAAA,EAyDA,2BAzDA,CAyD4B,WAzD5B,CAAA"}
@@ -1,7 +1,4 @@
1
1
  import { ImageLoader, ImageProps as ImageProps$1 } from "next/image";
2
-
3
- //#region src/image/Image.d.ts
4
-
5
2
  /**
6
3
  * @alpha
7
4
  */
@@ -19,12 +16,9 @@ interface ImageProps extends Omit<ImageProps$1, "loader" | "src"> {
19
16
  * @alpha
20
17
  */
21
18
  declare function Image(props: ImageProps): React.JSX.Element;
22
- //#endregion
23
- //#region src/image/imageLoader.d.ts
24
19
  /**
25
20
  * @alpha
26
21
  */
27
22
  declare const imageLoader: ImageLoader;
28
- //#endregion
29
23
  export { Image, type ImageProps, imageLoader };
30
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["imageLoader: ImageLoader"],"sources":["../../src/image/Image.tsx","../../src/image/imageLoader.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;AAcgB,UAdC,UAAA,SAAmB,IAcM,CAdD,YAcW,EAAA,QAAA,GAAA,KAAA,CAAA,CAAA;;;;EChBpD,MAAaA,CAAAA,EAAAA,KAAAA;;;;;;;;;iBDgBG,KAAA,QAAa,aAAa,KAAA,CAAM,GAAA,CAAI;;;;;AAdpD;AAcgB,cChBHA,WDgBgB,EChBH,WDgBsB"}
1
+ {"version":3,"file":"index.d.ts","names":["imageLoader: ImageLoader"],"sources":["../../src/image/Image.tsx","../../src/image/imageLoader.ts"],"sourcesContent":[],"mappings":";;AAOA;AAcA;UAdiB,UAAA,SAAmB,KAAK;ECFzC;;;;;;;;;;;;iBDgBgB,KAAA,QAAa,aAAa,KAAA,CAAM,GAAA,CAAI;;AAdpD;AAcA;cChBaA,aAAa"}
package/dist/index.d.ts CHANGED
@@ -5,8 +5,4 @@ import { CreateDataAttribute, CreateDataAttributeProps, createDataAttribute } fr
5
5
  import groq, { defineQuery } from "groq";
6
6
  export * from "@sanity/client";
7
7
  export * from "@portabletext/react";
8
-
9
- //#region rolldown:runtime
10
-
11
- //#endregion
12
8
  export { type CreateDataAttribute, type CreateDataAttributeProps, createClient, createDataAttribute, defineQuery, groq, isCorsOriginError, stegaClean, unstable__adapter, unstable__environment };
@@ -1,8 +1,5 @@
1
1
  import { CorsOriginError as CorsOriginError$1 } from "@sanity/client";
2
-
3
- //#region src/isCorsOriginError.d.ts
4
2
  /** @public */
5
3
  declare function isCorsOriginError(error: unknown): error is CorsOriginError$1;
6
- //#endregion
7
4
  export { isCorsOriginError as t };
8
5
  //# sourceMappingURL=isCorsOriginError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isCorsOriginError.d.ts","names":[],"sources":["../src/isCorsOriginError.ts"],"sourcesContent":[],"mappings":";;;;iBAGgB,iBAAA,2BAA4C"}
1
+ {"version":3,"file":"isCorsOriginError.d.ts","names":[],"sources":["../src/isCorsOriginError.ts"],"sourcesContent":[],"mappings":";;AAGgB,iBAAA,iBAAA,CAA4C,KAAA,EAAA,OAAA,CAAA,EAAA,KAAA,IAAA,iBAAA"}
@@ -1,7 +1,4 @@
1
1
  import { ClientPerspective, InitializedClientConfig, LiveEventGoAway, SyncTag } from "@sanity/client";
2
-
3
- //#region src/live/client-components/live/SanityLive.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
@@ -25,6 +22,5 @@ interface SanityLiveProps extends Pick<InitializedClientConfig, "projectId" | "d
25
22
  * @public
26
23
  */
27
24
  declare function SanityLive(props: SanityLiveProps): React.JSX.Element | null;
28
- //#endregion
29
25
  export { type SanityLiveProps, SanityLive as default };
30
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/live/client-components/live/SanityLive.tsx"],"sourcesContent":[],"mappings":";;;;;;AAwBA;AACE,UADe,eAAA,SAAwB,IACvC,CAAA,uBAAA,EAAA,WAAA,GAAA,SAAA,GAAA,SAAA,GAAA,YAAA,GAAA,oBAAA,GAAA,OAAA,GAAA,kBAAA,CAAA,CAAA;EAWuB,gBAAA,EAAA,OAAA;EAWJ,oBAAA,CAAA,EAXI,iBAWJ;EACS,cAAA,CAAA,EAAA,OAAA;EAAc,cAAA,CAAA,EAAA,OAAA;EAxBH,kBAAA,CAAA,EAAA,OAAA;EAAA,UAAA,EAAA,MAAA,GAAA,SAAA;EA8DzC;;;;;;qBAvCqB;8BACS,cAAc;;;;;iBAsC5B,UAAA,QAAkB,kBAAkB,KAAA,CAAM,GAAA,CAAI"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/live/client-components/live/SanityLive.tsx"],"sourcesContent":[],"mappings":";;AAwBA;;AAYyB,UAZR,eAAA,SAAwB,IAYhB,CAXvB,uBAWuB,EAAA,WAAA,GAAA,SAAA,GAAA,SAAA,GAAA,YAAA,GAAA,oBAAA,GAAA,OAAA,GAAA,kBAAA,CAAA,CAAA;EAWJ,gBAAA,EAAA,OAAA;EACS,oBAAA,CAAA,EAZL,iBAYK;EAAc,cAAA,CAAA,EAAA,OAAA;EAxBH,cAAA,CAAA,EAAA,OAAA;EAAA,kBAAA,CAAA,EAAA,OAAA;EA8DzC,UAAgB,EAAA,MAAA,GAAA,SAAkB;;;;;;;qBAvCb;8BACS,cAAc;;;;;iBAsC5B,UAAA,QAAkB,kBAAkB,KAAA,CAAM,GAAA,CAAI"}
@@ -1,7 +1,4 @@
1
1
  import { ClientPerspective, ContentSourceMap, InitializedClientConfig, QueryParams } from "@sanity/client";
2
-
3
- //#region src/live/client-components/live-stream/SanityLiveStream.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
@@ -17,9 +14,6 @@ interface SanityLiveStreamProps extends Pick<InitializedClientConfig, "projectId
17
14
  tags: string[];
18
15
  }) => Promise<React.ReactNode>;
19
16
  }
20
- //#endregion
21
- //#region src/live/client-components/live-stream/SanityLiveStreamLazy.d.ts
22
17
  declare function SanityLiveStreamLazyClientComponent(props: SanityLiveStreamProps): React.ReactNode;
23
- //#endregion
24
18
  export { type SanityLiveStreamProps, SanityLiveStreamLazyClientComponent as default };
25
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/live/client-components/live-stream/SanityLiveStream.tsx","../../../../src/live/client-components/live-stream/SanityLiveStreamLazy.tsx"],"sourcesContent":[],"mappings":";;;;;;AAeA;AACE,UADe,qBAAA,SAA8B,IAC7C,CAAA,uBAAA,EAAA,WAAA,GAAA,SAAA,CAAA,CAAA;EAIS,KAAA,EAAA,MAAA;EACa,MAAA,CAAA,EADb,WACa;EAAR,WAAA,CAAA,EAAA,OAAA,CAAQ,iBAAR,EAAA,KAAA,CAAA;EAEG,KAAA,CAAM,EAAA,OAAA;EAAd,OAAA,EAAA,OAAA,CAAQ,KAAA,CAAM,SAAd,CAAA;EAGI,QAAA,EAAA,CAAA,MAAA,EAAA;IAEC,IAAA,EAAM,OAAA;IAAd,SAAA,EAFO,gBAEP,GAAA,IAAA;IAbuC,IAAA,EAAA,MAAA,EAAA;EAAA,CAAA,EAAA,GAavC,OAbuC,CAa/B,KAAA,CAAM,SAbyB,CAAA;;;;iBCJ/B,mCAAA,QAA2C,wBAAwB,KAAA,CAAM"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/live/client-components/live-stream/SanityLiveStream.tsx","../../../../src/live/client-components/live-stream/SanityLiveStreamLazy.tsx"],"sourcesContent":[],"mappings":";;AAeA;;AAKW,UALM,qBAAA,SAA8B,IAKpC,CAJT,uBAIS,EAAA,WAAA,GAAA,SAAA,CAAA,CAAA;EACa,KAAA,EAAA,MAAA;EAAR,MAAA,CAAA,EADL,WACK;EAEG,WAAM,CAAA,EAFT,OAES,CAFD,iBAEC,EAAA,KAAA,CAAA;EAAd,KAAA,CAAA,EAAA,OAAA;EAGI,OAAA,EAHJ,OAGI,CAHI,KAAA,CAAM,SAGV,CAAA;EAEC,QAAM,EAAA,CAAA,MAAA,EAAA;IAAd,IAAA,EAAA,OAAA;IAbuC,SAAA,EAWhC,gBAXgC,GAAA,IAAA;IAAA,IAAA,EAAA,MAAA,EAAA;QAavC,QAAQ,KAAA,CAAM;ACjBtB;iBAAgB,mCAAA,QAA2C,wBAAwB,KAAA,CAAM"}
@@ -1,8 +1,5 @@
1
1
  import { ClientPerspective, SyncTag } from "@sanity/client";
2
-
3
- //#region src/live/server-actions/index.d.ts
4
2
  declare function revalidateSyncTags(tags: SyncTag[]): Promise<void>;
5
3
  declare function setPerspectiveCookie(perspective: ClientPerspective): Promise<void>;
6
- //#endregion
7
4
  export { revalidateSyncTags, setPerspectiveCookie };
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/live/server-actions/index.ts"],"sourcesContent":[],"mappings":";;;iBAQsB,kBAAA,OAAyB,YAAY;iBAUrC,oBAAA,cAAkC,oBAAoB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/live/server-actions/index.ts"],"sourcesContent":[],"mappings":";iBAQsB,kBAAA,OAAyB,YAAY;AAArC,iBAUA,oBAAA,CAVqC,WAAA,EAUH,iBAVG,CAAA,EAUiB,OAVjB,CAAA,IAAA,CAAA"}
@@ -1,7 +1,5 @@
1
1
  import { t as isCorsOriginError } from "./isCorsOriginError.js";
2
2
  import { i as DefinedSanityLiveStreamType, n as DefinedSanityFetchType, r as DefinedSanityLiveProps, t as DefineSanityLiveOptions } from "./defineLive.js";
3
-
4
- //#region src/live.server-only.d.ts
5
3
  /**
6
4
  * @public
7
5
  */
@@ -10,6 +8,5 @@ declare function defineLive(_config: DefineSanityLiveOptions): {
10
8
  SanityLive: React.ComponentType<DefinedSanityLiveProps>;
11
9
  SanityLiveStream: DefinedSanityLiveStreamType;
12
10
  };
13
- //#endregion
14
11
  export { type DefineSanityLiveOptions, type DefinedSanityFetchType, type DefinedSanityLiveProps, type DefinedSanityLiveStreamType, defineLive, isCorsOriginError };
15
12
  //# sourceMappingURL=live.server-only.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"live.server-only.d.ts","names":[],"sources":["../src/live.server-only.ts"],"sourcesContent":[],"mappings":";;;;;;;AAUgB,iBAAA,UAAA,CAAA,OAAA,EAAoB,uBAApB,CAAA,EAAA;EAAoB,WAAA,EACrB,sBADqB;EACrB,UAAA,EACD,KAAA,CAAM,aADL,CACmB,sBADnB,CAAA;EACmB,gBAAA,EACd,2BADc;CAApB"}
1
+ {"version":3,"file":"live.server-only.d.ts","names":[],"sources":["../src/live.server-only.ts"],"sourcesContent":[],"mappings":";;;;AAUA;AAAoC,iBAApB,UAAA,CAAoB,OAAA,EAAA,uBAAA,CAAA,EAAA;EACrB,WAAA,EAAA,sBAAA;EACmB,UAAA,EAApB,KAAA,CAAM,aAAc,CAAA,sBAAA,CAAA;EAApB,gBAAM,EACA,2BADA;CACA"}
@@ -1,6 +1,4 @@
1
1
  import { StudioProps } from "sanity";
2
-
3
- //#region src/studio/client-component/NextStudio.d.ts
4
2
  /** @public */
5
3
  interface NextStudioProps extends StudioProps {
6
4
  children?: React.ReactNode;
@@ -18,9 +16,6 @@ interface NextStudioProps extends StudioProps {
18
16
  */
19
17
  history?: "browser" | "hash";
20
18
  }
21
- //#endregion
22
- //#region src/studio/client-component/NextStudioLazy.d.ts
23
19
  declare function NextStudioLazyClientComponent(props: NextStudioProps): React.ReactNode;
24
- //#endregion
25
20
  export { NextStudioLazyClientComponent as NextStudio, type NextStudioProps };
26
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/studio/client-component/NextStudio.tsx","../../../src/studio/client-component/NextStudioLazy.tsx"],"sourcesContent":[],"mappings":";;;;UASiB,eAAA,SAAwB;EAAzC,QAAiB,CAAA,EACJ,KAAA,CAAM,SADF;;;;ACKjB;;;;;;;;;;;;;iBAAgB,6BAAA,QAAqC,kBAAkB,KAAA,CAAM"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/studio/client-component/NextStudio.tsx","../../../src/studio/client-component/NextStudioLazy.tsx"],"sourcesContent":[],"mappings":";;AASiB,UAAA,eAAA,SAAwB,WAAA,CAAA;aAC5B,KAAA,CAAM;ECInB;;;;;;;;;;;;;;iBAAgB,6BAAA,QAAqC,kBAAkB,KAAA,CAAM"}
@@ -1,7 +1,4 @@
1
1
  import { NextStudioProps, NextStudioProps as NextStudioProps$1 } from "next-sanity/studio/client-component";
2
-
3
- //#region src/studio/head.d.ts
4
-
5
2
  /**
6
3
  * In router segments (`/app/studio/[[...index]]/page.tsx`):
7
4
  * ```tsx
@@ -47,8 +44,6 @@ declare const metadata: {
47
44
  referrer: "same-origin";
48
45
  robots: "noindex";
49
46
  };
50
- //#endregion
51
- //#region src/studio/NextStudioLayout.d.ts
52
47
  /** @public */
53
48
  interface NextStudioLayoutProps {
54
49
  children: React.ReactNode;
@@ -57,13 +52,8 @@ interface NextStudioLayoutProps {
57
52
  declare const NextStudioLayout: ({
58
53
  children
59
54
  }: NextStudioLayoutProps) => React.JSX.Element;
60
- //#endregion
61
- //#region src/studio/NextStudioNoScript.d.ts
62
55
  /** @internal */
63
56
  declare const NextStudioNoScript: () => React.JSX.Element;
64
- //#endregion
65
- //#region src/studio/NextStudioWithBridge.d.ts
66
57
  declare function NextStudioWithBridge(props: NextStudioProps$1): React.JSX.Element;
67
- //#endregion
68
58
  export { NextStudioWithBridge as NextStudio, NextStudioLayout, NextStudioLayoutProps, NextStudioNoScript, type NextStudioProps, metadata, viewport };
69
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/studio/head.tsx","../../src/studio/NextStudioLayout.tsx","../../src/studio/NextStudioNoScript.tsx","../../src/studio/NextStudioWithBridge.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAoBA;AAyBA;;;;AC5CA;AAaA;;;;;;;;ACOA;cFDa;;;EGVb,WAAgB,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;cHmCH;;;;;;;UC5CI,qBAAA;YACL,KAAA,CAAM;ADkBlB;AAyBA;cC/Ba;;GAAgC,0BAAwB,KAAA,CAAM,GAAA,CAAI;;;;cCOlE,0BAAyB,KAAA,CAAM,GAAA,CAAI;;;iBCXhC,oBAAA,QAA4B,oBAAkB,KAAA,CAAM,GAAA,CAAI"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/studio/head.tsx","../../src/studio/NextStudioLayout.tsx","../../src/studio/NextStudioNoScript.tsx","../../src/studio/NextStudioWithBridge.tsx"],"sourcesContent":[],"mappings":";;;AAoBA;AAyBA;;AC5CA;AAaA;;;;;;ACOA;;ACXA;;;;cHUa;;;;;;;;;;;;;;;;;;;;;;;cAyBA;;;;;UC5CI,qBAAA;EDmBjB,QAAa,EClBD,KAAA,CAAM,SDkBL;AAyBb;;AC5CiB,cAaJ,gBAbI,EAAA,CACL;EAAA;AAAM,CAAA,EAY2B,qBAZ3B,EAAA,GAYmD,KAAA,CAAM,GAAA,CAAI,OAZ7D;;cCmBL,0BAAyB,KAAA,CAAM,GAAA,CAAI;iBCXhC,oBAAA,QAA4B,oBAAkB,KAAA,CAAM,GAAA,CAAI"}
@@ -1,7 +1,4 @@
1
1
  import { VisualEditingOptions } from "@sanity/visual-editing/react";
2
-
3
- //#region src/visual-editing/client-component/VisualEditing.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
@@ -27,9 +24,6 @@ interface VisualEditingProps extends Omit<VisualEditingOptions, "history"> {
27
24
  */
28
25
  trailingSlash?: boolean;
29
26
  }
30
- //#endregion
31
- //#region src/visual-editing/client-component/VisualEditingLazy.d.ts
32
27
  declare function VisualEditingLazyClientComponent(props: VisualEditingProps): React.ReactNode;
33
- //#endregion
34
28
  export { type VisualEditingProps, VisualEditingLazyClientComponent as default };
35
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/visual-editing/client-component/VisualEditing.tsx","../../../src/visual-editing/client-component/VisualEditingLazy.tsx"],"sourcesContent":[],"mappings":";;;;;;AAgBA;UAAiB,kBAAA,SAA2B,KAAK;;;ACFjD;;;;;;;;;;;;;;;;;;;;;iBAAgB,gCAAA,QAAwC,qBAAqB,KAAA,CAAM"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/visual-editing/client-component/VisualEditing.tsx","../../../src/visual-editing/client-component/VisualEditingLazy.tsx"],"sourcesContent":[],"mappings":";;AAgBA;;ACFgB,UDEC,kBAAA,SAA2B,ICF5B,CDEiC,oBCFO,EAAqB,SAAM,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;iBAAnE,gCAAA,QAAwC,qBAAqB,KAAA,CAAM"}
@@ -1,11 +1,7 @@
1
1
  import { VisualEditingProps, VisualEditingProps as VisualEditingProps$1 } from "next-sanity/visual-editing/client-component";
2
-
3
- //#region src/visual-editing/VisualEditing.d.ts
4
-
5
2
  /**
6
3
  * @public
7
4
  */
8
5
  declare function VisualEditing(props: VisualEditingProps$1): React.ReactElement;
9
- //#endregion
10
6
  export { VisualEditing, type VisualEditingProps };
11
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/visual-editing/VisualEditing.tsx"],"sourcesContent":[],"mappings":";;;;;;AAMA;iBAAgB,aAAA,QAAqB,uBAAqB,KAAA,CAAM"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/visual-editing/VisualEditing.tsx"],"sourcesContent":[],"mappings":";;AAMA;;iBAAgB,aAAA,QAAqB,uBAAqB,KAAA,CAAM"}
@@ -1,5 +1,3 @@
1
- //#region src/visual-editing/server-actions/index.d.ts
2
1
  declare function revalidateRootLayout(): Promise<void>;
3
- //#endregion
4
2
  export { revalidateRootLayout };
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/visual-editing/server-actions/index.ts"],"sourcesContent":[],"mappings":";iBAIsB,oBAAA,CAAA,GAAwB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/visual-editing/server-actions/index.ts"],"sourcesContent":[],"mappings":"AAIsB,iBAAA,oBAAA,CAAA,CAAwB,EAAA,OAAA,CAAA,IAAA,CAAA"}
@@ -1,7 +1,5 @@
1
1
  import { SanityDocument } from "@sanity/types";
2
2
  import { NextRequest } from "next/server";
3
-
4
- //#region src/webhook/index.d.ts
5
3
  /** @public */
6
4
  type ParsedBody<T> = {
7
5
  /**
@@ -16,6 +14,5 @@ type ParsedBody<T> = {
16
14
  * @public
17
15
  */
18
16
  declare function parseBody<Body = SanityDocument>(req: NextRequest, secret?: string, waitForContentLakeEventualConsistency?: boolean): Promise<ParsedBody<Body>>;
19
- //#endregion
20
17
  export { ParsedBody, parseBody };
21
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/webhook/index.ts"],"sourcesContent":[],"mappings":";;;;;KAKY;EAAZ;AAaA;;EACO,gBAAA,EAAA,OAAA,GAAA,IAAA;EAGe,IAAA,EAZd,CAYc,GAAA,IAAA;CAAX;;;;;;iBAJW,iBAAiB,qBAChC,gFAGJ,QAAQ,WAAW"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/webhook/index.ts"],"sourcesContent":[],"mappings":";;;AAKY,KAAA,UAAA,CAAA,CAAA,CAAA,GAAA;EAaZ;;;EAIsB,gBAAA,EAAA,OAAA,GAAA,IAAA;EAAX,IAAA,EAZH,CAYG,GAAA,IAAA;CAAR;;;;;;iBAJmB,iBAAiB,qBAChC,gFAGJ,QAAQ,WAAW"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "12.0.1",
3
+ "version": "12.0.2-canary.0",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",