@prismicio/types
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -11,2 +11,3 @@ import type { FieldState, Simplify } from "./types"; | ||
export interface FilledImageFieldImage { | ||
id: string; | ||
url: string; | ||
@@ -17,2 +18,8 @@ dimensions: { | ||
}; | ||
edit: { | ||
x: number; | ||
y: number; | ||
zoom: number; | ||
background: string; | ||
}; | ||
alt: string | null; | ||
@@ -22,4 +29,6 @@ copyright: string | null; | ||
export interface EmptyImageFieldImage { | ||
id?: null; | ||
url?: null; | ||
dimensions?: null; | ||
edit?: null; | ||
alt?: null; | ||
@@ -26,0 +35,0 @@ copyright?: null; |
@@ -13,2 +13,3 @@ import type { EmptyLinkField, LinkType } from "./link"; | ||
export interface FilledLinkToMediaField { | ||
id: string; | ||
link_type: typeof LinkType.Media; | ||
@@ -15,0 +16,0 @@ name: string; |
@@ -133,2 +133,3 @@ import type { EmbedField } from "./embed"; | ||
type: typeof RichTextNodeType.image; | ||
id: string; | ||
url: string; | ||
@@ -141,2 +142,8 @@ alt: string | null; | ||
}; | ||
edit: { | ||
x: number; | ||
y: number; | ||
zoom: number; | ||
background: string; | ||
}; | ||
linkTo?: FilledContentRelationshipField | FilledLinkToWebField | FilledLinkToMediaField; | ||
@@ -143,0 +150,0 @@ }; |
{ | ||
"name": "@prismicio/types", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Type definitions for Prismic related structure", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,11 +0,5 @@ | ||
<!-- | ||
> **Note**: **This package has been merged into [`@prismicio/client`](https://github.com/prismicio/prismic-client) ≥ v7.** | ||
> | ||
> This package and repository will no longer be updated, except in special circumstances. | ||
Replace all on all files (README.md, CONTRIBUTING.md, bug_report.md, package.json): | ||
- @prismicio/types | ||
- Type definitions for Prismic related structure | ||
- prismicio/prismic-types | ||
- prismic-types | ||
--> | ||
# @prismicio/types | ||
@@ -12,0 +6,0 @@ |
@@ -14,2 +14,3 @@ import type { FieldState, Simplify } from "./types"; | ||
export interface FilledImageFieldImage { | ||
id: string; | ||
url: string; | ||
@@ -20,2 +21,8 @@ dimensions: { | ||
}; | ||
edit: { | ||
x: number; | ||
y: number; | ||
zoom: number; | ||
background: string; | ||
}; | ||
alt: string | null; | ||
@@ -26,4 +33,6 @@ copyright: string | null; | ||
export interface EmptyImageFieldImage { | ||
id?: null; | ||
url?: null; | ||
dimensions?: null; | ||
edit?: null; | ||
alt?: null; | ||
@@ -30,0 +39,0 @@ copyright?: null; |
@@ -18,2 +18,3 @@ import type { EmptyLinkField, LinkType } from "./link"; | ||
export interface FilledLinkToMediaField { | ||
id: string; | ||
link_type: typeof LinkType.Media; | ||
@@ -20,0 +21,0 @@ name: string; |
@@ -155,2 +155,3 @@ import type { EmbedField } from "./embed"; | ||
type: typeof RichTextNodeType.image; | ||
id: string; | ||
url: string; | ||
@@ -163,2 +164,8 @@ alt: string | null; | ||
}; | ||
edit: { | ||
x: number; | ||
y: number; | ||
zoom: number; | ||
background: string; | ||
}; | ||
linkTo?: | ||
@@ -165,0 +172,0 @@ | FilledContentRelationshipField |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197052
96339
4206
32
88