Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prismicio/types

Package Overview
Dependencies
Maintainers
32
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/types - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

9

dist/value/image.d.ts

@@ -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;

1

dist/value/linkToMedia.d.ts

@@ -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 @@ };

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc