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

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
32
Versions
166
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.7.0-alpha.7 to 2.7.0-alpha.8

130

lib/content/fields/nestable/LinkContent.d.ts

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

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -20,4 +19,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>;
}>>]>]>;
export declare type ImageLinkContent = t.TypeOf<typeof ImageLinkContent>;

@@ -27,5 +27,4 @@ export declare const FileLinkType = "FileLink";

__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -39,4 +38,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>;
}>>]>]>;
export declare type FileLinkContent = t.TypeOf<typeof FileLinkContent>;

@@ -57,3 +57,2 @@ export declare const MediaLinkType = "MediaLink";

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -96,5 +95,4 @@ }>]>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -110,8 +108,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -125,4 +123,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -137,3 +136,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -165,5 +163,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -179,6 +176,6 @@ url: string;

}) | {
kind: "image";
text: string;
})), {
}), ({
kind: "image";
} & (({
id: string;

@@ -194,8 +191,8 @@ url: string;

}) | {
kind: "image";
text: string;
}), unknown>, t.Type<{
}, unknown>, t.Type<{
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -209,6 +206,6 @@ url: string;

}) | {
kind: "file";
text: string;
})), {
}), ({
kind: "file";
} & (({
id: string;

@@ -222,11 +219,4 @@ url: string;

}) | {
kind: "file";
text: string;
}), unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{

@@ -237,3 +227,2 @@ __TYPE__: "DocumentLink";

} & {
kind?: "document";
text?: string;

@@ -246,3 +235,2 @@ }) | {

} & {
kind?: "document";
text?: string;

@@ -279,2 +267,10 @@ }) | {

}, unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{
__TYPE__: "AnyLink";

@@ -290,5 +286,4 @@ } & {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -304,8 +299,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -319,4 +314,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -331,3 +327,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -358,3 +353,2 @@ }) | {

kind: "image";
} & (({
id: string;

@@ -370,6 +364,6 @@ url: string;

}) | {
kind: "image";
text: string;
})) | ({
} | ({
kind: "file";
} & (({
id: string;

@@ -383,4 +377,5 @@ url: string;

}) | {
kind: "file";
text: string;
})) | {
} | {
kind: "media";

@@ -391,3 +386,2 @@ text: string;

} & {
kind?: "document";
text?: string;

@@ -414,5 +408,4 @@ }) | {

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -428,8 +421,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -443,9 +436,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -455,3 +444,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -478,2 +466,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -487,5 +480,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -501,8 +493,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -516,9 +508,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -528,3 +516,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -551,2 +538,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -553,0 +545,0 @@ }>>, t.ExactC<t.TypeC<{

@@ -14,23 +14,26 @@ "use strict";

exports.ImageLinkType = "ImageLink";
const imageLinkLegacyCodec = t.intersection([
t.strict({ kind: t.literal("image") }),
t.union([
t.exact(t.intersection([
t.type({
id: t.string,
url: t.string,
height: t.string,
width: t.string,
size: t.string,
name: t.string,
}),
t.partial({
date: validators_1.StringOrNull,
text: t.string,
}),
])),
t.strict({
const isImageLinkKind = (input) => typeof input === "string";
const ImageLinkKind = new t.Type("ImageLinkKind", (input) => isImageLinkKind(input), (input, context) => isImageLinkKind(input)
? t.success("image")
: t.failure(input, context), () => "image");
const imageLinkLegacyCodec = t.union([
t.exact(t.intersection([
t.type({
kind: ImageLinkKind,
id: t.string,
url: t.string,
height: t.string,
width: t.string,
size: t.string,
name: t.string,
}),
t.partial({
date: validators_1.StringOrNull,
text: t.string,
}),
]),
])),
t.strict({
kind: t.literal("image"),
text: t.string,
}),
]);

@@ -55,25 +58,24 @@ const ImageLinkLegacy = new t.Type("ImageLink", (u) => (0, utils_1.hasContentType)(u) && u.__TYPE__ === exports.ImageLinkType, (image) => {

exports.FileLinkType = "FileLink";
const isFileLinkKind = (input) => input === "file" || input === "image/jpeg" || input === "all";
const isFileLinkKind = (input) => typeof input === "string";
const FileLinkKind = new t.Type("FileLinkKind", (input) => isFileLinkKind(input), (input, context) => isFileLinkKind(input)
? t.success("file")
: t.failure(input, context), () => "file");
const fileLinkLegacyCodec = t.intersection([
t.strict({ kind: FileLinkKind }),
t.union([
t.exact(t.intersection([
t.type({
id: t.string,
url: t.string,
name: t.string,
size: (0, io_ts_types_1.withFallback)(t.string, "0"),
}),
t.partial({
date: validators_1.StringOrNull,
text: t.string,
}),
])),
t.strict({
const fileLinkLegacyCodec = t.union([
t.exact(t.intersection([
t.type({
kind: FileLinkKind,
id: t.string,
url: t.string,
name: t.string,
size: (0, io_ts_types_1.withFallback)(t.string, "0"),
}),
t.partial({
date: validators_1.StringOrNull,
text: t.string,
}),
]),
])),
t.strict({
kind: t.literal("file"),
text: t.string,
}),
]);

@@ -123,6 +125,3 @@ const FileLinkLegacy = new t.Type("FileLink", (u) => (0, utils_1.hasContentType)(u) && u.__TYPE__ === exports.FileLinkType, (file) => {

t.type({ id: validators_1.NonEmptyString }),
t.partial({
kind: t.literal("document"),
text: t.string,
}),
t.partial({ text: t.string }),
])),

@@ -215,5 +214,5 @@ t.strict({

FileLinkLegacy,
MediaLinkLegacy,
DocumentLinkLegacy,
ExternalLinkLegacy,
MediaLinkLegacy,
AnyLinkLegacy,

@@ -236,5 +235,5 @@ ]);

exports.FileLinkContent,
exports.MediaLinkContent,
exports.DocumentLinkContent,
exports.ExternalLinkContent,
exports.MediaLinkContent,
exports.AnyLinkContent,

@@ -241,0 +240,0 @@ ]);

@@ -118,5 +118,4 @@ import * as t from "io-ts";

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -132,8 +131,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -147,9 +146,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -159,3 +154,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -182,2 +176,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -216,5 +215,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -230,8 +228,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -245,4 +243,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -257,3 +256,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -283,5 +281,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -297,8 +294,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -312,4 +309,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -324,3 +322,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -385,5 +382,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -399,8 +395,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -414,4 +410,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -426,3 +423,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -466,5 +462,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -480,8 +475,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -495,4 +490,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -507,3 +503,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -672,5 +667,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -686,8 +680,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -701,4 +695,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -713,3 +708,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -767,5 +761,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -781,8 +774,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -796,4 +789,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -808,3 +802,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -869,5 +862,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -883,8 +875,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -898,4 +890,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -910,3 +903,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1073,5 +1065,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1087,8 +1078,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1102,4 +1093,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1114,3 +1106,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1168,5 +1159,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1182,8 +1172,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1197,4 +1187,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1209,3 +1200,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1270,5 +1260,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1284,8 +1273,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1299,4 +1288,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1311,3 +1301,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1314,0 +1303,0 @@ }) | {

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

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -19,8 +18,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -34,9 +33,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -46,3 +41,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -69,2 +63,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -75,5 +74,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -89,6 +87,6 @@ url: string;

}) | {
kind: "image";
text: string;
})), {
}), ({
kind: "image";
} & (({
id: string;

@@ -104,8 +102,8 @@ url: string;

}) | {
kind: "image";
text: string;
}), unknown>, t.Type<{
}, unknown>, t.Type<{
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -119,6 +117,6 @@ url: string;

}) | {
kind: "file";
text: string;
})), {
}), ({
kind: "file";
} & (({
id: string;

@@ -132,11 +130,4 @@ url: string;

}) | {
kind: "file";
text: string;
}), unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{

@@ -147,3 +138,2 @@ __TYPE__: "DocumentLink";

} & {
kind?: "document";
text?: string;

@@ -156,3 +146,2 @@ }) | {

} & {
kind?: "document";
text?: string;

@@ -189,2 +178,10 @@ }) | {

}, unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{
__TYPE__: "AnyLink";

@@ -217,5 +214,4 @@ } & {

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -231,8 +227,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -246,9 +242,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -258,3 +250,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -281,2 +272,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -287,5 +283,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -301,6 +296,6 @@ url: string;

}) | {
kind: "image";
text: string;
})), {
}), ({
kind: "image";
} & (({
id: string;

@@ -316,8 +311,8 @@ url: string;

}) | {
kind: "image";
text: string;
}), unknown>, t.Type<{
}, unknown>, t.Type<{
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -331,6 +326,6 @@ url: string;

}) | {
kind: "file";
text: string;
})), {
}), ({
kind: "file";
} & (({
id: string;

@@ -344,11 +339,4 @@ url: string;

}) | {
kind: "file";
text: string;
}), unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{

@@ -359,3 +347,2 @@ __TYPE__: "DocumentLink";

} & {
kind?: "document";
text?: string;

@@ -368,3 +355,2 @@ }) | {

} & {
kind?: "document";
text?: string;

@@ -401,2 +387,10 @@ }) | {

}, unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{
__TYPE__: "AnyLink";

@@ -429,5 +423,4 @@ } & {

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -443,8 +436,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -458,9 +451,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -470,3 +459,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -493,2 +481,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -499,5 +492,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -513,6 +505,6 @@ url: string;

}) | {
kind: "image";
text: string;
})), {
}), ({
kind: "image";
} & (({
id: string;

@@ -528,8 +520,8 @@ url: string;

}) | {
kind: "image";
text: string;
}), unknown>, t.Type<{
}, unknown>, t.Type<{
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -543,6 +535,6 @@ url: string;

}) | {
kind: "file";
text: string;
})), {
}), ({
kind: "file";
} & (({
id: string;

@@ -556,11 +548,4 @@ url: string;

}) | {
kind: "file";
text: string;
}), unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{

@@ -571,3 +556,2 @@ __TYPE__: "DocumentLink";

} & {
kind?: "document";
text?: string;

@@ -580,3 +564,2 @@ }) | {

} & {
kind?: "document";
text?: string;

@@ -613,2 +596,10 @@ }) | {

}, unknown>, t.Type<{
__TYPE__: "MediaLink";
} & {
kind: "media";
text: string;
}, {
kind: "media";
text: string;
}, unknown>, t.Type<{
__TYPE__: "AnyLink";

@@ -664,5 +655,4 @@ } & {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -678,8 +668,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -693,4 +683,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -705,3 +696,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -731,5 +721,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -745,8 +734,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -760,4 +749,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -772,3 +762,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -839,5 +828,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -853,8 +841,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -868,4 +856,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -880,3 +869,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -920,5 +908,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -934,8 +921,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -949,4 +936,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -961,3 +949,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1032,5 +1019,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1046,8 +1032,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1061,4 +1047,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1073,3 +1060,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1134,5 +1120,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1148,8 +1133,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1163,4 +1148,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1175,3 +1161,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1244,5 +1229,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1258,8 +1242,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1273,4 +1257,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1285,3 +1270,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1346,5 +1330,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1360,8 +1343,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1375,4 +1358,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1387,3 +1371,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1457,5 +1440,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1471,8 +1453,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1486,4 +1468,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1498,3 +1481,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1524,5 +1506,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1538,8 +1519,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1553,4 +1534,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1565,3 +1547,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1626,5 +1607,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1640,8 +1620,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1655,4 +1635,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1667,3 +1648,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1707,5 +1687,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1721,8 +1700,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1736,4 +1715,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1748,3 +1728,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1751,0 +1730,0 @@ }) | {

@@ -33,5 +33,4 @@ import * as t from "io-ts";

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -47,8 +46,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -62,4 +61,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -74,3 +74,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -135,5 +134,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -149,8 +147,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -164,4 +162,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -176,3 +175,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -249,5 +247,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -263,8 +260,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -278,4 +275,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -290,3 +288,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -316,5 +313,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -330,8 +326,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -345,4 +341,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -357,3 +354,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -418,5 +414,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -432,8 +427,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -447,4 +442,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -459,3 +455,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -499,5 +494,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -513,8 +507,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -528,4 +522,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -540,3 +535,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -615,5 +609,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -629,8 +622,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -644,4 +637,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -656,3 +650,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -717,5 +710,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -731,8 +723,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -746,4 +738,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -758,3 +751,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -828,5 +820,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -842,8 +833,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -857,4 +848,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -869,3 +861,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -930,5 +921,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -944,8 +934,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -959,4 +949,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -971,3 +962,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -974,0 +964,0 @@ }) | {

@@ -123,5 +123,4 @@ import * as t from "io-ts";

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -137,8 +136,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -152,9 +151,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -164,3 +159,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -187,2 +181,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -221,5 +220,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -235,8 +233,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -250,4 +248,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -262,3 +261,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -288,5 +286,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -302,8 +299,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -317,4 +314,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -329,3 +327,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -390,5 +387,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -404,8 +400,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -419,4 +415,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -431,3 +428,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -471,5 +467,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -485,8 +480,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -500,4 +495,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -512,3 +508,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -515,0 +510,0 @@ }) | {

@@ -121,5 +121,4 @@ import * as t from "io-ts";

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -135,8 +134,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -150,9 +149,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -162,3 +157,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -185,2 +179,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -219,5 +218,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -233,8 +231,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -248,4 +246,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -260,3 +259,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -286,5 +284,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -300,8 +297,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -315,4 +312,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -327,3 +325,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -388,5 +385,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -402,8 +398,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -417,4 +413,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -429,3 +426,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -469,5 +465,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -483,8 +478,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -498,4 +493,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -510,3 +506,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -673,5 +668,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -687,8 +681,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -702,4 +696,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -714,3 +709,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -768,5 +762,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -782,8 +775,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -797,4 +790,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -809,3 +803,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -870,5 +863,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -884,8 +876,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -899,4 +891,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -911,3 +904,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1074,5 +1066,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1088,8 +1079,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1103,4 +1094,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1115,3 +1107,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1169,5 +1160,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1183,8 +1173,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1198,4 +1188,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1210,3 +1201,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1271,5 +1261,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1285,8 +1274,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1300,4 +1289,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1312,3 +1302,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1315,0 +1304,0 @@ }) | {

@@ -118,5 +118,4 @@ import * as t from "io-ts";

__TYPE__: t.LiteralC<"ImageLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"image", "image", unknown>;
id: t.StringC;

@@ -132,8 +131,8 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"image">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"FileLink">;
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
kind: t.Type<"file", "file", unknown>;
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.StringC;

@@ -147,9 +146,5 @@ url: t.StringC;

}>]>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"file">;
text: t.StringC;
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;

@@ -159,3 +154,2 @@ }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

}>, t.PartialC<{
kind: t.LiteralC<"document">;
text: t.StringC;

@@ -182,2 +176,7 @@ }>]>>, t.ExactC<t.TypeC<{

}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"MediaLink">;
}>>, t.ExactC<t.TypeC<{
kind: t.LiteralC<"media">;
text: t.StringC;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"AnyLink">;

@@ -216,5 +215,4 @@ }>>, t.ExactC<t.TypeC<{

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -230,8 +228,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -245,4 +243,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -257,3 +256,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -283,5 +281,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -297,8 +294,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -312,4 +309,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -324,3 +322,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -385,5 +382,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -399,8 +395,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -414,4 +410,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -426,3 +423,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -466,5 +462,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -480,8 +475,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -495,4 +490,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -507,3 +503,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -672,5 +667,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -686,8 +680,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -701,4 +695,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -713,3 +708,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -767,5 +761,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -781,8 +774,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -796,4 +789,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -808,3 +802,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -869,5 +862,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -883,8 +875,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -898,4 +890,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -910,3 +903,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1074,5 +1066,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1088,8 +1079,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1103,4 +1094,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1115,3 +1107,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1169,5 +1160,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1183,8 +1173,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1198,4 +1188,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1210,3 +1201,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1271,5 +1261,4 @@ }) | {

__TYPE__: "ImageLink";
} & ({
} & (({
kind: "image";
} & (({
id: string;

@@ -1285,8 +1274,8 @@ url: string;

}) | {
kind: "image";
text: string;
}))) | ({
})) | ({
__TYPE__: "FileLink";
} & ({
} & (({
kind: "file";
} & (({
id: string;

@@ -1300,4 +1289,5 @@ url: string;

}) | {
kind: "file";
text: string;
}))) | ({
})) | ({
__TYPE__: "MediaLink";

@@ -1312,3 +1302,2 @@ } & {

} & {
kind?: "document";
text?: string;

@@ -1315,0 +1304,0 @@ }) | {

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

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

@@ -15,25 +15,36 @@ import { either } from "fp-ts"

const imageLinkLegacyCodec = t.intersection([
t.strict({ kind: t.literal("image") }),
t.union([
t.exact(
t.intersection([
t.type({
id: t.string,
url: t.string,
height: t.string,
width: t.string,
size: t.string,
name: t.string,
}),
t.partial({
date: StringOrNull,
text: t.string,
}),
]),
),
t.strict({
text: t.string,
}),
]),
const isImageLinkKind = (input: unknown) => typeof input === "string"
const ImageLinkKind = new t.Type<"image">(
"ImageLinkKind",
(input): input is "image" => isImageLinkKind(input),
(input, context) =>
isImageLinkKind(input)
? t.success("image" as const)
: t.failure(input, context),
() => "image" as const,
)
const imageLinkLegacyCodec = t.union([
t.exact(
t.intersection([
t.type({
kind: ImageLinkKind,
id: t.string,
url: t.string,
height: t.string,
width: t.string,
size: t.string,
name: t.string,
}),
t.partial({
date: StringOrNull,
text: t.string,
}),
]),
),
t.strict({
kind: t.literal("image"),
text: t.string,
}),
])

@@ -74,4 +85,3 @@

const isFileLinkKind = (input: unknown) =>
input === "file" || input === "image/jpeg" || input === "all"
const isFileLinkKind = (input: unknown) => typeof input === "string"

@@ -88,23 +98,22 @@ const FileLinkKind = new t.Type<"file">(

const fileLinkLegacyCodec = t.intersection([
t.strict({ kind: FileLinkKind }),
t.union([
t.exact(
t.intersection([
t.type({
id: t.string,
url: t.string,
name: t.string,
size: withFallback(t.string, "0"),
}),
t.partial({
date: StringOrNull,
text: t.string,
}),
]),
),
t.strict({
text: t.string,
}),
]),
const fileLinkLegacyCodec = t.union([
t.exact(
t.intersection([
t.type({
kind: FileLinkKind,
id: t.string,
url: t.string,
name: t.string,
size: withFallback(t.string, "0"),
}),
t.partial({
date: StringOrNull,
text: t.string,
}),
]),
),
t.strict({
kind: t.literal("file"),
text: t.string,
}),
])

@@ -186,6 +195,3 @@

t.type({ id: NonEmptyString }),
t.partial({
kind: t.literal("document"),
text: t.string,
}),
t.partial({ text: t.string }),
]),

@@ -330,5 +336,5 @@ ),

FileLinkLegacy,
MediaLinkLegacy,
DocumentLinkLegacy,
ExternalLinkLegacy,
MediaLinkLegacy,
AnyLinkLegacy,

@@ -366,5 +372,5 @@ ])

FileLinkContent,
MediaLinkContent,
DocumentLinkContent,
ExternalLinkContent,
MediaLinkContent,
AnyLinkContent,

@@ -371,0 +377,0 @@ ])

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