@prismicio/next 2.3.3-pr.162.8e0acbb → 2.3.3-pr.163.32aa5f5

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 (91) hide show
  1. package/dist/PrismicNextImage.d.cts +2 -3
  2. package/dist/PrismicNextImage.d.cts.map +1 -1
  3. package/dist/PrismicNextImage.d.ts +2 -3
  4. package/dist/PrismicNextImage.d.ts.map +1 -1
  5. package/dist/PrismicNextLink.d.cts +2 -3
  6. package/dist/PrismicNextLink.d.cts.map +1 -1
  7. package/dist/PrismicNextLink.d.ts +2 -3
  8. package/dist/PrismicNextLink.d.ts.map +1 -1
  9. package/dist/PrismicPreview.d.cts +2 -3
  10. package/dist/PrismicPreview.d.cts.map +1 -1
  11. package/dist/PrismicPreview.d.ts +2 -3
  12. package/dist/PrismicPreview.d.ts.map +1 -1
  13. package/dist/SliceSimulator.d.cts +3 -3
  14. package/dist/SliceSimulator.d.cts.map +1 -1
  15. package/dist/SliceSimulator.d.ts +3 -3
  16. package/dist/SliceSimulator.d.ts.map +1 -1
  17. package/dist/cacheTagPrismicPages.d.cts +1 -2
  18. package/dist/cacheTagPrismicPages.d.cts.map +1 -1
  19. package/dist/cacheTagPrismicPages.d.ts +1 -2
  20. package/dist/cacheTagPrismicPages.d.ts.map +1 -1
  21. package/dist/createLocaleRedirect.d.cts +2 -3
  22. package/dist/createLocaleRedirect.d.cts.map +1 -1
  23. package/dist/createLocaleRedirect.d.ts +2 -3
  24. package/dist/createLocaleRedirect.d.ts.map +1 -1
  25. package/dist/enableAutoPreviews.d.cts +2 -3
  26. package/dist/enableAutoPreviews.d.cts.map +1 -1
  27. package/dist/enableAutoPreviews.d.ts +2 -3
  28. package/dist/enableAutoPreviews.d.ts.map +1 -1
  29. package/dist/exitPreview.d.cts +1 -2
  30. package/dist/exitPreview.d.cts.map +1 -1
  31. package/dist/exitPreview.d.ts +1 -2
  32. package/dist/exitPreview.d.ts.map +1 -1
  33. package/dist/getPreviewRef.d.cts +1 -2
  34. package/dist/getPreviewRef.d.cts.map +1 -1
  35. package/dist/getPreviewRef.d.ts +1 -2
  36. package/dist/getPreviewRef.d.ts.map +1 -1
  37. package/dist/getPrismicCacheTags.d.cts +1 -2
  38. package/dist/getPrismicCacheTags.d.cts.map +1 -1
  39. package/dist/getPrismicCacheTags.d.ts +1 -2
  40. package/dist/getPrismicCacheTags.d.ts.map +1 -1
  41. package/dist/getSlices.d.cts +1 -2
  42. package/dist/getSlices.d.cts.map +1 -1
  43. package/dist/getSlices.d.ts +1 -2
  44. package/dist/getSlices.d.ts.map +1 -1
  45. package/dist/imgixLoader.d.cts +1 -2
  46. package/dist/imgixLoader.d.cts.map +1 -1
  47. package/dist/imgixLoader.d.ts +1 -2
  48. package/dist/imgixLoader.d.ts.map +1 -1
  49. package/dist/package.cjs +1 -1
  50. package/dist/package.js +1 -1
  51. package/dist/pages/PrismicPreview.d.cts +2 -3
  52. package/dist/pages/PrismicPreview.d.cts.map +1 -1
  53. package/dist/pages/PrismicPreview.d.ts +2 -3
  54. package/dist/pages/PrismicPreview.d.ts.map +1 -1
  55. package/dist/pages/SliceSimulator.d.cts +3 -3
  56. package/dist/pages/SliceSimulator.d.cts.map +1 -1
  57. package/dist/pages/SliceSimulator.d.ts +3 -3
  58. package/dist/pages/SliceSimulator.d.ts.map +1 -1
  59. package/dist/pages/enableAutoPreviews.d.cts +2 -3
  60. package/dist/pages/enableAutoPreviews.d.cts.map +1 -1
  61. package/dist/pages/enableAutoPreviews.d.ts +2 -3
  62. package/dist/pages/enableAutoPreviews.d.ts.map +1 -1
  63. package/dist/pages/exitPreview.d.cts +2 -3
  64. package/dist/pages/exitPreview.d.cts.map +1 -1
  65. package/dist/pages/exitPreview.d.ts +2 -3
  66. package/dist/pages/exitPreview.d.ts.map +1 -1
  67. package/dist/pages/redirectToPreviewURL.d.cts +2 -3
  68. package/dist/pages/redirectToPreviewURL.d.cts.map +1 -1
  69. package/dist/pages/redirectToPreviewURL.d.ts +2 -3
  70. package/dist/pages/redirectToPreviewURL.d.ts.map +1 -1
  71. package/dist/pages/setPreviewData.d.cts +2 -3
  72. package/dist/pages/setPreviewData.d.cts.map +1 -1
  73. package/dist/pages/setPreviewData.d.ts +2 -3
  74. package/dist/pages/setPreviewData.d.ts.map +1 -1
  75. package/dist/pages/types.d.cts +3 -4
  76. package/dist/pages/types.d.cts.map +1 -1
  77. package/dist/pages/types.d.ts +3 -4
  78. package/dist/pages/types.d.ts.map +1 -1
  79. package/dist/redirectToPreviewURL.d.cts +2 -3
  80. package/dist/redirectToPreviewURL.d.cts.map +1 -1
  81. package/dist/redirectToPreviewURL.d.ts +2 -3
  82. package/dist/redirectToPreviewURL.d.ts.map +1 -1
  83. package/dist/revalidatePrismicPages.d.cts +1 -2
  84. package/dist/revalidatePrismicPages.d.cts.map +1 -1
  85. package/dist/revalidatePrismicPages.d.ts +1 -2
  86. package/dist/revalidatePrismicPages.d.ts.map +1 -1
  87. package/dist/types.d.cts +2 -3
  88. package/dist/types.d.cts.map +1 -1
  89. package/dist/types.d.ts +2 -3
  90. package/dist/types.d.ts.map +1 -1
  91. package/package.json +5 -5
@@ -3,7 +3,7 @@ import { ImageFieldImage } from "@prismicio/client";
3
3
  import { ImgixURLParams } from "imgix-url-builder";
4
4
  import { ImageProps } from "next/image.js";
5
5
  //#region src/PrismicNextImage.d.ts
6
- type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
6
+ export type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
7
7
  /** The Prismic Image field or thumbnail to render. */
8
8
  field: ImageFieldImage | null | undefined;
9
9
  /**
@@ -43,7 +43,6 @@ type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
43
43
  * field.
44
44
  * @see To learn more about `next/image`, see: https://nextjs.org/docs/api-reference/next/image
45
45
  */
46
- declare const PrismicNextImage: ForwardRefExoticComponent<PropsWithoutRef<PrismicNextImageProps> & RefAttributes<HTMLImageElement>>;
46
+ export declare const PrismicNextImage: ForwardRefExoticComponent<PropsWithoutRef<PrismicNextImageProps> & RefAttributes<HTMLImageElement>>;
47
47
  //#endregion
48
- export { PrismicNextImage, PrismicNextImageProps };
49
48
  //# sourceMappingURL=PrismicNextImage.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicNextImage.d.cts","names":[],"sources":["../src/PrismicNextImage.tsx"],"mappings":";;;;;KA+BY,wBAAwB,KAAK;;EAExC,OAAO;;;;;;EAOP,iBAAiB,WAAW,iBAAiB,eAAe;;;;;;EAO5D;;;;;;;EAQA;;EAGA,WAAW,MAAM;EAEjB,SAAS;;;;;;;;;;;;;;;;cAkBG,kBAAkB,0BAC9B,gBAAgB,yBAAyB,cAAc"}
1
+ {"version":3,"file":"PrismicNextImage.d.cts","names":[],"sources":["../src/PrismicNextImage.tsx"],"mappings":";;;;;YA+BY,wBAAwB,KAAK;;EAExC,OAAO;;;;;;EAOP,iBAAiB,WAAW,iBAAiB,eAAe;;;;;;EAO5D;;;;;;;EAQA;;EAGA,WAAW,MAAM;EAEjB,SAAS;;;;;;;;;;;;;;;;qBAkBG,kBAAkB,0BAC9B,gBAAgB,yBAAyB,cAAc"}
@@ -3,7 +3,7 @@ import { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react
3
3
  import { ImgixURLParams } from "imgix-url-builder";
4
4
  import { ImageProps } from "next/image.js";
5
5
  //#region src/PrismicNextImage.d.ts
6
- type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
6
+ export type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
7
7
  /** The Prismic Image field or thumbnail to render. */
8
8
  field: ImageFieldImage | null | undefined;
9
9
  /**
@@ -43,7 +43,6 @@ type PrismicNextImageProps = Omit<ImageProps, "src" | "alt" | "loader"> & {
43
43
  * field.
44
44
  * @see To learn more about `next/image`, see: https://nextjs.org/docs/api-reference/next/image
45
45
  */
46
- declare const PrismicNextImage: ForwardRefExoticComponent<PropsWithoutRef<PrismicNextImageProps> & RefAttributes<HTMLImageElement>>;
46
+ export declare const PrismicNextImage: ForwardRefExoticComponent<PropsWithoutRef<PrismicNextImageProps> & RefAttributes<HTMLImageElement>>;
47
47
  //#endregion
48
- export { PrismicNextImage, PrismicNextImageProps };
49
48
  //# sourceMappingURL=PrismicNextImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicNextImage.d.ts","names":[],"sources":["../src/PrismicNextImage.tsx"],"mappings":";;;;;KA+BY,wBAAwB,KAAK;;EAExC,OAAO;;;;;;EAOP,iBAAiB,WAAW,iBAAiB,eAAe;;;;;;EAO5D;;;;;;;EAQA;;EAGA,WAAW,MAAM;EAEjB,SAAS;;;;;;;;;;;;;;;;cAkBG,kBAAkB,0BAC9B,gBAAgB,yBAAyB,cAAc"}
1
+ {"version":3,"file":"PrismicNextImage.d.ts","names":[],"sources":["../src/PrismicNextImage.tsx"],"mappings":";;;;;YA+BY,wBAAwB,KAAK;;EAExC,OAAO;;;;;;EAOP,iBAAiB,WAAW,iBAAiB,eAAe;;;;;;EAO5D;;;;;;;EAQA;;EAGA,WAAW,MAAM;EAEjB,SAAS;;;;;;;;;;;;;;;;qBAkBG,kBAAkB,0BAC9B,gBAAgB,yBAAyB,cAAc"}
@@ -2,7 +2,7 @@ import { ComponentProps } from "react";
2
2
  import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } from "@prismicio/client";
3
3
  import Link from "next/link.js";
4
4
  //#region src/PrismicNextLink.d.ts
5
- type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "document" | "href" | "rel"> & {
5
+ export type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "document" | "href" | "rel"> & {
6
6
  linkResolver?: LinkResolverFunction;
7
7
  rel?: string | AsLinkAttrsConfig["rel"];
8
8
  } & ({
@@ -18,7 +18,7 @@ type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "documen
18
18
  document?: never;
19
19
  href: ComponentProps<typeof Link>["href"];
20
20
  });
21
- declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof import("next/link").LinkProps<any>> & import("next/link").LinkProps<any> & {
21
+ export declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof import("next/link").LinkProps<any>> & import("next/link").LinkProps<any> & {
22
22
  children?: React.ReactNode | undefined;
23
23
  } & import("react").RefAttributes<HTMLAnchorElement>, "document" | "field" | "href" | "rel"> & {
24
24
  linkResolver?: LinkResolverFunction;
@@ -47,5 +47,4 @@ declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<O
47
47
  href: ComponentProps<typeof Link>["href"];
48
48
  }, "ref">) & import("react").RefAttributes<HTMLAnchorElement>>;
49
49
  //#endregion
50
- export { PrismicNextLink, PrismicNextLinkProps };
51
50
  //# sourceMappingURL=PrismicNextLink.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicNextLink.d.cts","names":[],"sources":["../src/PrismicNextLink.tsx"],"mappings":";;;;KAeY,uBAAuB,KAClC,sBAAsB;EAGtB,eAAe;EACf,eAAe;;EAGZ,OAAO;EACP;EACA;;EAGA;EACA,UAAU;EACV;;EAGA;EACA;EACA,MAAM,sBAAsB;;cAInB,iCAAe,2BAAA,KAAA,KAAA,qBAAA,qBAAA,8CAAA,sCAAA;;;EApBZ,eAAA;EACT,eAAS;;EAGL,OAAA;EACI;EACJ;;;;;;;EAGC;EACE,UAAA;EACH;;;;;;;EAGC;EACG;EACL,MAAA,sBAAsB;6BA6B/B,cAAA"}
1
+ {"version":3,"file":"PrismicNextLink.d.cts","names":[],"sources":["../src/PrismicNextLink.tsx"],"mappings":";;;;YAeY,uBAAuB,KAClC,sBAAsB;EAGtB,eAAe;EACf,eAAe;;EAGZ,OAAO;EACP;EACA;;EAGA;EACA,UAAU;EACV;;EAGA;EACA;EACA,MAAM,sBAAsB;;qBAInB,iCAAe,2BAAA,KAAA,KAAA,qBAAA,qBAAA,8CAAA,sCAAA;;;EApBZ,eAAA;EACT,eAAS;;EAGL,OAAA;EACI;EACJ;;;;;;;EAGC;EACE,UAAA;EACH;;;;;;;EAGC;EACG;EACL,MAAA,sBAAsB;6BA6B/B,cAAA"}
@@ -2,7 +2,7 @@ import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } f
2
2
  import { ComponentProps } from "react";
3
3
  import Link from "next/link.js";
4
4
  //#region src/PrismicNextLink.d.ts
5
- type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "document" | "href" | "rel"> & {
5
+ export type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "document" | "href" | "rel"> & {
6
6
  linkResolver?: LinkResolverFunction;
7
7
  rel?: string | AsLinkAttrsConfig["rel"];
8
8
  } & ({
@@ -18,7 +18,7 @@ type PrismicNextLinkProps = Omit<ComponentProps<typeof Link>, "field" | "documen
18
18
  document?: never;
19
19
  href: ComponentProps<typeof Link>["href"];
20
20
  });
21
- declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof import("next/link").LinkProps<any>> & import("next/link").LinkProps<any> & {
21
+ export declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof import("next/link").LinkProps<any>> & import("next/link").LinkProps<any> & {
22
22
  children?: React.ReactNode | undefined;
23
23
  } & import("react").RefAttributes<HTMLAnchorElement>, "document" | "field" | "href" | "rel"> & {
24
24
  linkResolver?: LinkResolverFunction;
@@ -47,5 +47,4 @@ declare const PrismicNextLink: import("react").ForwardRefExoticComponent<(Omit<O
47
47
  href: ComponentProps<typeof Link>["href"];
48
48
  }, "ref">) & import("react").RefAttributes<HTMLAnchorElement>>;
49
49
  //#endregion
50
- export { PrismicNextLink, PrismicNextLinkProps };
51
50
  //# sourceMappingURL=PrismicNextLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicNextLink.d.ts","names":[],"sources":["../src/PrismicNextLink.tsx"],"mappings":";;;;KAeY,uBAAuB,KAClC,sBAAsB;EAGtB,eAAe;EACf,eAAe;;EAGZ,OAAO;EACP;EACA;;EAGA;EACA,UAAU;EACV;;EAGA;EACA;EACA,MAAM,sBAAsB;;cAInB,iCAAe,2BAAA,KAAA,KAAA,qBAAA,qBAAA,8CAAA,sCAAA;;;EApBZ,eAAA;EACT,eAAS;;EAGL,OAAA;EACI;EACJ;;;;;;;EAGC;EACE,UAAA;EACH;;;;;;;EAGC;EACG;EACL,MAAA,sBAAsB;6BA6B/B,cAAA"}
1
+ {"version":3,"file":"PrismicNextLink.d.ts","names":[],"sources":["../src/PrismicNextLink.tsx"],"mappings":";;;;YAeY,uBAAuB,KAClC,sBAAsB;EAGtB,eAAe;EACf,eAAe;;EAGZ,OAAO;EACP;EACA;;EAGA;EACA,UAAU;EACV;;EAGA;EACA;EACA,MAAM,sBAAsB;;qBAInB,iCAAe,2BAAA,KAAA,KAAA,qBAAA,qBAAA,8CAAA,sCAAA;;;EApBZ,eAAA;EACT,eAAS;;EAGL,OAAA;EACI;EACJ;;;;;;;EAGC;EACE,UAAA;EACH;;;;;;;EAGC;EACG;EACL,MAAA,sBAAsB;6BA6B/B,cAAA"}
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  //#region src/PrismicPreview.d.ts
3
3
  /** Props for `<PrismicPreview>`. */
4
- type PrismicPreviewProps = {
4
+ export type PrismicPreviewProps = {
5
5
  /**
6
6
  * The name of your Prismic repository. A Prismic Toolbar will be registered using this
7
7
  * repository.
@@ -28,7 +28,6 @@ type PrismicPreviewProps = {
28
28
  * This component can be wrapped around your app or added anywhere in your app's tree. It must be
29
29
  * rendered on every page.
30
30
  */
31
- declare const PrismicPreview: FC<PrismicPreviewProps>;
31
+ export declare const PrismicPreview: FC<PrismicPreviewProps>;
32
32
  //#endregion
33
- export { PrismicPreview, PrismicPreviewProps };
34
33
  //# sourceMappingURL=PrismicPreview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicPreview.d.cts","names":[],"sources":["../src/PrismicPreview.tsx"],"mappings":";;;KAUY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;cAWC,gBAAgB,GAAG"}
1
+ {"version":3,"file":"PrismicPreview.d.cts","names":[],"sources":["../src/PrismicPreview.tsx"],"mappings":";;;YAUY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;qBAWC,gBAAgB,GAAG"}
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  //#region src/PrismicPreview.d.ts
3
3
  /** Props for `<PrismicPreview>`. */
4
- type PrismicPreviewProps = {
4
+ export type PrismicPreviewProps = {
5
5
  /**
6
6
  * The name of your Prismic repository. A Prismic Toolbar will be registered using this
7
7
  * repository.
@@ -28,7 +28,6 @@ type PrismicPreviewProps = {
28
28
  * This component can be wrapped around your app or added anywhere in your app's tree. It must be
29
29
  * rendered on every page.
30
30
  */
31
- declare const PrismicPreview: FC<PrismicPreviewProps>;
31
+ export declare const PrismicPreview: FC<PrismicPreviewProps>;
32
32
  //#endregion
33
- export { PrismicPreview, PrismicPreviewProps };
34
33
  //# sourceMappingURL=PrismicPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicPreview.d.ts","names":[],"sources":["../src/PrismicPreview.tsx"],"mappings":";;;KAUY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;cAWC,gBAAgB,GAAG"}
1
+ {"version":3,"file":"PrismicPreview.d.ts","names":[],"sources":["../src/PrismicPreview.tsx"],"mappings":";;;YAUY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;qBAWC,gBAAgB,GAAG"}
@@ -2,7 +2,7 @@ import { FC, ReactNode } from "react";
2
2
  import { SliceSimulatorProps } from "@prismicio/simulator/kit";
3
3
  //#region src/SliceSimulator.d.ts
4
4
  /** Parameters provided to the Slice Simulator page. */
5
- type SliceSimulatorParams = {
5
+ export type SliceSimulatorParams = {
6
6
  searchParams: Promise<{
7
7
  state?: string;
8
8
  }>;
@@ -15,7 +15,7 @@ type SliceSimulatorProps$1 = SliceSimulatorProps & {
15
15
  * Simulate slices in isolation. The slice simulator enables live slice development in Slice Machine
16
16
  * and live previews in the Page Builder.
17
17
  */
18
- declare const SliceSimulator: FC<SliceSimulatorProps$1>;
18
+ export declare const SliceSimulator: FC<SliceSimulatorProps$1>;
19
19
  //#endregion
20
- export { SliceSimulator, SliceSimulatorParams, SliceSimulatorProps$1 as SliceSimulatorProps };
20
+ export { SliceSimulatorProps$1 as SliceSimulatorProps };
21
21
  //# sourceMappingURL=SliceSimulator.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SliceSimulator.d.cts","names":[],"sources":["../src/SliceSimulator.tsx"],"mappings":";;;;KAiBY;EACX,cAAc;IACb;;;KAIU,wBAAsB;EACjC,UAAU;EACV;;;;;;cAOY,gBAAgB,GAAG"}
1
+ {"version":3,"file":"SliceSimulator.d.cts","names":[],"sources":["../src/SliceSimulator.tsx"],"mappings":";;;;YAiBY;EACX,cAAc;IACb;;;KAIU,wBAAsB;EACjC,UAAU;EACV;;;;;;qBAOY,gBAAgB,GAAG"}
@@ -2,7 +2,7 @@ import { FC, ReactNode } from "react";
2
2
  import { SliceSimulatorProps } from "@prismicio/simulator/kit";
3
3
  //#region src/SliceSimulator.d.ts
4
4
  /** Parameters provided to the Slice Simulator page. */
5
- type SliceSimulatorParams = {
5
+ export type SliceSimulatorParams = {
6
6
  searchParams: Promise<{
7
7
  state?: string;
8
8
  }>;
@@ -15,7 +15,7 @@ type SliceSimulatorProps$1 = SliceSimulatorProps & {
15
15
  * Simulate slices in isolation. The slice simulator enables live slice development in Slice Machine
16
16
  * and live previews in the Page Builder.
17
17
  */
18
- declare const SliceSimulator: FC<SliceSimulatorProps$1>;
18
+ export declare const SliceSimulator: FC<SliceSimulatorProps$1>;
19
19
  //#endregion
20
- export { SliceSimulator, SliceSimulatorParams, SliceSimulatorProps$1 as SliceSimulatorProps };
20
+ export { SliceSimulatorProps$1 as SliceSimulatorProps };
21
21
  //# sourceMappingURL=SliceSimulator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SliceSimulator.d.ts","names":[],"sources":["../src/SliceSimulator.tsx"],"mappings":";;;;KAiBY;EACX,cAAc;IACb;;;KAIU,wBAAsB;EACjC,UAAU;EACV;;;;;;cAOY,gBAAgB,GAAG"}
1
+ {"version":3,"file":"SliceSimulator.d.ts","names":[],"sources":["../src/SliceSimulator.tsx"],"mappings":";;;;YAiBY;EACX,cAAc;IACb;;;KAIU,wBAAsB;EACjC,UAAU;EACV;;;;;;qBAOY,gBAAgB,GAAG"}
@@ -12,7 +12,6 @@ import { PrismicDocument } from "@prismicio/client";
12
12
  *
13
13
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/cacheTag}
14
14
  */
15
- declare function cacheTagPrismicPages(pages: PrismicDocument[]): void;
15
+ export declare function cacheTagPrismicPages(pages: PrismicDocument[]): void;
16
16
  //#endregion
17
- export { cacheTagPrismicPages };
18
17
  //# sourceMappingURL=cacheTagPrismicPages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cacheTagPrismicPages.d.cts","names":[],"sources":["../src/cacheTagPrismicPages.ts"],"mappings":";;;;;;;;;;;;;;iBAkBgB,qBAAqB,OAAO"}
1
+ {"version":3,"file":"cacheTagPrismicPages.d.cts","names":[],"sources":["../src/cacheTagPrismicPages.ts"],"mappings":";;;;;;;;;;;;;;wBAkBgB,qBAAqB,OAAO"}
@@ -12,7 +12,6 @@ import { PrismicDocument } from "@prismicio/client";
12
12
  *
13
13
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/cacheTag}
14
14
  */
15
- declare function cacheTagPrismicPages(pages: PrismicDocument[]): void;
15
+ export declare function cacheTagPrismicPages(pages: PrismicDocument[]): void;
16
16
  //#endregion
17
- export { cacheTagPrismicPages };
18
17
  //# sourceMappingURL=cacheTagPrismicPages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cacheTagPrismicPages.d.ts","names":[],"sources":["../src/cacheTagPrismicPages.ts"],"mappings":";;;;;;;;;;;;;;iBAkBgB,qBAAqB,OAAO"}
1
+ {"version":3,"file":"cacheTagPrismicPages.d.ts","names":[],"sources":["../src/cacheTagPrismicPages.ts"],"mappings":";;;;;;;;;;;;;;wBAkBgB,qBAAqB,OAAO"}
@@ -3,12 +3,11 @@
3
3
  * @deprecated `createLocaleRedirect()` has been removed due to performance
4
4
  * issues.
5
5
  */
6
- declare function createLocaleRedirect(): never;
6
+ export declare function createLocaleRedirect(): never;
7
7
  /**
8
8
  * @deprecated `createLocaleRedirect()` has been removed due to performance
9
9
  * issues.
10
10
  */
11
- type CreateLocaleRedirectConfig = never;
11
+ export type CreateLocaleRedirectConfig = never;
12
12
  //#endregion
13
- export { CreateLocaleRedirectConfig, createLocaleRedirect };
14
13
  //# sourceMappingURL=createLocaleRedirect.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLocaleRedirect.d.cts","names":[],"sources":["../src/createLocaleRedirect.ts"],"mappings":";;;;;iBAMgB;;;;;KAWJ"}
1
+ {"version":3,"file":"createLocaleRedirect.d.cts","names":[],"sources":["../src/createLocaleRedirect.ts"],"mappings":";;;;;wBAMgB;;;;;YAWJ"}
@@ -3,12 +3,11 @@
3
3
  * @deprecated `createLocaleRedirect()` has been removed due to performance
4
4
  * issues.
5
5
  */
6
- declare function createLocaleRedirect(): never;
6
+ export declare function createLocaleRedirect(): never;
7
7
  /**
8
8
  * @deprecated `createLocaleRedirect()` has been removed due to performance
9
9
  * issues.
10
10
  */
11
- type CreateLocaleRedirectConfig = never;
11
+ export type CreateLocaleRedirectConfig = never;
12
12
  //#endregion
13
- export { CreateLocaleRedirectConfig, createLocaleRedirect };
14
13
  //# sourceMappingURL=createLocaleRedirect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLocaleRedirect.d.ts","names":[],"sources":["../src/createLocaleRedirect.ts"],"mappings":";;;;;iBAMgB;;;;;KAWJ"}
1
+ {"version":3,"file":"createLocaleRedirect.d.ts","names":[],"sources":["../src/createLocaleRedirect.ts"],"mappings":";;;;;wBAMgB;;;;;YAWJ"}
@@ -1,7 +1,7 @@
1
1
  import { Client } from "@prismicio/client";
2
2
  //#region src/enableAutoPreviews.d.ts
3
3
  /** Configuration for `enableAutoPreviews`. */
4
- type EnableAutoPreviewsConfig = {
4
+ export type EnableAutoPreviewsConfig = {
5
5
  /** Prismic client with which automatic previews will be enabled. */
6
6
  client: Pick<Client, "queryContentFromRef" | "enableAutoPreviewsFromReq">;
7
7
  };
@@ -10,7 +10,6 @@ type EnableAutoPreviewsConfig = {
10
10
  *
11
11
  * @param config - Configuration for the function.
12
12
  */
13
- declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
13
+ export declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
14
14
  //#endregion
15
- export { EnableAutoPreviewsConfig, enableAutoPreviews };
16
15
  //# sourceMappingURL=enableAutoPreviews.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enableAutoPreviews.d.cts","names":[],"sources":["../src/enableAutoPreviews.ts"],"mappings":";;;KAKY;;EAKX,QAAQ,KAAK;;;;;;;iBAQE,mBAAmB,QAAQ"}
1
+ {"version":3,"file":"enableAutoPreviews.d.cts","names":[],"sources":["../src/enableAutoPreviews.ts"],"mappings":";;;YAKY;;EAKX,QAAQ,KAAK;;;;;;;wBAQE,mBAAmB,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { Client } from "@prismicio/client";
2
2
  //#region src/enableAutoPreviews.d.ts
3
3
  /** Configuration for `enableAutoPreviews`. */
4
- type EnableAutoPreviewsConfig = {
4
+ export type EnableAutoPreviewsConfig = {
5
5
  /** Prismic client with which automatic previews will be enabled. */
6
6
  client: Pick<Client, "queryContentFromRef" | "enableAutoPreviewsFromReq">;
7
7
  };
@@ -10,7 +10,6 @@ type EnableAutoPreviewsConfig = {
10
10
  *
11
11
  * @param config - Configuration for the function.
12
12
  */
13
- declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
13
+ export declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
14
14
  //#endregion
15
- export { EnableAutoPreviewsConfig, enableAutoPreviews };
16
15
  //# sourceMappingURL=enableAutoPreviews.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enableAutoPreviews.d.ts","names":[],"sources":["../src/enableAutoPreviews.ts"],"mappings":";;;KAKY;;EAKX,QAAQ,KAAK;;;;;;;iBAQE,mBAAmB,QAAQ"}
1
+ {"version":3,"file":"enableAutoPreviews.d.ts","names":[],"sources":["../src/enableAutoPreviews.ts"],"mappings":";;;YAKY;;EAKX,QAAQ,KAAK;;;;;;;wBAQE,mBAAmB,QAAQ"}
@@ -14,7 +14,6 @@
14
14
  * }
15
15
  * ```
16
16
  */
17
- declare function exitPreview(): Promise<Response>;
17
+ export declare function exitPreview(): Promise<Response>;
18
18
  //#endregion
19
- export { exitPreview };
20
19
  //# sourceMappingURL=exitPreview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exitPreview.d.cts","names":[],"sources":["../src/exitPreview.ts"],"mappings":";;;;;;;;;;;;;;;;iBAiBsB,eAAe,QAAQ"}
1
+ {"version":3,"file":"exitPreview.d.cts","names":[],"sources":["../src/exitPreview.ts"],"mappings":";;;;;;;;;;;;;;;;wBAiBsB,eAAe,QAAQ"}
@@ -14,7 +14,6 @@
14
14
  * }
15
15
  * ```
16
16
  */
17
- declare function exitPreview(): Promise<Response>;
17
+ export declare function exitPreview(): Promise<Response>;
18
18
  //#endregion
19
- export { exitPreview };
20
19
  //# sourceMappingURL=exitPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exitPreview.d.ts","names":[],"sources":["../src/exitPreview.ts"],"mappings":";;;;;;;;;;;;;;;;iBAiBsB,eAAe,QAAQ"}
1
+ {"version":3,"file":"exitPreview.d.ts","names":[],"sources":["../src/exitPreview.ts"],"mappings":";;;;;;;;;;;;;;;;wBAiBsB,eAAe,QAAQ"}
@@ -16,7 +16,6 @@
16
16
  * @returns The active preview ref, or `undefined` if no preview session is active.
17
17
  * @experimental
18
18
  */
19
- declare function getPreviewRef(): Promise<string | undefined>;
19
+ export declare function getPreviewRef(): Promise<string | undefined>;
20
20
  //#endregion
21
- export { getPreviewRef };
22
21
  //# sourceMappingURL=getPreviewRef.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPreviewRef.d.cts","names":[],"sources":["../src/getPreviewRef.ts"],"mappings":";;;;;;;;;;;;;;;;;;iBAmBsB,iBAAiB"}
1
+ {"version":3,"file":"getPreviewRef.d.cts","names":[],"sources":["../src/getPreviewRef.ts"],"mappings":";;;;;;;;;;;;;;;;;;wBAmBsB,iBAAiB"}
@@ -16,7 +16,6 @@
16
16
  * @returns The active preview ref, or `undefined` if no preview session is active.
17
17
  * @experimental
18
18
  */
19
- declare function getPreviewRef(): Promise<string | undefined>;
19
+ export declare function getPreviewRef(): Promise<string | undefined>;
20
20
  //#endregion
21
- export { getPreviewRef };
22
21
  //# sourceMappingURL=getPreviewRef.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPreviewRef.d.ts","names":[],"sources":["../src/getPreviewRef.ts"],"mappings":";;;;;;;;;;;;;;;;;;iBAmBsB,iBAAiB"}
1
+ {"version":3,"file":"getPreviewRef.d.ts","names":[],"sources":["../src/getPreviewRef.ts"],"mappings":";;;;;;;;;;;;;;;;;;wBAmBsB,iBAAiB"}
@@ -9,7 +9,6 @@ import { PrismicDocument } from "@prismicio/client";
9
9
  *
10
10
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/cacheTag}
11
11
  */
12
- declare function getPrismicCacheTags(pages: PrismicDocument[]): string[];
12
+ export declare function getPrismicCacheTags(pages: PrismicDocument[]): string[];
13
13
  //#endregion
14
- export { getPrismicCacheTags };
15
14
  //# sourceMappingURL=getPrismicCacheTags.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPrismicCacheTags.d.cts","names":[],"sources":["../src/getPrismicCacheTags.ts"],"mappings":";;;;;;;;;;;iBAagB,oBAAoB,OAAO"}
1
+ {"version":3,"file":"getPrismicCacheTags.d.cts","names":[],"sources":["../src/getPrismicCacheTags.ts"],"mappings":";;;;;;;;;;;wBAagB,oBAAoB,OAAO"}
@@ -9,7 +9,6 @@ import { PrismicDocument } from "@prismicio/client";
9
9
  *
10
10
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/cacheTag}
11
11
  */
12
- declare function getPrismicCacheTags(pages: PrismicDocument[]): string[];
12
+ export declare function getPrismicCacheTags(pages: PrismicDocument[]): string[];
13
13
  //#endregion
14
- export { getPrismicCacheTags };
15
14
  //# sourceMappingURL=getPrismicCacheTags.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPrismicCacheTags.d.ts","names":[],"sources":["../src/getPrismicCacheTags.ts"],"mappings":";;;;;;;;;;;iBAagB,oBAAoB,OAAO"}
1
+ {"version":3,"file":"getPrismicCacheTags.d.ts","names":[],"sources":["../src/getPrismicCacheTags.ts"],"mappings":";;;;;;;;;;;wBAagB,oBAAoB,OAAO"}
@@ -1,6 +1,5 @@
1
1
  import { StateEventType, StateEvents } from "@prismicio/simulator/kit";
2
2
  //#region src/getSlices.d.ts
3
- declare const getSlices: (state: string | null | undefined) => StateEvents[StateEventType.Slices];
3
+ export declare const getSlices: (state: string | null | undefined) => StateEvents[StateEventType.Slices];
4
4
  //#endregion
5
- export { getSlices };
6
5
  //# sourceMappingURL=getSlices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSlices.d.cts","names":[],"sources":["../src/getSlices.ts"],"mappings":";;cAIa,YAAS,qCAAuC,YAAY,eAAe"}
1
+ {"version":3,"file":"getSlices.d.cts","names":[],"sources":["../src/getSlices.ts"],"mappings":";;qBAIa,YAAS,qCAAuC,YAAY,eAAe"}
@@ -1,6 +1,5 @@
1
1
  import { StateEventType, StateEvents } from "@prismicio/simulator/kit";
2
2
  //#region src/getSlices.d.ts
3
- declare const getSlices: (state: string | null | undefined) => StateEvents[StateEventType.Slices];
3
+ export declare const getSlices: (state: string | null | undefined) => StateEvents[StateEventType.Slices];
4
4
  //#endregion
5
- export { getSlices };
6
5
  //# sourceMappingURL=getSlices.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSlices.d.ts","names":[],"sources":["../src/getSlices.ts"],"mappings":";;cAIa,YAAS,qCAAuC,YAAY,eAAe"}
1
+ {"version":3,"file":"getSlices.d.ts","names":[],"sources":["../src/getSlices.ts"],"mappings":";;qBAIa,YAAS,qCAAuC,YAAY,eAAe"}
@@ -7,7 +7,6 @@ import { ImageLoaderProps } from "next/image.js";
7
7
  * @see To learn about `next/image` loaders: https://nextjs.org/docs/api-reference/next/image#loader
8
8
  * @see To learn about Imgix's URL API: https://docs.imgix.com/apis/rendering
9
9
  */
10
- declare const imgixLoader: (args: ImageLoaderProps) => string;
10
+ export declare const imgixLoader: (args: ImageLoaderProps) => string;
11
11
  //#endregion
12
- export { imgixLoader };
13
12
  //# sourceMappingURL=imgixLoader.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"imgixLoader.d.cts","names":[],"sources":["../src/imgixLoader.ts"],"mappings":";;;;;;;;;cAWa,cAAW,MAAU"}
1
+ {"version":3,"file":"imgixLoader.d.cts","names":[],"sources":["../src/imgixLoader.ts"],"mappings":";;;;;;;;;qBAWa,cAAW,MAAU"}
@@ -7,7 +7,6 @@ import { ImageLoaderProps } from "next/image.js";
7
7
  * @see To learn about `next/image` loaders: https://nextjs.org/docs/api-reference/next/image#loader
8
8
  * @see To learn about Imgix's URL API: https://docs.imgix.com/apis/rendering
9
9
  */
10
- declare const imgixLoader: (args: ImageLoaderProps) => string;
10
+ export declare const imgixLoader: (args: ImageLoaderProps) => string;
11
11
  //#endregion
12
- export { imgixLoader };
13
12
  //# sourceMappingURL=imgixLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"imgixLoader.d.ts","names":[],"sources":["../src/imgixLoader.ts"],"mappings":";;;;;;;;;cAWa,cAAW,MAAU"}
1
+ {"version":3,"file":"imgixLoader.d.ts","names":[],"sources":["../src/imgixLoader.ts"],"mappings":";;;;;;;;;qBAWa,cAAW,MAAU"}
package/dist/package.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "2.3.3-pr.162.8e0acbb";
2
+ var version = "2.3.3-pr.163.32aa5f5";
3
3
  //#endregion
4
4
  Object.defineProperty(exports, "version", {
5
5
  enumerable: true,
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "2.3.3-pr.162.8e0acbb";
2
+ var version = "2.3.3-pr.163.32aa5f5";
3
3
  //#endregion
4
4
  export { version };
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  //#region src/pages/PrismicPreview.d.ts
3
3
  /** Props for `<PrismicPreview>`. */
4
- type PrismicPreviewProps = {
4
+ export type PrismicPreviewProps = {
5
5
  /**
6
6
  * The name of your Prismic repository. A Prismic Toolbar will be registered using this
7
7
  * repository.
@@ -28,7 +28,6 @@ type PrismicPreviewProps = {
28
28
  * This component can be wrapped around your app or added anywhere in your app's tree. It must be
29
29
  * rendered on every page.
30
30
  */
31
- declare const PrismicPreview: FC<PrismicPreviewProps>;
31
+ export declare const PrismicPreview: FC<PrismicPreviewProps>;
32
32
  //#endregion
33
- export { PrismicPreview, PrismicPreviewProps };
34
33
  //# sourceMappingURL=PrismicPreview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicPreview.d.cts","names":[],"sources":["../../src/pages/PrismicPreview.tsx"],"mappings":";;;KAOY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;cAWC,gBAAgB,GAAG"}
1
+ {"version":3,"file":"PrismicPreview.d.cts","names":[],"sources":["../../src/pages/PrismicPreview.tsx"],"mappings":";;;YAOY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;qBAWC,gBAAgB,GAAG"}
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  //#region src/pages/PrismicPreview.d.ts
3
3
  /** Props for `<PrismicPreview>`. */
4
- type PrismicPreviewProps = {
4
+ export type PrismicPreviewProps = {
5
5
  /**
6
6
  * The name of your Prismic repository. A Prismic Toolbar will be registered using this
7
7
  * repository.
@@ -28,7 +28,6 @@ type PrismicPreviewProps = {
28
28
  * This component can be wrapped around your app or added anywhere in your app's tree. It must be
29
29
  * rendered on every page.
30
30
  */
31
- declare const PrismicPreview: FC<PrismicPreviewProps>;
31
+ export declare const PrismicPreview: FC<PrismicPreviewProps>;
32
32
  //#endregion
33
- export { PrismicPreview, PrismicPreviewProps };
34
33
  //# sourceMappingURL=PrismicPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrismicPreview.d.ts","names":[],"sources":["../../src/pages/PrismicPreview.tsx"],"mappings":";;;KAOY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;cAWC,gBAAgB,GAAG"}
1
+ {"version":3,"file":"PrismicPreview.d.ts","names":[],"sources":["../../src/pages/PrismicPreview.tsx"],"mappings":";;;YAOY;;;;;EAKX;;;;;EAMA;;;;;EAMA;;EAGA,WAAW;;;;;;;;;;qBAWC,gBAAgB,GAAG"}
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, FC } from "react";
2
2
  import { SliceSimulatorProps, SliceSimulatorState } from "@prismicio/simulator/kit";
3
3
  //#region src/pages/SliceSimulator.d.ts
4
- type SliceSimulatorSliceZoneProps = {
4
+ export type SliceSimulatorSliceZoneProps = {
5
5
  slices: SliceSimulatorState["slices"];
6
6
  };
7
7
  type SliceSimulatorProps$1 = SliceSimulatorProps & {
@@ -27,7 +27,7 @@ type SliceSimulatorProps$1 = SliceSimulatorProps & {
27
27
  * Simulate slices in isolation. The slice simulator enables live slice development in Slice Machine
28
28
  * and live previews in the Page Builder.
29
29
  */
30
- declare const SliceSimulator: FC<SliceSimulatorProps$1>;
30
+ export declare const SliceSimulator: FC<SliceSimulatorProps$1>;
31
31
  //#endregion
32
- export { SliceSimulator, SliceSimulatorProps$1 as SliceSimulatorProps, SliceSimulatorSliceZoneProps };
32
+ export { SliceSimulatorProps$1 as SliceSimulatorProps };
33
33
  //# sourceMappingURL=SliceSimulator.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SliceSimulator.d.cts","names":[],"sources":["../../src/pages/SliceSimulator.tsx"],"mappings":";;;KAiBY;EACX,QAAQ;;KAGG,wBAAsB;;;;;;;;;;;;;;;;EAgBjC,WAAW,cAAc;EACzB;;;;;;cAOY,gBAAgB,GAAG"}
1
+ {"version":3,"file":"SliceSimulator.d.cts","names":[],"sources":["../../src/pages/SliceSimulator.tsx"],"mappings":";;;YAiBY;EACX,QAAQ;;KAGG,wBAAsB;;;;;;;;;;;;;;;;EAgBjC,WAAW,cAAc;EACzB;;;;;;qBAOY,gBAAgB,GAAG"}
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, FC } from "react";
2
2
  import { SliceSimulatorProps, SliceSimulatorState } from "@prismicio/simulator/kit";
3
3
  //#region src/pages/SliceSimulator.d.ts
4
- type SliceSimulatorSliceZoneProps = {
4
+ export type SliceSimulatorSliceZoneProps = {
5
5
  slices: SliceSimulatorState["slices"];
6
6
  };
7
7
  type SliceSimulatorProps$1 = SliceSimulatorProps & {
@@ -27,7 +27,7 @@ type SliceSimulatorProps$1 = SliceSimulatorProps & {
27
27
  * Simulate slices in isolation. The slice simulator enables live slice development in Slice Machine
28
28
  * and live previews in the Page Builder.
29
29
  */
30
- declare const SliceSimulator: FC<SliceSimulatorProps$1>;
30
+ export declare const SliceSimulator: FC<SliceSimulatorProps$1>;
31
31
  //#endregion
32
- export { SliceSimulator, SliceSimulatorProps$1 as SliceSimulatorProps, SliceSimulatorSliceZoneProps };
32
+ export { SliceSimulatorProps$1 as SliceSimulatorProps };
33
33
  //# sourceMappingURL=SliceSimulator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SliceSimulator.d.ts","names":[],"sources":["../../src/pages/SliceSimulator.tsx"],"mappings":";;;KAiBY;EACX,QAAQ;;KAGG,wBAAsB;;;;;;;;;;;;;;;;EAgBjC,WAAW,cAAc;EACzB;;;;;;cAOY,gBAAgB,GAAG"}
1
+ {"version":3,"file":"SliceSimulator.d.ts","names":[],"sources":["../../src/pages/SliceSimulator.tsx"],"mappings":";;;YAiBY;EACX,QAAQ;;KAGG,wBAAsB;;;;;;;;;;;;;;;;EAgBjC,WAAW,cAAc;EACzB;;;;;;qBAOY,gBAAgB,GAAG"}
@@ -7,7 +7,7 @@ import { PreviewData } from "next";
7
7
  *
8
8
  * @typeParam TPreviewData - Next.js preview data object.
9
9
  */
10
- type EnableAutoPreviewsConfig = {
10
+ export type EnableAutoPreviewsConfig = {
11
11
  /** Prismic client with which automatic previews will be enabled. */
12
12
  client: Pick<Client, "queryContentFromRef" | "enableAutoPreviewsFromReq">;
13
13
  /**
@@ -29,7 +29,6 @@ type EnableAutoPreviewsConfig = {
29
29
  *
30
30
  * @param config - Configuration for the function.
31
31
  */
32
- declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
32
+ export declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
33
33
  //#endregion
34
- export { EnableAutoPreviewsConfig, enableAutoPreviews };
35
34
  //# sourceMappingURL=enableAutoPreviews.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enableAutoPreviews.d.cts","names":[],"sources":["../../src/pages/enableAutoPreviews.ts"],"mappings":";;;;;;;;;KAUY;;EAKX,QAAQ,KAAK;;;;;EAMb,cAAc;;;;;;EAOd,MAAM;;;;;;;;;iBAUS,mBAAmB,QAAQ"}
1
+ {"version":3,"file":"enableAutoPreviews.d.cts","names":[],"sources":["../../src/pages/enableAutoPreviews.ts"],"mappings":";;;;;;;;;YAUY;;EAKX,QAAQ,KAAK;;;;;EAMb,cAAc;;;;;;EAOd,MAAM;;;;;;;;;wBAUS,mBAAmB,QAAQ"}
@@ -7,7 +7,7 @@ import { PreviewData } from "next";
7
7
  *
8
8
  * @typeParam TPreviewData - Next.js preview data object.
9
9
  */
10
- type EnableAutoPreviewsConfig = {
10
+ export type EnableAutoPreviewsConfig = {
11
11
  /** Prismic client with which automatic previews will be enabled. */
12
12
  client: Pick<Client, "queryContentFromRef" | "enableAutoPreviewsFromReq">;
13
13
  /**
@@ -29,7 +29,6 @@ type EnableAutoPreviewsConfig = {
29
29
  *
30
30
  * @param config - Configuration for the function.
31
31
  */
32
- declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
32
+ export declare function enableAutoPreviews(config: EnableAutoPreviewsConfig): void;
33
33
  //#endregion
34
- export { EnableAutoPreviewsConfig, enableAutoPreviews };
35
34
  //# sourceMappingURL=enableAutoPreviews.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enableAutoPreviews.d.ts","names":[],"sources":["../../src/pages/enableAutoPreviews.ts"],"mappings":";;;;;;;;;KAUY;;EAKX,QAAQ,KAAK;;;;;EAMb,cAAc;;;;;;EAOd,MAAM;;;;;;;;;iBAUS,mBAAmB,QAAQ"}
1
+ {"version":3,"file":"enableAutoPreviews.d.ts","names":[],"sources":["../../src/pages/enableAutoPreviews.ts"],"mappings":";;;;;;;;;YAUY;;EAKX,QAAQ,KAAK;;;;;EAMb,cAAc;;;;;;EAOd,MAAM;;;;;;;;;wBAUS,mBAAmB,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.cjs";
2
2
  //#region src/pages/exitPreview.d.ts
3
3
  /** Configuration for `exitPreview()`. */
4
- type ExitPreviewAPIRouteConfig = {
4
+ export type ExitPreviewAPIRouteConfig = {
5
5
  /**
6
6
  * The `req` object from a Next.js API route.
7
7
  *
@@ -30,7 +30,6 @@ type ExitPreviewAPIRouteConfig = {
30
30
  * }
31
31
  * ```
32
32
  */
33
- declare function exitPreview(config: ExitPreviewAPIRouteConfig): void;
33
+ export declare function exitPreview(config: ExitPreviewAPIRouteConfig): void;
34
34
  //#endregion
35
- export { ExitPreviewAPIRouteConfig, exitPreview };
36
35
  //# sourceMappingURL=exitPreview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exitPreview.d.cts","names":[],"sources":["../../src/pages/exitPreview.ts"],"mappings":";;;KAGY;;;;;;EAMX,MAAM;;;;;;EAON,KAAK;;;;;;;;;;;;;;;;;iBAkBU,YAAY,QAAQ"}
1
+ {"version":3,"file":"exitPreview.d.cts","names":[],"sources":["../../src/pages/exitPreview.ts"],"mappings":";;;YAGY;;;;;;EAMX,MAAM;;;;;;EAON,KAAK;;;;;;;;;;;;;;;;;wBAkBU,YAAY,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.js";
2
2
  //#region src/pages/exitPreview.d.ts
3
3
  /** Configuration for `exitPreview()`. */
4
- type ExitPreviewAPIRouteConfig = {
4
+ export type ExitPreviewAPIRouteConfig = {
5
5
  /**
6
6
  * The `req` object from a Next.js API route.
7
7
  *
@@ -30,7 +30,6 @@ type ExitPreviewAPIRouteConfig = {
30
30
  * }
31
31
  * ```
32
32
  */
33
- declare function exitPreview(config: ExitPreviewAPIRouteConfig): void;
33
+ export declare function exitPreview(config: ExitPreviewAPIRouteConfig): void;
34
34
  //#endregion
35
- export { ExitPreviewAPIRouteConfig, exitPreview };
36
35
  //# sourceMappingURL=exitPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exitPreview.d.ts","names":[],"sources":["../../src/pages/exitPreview.ts"],"mappings":";;;KAGY;;;;;;EAMX,MAAM;;;;;;EAON,KAAK;;;;;;;;;;;;;;;;;iBAkBU,YAAY,QAAQ"}
1
+ {"version":3,"file":"exitPreview.d.ts","names":[],"sources":["../../src/pages/exitPreview.ts"],"mappings":";;;YAGY;;;;;;EAMX,MAAM;;;;;;EAON,KAAK;;;;;;;;;;;;;;;;;wBAkBU,YAAY,QAAQ"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.cjs";
2
2
  import { Client, LinkResolverFunction } from "@prismicio/client";
3
3
  //#region src/pages/redirectToPreviewURL.d.ts
4
- type RedirectToPreviewURLConfig = {
4
+ export type RedirectToPreviewURLConfig = {
5
5
  /** The Prismic client configured for the preview session's repository. */
6
6
  client: Pick<Client, "resolvePreviewURL">;
7
7
  /**
@@ -39,7 +39,6 @@ type RedirectToPreviewURLConfig = {
39
39
  */
40
40
  basePath?: string;
41
41
  };
42
- declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<void>;
42
+ export declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<void>;
43
43
  //#endregion
44
- export { RedirectToPreviewURLConfig, redirectToPreviewURL };
45
44
  //# sourceMappingURL=redirectToPreviewURL.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectToPreviewURL.d.cts","names":[],"sources":["../../src/pages/redirectToPreviewURL.ts"],"mappings":";;;KAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,KAAK;;;;;;EAOL,KAAK;;;;;;EAOL,eAAe;;;;;;;EAQf;;;;;;;;;EAUA;;iBAGqB,qBAAqB,QAAQ,6BAA6B"}
1
+ {"version":3,"file":"redirectToPreviewURL.d.cts","names":[],"sources":["../../src/pages/redirectToPreviewURL.ts"],"mappings":";;;YAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,KAAK;;;;;;EAOL,KAAK;;;;;;EAOL,eAAe;;;;;;;EAQf;;;;;;;;;EAUA;;wBAGqB,qBAAqB,QAAQ,6BAA6B"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.js";
2
2
  import { Client, LinkResolverFunction } from "@prismicio/client";
3
3
  //#region src/pages/redirectToPreviewURL.d.ts
4
- type RedirectToPreviewURLConfig = {
4
+ export type RedirectToPreviewURLConfig = {
5
5
  /** The Prismic client configured for the preview session's repository. */
6
6
  client: Pick<Client, "resolvePreviewURL">;
7
7
  /**
@@ -39,7 +39,6 @@ type RedirectToPreviewURLConfig = {
39
39
  */
40
40
  basePath?: string;
41
41
  };
42
- declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<void>;
42
+ export declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<void>;
43
43
  //#endregion
44
- export { RedirectToPreviewURLConfig, redirectToPreviewURL };
45
44
  //# sourceMappingURL=redirectToPreviewURL.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectToPreviewURL.d.ts","names":[],"sources":["../../src/pages/redirectToPreviewURL.ts"],"mappings":";;;KAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,KAAK;;;;;;EAOL,KAAK;;;;;;EAOL,eAAe;;;;;;;EAQf;;;;;;;;;EAUA;;iBAGqB,qBAAqB,QAAQ,6BAA6B"}
1
+ {"version":3,"file":"redirectToPreviewURL.d.ts","names":[],"sources":["../../src/pages/redirectToPreviewURL.ts"],"mappings":";;;YAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,KAAK;;;;;;EAOL,KAAK;;;;;;EAOL,eAAe;;;;;;;EAQf;;;;;;;;;EAUA;;wBAGqB,qBAAqB,QAAQ,6BAA6B"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.cjs";
2
2
  //#region src/pages/setPreviewData.d.ts
3
3
  /** Configuration for `setPreviewData`. */
4
- type SetPreviewDataConfig = {
4
+ export type SetPreviewDataConfig = {
5
5
  /**
6
6
  * The `req` object from a Next.js API route.
7
7
  *
@@ -16,7 +16,6 @@ type SetPreviewDataConfig = {
16
16
  res: NextApiResponseLike;
17
17
  };
18
18
  /** Set Prismic preview data for Next.js's Preview Mode. */
19
- declare function setPreviewData({ req, res }: SetPreviewDataConfig): void;
19
+ export declare function setPreviewData({ req, res }: SetPreviewDataConfig): void;
20
20
  //#endregion
21
- export { SetPreviewDataConfig, setPreviewData };
22
21
  //# sourceMappingURL=setPreviewData.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setPreviewData.d.cts","names":[],"sources":["../../src/pages/setPreviewData.ts"],"mappings":";;;KAKY;;;;;;EAMX,KAAK;;;;;;EAOL,KAAK;;;iBAIU,iBAAiB,KAAK,OAAO"}
1
+ {"version":3,"file":"setPreviewData.d.cts","names":[],"sources":["../../src/pages/setPreviewData.ts"],"mappings":";;;YAKY;;;;;;EAMX,KAAK;;;;;;EAOL,KAAK;;;wBAIU,iBAAiB,KAAK,OAAO"}
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequestLike, NextApiResponseLike } from "./types.js";
2
2
  //#region src/pages/setPreviewData.d.ts
3
3
  /** Configuration for `setPreviewData`. */
4
- type SetPreviewDataConfig = {
4
+ export type SetPreviewDataConfig = {
5
5
  /**
6
6
  * The `req` object from a Next.js API route.
7
7
  *
@@ -16,7 +16,6 @@ type SetPreviewDataConfig = {
16
16
  res: NextApiResponseLike;
17
17
  };
18
18
  /** Set Prismic preview data for Next.js's Preview Mode. */
19
- declare function setPreviewData({ req, res }: SetPreviewDataConfig): void;
19
+ export declare function setPreviewData({ req, res }: SetPreviewDataConfig): void;
20
20
  //#endregion
21
- export { SetPreviewDataConfig, setPreviewData };
22
21
  //# sourceMappingURL=setPreviewData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setPreviewData.d.ts","names":[],"sources":["../../src/pages/setPreviewData.ts"],"mappings":";;;KAKY;;;;;;EAMX,KAAK;;;;;;EAOL,KAAK;;;iBAIU,iBAAiB,KAAK,OAAO"}
1
+ {"version":3,"file":"setPreviewData.d.ts","names":[],"sources":["../../src/pages/setPreviewData.ts"],"mappings":";;;YAKY;;;;;;EAMX,KAAK;;;;;;EAOL,KAAK;;;wBAIU,iBAAiB,KAAK,OAAO"}
@@ -2,13 +2,13 @@ import { EnableAutoPreviewsConfig } from "./enableAutoPreviews.cjs";
2
2
  import { ClientConfig } from "@prismicio/client";
3
3
  //#region src/pages/types.d.ts
4
4
  /** Configuration for creating a Prismic client with automatic preview support in Next.js apps. */
5
- type CreateClientConfig = ClientConfig & Pick<EnableAutoPreviewsConfig, "previewData" | "req">;
5
+ export type CreateClientConfig = ClientConfig & Pick<EnableAutoPreviewsConfig, "previewData" | "req">;
6
6
  /**
7
7
  * The minimal set of properties needed from `next`'s `NextApiRequest` type.
8
8
  *
9
9
  * This request type is only compatible with API routes defined in the `pages` directory.
10
10
  */
11
- type NextApiRequestLike = {
11
+ export type NextApiRequestLike = {
12
12
  query: Partial<Record<string, string | string[]>>;
13
13
  cookies: Partial<Record<string, string>>;
14
14
  };
@@ -17,7 +17,7 @@ type NextApiRequestLike = {
17
17
  *
18
18
  * This request type is only compatible with API routes defined in the `pages` directory.
19
19
  */
20
- type NextApiResponseLike = {
20
+ export type NextApiResponseLike = {
21
21
  redirect(url: string): NextApiResponseLike;
22
22
  clearPreviewData(): NextApiResponseLike;
23
23
  setHeader(name: string, value: string | string[]): NextApiResponseLike;
@@ -25,5 +25,4 @@ type NextApiResponseLike = {
25
25
  setPreviewData(data: object | string): NextApiResponseLike;
26
26
  };
27
27
  //#endregion
28
- export { CreateClientConfig, NextApiRequestLike, NextApiResponseLike };
29
28
  //# sourceMappingURL=types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../src/pages/types.ts"],"mappings":";;;;KAKY,qBAAqB,eAChC,KAAK;;;;;;KAOM;EACX,OAAO,QAAQ;EACf,SAAS,QAAQ;;;;;;;KAQN;EACX,SAAS,cAAc;EACvB,oBAAoB;EACpB,UAAU,cAAc,2BAA2B;EAEnD,KAAK;EACL,eAAe,wBAAwB"}
1
+ {"version":3,"file":"types.d.cts","names":[],"sources":["../../src/pages/types.ts"],"mappings":";;;;YAKY,qBAAqB,eAChC,KAAK;;;;;;YAOM;EACX,OAAO,QAAQ;EACf,SAAS,QAAQ;;;;;;;YAQN;EACX,SAAS,cAAc;EACvB,oBAAoB;EACpB,UAAU,cAAc,2BAA2B;EAEnD,KAAK;EACL,eAAe,wBAAwB"}
@@ -2,13 +2,13 @@ import { EnableAutoPreviewsConfig } from "./enableAutoPreviews.js";
2
2
  import { ClientConfig } from "@prismicio/client";
3
3
  //#region src/pages/types.d.ts
4
4
  /** Configuration for creating a Prismic client with automatic preview support in Next.js apps. */
5
- type CreateClientConfig = ClientConfig & Pick<EnableAutoPreviewsConfig, "previewData" | "req">;
5
+ export type CreateClientConfig = ClientConfig & Pick<EnableAutoPreviewsConfig, "previewData" | "req">;
6
6
  /**
7
7
  * The minimal set of properties needed from `next`'s `NextApiRequest` type.
8
8
  *
9
9
  * This request type is only compatible with API routes defined in the `pages` directory.
10
10
  */
11
- type NextApiRequestLike = {
11
+ export type NextApiRequestLike = {
12
12
  query: Partial<Record<string, string | string[]>>;
13
13
  cookies: Partial<Record<string, string>>;
14
14
  };
@@ -17,7 +17,7 @@ type NextApiRequestLike = {
17
17
  *
18
18
  * This request type is only compatible with API routes defined in the `pages` directory.
19
19
  */
20
- type NextApiResponseLike = {
20
+ export type NextApiResponseLike = {
21
21
  redirect(url: string): NextApiResponseLike;
22
22
  clearPreviewData(): NextApiResponseLike;
23
23
  setHeader(name: string, value: string | string[]): NextApiResponseLike;
@@ -25,5 +25,4 @@ type NextApiResponseLike = {
25
25
  setPreviewData(data: object | string): NextApiResponseLike;
26
26
  };
27
27
  //#endregion
28
- export { CreateClientConfig, NextApiRequestLike, NextApiResponseLike };
29
28
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../src/pages/types.ts"],"mappings":";;;;KAKY,qBAAqB,eAChC,KAAK;;;;;;KAOM;EACX,OAAO,QAAQ;EACf,SAAS,QAAQ;;;;;;;KAQN;EACX,SAAS,cAAc;EACvB,oBAAoB;EACpB,UAAU,cAAc,2BAA2B;EAEnD,KAAK;EACL,eAAe,wBAAwB"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../src/pages/types.ts"],"mappings":";;;;YAKY,qBAAqB,eAChC,KAAK;;;;;;YAOM;EACX,OAAO,QAAQ;EACf,SAAS,QAAQ;;;;;;;YAQN;EACX,SAAS,cAAc;EACvB,oBAAoB;EACpB,UAAU,cAAc,2BAA2B;EAEnD,KAAK;EACL,eAAe,wBAAwB"}
@@ -1,7 +1,7 @@
1
1
  import { NextRequestLike } from "./types.cjs";
2
2
  import { Client, LinkResolverFunction } from "@prismicio/client";
3
3
  //#region src/redirectToPreviewURL.d.ts
4
- type RedirectToPreviewURLConfig = {
4
+ export type RedirectToPreviewURLConfig = {
5
5
  /** The Prismic client configured for the preview session's repository. */
6
6
  client: Pick<Client, "resolvePreviewURL">;
7
7
  /**
@@ -24,7 +24,6 @@ type RedirectToPreviewURLConfig = {
24
24
  */
25
25
  defaultURL?: string;
26
26
  };
27
- declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<never>;
27
+ export declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<never>;
28
28
  //#endregion
29
- export { RedirectToPreviewURLConfig, redirectToPreviewURL };
30
29
  //# sourceMappingURL=redirectToPreviewURL.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectToPreviewURL.d.cts","names":[],"sources":["../src/redirectToPreviewURL.ts"],"mappings":";;;KAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,SAAS;;;;;;EAOT,eAAe;;;;;;;EAQf;;iBAGqB,qBAAqB,QAAQ,6BAA6B"}
1
+ {"version":3,"file":"redirectToPreviewURL.d.cts","names":[],"sources":["../src/redirectToPreviewURL.ts"],"mappings":";;;YAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,SAAS;;;;;;EAOT,eAAe;;;;;;;EAQf;;wBAGqB,qBAAqB,QAAQ,6BAA6B"}
@@ -1,7 +1,7 @@
1
1
  import { NextRequestLike } from "./types.js";
2
2
  import { Client, LinkResolverFunction } from "@prismicio/client";
3
3
  //#region src/redirectToPreviewURL.d.ts
4
- type RedirectToPreviewURLConfig = {
4
+ export type RedirectToPreviewURLConfig = {
5
5
  /** The Prismic client configured for the preview session's repository. */
6
6
  client: Pick<Client, "resolvePreviewURL">;
7
7
  /**
@@ -24,7 +24,6 @@ type RedirectToPreviewURLConfig = {
24
24
  */
25
25
  defaultURL?: string;
26
26
  };
27
- declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<never>;
27
+ export declare function redirectToPreviewURL(config: RedirectToPreviewURLConfig): Promise<never>;
28
28
  //#endregion
29
- export { RedirectToPreviewURLConfig, redirectToPreviewURL };
30
29
  //# sourceMappingURL=redirectToPreviewURL.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redirectToPreviewURL.d.ts","names":[],"sources":["../src/redirectToPreviewURL.ts"],"mappings":";;;KAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,SAAS;;;;;;EAOT,eAAe;;;;;;;EAQf;;iBAGqB,qBAAqB,QAAQ,6BAA6B"}
1
+ {"version":3,"file":"redirectToPreviewURL.d.ts","names":[],"sources":["../src/redirectToPreviewURL.ts"],"mappings":";;;YAIY;;EAKX,QAAQ,KAAK;;;;;;EAOb,SAAS;;;;;;EAOT,eAAe;;;;;;;EAQf;;wBAGqB,qBAAqB,QAAQ,6BAA6B"}
@@ -8,7 +8,6 @@
8
8
  *
9
9
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/revalidateTag}
10
10
  */
11
- declare function revalidatePrismicPages(ids: string[]): void;
11
+ export declare function revalidatePrismicPages(ids: string[]): void;
12
12
  //#endregion
13
- export { revalidatePrismicPages };
14
13
  //# sourceMappingURL=revalidatePrismicPages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revalidatePrismicPages.d.cts","names":[],"sources":["../src/revalidatePrismicPages.ts"],"mappings":";;;;;;;;;;iBAagB,uBAAuB"}
1
+ {"version":3,"file":"revalidatePrismicPages.d.cts","names":[],"sources":["../src/revalidatePrismicPages.ts"],"mappings":";;;;;;;;;;wBAagB,uBAAuB"}
@@ -8,7 +8,6 @@
8
8
  *
9
9
  * @see {@link https://nextjs.org/docs/app/api-reference/functions/revalidateTag}
10
10
  */
11
- declare function revalidatePrismicPages(ids: string[]): void;
11
+ export declare function revalidatePrismicPages(ids: string[]): void;
12
12
  //#endregion
13
- export { revalidatePrismicPages };
14
13
  //# sourceMappingURL=revalidatePrismicPages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revalidatePrismicPages.d.ts","names":[],"sources":["../src/revalidatePrismicPages.ts"],"mappings":";;;;;;;;;;iBAagB,uBAAuB"}
1
+ {"version":3,"file":"revalidatePrismicPages.d.ts","names":[],"sources":["../src/revalidatePrismicPages.ts"],"mappings":";;;;;;;;;;wBAagB,uBAAuB"}
package/dist/types.d.cts CHANGED
@@ -6,13 +6,13 @@ declare module "@prismicio/client" {
6
6
  }
7
7
  }
8
8
  /** @deprecated Use `@prismicio/client`'s `ClientConfig`. */
9
- type CreateClientConfig = ClientConfig;
9
+ export type CreateClientConfig = ClientConfig;
10
10
  /**
11
11
  * The minimal set of properties needed from `next`'s `NextRequest` type.
12
12
  *
13
13
  * This request type is only compatible with Route Handlers defined in the `app` directory.
14
14
  */
15
- type NextRequestLike = {
15
+ export type NextRequestLike = {
16
16
  headers: {
17
17
  get(name: string): string | null;
18
18
  };
@@ -25,5 +25,4 @@ type NextRequestLike = {
25
25
  };
26
26
  };
27
27
  //#endregion
28
- export { CreateClientConfig, NextRequestLike };
29
28
  //# sourceMappingURL=types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;;YAIW;IACT,OAAO;;;;KAKG,qBAAqB;;;;;;KAOrB;EACX;IACC,IAAI;;EAEL;EACA;IACC;IACA;MACC,IAAI"}
1
+ {"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;;YAIW;IACT,OAAO;;;;YAKG,qBAAqB;;;;;;YAOrB;EACX;IACC,IAAI;;EAEL;EACA;IACC;IACA;MACC,IAAI"}
package/dist/types.d.ts CHANGED
@@ -6,13 +6,13 @@ declare module "@prismicio/client" {
6
6
  }
7
7
  }
8
8
  /** @deprecated Use `@prismicio/client`'s `ClientConfig`. */
9
- type CreateClientConfig = ClientConfig;
9
+ export type CreateClientConfig = ClientConfig;
10
10
  /**
11
11
  * The minimal set of properties needed from `next`'s `NextRequest` type.
12
12
  *
13
13
  * This request type is only compatible with Route Handlers defined in the `app` directory.
14
14
  */
15
- type NextRequestLike = {
15
+ export type NextRequestLike = {
16
16
  headers: {
17
17
  get(name: string): string | null;
18
18
  };
@@ -25,5 +25,4 @@ type NextRequestLike = {
25
25
  };
26
26
  };
27
27
  //#endregion
28
- export { CreateClientConfig, NextRequestLike };
29
28
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;;YAIW;IACT,OAAO;;;;KAKG,qBAAqB;;;;;;KAOrB;EACX;IACC,IAAI;;EAEL;EACA;IACC;IACA;MACC,IAAI"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;;YAIW;IACT,OAAO;;;;YAKG,qBAAqB;;;;;;YAOrB;EACX;IACC,IAAI;;EAEL;EACA;IACC;IACA;MACC,IAAI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/next",
3
- "version": "2.3.3-pr.162.8e0acbb",
3
+ "version": "2.3.3-pr.163.32aa5f5",
4
4
  "description": "Helpers to integrate Prismic into Next.js apps",
5
5
  "keywords": [
6
6
  "next",
@@ -61,15 +61,15 @@
61
61
  "devDependencies": {
62
62
  "@playwright/test": "^1.63.0",
63
63
  "@prismicio/client": "^7.22.1",
64
- "@types/node": "^26.6.1",
64
+ "@types/node": "^26.6.2",
65
65
  "@types/react": "^19.3.0",
66
66
  "next": "16.3.5",
67
- "oxfmt": "^0.68.0",
68
- "oxlint": "^1.83.0",
67
+ "oxfmt": "^0.70.0",
68
+ "oxlint": "^1.85.0",
69
69
  "playwright": "^1.63.0",
70
70
  "react": "^19.3.0",
71
71
  "react-dom": "^19.3.0",
72
- "tsdown": "^0.22.14",
72
+ "tsdown": "^0.23.0",
73
73
  "typescript": "^7.0.2"
74
74
  },
75
75
  "peerDependencies": {