@prismicio/client
Advanced tools
Comparing version 7.0.1 to 7.1.0
@@ -58,2 +58,3 @@ import type { CustomTypeModelIntegrationField } from "./types/model/integration"; | ||
export { asImagePixelDensitySrcSet } from "./helpers/asImagePixelDensitySrcSet"; | ||
export { unstable_mapSliceZone } from "./helpers/unstable_mapSliceZone"; | ||
export * as isFilled from "./helpers/isFilled"; | ||
@@ -60,0 +61,0 @@ export { documentToLinkField } from "./helpers/documentToLinkField"; |
@@ -19,2 +19,3 @@ import { filter } from "./filter.js"; | ||
import { asImagePixelDensitySrcSet } from "./helpers/asImagePixelDensitySrcSet.js"; | ||
import { unstable_mapSliceZone } from "./helpers/unstable_mapSliceZone.js"; | ||
import * as isFilled from "./helpers/isFilled.js"; | ||
@@ -71,4 +72,5 @@ import { documentToLinkField } from "./helpers/documentToLinkField.js"; | ||
isRepositoryName, | ||
predicate | ||
predicate, | ||
unstable_mapSliceZone | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
const version = "7.0.1"; | ||
const version = "7.1.0"; | ||
export { | ||
@@ -3,0 +3,0 @@ version |
@@ -18,2 +18,8 @@ import { CustomTypeModelField } from "./types"; | ||
/** | ||
* The format of the custom type model. | ||
* | ||
* Fallback to "custom" if undefined. | ||
*/ | ||
format?: "page" | "custom"; | ||
/** | ||
* Determines if more than one document for the custom type can be created. | ||
@@ -20,0 +26,0 @@ */ |
import { AnyRegularField } from "./types"; | ||
import { GroupField } from "./group"; | ||
import { SliceZone } from "./sliceZone"; | ||
import { TimestampField } from "./timestamp"; | ||
/** | ||
@@ -46,7 +47,7 @@ * Document metadata for a translation of a Prismic document. | ||
*/ | ||
first_publication_date: string; | ||
first_publication_date: TimestampField<"filled">; | ||
/** | ||
* The timestamp at which the document was last published. | ||
*/ | ||
last_publication_date: string; | ||
last_publication_date: TimestampField<"filled">; | ||
/** | ||
@@ -53,0 +54,0 @@ * Slugs associated with document. |
{ | ||
"name": "@prismicio/client", | ||
"version": "7.0.1", | ||
"version": "7.1.0", | ||
"description": "The official JavaScript + TypeScript client library for Prismic", | ||
@@ -66,3 +66,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@prismicio/mock": "^0.2.0", | ||
"@prismicio/mock": "^0.3.0", | ||
"@prismicio/types-internal": "2.0.0-alpha.11", | ||
@@ -69,0 +69,0 @@ "@size-limit/preset-small-lib": "^8.2.4", |
@@ -71,2 +71,3 @@ // Imports are used for deprecations. | ||
export { asImagePixelDensitySrcSet } from "./helpers/asImagePixelDensitySrcSet"; | ||
export { unstable_mapSliceZone } from "./helpers/unstable_mapSliceZone"; | ||
export * as isFilled from "./helpers/isFilled"; | ||
@@ -73,0 +74,0 @@ |
@@ -25,2 +25,9 @@ import { CustomTypeModelField } from "./types"; | ||
/** | ||
* The format of the custom type model. | ||
* | ||
* Fallback to "custom" if undefined. | ||
*/ | ||
format?: "page" | "custom"; | ||
/** | ||
* Determines if more than one document for the custom type can be created. | ||
@@ -27,0 +34,0 @@ */ |
@@ -5,2 +5,3 @@ import { AnyRegularField } from "./types"; | ||
import { SliceZone } from "./sliceZone"; | ||
import { TimestampField } from "./timestamp"; | ||
@@ -50,7 +51,7 @@ /** | ||
*/ | ||
first_publication_date: string; | ||
first_publication_date: TimestampField<"filled">; | ||
/** | ||
* The timestamp at which the document was last published. | ||
*/ | ||
last_publication_date: string; | ||
last_publication_date: TimestampField<"filled">; | ||
/** | ||
@@ -57,0 +58,0 @@ * Slugs associated with document. |
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
1013000
405
15897