@prismicio/client
Advanced tools
Comparing version 7.0.0-alpha.1 to 7.0.0-alpha.2
@@ -11,3 +11,3 @@ import type { FilledContentRelationshipField } from "../types/value/contentRelationship"; | ||
}; | ||
type AsLinkAttrsConfig<LinkResolverFunctionReturnType = ReturnType<LinkResolverFunction>, Field extends LinkField | PrismicDocument | null | undefined = LinkField | PrismicDocument | null | undefined> = { | ||
export type AsLinkAttrsConfig<LinkResolverFunctionReturnType = ReturnType<LinkResolverFunction>, Field extends LinkField | PrismicDocument | null | undefined = LinkField | PrismicDocument | null | undefined> = { | ||
linkResolver?: LinkResolverFunction<LinkResolverFunctionReturnType>; | ||
@@ -14,0 +14,0 @@ rel?: (args: AsLinkAttrsConfigRelArgs<LinkResolverFunctionReturnType, Field>) => string | undefined | void; |
@@ -60,2 +60,3 @@ import type { HTMLRichTextFunctionSerializer, HTMLRichTextMapSerializer } from "./helpers/asHTML"; | ||
export type { LinkResolverFunction } from "./helpers/asLink"; | ||
export type { AsLinkAttrsConfig } from "./helpers/asLinkAttrs"; | ||
/** | ||
@@ -62,0 +63,0 @@ * @deprecated Renamed to `HTMLRichTextMapSerializer` |
@@ -1,2 +0,2 @@ | ||
const version = "7.0.0-alpha.1"; | ||
const version = "7.0.0-alpha.2"; | ||
export { | ||
@@ -3,0 +3,0 @@ version |
{ | ||
"name": "@prismicio/client", | ||
"version": "7.0.0-alpha.1", | ||
"version": "7.0.0-alpha.2", | ||
"description": "The official JavaScript + TypeScript client library for Prismic", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,3 +26,3 @@ import { isInternalURL } from "../lib/isInternalURL"; | ||
type AsLinkAttrsConfig< | ||
export type AsLinkAttrsConfig< | ||
LinkResolverFunctionReturnType = ReturnType<LinkResolverFunction>, | ||
@@ -29,0 +29,0 @@ Field extends LinkField | PrismicDocument | null | undefined = |
@@ -77,2 +77,3 @@ // Use for deprecations. | ||
export type { LinkResolverFunction } from "./helpers/asLink"; | ||
export type { AsLinkAttrsConfig } from "./helpers/asLinkAttrs"; | ||
@@ -79,0 +80,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
931314
14692