document-content-model 7.11.1 → 7.11.2
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/a1.cjs +1 -1
- package/dist/a1.js +1 -1
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/color.cjs +3 -5
- package/dist/color.js +3 -5
- package/dist/{construct-C9cYkjnd.d.cts → construct-C4XiF8OW.d.cts} +6 -6
- package/dist/{construct-C9cYkjnd.d.ts → construct-C4XiF8OW.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-oJmrSCr6.d.cts → content-BrxGwe8j.d.cts} +29 -29
- package/dist/{content-DJYlkhmk.d.ts → content-D-j5QBCq.d.ts} +29 -29
- package/dist/content-json-schema-defs.cjs +1 -3
- package/dist/content-json-schema-defs.js +1 -3
- package/dist/content.cjs +1 -1
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +1 -1
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/factor-styles.cjs +17 -61
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +17 -61
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{package-node-DkOfPGtb.d.ts → package-node-CHX4Z0RM.d.ts} +21 -21
- package/dist/{package-node-BaeLuQNH.d.cts → package-node-DH0p0dyl.d.cts} +21 -21
- package/dist/package-node.cjs +0 -1
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package-node.js +0 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- 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/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-D-j5QBCq.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C4XiF8OW.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -141,6 +141,7 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
+
name: z.ZodString;
|
|
144
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
145
146
|
format: z.ZodEnum<{
|
|
146
147
|
docx: "docx";
|
|
@@ -161,7 +162,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
161
162
|
}>;
|
|
162
163
|
xml: z.ZodString;
|
|
163
164
|
}, z.core.$strict>>;
|
|
164
|
-
name: z.ZodString;
|
|
165
165
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
166
166
|
chart: "chart";
|
|
167
167
|
diagram: "diagram";
|
|
@@ -619,9 +619,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
620
|
date: "date";
|
|
621
621
|
custom: "custom";
|
|
622
|
+
time: "time";
|
|
622
623
|
decimal: "decimal";
|
|
623
624
|
list: "list";
|
|
624
|
-
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1093,8 +1093,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
1095
|
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1096
|
num: "num";
|
|
1097
|
+
percent: "percent";
|
|
1098
1098
|
max: "max";
|
|
1099
1099
|
min: "min";
|
|
1100
1100
|
percentile: "percentile";
|
|
@@ -1140,8 +1140,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
1142
|
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1143
|
num: "num";
|
|
1144
|
+
percent: "percent";
|
|
1145
1145
|
max: "max";
|
|
1146
1146
|
min: "min";
|
|
1147
1147
|
percentile: "percentile";
|
|
@@ -1151,8 +1151,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
1153
|
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1154
|
num: "num";
|
|
1155
|
+
percent: "percent";
|
|
1156
1156
|
max: "max";
|
|
1157
1157
|
min: "min";
|
|
1158
1158
|
percentile: "percentile";
|
|
@@ -1199,8 +1199,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
1201
|
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1202
|
num: "num";
|
|
1203
|
+
percent: "percent";
|
|
1204
1204
|
max: "max";
|
|
1205
1205
|
min: "min";
|
|
1206
1206
|
percentile: "percentile";
|
|
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1301
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1302
1303
|
format: z.ZodEnum<{
|
|
1303
1304
|
docx: "docx";
|
|
@@ -1318,15 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1318
1319
|
}>;
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1322
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
|
-
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
|
-
pageIndex: z.ZodNumber;
|
|
1325
|
-
xPt: z.ZodNumber;
|
|
1326
|
-
yPt: z.ZodNumber;
|
|
1327
|
-
widthPt: z.ZodNumber;
|
|
1328
|
-
heightPt: z.ZodNumber;
|
|
1329
|
-
}, z.core.$strip>>>;
|
|
1330
1322
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
1323
|
chart: "chart";
|
|
1332
1324
|
diagram: "diagram";
|
|
@@ -1354,6 +1346,14 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1346
|
at: z.ZodString;
|
|
1355
1347
|
}, z.core.$strip>>;
|
|
1356
1348
|
}, z.core.$strip>>;
|
|
1349
|
+
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1351
|
+
pageIndex: z.ZodNumber;
|
|
1352
|
+
xPt: z.ZodNumber;
|
|
1353
|
+
yPt: z.ZodNumber;
|
|
1354
|
+
widthPt: z.ZodNumber;
|
|
1355
|
+
heightPt: z.ZodNumber;
|
|
1356
|
+
}, z.core.$strip>>>;
|
|
1357
1357
|
frame: z.ZodObject<{
|
|
1358
1358
|
xPt: z.ZodNumber;
|
|
1359
1359
|
yPt: z.ZodNumber;
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
+
date: "date";
|
|
1485
1486
|
richText: "richText";
|
|
1486
1487
|
plainText: "plainText";
|
|
1487
1488
|
checkbox: "checkbox";
|
|
1488
1489
|
dropDown: "dropDown";
|
|
1489
1490
|
comboBox: "comboBox";
|
|
1490
|
-
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
+
comment: "comment";
|
|
1554
1555
|
bookmark: "bookmark";
|
|
1555
1556
|
footnote: "footnote";
|
|
1556
1557
|
endnote: "endnote";
|
|
1557
|
-
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
+
date: "date";
|
|
1910
1911
|
richText: "richText";
|
|
1911
1912
|
plainText: "plainText";
|
|
1912
1913
|
checkbox: "checkbox";
|
|
1913
1914
|
dropDown: "dropDown";
|
|
1914
1915
|
comboBox: "comboBox";
|
|
1915
|
-
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
+
comment: "comment";
|
|
1979
1980
|
bookmark: "bookmark";
|
|
1980
1981
|
footnote: "footnote";
|
|
1981
1982
|
endnote: "endnote";
|
|
1982
|
-
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-BrxGwe8j.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C4XiF8OW.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -141,6 +141,7 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
+
name: z.ZodString;
|
|
144
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
145
146
|
format: z.ZodEnum<{
|
|
146
147
|
docx: "docx";
|
|
@@ -161,7 +162,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
161
162
|
}>;
|
|
162
163
|
xml: z.ZodString;
|
|
163
164
|
}, z.core.$strict>>;
|
|
164
|
-
name: z.ZodString;
|
|
165
165
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
166
166
|
chart: "chart";
|
|
167
167
|
diagram: "diagram";
|
|
@@ -619,9 +619,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
620
|
date: "date";
|
|
621
621
|
custom: "custom";
|
|
622
|
+
time: "time";
|
|
622
623
|
decimal: "decimal";
|
|
623
624
|
list: "list";
|
|
624
|
-
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1093,8 +1093,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
1095
|
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1096
|
num: "num";
|
|
1097
|
+
percent: "percent";
|
|
1098
1098
|
max: "max";
|
|
1099
1099
|
min: "min";
|
|
1100
1100
|
percentile: "percentile";
|
|
@@ -1140,8 +1140,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
1142
|
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1143
|
num: "num";
|
|
1144
|
+
percent: "percent";
|
|
1145
1145
|
max: "max";
|
|
1146
1146
|
min: "min";
|
|
1147
1147
|
percentile: "percentile";
|
|
@@ -1151,8 +1151,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
1153
|
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1154
|
num: "num";
|
|
1155
|
+
percent: "percent";
|
|
1156
1156
|
max: "max";
|
|
1157
1157
|
min: "min";
|
|
1158
1158
|
percentile: "percentile";
|
|
@@ -1199,8 +1199,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
1201
|
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1202
|
num: "num";
|
|
1203
|
+
percent: "percent";
|
|
1204
1204
|
max: "max";
|
|
1205
1205
|
min: "min";
|
|
1206
1206
|
percentile: "percentile";
|
|
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1301
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1302
1303
|
format: z.ZodEnum<{
|
|
1303
1304
|
docx: "docx";
|
|
@@ -1318,15 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1318
1319
|
}>;
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1322
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
|
-
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
|
-
pageIndex: z.ZodNumber;
|
|
1325
|
-
xPt: z.ZodNumber;
|
|
1326
|
-
yPt: z.ZodNumber;
|
|
1327
|
-
widthPt: z.ZodNumber;
|
|
1328
|
-
heightPt: z.ZodNumber;
|
|
1329
|
-
}, z.core.$strip>>>;
|
|
1330
1322
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
1323
|
chart: "chart";
|
|
1332
1324
|
diagram: "diagram";
|
|
@@ -1354,6 +1346,14 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1354
1346
|
at: z.ZodString;
|
|
1355
1347
|
}, z.core.$strip>>;
|
|
1356
1348
|
}, z.core.$strip>>;
|
|
1349
|
+
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1351
|
+
pageIndex: z.ZodNumber;
|
|
1352
|
+
xPt: z.ZodNumber;
|
|
1353
|
+
yPt: z.ZodNumber;
|
|
1354
|
+
widthPt: z.ZodNumber;
|
|
1355
|
+
heightPt: z.ZodNumber;
|
|
1356
|
+
}, z.core.$strip>>>;
|
|
1357
1357
|
frame: z.ZodObject<{
|
|
1358
1358
|
xPt: z.ZodNumber;
|
|
1359
1359
|
yPt: z.ZodNumber;
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
+
date: "date";
|
|
1485
1486
|
richText: "richText";
|
|
1486
1487
|
plainText: "plainText";
|
|
1487
1488
|
checkbox: "checkbox";
|
|
1488
1489
|
dropDown: "dropDown";
|
|
1489
1490
|
comboBox: "comboBox";
|
|
1490
|
-
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
+
comment: "comment";
|
|
1554
1555
|
bookmark: "bookmark";
|
|
1555
1556
|
footnote: "footnote";
|
|
1556
1557
|
endnote: "endnote";
|
|
1557
|
-
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
+
date: "date";
|
|
1910
1911
|
richText: "richText";
|
|
1911
1912
|
plainText: "plainText";
|
|
1912
1913
|
checkbox: "checkbox";
|
|
1913
1914
|
dropDown: "dropDown";
|
|
1914
1915
|
comboBox: "comboBox";
|
|
1915
|
-
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
+
comment: "comment";
|
|
1979
1980
|
bookmark: "bookmark";
|
|
1980
1981
|
footnote: "footnote";
|
|
1981
1982
|
endnote: "endnote";
|
|
1982
|
-
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|
package/dist/package-node.cjs
CHANGED
|
@@ -20,7 +20,6 @@ function isRecord(value) {
|
|
|
20
20
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
21
21
|
}
|
|
22
22
|
function isGroupWrapper(value, isChild) {
|
|
23
|
-
if (!isRecord(value.node)) return false;
|
|
24
23
|
if (value.style !== void 0 && typeof value.style !== "string") return false;
|
|
25
24
|
if (!Object.keys(value).every((key) => key === "node" || key === "style" || key === "children")) return false;
|
|
26
25
|
return Array.isArray(value.children) && value.children.every(isChild);
|
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-DH0p0dyl.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-CHX4Z0RM.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
|
@@ -19,7 +19,6 @@ function isRecord(value) {
|
|
|
19
19
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
20
20
|
}
|
|
21
21
|
function isGroupWrapper(value, isChild) {
|
|
22
|
-
if (!isRecord(value.node)) return false;
|
|
23
22
|
if (value.style !== void 0 && typeof value.style !== "string") return false;
|
|
24
23
|
if (!Object.keys(value).every((key) => key === "node" || key === "style" || key === "children")) return false;
|
|
25
24
|
return Array.isArray(value.children) && value.children.every(isChild);
|
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-DH0p0dyl.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: 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-CHX4Z0RM.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/package.d.ts
|
|
6
6
|
declare const TreeEmbeddedFontSchema: 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.11.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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) {
|
|
@@ -102,7 +102,7 @@ function documentFromJson(value) {
|
|
|
102
102
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
103
103
|
const kind = kindForFileStem(parts.stem);
|
|
104
104
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
105
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.11.
|
|
105
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.11.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.2");
|
|
106
106
|
switch (kind) {
|
|
107
107
|
case "DocumentTree": return {
|
|
108
108
|
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.11.
|
|
9
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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) {
|
|
@@ -101,7 +101,7 @@ function documentFromJson(value) {
|
|
|
101
101
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
102
102
|
const kind = kindForFileStem(parts.stem);
|
|
103
103
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
104
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.11.
|
|
104
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.11.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.2");
|
|
105
105
|
switch (kind) {
|
|
106
106
|
case "DocumentTree": return {
|
|
107
107
|
kind,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-content-model",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.2",
|
|
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.11.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
136
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
154
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
160
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
166
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
178
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
184
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
190
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
202
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
208
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
214
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
641
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
2662
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/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.11.
|
|
5024
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
},
|
|
@@ -8027,7 +8027,7 @@
|
|
|
8027
8027
|
]
|
|
8028
8028
|
},
|
|
8029
8029
|
"document": {
|
|
8030
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.
|
|
8030
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
|
|
8031
8031
|
},
|
|
8032
8032
|
"frame": {
|
|
8033
8033
|
"$ref": "#/$defs/Box"
|
|
@@ -10353,7 +10353,7 @@
|
|
|
10353
10353
|
]
|
|
10354
10354
|
},
|
|
10355
10355
|
"document": {
|
|
10356
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.
|
|
10356
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
|
|
10357
10357
|
},
|
|
10358
10358
|
"frame": {
|
|
10359
10359
|
"$ref": "#/$defs/Box"
|
|
@@ -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.11.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/document-tree.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
]
|
|
1994
1994
|
},
|
|
1995
1995
|
"document": {
|
|
1996
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.
|
|
1996
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
|
|
1997
1997
|
},
|
|
1998
1998
|
"frame": {
|
|
1999
1999
|
"$ref": "#/$defs/Box"
|
|
@@ -4319,7 +4319,7 @@
|
|
|
4319
4319
|
]
|
|
4320
4320
|
},
|
|
4321
4321
|
"document": {
|
|
4322
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.
|
|
4322
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
|
|
4323
4323
|
},
|
|
4324
4324
|
"frame": {
|
|
4325
4325
|
"$ref": "#/$defs/Box"
|