New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
0
Versions
187
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.6.0 to 2.7.0-alpha.0

214

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

@@ -16,2 +16,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>;

@@ -28,2 +33,7 @@ export declare type ImageLinkContent = t.TypeOf<typeof ImageLinkContent>;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -33,2 +43,7 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>;

@@ -39,5 +54,11 @@ export declare type FileLinkContent = t.TypeOf<typeof FileLinkContent>;

__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>;
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>;
export declare type DocumentLinkContent = t.TypeOf<typeof DocumentLinkContent>;

@@ -57,2 +78,7 @@ export declare const ExternalLinkType = "ExternalLink";

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>;

@@ -75,2 +101,7 @@ export declare type ExternalLinkContent = t.TypeOf<typeof ExternalLinkContent>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -84,2 +115,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -89,2 +125,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -94,2 +135,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -105,2 +152,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -120,2 +172,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -131,2 +188,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -140,2 +202,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -145,2 +212,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -154,2 +226,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -159,4 +236,16 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {
id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -172,2 +261,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -181,2 +275,7 @@ url: string;

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>]>;

@@ -197,2 +296,7 @@ export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -206,2 +310,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -211,2 +320,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -216,2 +330,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -227,2 +347,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -239,2 +364,7 @@ }, WithTypes<({

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -248,5 +378,16 @@ id: string;

date?: string | null | undefined;
}) | {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({
id: string;
} | ({
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({
url: string;

@@ -259,2 +400,7 @@ } & {

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
})>, unknown>;

@@ -273,2 +419,7 @@ export declare const Link: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -282,2 +433,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -287,7 +443,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -304,2 +471,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -320,2 +492,7 @@ export declare const LinkContent: t.ExactC<t.TypeC<{

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -329,2 +506,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -334,7 +516,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -351,2 +544,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -353,0 +551,0 @@ }>>;

@@ -12,2 +12,3 @@ "use strict";

const utils_1 = require("../../utils");
const FieldContent_1 = require("./FieldContent");
exports.ImageLinkType = "ImageLink";

@@ -26,2 +27,3 @@ const imageLinkLegacyCodec = t.exact(t.intersection([

date: validators_1.StringOrNull,
title: FieldContent_1.TextContent,
}),

@@ -56,2 +58,3 @@ ]));

date: (0, function_2.nullable)(t.string),
title: FieldContent_1.TextContent,
}),

@@ -77,2 +80,3 @@ ]));

size: (0, io_ts_types_1.withFallback)(t.string, "0"),
title: FieldContent_1.TextContent,
}),

@@ -82,3 +86,8 @@ ])),

exports.DocumentLinkType = "DocumentLink";
const documentLinkLegacyCodec = t.strict({ id: validators_1.NonEmptyString });
const documentLinkLegacyCodec = t.exact(t.intersection([
t.type({ id: validators_1.NonEmptyString }),
t.partial({
title: FieldContent_1.TextContent,
}),
]));
const DocumentLinkLegacy = new t.Type("DocumentLink", (u) => (0, utils_1.hasContentType)(u) && u.__TYPE__ === exports.DocumentLinkType, (file) => {

@@ -111,2 +120,3 @@ return (0, function_1.pipe)(documentLinkLegacyCodec.decode(file), fp_ts_1.either.map((parsedDoc) => {

})),
title: FieldContent_1.TextContent,
}),

@@ -113,0 +123,0 @@ ]));

@@ -128,2 +128,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -137,2 +142,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -142,7 +152,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -159,2 +180,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -200,2 +226,7 @@ }>>, t.ExactC<t.TypeC<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -209,2 +240,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -214,2 +250,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -219,2 +260,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -230,2 +277,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -243,2 +295,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -252,2 +309,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -257,2 +319,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -262,2 +329,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -273,2 +346,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -321,2 +399,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -330,2 +413,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -335,2 +423,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -340,2 +433,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -351,2 +450,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -378,2 +482,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -387,2 +496,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -392,2 +506,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -397,2 +516,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -408,2 +533,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -560,2 +690,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -569,2 +704,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -574,2 +714,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -579,2 +724,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -590,2 +741,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -631,2 +787,7 @@ } | {

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -640,2 +801,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -645,2 +811,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -650,2 +821,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -661,2 +838,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -709,2 +891,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -718,2 +905,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -723,2 +915,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -728,2 +925,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -739,2 +942,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -889,2 +1097,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -898,2 +1111,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -903,2 +1121,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -908,2 +1131,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -919,2 +1148,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -960,2 +1194,7 @@ }> | import("fp-ts/lib/Either").Right<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -969,2 +1208,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -974,2 +1218,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -979,2 +1228,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -990,2 +1245,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -1038,2 +1298,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1047,2 +1312,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1052,2 +1322,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1057,2 +1332,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1068,2 +1349,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1070,0 +1356,0 @@ start: number;

@@ -15,2 +15,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -24,2 +29,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -29,7 +39,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -46,2 +67,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]> | t.UnionC<[t.Type<{

@@ -59,2 +85,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -70,2 +101,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -79,2 +115,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -84,2 +125,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -93,2 +139,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -98,4 +149,16 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {
id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -111,2 +174,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -120,2 +188,7 @@ url: string;

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>]>;

@@ -153,2 +226,7 @@ start: t.NumberC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -162,2 +240,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -167,7 +250,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -184,2 +278,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]> | t.UnionC<[t.Type<{

@@ -197,2 +296,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -208,2 +312,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -217,2 +326,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -222,2 +336,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -231,2 +350,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -236,4 +360,16 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {
id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -249,2 +385,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -258,2 +399,7 @@ url: string;

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>]>;

@@ -291,2 +437,7 @@ start: t.NumberC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -300,2 +451,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -305,7 +461,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -322,2 +489,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]> | t.UnionC<[t.Type<{

@@ -335,2 +507,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -346,2 +523,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -355,2 +537,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -360,2 +547,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -369,2 +561,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -374,4 +571,16 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {
id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>, t.Type<{

@@ -387,2 +596,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, {

@@ -396,2 +610,7 @@ url: string;

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}, unknown>]>;

@@ -452,2 +671,7 @@ start: t.NumberC;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -461,2 +685,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -466,2 +695,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -471,2 +705,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -482,2 +722,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -495,2 +740,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -504,2 +754,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -509,2 +764,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -514,2 +774,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -525,2 +791,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -579,2 +850,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -588,2 +864,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -593,2 +874,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -598,2 +884,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -609,2 +901,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -636,2 +933,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -645,2 +947,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -650,2 +957,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -655,2 +967,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -666,2 +984,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -724,2 +1047,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -733,2 +1061,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -738,2 +1071,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -743,2 +1081,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -754,2 +1098,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -802,2 +1151,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -811,2 +1165,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -816,2 +1175,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -821,2 +1185,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -832,2 +1202,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -888,2 +1263,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -897,2 +1277,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -902,2 +1287,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -907,2 +1297,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -918,2 +1314,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -966,2 +1367,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -975,2 +1381,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -980,2 +1391,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -985,2 +1401,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -996,2 +1418,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1053,2 +1480,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1062,2 +1494,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1067,2 +1504,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1072,2 +1514,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1083,2 +1531,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -1096,2 +1549,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1105,2 +1563,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1110,2 +1573,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1115,2 +1583,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1126,2 +1600,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -1174,2 +1653,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1183,2 +1667,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1188,2 +1677,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1193,2 +1687,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1204,2 +1704,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1231,2 +1736,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1240,2 +1750,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1245,2 +1760,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1250,2 +1770,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1261,2 +1787,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1263,0 +1794,0 @@ start: number;

@@ -43,2 +43,7 @@ import * as t from "io-ts";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -52,2 +57,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -57,2 +67,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -62,2 +77,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -73,2 +94,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -121,2 +147,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -130,2 +161,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -135,2 +171,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -140,2 +181,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -151,2 +198,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -211,2 +263,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -220,2 +277,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -225,2 +287,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -230,2 +297,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -241,2 +314,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -254,2 +332,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -263,2 +346,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -268,2 +356,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -273,2 +366,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -284,2 +383,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -332,2 +436,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -341,2 +450,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -346,2 +460,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -351,2 +470,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -362,2 +487,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -389,2 +519,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -398,2 +533,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -403,2 +543,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -408,2 +553,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -419,2 +570,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -481,2 +637,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -490,2 +651,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -495,2 +661,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -500,2 +671,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -511,2 +688,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -559,2 +741,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -568,2 +755,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -573,2 +765,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -578,2 +775,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -589,2 +792,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -646,2 +854,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -655,2 +868,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -660,2 +878,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -665,2 +888,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -676,2 +905,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -724,2 +958,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -733,2 +972,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -738,2 +982,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -743,2 +992,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -754,2 +1009,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -756,0 +1016,0 @@ start: number;

@@ -133,2 +133,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -142,2 +147,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -147,7 +157,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -164,2 +185,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -205,2 +231,7 @@ }>>, t.ExactC<t.TypeC<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -214,2 +245,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -219,2 +255,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -224,2 +265,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -235,2 +282,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -248,2 +300,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -257,2 +314,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -262,2 +324,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -267,2 +334,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -278,2 +351,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -326,2 +404,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -335,2 +418,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -340,2 +428,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -345,2 +438,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -356,2 +455,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -383,2 +487,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -392,2 +501,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -397,2 +511,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -402,2 +521,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -413,2 +538,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -415,0 +545,0 @@ start: number;

@@ -131,2 +131,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -140,2 +145,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -145,7 +155,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -162,2 +183,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -203,2 +229,7 @@ }>>, t.ExactC<t.TypeC<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -212,2 +243,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -217,2 +253,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -222,2 +263,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -233,2 +280,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -246,2 +298,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -255,2 +312,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -260,2 +322,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -265,2 +332,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -276,2 +349,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -324,2 +402,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -333,2 +416,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -338,2 +426,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -343,2 +436,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -354,2 +453,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -381,2 +485,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -390,2 +499,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -395,2 +509,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -400,2 +519,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -411,2 +536,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -561,2 +691,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -570,2 +705,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -575,2 +715,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -580,2 +725,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -591,2 +742,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -632,2 +788,7 @@ } | {

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -641,2 +802,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -646,2 +812,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -651,2 +822,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -662,2 +839,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -710,2 +892,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -719,2 +906,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -724,2 +916,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -729,2 +926,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -740,2 +943,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -890,2 +1098,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -899,2 +1112,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -904,2 +1122,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -909,2 +1132,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -920,2 +1149,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -961,2 +1195,7 @@ }> | import("fp-ts/lib/Either").Right<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -970,2 +1209,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -975,2 +1219,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -980,2 +1229,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -991,2 +1246,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -1039,2 +1299,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1048,2 +1313,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1053,2 +1323,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1058,2 +1333,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1069,2 +1350,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1071,0 +1357,0 @@ start: number;

@@ -128,2 +128,7 @@ import * as t from "io-ts";

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -137,2 +142,7 @@ id: t.StringC;

date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -142,7 +152,18 @@ __TYPE__: t.LiteralC<"FileLink">;

size: t.StringC;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"DocumentLink">;
}>>, t.ExactC<t.TypeC<{
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
id: t.Type<string, string, unknown>;
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
}>, t.PartialC<{
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
__TYPE__: t.LiteralC<"ExternalLink">;

@@ -159,2 +180,7 @@ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}, unknown>, t.NullC, t.UndefinedC]>;
title: t.ExactC<t.TypeC<{
type: t.LiteralC<"Text">;
value: t.Type<string, string, unknown>;
__TYPE__: t.LiteralC<"FieldContent">;
}>>;
}>]>>]>]>;

@@ -200,2 +226,7 @@ }>>, t.ExactC<t.TypeC<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -209,2 +240,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -214,2 +250,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -219,2 +260,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -230,2 +277,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), ({

@@ -243,2 +295,7 @@ __TYPE__: "ImageLink";

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -252,2 +309,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -257,2 +319,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -262,2 +329,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -273,2 +346,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}), unknown>, t.NullC, t.UndefinedC]>;

@@ -321,2 +399,7 @@ }>]>;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -330,2 +413,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -335,2 +423,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -340,2 +433,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -351,2 +450,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -378,2 +482,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -387,2 +496,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -392,2 +506,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -397,2 +516,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -408,2 +533,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -560,2 +690,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -569,2 +704,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -574,2 +714,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -579,2 +724,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -590,2 +741,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -631,2 +787,7 @@ }> | import("fp-ts/lib/Either").Right<{

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -640,2 +801,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -645,2 +811,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -650,2 +821,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -661,2 +838,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -709,2 +891,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -718,2 +905,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -723,2 +915,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -728,2 +925,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -739,2 +942,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -890,2 +1098,7 @@ start: number;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -899,2 +1112,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -904,2 +1122,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -909,2 +1132,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -920,2 +1149,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -961,2 +1195,7 @@ } | {

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -970,2 +1209,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -975,2 +1219,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -980,2 +1229,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -991,2 +1246,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | null | undefined;

@@ -1039,2 +1299,7 @@ };

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1048,2 +1313,7 @@ id: string;

date?: string | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
} & {

@@ -1053,2 +1323,7 @@ __TYPE__: "FileLink";

size?: string;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1058,2 +1333,8 @@ __TYPE__: "DocumentLink";

id: string;
} & {
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
}) | ({

@@ -1069,2 +1350,7 @@ __TYPE__: "ExternalLink";

} | null | undefined;
title?: {
type: "Text";
value: string;
__TYPE__: "FieldContent";
};
});

@@ -1071,0 +1357,0 @@ start: number;

224

lib/customtypes/diff/Variation.d.ts

@@ -90,2 +90,11 @@ import type { Variation } from "../widgets/slices";

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -103,2 +112,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -161,11 +180,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -259,2 +269,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -272,2 +291,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -330,11 +359,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -428,2 +448,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -441,2 +470,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -499,11 +538,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -596,2 +626,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -609,2 +648,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -667,11 +716,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -767,2 +807,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -780,2 +829,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -838,11 +897,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -936,2 +986,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -949,2 +1008,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -1007,11 +1076,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -1105,2 +1165,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -1118,2 +1187,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -1176,11 +1255,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -1273,2 +1343,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -1286,2 +1365,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -1344,11 +1433,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -1355,0 +1435,0 @@ } & {

@@ -134,2 +134,12 @@ import * as t from "io-ts";

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -303,2 +313,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -467,2 +487,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -633,2 +663,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -804,2 +844,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -970,2 +1020,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -972,0 +1032,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

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

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -28,4 +38,14 @@ export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;
}>]>>;
export declare type Link = t.TypeOf<typeof Link>;

@@ -9,2 +9,3 @@ "use strict";

const validators_1 = require("../../../validators");
const Text_1 = require("./Text");
const arrayString = (entries) => {

@@ -46,2 +47,3 @@ if (entries instanceof Array) {

allowTargetBlank: t.boolean,
title: Text_1.Text,
}));

@@ -48,0 +50,0 @@ exports.Link = t.exact(t.intersection([

@@ -130,2 +130,12 @@ import * as t from "io-ts";

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -132,0 +142,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -143,2 +143,12 @@ import * as t from "io-ts";

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -301,2 +311,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -303,0 +323,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -131,2 +131,12 @@ import * as t from "io-ts";

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -297,2 +307,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -299,0 +319,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

@@ -130,2 +130,12 @@ import * as t from "io-ts";

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -296,2 +306,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -462,2 +482,12 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

allowTargetBlank: t.BooleanC;
title: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Text">;
}>, t.PartialC<{
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
useAsTitle: t.BooleanC;
placeholder: t.StringC;
}>>;
}>]>>;
}>>;

@@ -568,2 +598,11 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -581,2 +620,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -639,11 +688,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -737,2 +777,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -750,2 +799,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -808,11 +867,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -906,2 +956,11 @@ } & {

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Link";

@@ -919,2 +978,12 @@ } & {

allowTargetBlank?: boolean;
title?: {
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
};
};

@@ -977,11 +1046,2 @@ }) | ({

}) | ({
type: "Text";
} & {
fieldset?: string | null | undefined;
config?: {
label?: string | null | undefined;
useAsTitle?: boolean;
placeholder?: string;
};
}) | ({
type: "Timestamp";

@@ -988,0 +1048,0 @@ } & {

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

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

@@ -10,2 +10,3 @@ import { either } from "fp-ts"

import { hasContentType } from "../../utils"
import { TextContent } from "./FieldContent"

@@ -27,2 +28,3 @@ export const ImageLinkType = "ImageLink"

date: StringOrNull,
title: TextContent,
}),

@@ -73,2 +75,3 @@ ]),

date: nullable(t.string),
title: TextContent,
}),

@@ -106,2 +109,3 @@ ]),

size: withFallback(t.string, "0"),
title: TextContent,
}),

@@ -115,3 +119,10 @@ ]),

const documentLinkLegacyCodec = t.strict({ id: NonEmptyString })
const documentLinkLegacyCodec = t.exact(
t.intersection([
t.type({ id: NonEmptyString }),
t.partial({
title: TextContent,
}),
]),
)
type DocumentLinkLegacy = t.TypeOf<typeof documentLinkLegacyCodec>

@@ -160,2 +171,3 @@ const DocumentLinkLegacy = new t.Type<DocumentLinkContent, DocumentLinkLegacy>(

),
title: TextContent,
}),

@@ -162,0 +174,0 @@ ]),

@@ -6,2 +6,3 @@ import { either } from "fp-ts/lib/Either"

import { StringOrNull } from "../../../validators"
import { Text } from "./Text"

@@ -82,2 +83,3 @@ const arrayString = (

allowTargetBlank: t.boolean,
title: Text,
}),

@@ -84,0 +86,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

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