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

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
20
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/types-internal - npm Package Compare versions

Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9

18

lib/content/fields/GroupContent.d.ts

@@ -324,2 +324,5 @@ import * as t from "io-ts";

value: [string, {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -475,5 +478,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -599,2 +599,5 @@ value: (({

value: [string, {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -750,5 +753,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -875,2 +875,5 @@ value: (({

value: [string, {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -1026,5 +1029,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -1031,0 +1031,0 @@ value: (({

@@ -0,1 +1,2 @@

export * from "./EmptyContent";
export * from "./GroupContent";

@@ -2,0 +3,0 @@ export * from "./nestable";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./EmptyContent"), exports);
tslib_1.__exportStar(require("./GroupContent"), exports);

@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./nestable"), exports);

@@ -317,2 +317,5 @@ import * as t from "io-ts";

export declare const isNestableContent: (u: unknown) => u is {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -468,5 +471,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -587,2 +587,5 @@ value: (({

decode(value: unknown): import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
type: string;
__TYPE__: "EmptyContent";
}> | import("fp-ts/lib/Either").Right<{
__TYPE__: "BooleanContent";

@@ -738,5 +741,2 @@ value: boolean;

}> | import("fp-ts/lib/Either").Right<{
type: string;
__TYPE__: "EmptyContent";
}> | import("fp-ts/lib/Either").Right<{
__TYPE__: "StructuredTextContent";

@@ -743,0 +743,0 @@ value: (({

@@ -50,3 +50,4 @@ "use strict";

(0, LinkContent_1.isLinkContent)(u) ||
(0, SeparatorContent_1.isSeparatorContent)(u);
(0, SeparatorContent_1.isSeparatorContent)(u) ||
(0, EmptyContent_1.isEmptyContent)(u);
exports.isNestableContent = isNestableContent;

@@ -53,0 +54,0 @@ const NestableLegacy = (ctx) => {

@@ -6,2 +6,5 @@ import * as t from "io-ts";

value: [string, {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -157,5 +160,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -162,0 +162,0 @@ value: (({

@@ -632,2 +632,5 @@ import * as t from "io-ts";

export declare const isSimpleSliceContent: (u: unknown) => u is {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -783,5 +786,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -904,2 +904,5 @@ value: (({

value: [string, {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "BooleanContent";

@@ -1055,5 +1058,2 @@ value: boolean;

} | {
type: string;
__TYPE__: "EmptyContent";
} | {
__TYPE__: "StructuredTextContent";

@@ -1176,2 +1176,5 @@ value: (({

decode: (value: unknown) => import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
type: string;
__TYPE__: "EmptyContent";
}> | import("fp-ts/lib/Either").Right<{
__TYPE__: "BooleanContent";

@@ -1327,5 +1330,2 @@ value: boolean;

}> | import("fp-ts/lib/Either").Right<{
type: string;
__TYPE__: "EmptyContent";
}> | import("fp-ts/lib/Either").Right<{
__TYPE__: "StructuredTextContent";

@@ -1332,0 +1332,0 @@ value: (({

{
"name": "@prismicio/types-internal",
"version": "2.0.0-alpha.8",
"version": "2.0.0-alpha.9",
"description": "Prismic types for Custom Types and Prismic Data",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,1 +1,2 @@

export * from "./EmptyContent"
export * from "./GroupContent"

@@ -2,0 +3,0 @@ export * from "./nestable"

@@ -5,3 +5,3 @@ import { isRight } from "fp-ts/lib/Either"

import type { LegacyContentCtx } from "../../LegacyContentCtx"
import { EmptyContent, EmptyLegacy } from "../EmptyContent"
import { EmptyContent, EmptyLegacy, isEmptyContent } from "../EmptyContent"
import {

@@ -116,3 +116,4 @@ BooleanContent,

isLinkContent(u) ||
isSeparatorContent(u)
isSeparatorContent(u) ||
isEmptyContent(u)

@@ -119,0 +120,0 @@ export const NestableLegacy = (ctx: LegacyContentCtx) => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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