document-content-model 7.15.3 → 7.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bijection-constructs-3By08A5K.cjs +14695 -0
- package/dist/bijection-constructs-DlP29TpB.js +14624 -0
- package/dist/bijection-constructs.cjs +4 -0
- package/dist/bijection-constructs.d.cts +6 -0
- package/dist/bijection-constructs.d.ts +6 -0
- package/dist/bijection-constructs.js +2 -0
- package/dist/bijection-corpus.cjs +12 -0
- package/dist/bijection-corpus.d.cts +46 -0
- package/dist/bijection-corpus.d.ts +46 -0
- package/dist/bijection-corpus.js +2 -0
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{content-1yGdeaVT.d.ts → content-C8oVg7U_.d.ts} +7873 -9463
- package/dist/{content-CSf8z9NW.d.cts → content-UFAqR2zQ.d.cts} +7873 -9463
- package/dist/content-drawing-3yNJVteg.d.cts +1606 -0
- package/dist/content-drawing-cjm6n33_.d.ts +1606 -0
- package/dist/content-drawing.cjs +186 -0
- package/dist/content-drawing.d.cts +2 -0
- package/dist/content-drawing.d.ts +2 -0
- package/dist/content-drawing.js +171 -0
- package/dist/content-json-schema-defs.cjs +27 -3033
- package/dist/content-json-schema-defs.d.cts +2 -6
- package/dist/content-json-schema-defs.d.ts +2 -6
- package/dist/content-json-schema-defs.js +28 -3031
- package/dist/content-sheet.cjs +408 -0
- package/dist/content-sheet.d.cts +2 -0
- package/dist/content-sheet.d.ts +2 -0
- package/dist/content-sheet.js +385 -0
- package/dist/content-vocabulary.cjs +190 -0
- package/dist/content-vocabulary.d.cts +2 -0
- package/dist/content-vocabulary.d.ts +2 -0
- package/dist/content-vocabulary.js +168 -0
- package/dist/content.cjs +29 -781
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +6 -701
- package/dist/decompose.d.cts +3 -2
- package/dist/decompose.d.ts +3 -2
- package/dist/definitions.cjs +2 -1
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/definitions.js +2 -1
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.cjs +69 -63
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +10 -6
- package/dist/json-schema-defs-blocks.cjs +1036 -0
- package/dist/json-schema-defs-blocks.d.cts +5 -0
- package/dist/json-schema-defs-blocks.d.ts +5 -0
- package/dist/json-schema-defs-blocks.js +1035 -0
- package/dist/json-schema-defs-math.cjs +291 -0
- package/dist/json-schema-defs-math.d.cts +5 -0
- package/dist/json-schema-defs-math.d.ts +5 -0
- package/dist/json-schema-defs-math.js +290 -0
- package/dist/json-schema-defs-shared.cjs +42 -0
- package/dist/json-schema-defs-shared.d.cts +9 -0
- package/dist/json-schema-defs-shared.d.ts +9 -0
- package/dist/json-schema-defs-shared.js +38 -0
- package/dist/json-schema-defs-sheet.cjs +944 -0
- package/dist/json-schema-defs-sheet.d.cts +5 -0
- package/dist/json-schema-defs-sheet.d.ts +5 -0
- package/dist/json-schema-defs-sheet.js +943 -0
- package/dist/json-schema-defs-tree.cjs +237 -0
- package/dist/json-schema-defs-tree.d.cts +5 -0
- package/dist/json-schema-defs-tree.d.ts +5 -0
- package/dist/json-schema-defs-tree.js +237 -0
- package/dist/json-schema-defs-vector.cjs +513 -0
- package/dist/json-schema-defs-vector.d.cts +5 -0
- package/dist/json-schema-defs-vector.d.ts +5 -0
- package/dist/json-schema-defs-vector.js +512 -0
- package/dist/magic-string.es-CB2hOw9v.js +1012 -0
- package/dist/magic-string.es-MEBc20Ce.cjs +1012 -0
- package/dist/{package-node-CpE1BAqK.d.ts → package-node-CoWOKxt7.d.ts} +20 -19
- package/dist/{package-node-ng7Yimj9.d.cts → package-node-H2Calta4.d.cts} +20 -19
- package/dist/package-node.cjs +12 -9
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package-node.js +4 -1
- package/dist/package.d.cts +6 -6
- package/dist/package.d.ts +6 -6
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
- package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/table-grid.d.cts +2 -2
- package/dist/table-grid.d.ts +2 -2
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-C8oVg7U_.js";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-cjm6n33_.js";
|
|
2
3
|
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
//#region src/package-node.d.ts
|
|
@@ -552,8 +553,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
552
553
|
}, z.core.$strip>>;
|
|
553
554
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
554
555
|
left: "left";
|
|
555
|
-
right: "right";
|
|
556
556
|
center: "center";
|
|
557
|
+
right: "right";
|
|
557
558
|
justify: "justify";
|
|
558
559
|
}>>;
|
|
559
560
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1319,6 +1320,21 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
1322
|
name: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
frame: z.ZodObject<{
|
|
1324
|
+
xPt: z.ZodNumber;
|
|
1325
|
+
yPt: z.ZodNumber;
|
|
1326
|
+
widthPt: z.ZodNumber;
|
|
1327
|
+
heightPt: z.ZodNumber;
|
|
1328
|
+
}, z.core.$strip>;
|
|
1329
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
insetLeftPt: z.ZodNumber;
|
|
1331
|
+
insetTopPt: z.ZodNumber;
|
|
1332
|
+
insetRightPt: z.ZodNumber;
|
|
1333
|
+
insetBottomPt: z.ZodNumber;
|
|
1334
|
+
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
+
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1322
1338
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1339
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1340
|
pageIndex: z.ZodNumber;
|
|
@@ -1354,21 +1370,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1370
|
at: z.ZodString;
|
|
1355
1371
|
}, z.core.$strip>>;
|
|
1356
1372
|
}, z.core.$strip>>;
|
|
1357
|
-
frame: z.ZodObject<{
|
|
1358
|
-
xPt: z.ZodNumber;
|
|
1359
|
-
yPt: z.ZodNumber;
|
|
1360
|
-
widthPt: z.ZodNumber;
|
|
1361
|
-
heightPt: z.ZodNumber;
|
|
1362
|
-
}, z.core.$strip>;
|
|
1363
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
insetLeftPt: z.ZodNumber;
|
|
1365
|
-
insetTopPt: z.ZodNumber;
|
|
1366
|
-
insetRightPt: z.ZodNumber;
|
|
1367
|
-
insetBottomPt: z.ZodNumber;
|
|
1368
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1372
1373
|
}, z.core.$strict>;
|
|
1373
1374
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1375
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
@@ -1677,8 +1678,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1677
1678
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1678
1679
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1679
1680
|
left: "left";
|
|
1680
|
-
right: "right";
|
|
1681
1681
|
center: "center";
|
|
1682
|
+
right: "right";
|
|
1682
1683
|
justify: "justify";
|
|
1683
1684
|
}>>;
|
|
1684
1685
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -2103,8 +2104,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2103
2104
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2104
2105
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2105
2106
|
left: "left";
|
|
2106
|
-
right: "right";
|
|
2107
2107
|
center: "center";
|
|
2108
|
+
right: "right";
|
|
2108
2109
|
justify: "justify";
|
|
2109
2110
|
}>>;
|
|
2110
2111
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ContentEmbeddedObject, h as ContentFormula, i as ContentConstructEnd, n as ContentBlock, o as ContentConstructStart, vt as ContentSheetImage } from "./content-UFAqR2zQ.cjs";
|
|
2
|
+
import { k as ContentVector } from "./content-drawing-3yNJVteg.cjs";
|
|
2
3
|
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
//#region src/package-node.d.ts
|
|
@@ -552,8 +553,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
552
553
|
}, z.core.$strip>>;
|
|
553
554
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
554
555
|
left: "left";
|
|
555
|
-
right: "right";
|
|
556
556
|
center: "center";
|
|
557
|
+
right: "right";
|
|
557
558
|
justify: "justify";
|
|
558
559
|
}>>;
|
|
559
560
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1319,6 +1320,21 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
1322
|
name: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
frame: z.ZodObject<{
|
|
1324
|
+
xPt: z.ZodNumber;
|
|
1325
|
+
yPt: z.ZodNumber;
|
|
1326
|
+
widthPt: z.ZodNumber;
|
|
1327
|
+
heightPt: z.ZodNumber;
|
|
1328
|
+
}, z.core.$strip>;
|
|
1329
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1330
|
+
insetLeftPt: z.ZodNumber;
|
|
1331
|
+
insetTopPt: z.ZodNumber;
|
|
1332
|
+
insetRightPt: z.ZodNumber;
|
|
1333
|
+
insetBottomPt: z.ZodNumber;
|
|
1334
|
+
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1335
|
+
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
+
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1322
1338
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1339
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1340
|
pageIndex: z.ZodNumber;
|
|
@@ -1354,21 +1370,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1370
|
at: z.ZodString;
|
|
1355
1371
|
}, z.core.$strip>>;
|
|
1356
1372
|
}, z.core.$strip>>;
|
|
1357
|
-
frame: z.ZodObject<{
|
|
1358
|
-
xPt: z.ZodNumber;
|
|
1359
|
-
yPt: z.ZodNumber;
|
|
1360
|
-
widthPt: z.ZodNumber;
|
|
1361
|
-
heightPt: z.ZodNumber;
|
|
1362
|
-
}, z.core.$strip>;
|
|
1363
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
insetLeftPt: z.ZodNumber;
|
|
1365
|
-
insetTopPt: z.ZodNumber;
|
|
1366
|
-
insetRightPt: z.ZodNumber;
|
|
1367
|
-
insetBottomPt: z.ZodNumber;
|
|
1368
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
readingOrder: z.ZodOptional<z.ZodNumber>;
|
|
1372
1373
|
}, z.core.$strict>;
|
|
1373
1374
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1375
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
@@ -1677,8 +1678,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1677
1678
|
preformatted: z.ZodOptional<z.ZodBoolean>;
|
|
1678
1679
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1679
1680
|
left: "left";
|
|
1680
|
-
right: "right";
|
|
1681
1681
|
center: "center";
|
|
1682
|
+
right: "right";
|
|
1682
1683
|
justify: "justify";
|
|
1683
1684
|
}>>;
|
|
1684
1685
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -2103,8 +2104,8 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
2103
2104
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
2104
2105
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2105
2106
|
left: "left";
|
|
2106
|
-
right: "right";
|
|
2107
2107
|
center: "center";
|
|
2108
|
+
right: "right";
|
|
2108
2109
|
justify: "justify";
|
|
2109
2110
|
}>>;
|
|
2110
2111
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|
package/dist/package-node.cjs
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_construct = require("./construct.cjs");
|
|
3
|
+
const require_content_vocabulary = require("./content-vocabulary.cjs");
|
|
4
|
+
const require_content_sheet = require("./content-sheet.cjs");
|
|
5
|
+
const require_content_drawing = require("./content-drawing.cjs");
|
|
3
6
|
const require_content = require("./content.cjs");
|
|
4
7
|
let zod = require("zod");
|
|
5
8
|
//#region src/package-node.ts
|
|
6
9
|
const SectionDescriptorSchema = require_content.ContentSectionSchema.omit({ blocks: true }).extend({ kind: zod.z.literal("section") }).strict();
|
|
7
|
-
const SlideDescriptorSchema =
|
|
8
|
-
const SheetDescriptorSchema =
|
|
10
|
+
const SlideDescriptorSchema = require_content_drawing.ContentSlideSchema.omit({ shapes: true }).extend({ kind: zod.z.literal("slide") }).strict();
|
|
11
|
+
const SheetDescriptorSchema = require_content_sheet.ContentSheetSchema.omit({
|
|
9
12
|
images: true,
|
|
10
13
|
embeddedObjects: true
|
|
11
14
|
}).extend({ kind: zod.z.literal("sheet") }).strict();
|
|
12
|
-
const DrawPageDescriptorSchema =
|
|
15
|
+
const DrawPageDescriptorSchema = require_content_drawing.ContentDrawPageSchema.omit({
|
|
13
16
|
shapes: true,
|
|
14
17
|
vectors: true
|
|
15
18
|
}).extend({ kind: zod.z.literal("drawPage") }).strict();
|
|
16
|
-
const ShapeDescriptorSchema =
|
|
19
|
+
const ShapeDescriptorSchema = require_content_drawing.ContentShapeSchema.omit({ blocks: true }).strict();
|
|
17
20
|
const HeadingParagraphSchema = require_content.ContentParagraphSchema.extend({ headingLevel: zod.z.number().int().positive() });
|
|
18
21
|
const ListParagraphSchema = require_content.ContentParagraphSchema.extend({ list: require_content.ContentListMembershipSchema });
|
|
19
22
|
function isRecord(value) {
|
|
@@ -43,10 +46,10 @@ function isListChild(value) {
|
|
|
43
46
|
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(TreeBlockLeafSchema, value);
|
|
44
47
|
}
|
|
45
48
|
function isSheetChild(value) {
|
|
46
|
-
return isLeafChild(
|
|
49
|
+
return isLeafChild(require_content_sheet.ContentSheetImageSchema, value) || isLeafChild(require_content_vocabulary.ContentEmbeddedObjectSchema, value);
|
|
47
50
|
}
|
|
48
51
|
function isDrawPageChild(value) {
|
|
49
|
-
return isShapeGroupNode(value) || isLeafChild(
|
|
52
|
+
return isShapeGroupNode(value) || isLeafChild(require_content_drawing.ContentVectorSchema, value);
|
|
50
53
|
}
|
|
51
54
|
function isSectionGroupNode(value) {
|
|
52
55
|
return isRecord(value) && SectionDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isSectionChild);
|
|
@@ -77,9 +80,9 @@ function isShapeConstructGroupNode(value) {
|
|
|
77
80
|
}
|
|
78
81
|
const packageLeafUnion = zod.z.union([
|
|
79
82
|
TreeBlockLeafSchema,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
require_content_sheet.ContentSheetImageSchema,
|
|
84
|
+
require_content_vocabulary.ContentEmbeddedObjectSchema,
|
|
85
|
+
require_content_drawing.ContentVectorSchema,
|
|
83
86
|
require_content.ContentFormulaSchema
|
|
84
87
|
]);
|
|
85
88
|
function isTreeLeaf(value) {
|
package/dist/package-node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-
|
|
1
|
+
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-H2Calta4.cjs";
|
|
2
2
|
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
|
package/dist/package-node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-
|
|
1
|
+
import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-CoWOKxt7.js";
|
|
2
2
|
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
|
package/dist/package-node.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ConstructDescriptorSchema } from "./construct.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ContentEmbeddedObjectSchema } from "./content-vocabulary.js";
|
|
3
|
+
import { ContentSheetImageSchema, ContentSheetSchema } from "./content-sheet.js";
|
|
4
|
+
import { ContentDrawPageSchema, ContentShapeSchema, ContentSlideSchema, ContentVectorSchema } from "./content-drawing.js";
|
|
5
|
+
import { ContentFormulaSchema, ContentListMembershipSchema, ContentParagraphSchema, ContentSectionSchema, isContentBlock, isContentConstructEnd, isContentConstructStart } from "./content.js";
|
|
3
6
|
import { z } from "zod";
|
|
4
7
|
//#region src/package-node.ts
|
|
5
8
|
const SectionDescriptorSchema = ContentSectionSchema.omit({ blocks: true }).extend({ kind: z.literal("section") }).strict();
|
package/dist/package.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
|
|
2
2
|
import { p as MathExpression } from "./math-BScHxedi.cjs";
|
|
3
|
-
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-H2Calta4.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: z.ZodObject<{
|
|
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
26
26
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
27
27
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
left: "left";
|
|
29
|
-
right: "right";
|
|
30
29
|
center: "center";
|
|
30
|
+
right: "right";
|
|
31
31
|
justify: "justify";
|
|
32
32
|
}>>;
|
|
33
33
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
181
181
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
182
182
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
183
183
|
left: "left";
|
|
184
|
-
right: "right";
|
|
185
184
|
center: "center";
|
|
185
|
+
right: "right";
|
|
186
186
|
justify: "justify";
|
|
187
187
|
}>>;
|
|
188
188
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
341
341
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
342
342
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
343
343
|
left: "left";
|
|
344
|
-
right: "right";
|
|
345
344
|
center: "center";
|
|
345
|
+
right: "right";
|
|
346
346
|
justify: "justify";
|
|
347
347
|
}>>;
|
|
348
348
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
496
496
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
497
497
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
498
498
|
left: "left";
|
|
499
|
-
right: "right";
|
|
500
499
|
center: "center";
|
|
500
|
+
right: "right";
|
|
501
501
|
justify: "justify";
|
|
502
502
|
}>>;
|
|
503
503
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
710
710
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
711
711
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
712
712
|
left: "left";
|
|
713
|
-
right: "right";
|
|
714
713
|
center: "center";
|
|
714
|
+
right: "right";
|
|
715
715
|
justify: "justify";
|
|
716
716
|
}>>;
|
|
717
717
|
list: z.ZodOptional<z.ZodObject<{
|
package/dist/package.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
|
|
2
2
|
import { p as MathExpression } from "./math-BScHxedi.js";
|
|
3
|
-
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-CoWOKxt7.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: z.ZodObject<{
|
|
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
26
26
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
27
27
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
left: "left";
|
|
29
|
-
right: "right";
|
|
30
29
|
center: "center";
|
|
30
|
+
right: "right";
|
|
31
31
|
justify: "justify";
|
|
32
32
|
}>>;
|
|
33
33
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
181
181
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
182
182
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
183
183
|
left: "left";
|
|
184
|
-
right: "right";
|
|
185
184
|
center: "center";
|
|
185
|
+
right: "right";
|
|
186
186
|
justify: "justify";
|
|
187
187
|
}>>;
|
|
188
188
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
341
341
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
342
342
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
343
343
|
left: "left";
|
|
344
|
-
right: "right";
|
|
345
344
|
center: "center";
|
|
345
|
+
right: "right";
|
|
346
346
|
justify: "justify";
|
|
347
347
|
}>>;
|
|
348
348
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
496
496
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
497
497
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
498
498
|
left: "left";
|
|
499
|
-
right: "right";
|
|
500
499
|
center: "center";
|
|
500
|
+
right: "right";
|
|
501
501
|
justify: "justify";
|
|
502
502
|
}>>;
|
|
503
503
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
710
710
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
711
711
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
712
712
|
left: "left";
|
|
713
|
-
right: "right";
|
|
714
713
|
center: "center";
|
|
714
|
+
right: "right";
|
|
715
715
|
justify: "justify";
|
|
716
716
|
}>>;
|
|
717
717
|
list: z.ZodOptional<z.ZodObject<{
|
package/dist/schema-io.cjs
CHANGED
|
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
|
|
|
7
7
|
ContentDocument: "content-document.schema.json"
|
|
8
8
|
};
|
|
9
9
|
function schemaUriFor(kind) {
|
|
10
|
-
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
11
11
|
}
|
|
12
12
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
13
13
|
function parseSchemaUri(uri) {
|
|
@@ -105,7 +105,7 @@ function documentFromJson(value) {
|
|
|
105
105
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
106
106
|
const kind = kindForFileStem(parts.stem);
|
|
107
107
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
108
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.
|
|
108
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.1");
|
|
109
109
|
switch (kind) {
|
|
110
110
|
case "DocumentTree": return {
|
|
111
111
|
kind,
|
package/dist/schema-io.d.cts
CHANGED
package/dist/schema-io.d.ts
CHANGED
package/dist/schema-io.js
CHANGED
|
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
|
|
|
6
6
|
ContentDocument: "content-document.schema.json"
|
|
7
7
|
};
|
|
8
8
|
function schemaUriFor(kind) {
|
|
9
|
-
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
9
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
10
10
|
}
|
|
11
11
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
12
12
|
function parseSchemaUri(uri) {
|
|
@@ -104,7 +104,7 @@ function documentFromJson(value) {
|
|
|
104
104
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
105
105
|
const kind = kindForFileStem(parts.stem);
|
|
106
106
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
107
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.
|
|
107
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.1");
|
|
108
108
|
switch (kind) {
|
|
109
109
|
case "DocumentTree": return {
|
|
110
110
|
kind,
|
package/dist/style.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-
|
|
1
|
+
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
|
|
2
2
|
export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
|
package/dist/style.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-
|
|
1
|
+
import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
|
|
2
2
|
export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
|
package/dist/table-grid.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TextDirection } from "./style-
|
|
2
|
-
import {
|
|
1
|
+
import { o as TextDirection } from "./style-D06NwxAJ.cjs";
|
|
2
|
+
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-UFAqR2zQ.cjs";
|
|
3
3
|
//#region src/table-grid.d.ts
|
|
4
4
|
/** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
|
|
5
5
|
declare function tableCellColumnSpan(cell: ContentTableCell): number;
|
package/dist/table-grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TextDirection } from "./style-
|
|
2
|
-
import {
|
|
1
|
+
import { o as TextDirection } from "./style-D06NwxAJ.js";
|
|
2
|
+
import { A as ContentTableCell, P as ContentTableRow, k as ContentTable } from "./content-C8oVg7U_.js";
|
|
3
3
|
//#region src/table-grid.d.ts
|
|
4
4
|
/** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
|
|
5
5
|
declare function tableCellColumnSpan(cell: ContentTableCell): number;
|
package/dist/text-layout.d.cts
CHANGED
package/dist/text-layout.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-content-model",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.1",
|
|
4
4
|
"description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them — no format-specific or I/O behaviour.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"blocks": {
|
|
134
134
|
"type": "array",
|
|
135
135
|
"items": {
|
|
136
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
136
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"breakType": {
|
|
@@ -151,19 +151,19 @@
|
|
|
151
151
|
"default": {
|
|
152
152
|
"type": "array",
|
|
153
153
|
"items": {
|
|
154
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
154
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"even": {
|
|
158
158
|
"type": "array",
|
|
159
159
|
"items": {
|
|
160
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
160
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"first": {
|
|
164
164
|
"type": "array",
|
|
165
165
|
"items": {
|
|
166
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
166
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
},
|
|
@@ -175,19 +175,19 @@
|
|
|
175
175
|
"default": {
|
|
176
176
|
"type": "array",
|
|
177
177
|
"items": {
|
|
178
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
178
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"even": {
|
|
182
182
|
"type": "array",
|
|
183
183
|
"items": {
|
|
184
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
184
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"first": {
|
|
188
188
|
"type": "array",
|
|
189
189
|
"items": {
|
|
190
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
190
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
@@ -199,19 +199,19 @@
|
|
|
199
199
|
"default": {
|
|
200
200
|
"type": "array",
|
|
201
201
|
"items": {
|
|
202
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
202
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"even": {
|
|
206
206
|
"type": "array",
|
|
207
207
|
"items": {
|
|
208
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
208
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
"first": {
|
|
212
212
|
"type": "array",
|
|
213
213
|
"items": {
|
|
214
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
214
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
},
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"blocks": {
|
|
639
639
|
"type": "array",
|
|
640
640
|
"items": {
|
|
641
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
641
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
},
|
|
@@ -2659,7 +2659,7 @@
|
|
|
2659
2659
|
]
|
|
2660
2660
|
},
|
|
2661
2661
|
"document": {
|
|
2662
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
2662
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
2663
2663
|
},
|
|
2664
2664
|
"frame": {
|
|
2665
2665
|
"type": "object",
|
|
@@ -5021,7 +5021,7 @@
|
|
|
5021
5021
|
"blocks": {
|
|
5022
5022
|
"type": "array",
|
|
5023
5023
|
"items": {
|
|
5024
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
5024
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/undefined#/$defs/schema2"
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
},
|
|
@@ -8045,7 +8045,7 @@
|
|
|
8045
8045
|
]
|
|
8046
8046
|
},
|
|
8047
8047
|
"document": {
|
|
8048
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
8048
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
8049
8049
|
},
|
|
8050
8050
|
"frame": {
|
|
8051
8051
|
"$ref": "#/$defs/Box"
|
|
@@ -10371,7 +10371,7 @@
|
|
|
10371
10371
|
]
|
|
10372
10372
|
},
|
|
10373
10373
|
"document": {
|
|
10374
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
10374
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.1/schemas/content-document.schema.json"
|
|
10375
10375
|
},
|
|
10376
10376
|
"frame": {
|
|
10377
10377
|
"$ref": "#/$defs/Box"
|