document-content-model 1.5.0 → 1.5.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/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -46,12 +46,12 @@ type Alignment = z.infer<typeof AlignmentSchema>;
|
|
|
46
46
|
declare const LayoutFontSchema: z.ZodObject<{
|
|
47
47
|
family: z.ZodString;
|
|
48
48
|
weight: z.ZodEnum<{
|
|
49
|
-
bold: "bold";
|
|
50
49
|
normal: "normal";
|
|
50
|
+
bold: "bold";
|
|
51
51
|
}>;
|
|
52
52
|
style: z.ZodEnum<{
|
|
53
|
-
italic: "italic";
|
|
54
53
|
normal: "normal";
|
|
54
|
+
italic: "italic";
|
|
55
55
|
}>;
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type LayoutFont = z.infer<typeof LayoutFontSchema>;
|
|
@@ -1264,12 +1264,12 @@ declare const LayoutTextSchema: z.ZodObject<{
|
|
|
1264
1264
|
font: z.ZodObject<{
|
|
1265
1265
|
family: z.ZodString;
|
|
1266
1266
|
weight: z.ZodEnum<{
|
|
1267
|
-
bold: "bold";
|
|
1268
1267
|
normal: "normal";
|
|
1268
|
+
bold: "bold";
|
|
1269
1269
|
}>;
|
|
1270
1270
|
style: z.ZodEnum<{
|
|
1271
|
-
italic: "italic";
|
|
1272
1271
|
normal: "normal";
|
|
1272
|
+
italic: "italic";
|
|
1273
1273
|
}>;
|
|
1274
1274
|
}, z.core.$strip>;
|
|
1275
1275
|
sizePt: z.ZodNumber;
|
|
@@ -1445,12 +1445,12 @@ declare const LayoutItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1445
1445
|
font: z.ZodObject<{
|
|
1446
1446
|
family: z.ZodString;
|
|
1447
1447
|
weight: z.ZodEnum<{
|
|
1448
|
-
bold: "bold";
|
|
1449
1448
|
normal: "normal";
|
|
1449
|
+
bold: "bold";
|
|
1450
1450
|
}>;
|
|
1451
1451
|
style: z.ZodEnum<{
|
|
1452
|
-
italic: "italic";
|
|
1453
1452
|
normal: "normal";
|
|
1453
|
+
italic: "italic";
|
|
1454
1454
|
}>;
|
|
1455
1455
|
}, z.core.$strip>;
|
|
1456
1456
|
sizePt: z.ZodNumber;
|
|
@@ -1584,12 +1584,12 @@ declare const LayoutPageSchema: z.ZodObject<{
|
|
|
1584
1584
|
font: z.ZodObject<{
|
|
1585
1585
|
family: z.ZodString;
|
|
1586
1586
|
weight: z.ZodEnum<{
|
|
1587
|
-
bold: "bold";
|
|
1588
1587
|
normal: "normal";
|
|
1588
|
+
bold: "bold";
|
|
1589
1589
|
}>;
|
|
1590
1590
|
style: z.ZodEnum<{
|
|
1591
|
-
italic: "italic";
|
|
1592
1591
|
normal: "normal";
|
|
1592
|
+
italic: "italic";
|
|
1593
1593
|
}>;
|
|
1594
1594
|
}, z.core.$strip>;
|
|
1595
1595
|
sizePt: z.ZodNumber;
|
|
@@ -1747,12 +1747,12 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
1747
1747
|
font: z.ZodObject<{
|
|
1748
1748
|
family: z.ZodString;
|
|
1749
1749
|
weight: z.ZodEnum<{
|
|
1750
|
-
bold: "bold";
|
|
1751
1750
|
normal: "normal";
|
|
1751
|
+
bold: "bold";
|
|
1752
1752
|
}>;
|
|
1753
1753
|
style: z.ZodEnum<{
|
|
1754
|
-
italic: "italic";
|
|
1755
1754
|
normal: "normal";
|
|
1755
|
+
italic: "italic";
|
|
1756
1756
|
}>;
|
|
1757
1757
|
}, z.core.$strip>;
|
|
1758
1758
|
sizePt: z.ZodNumber;
|
|
@@ -2271,12 +2271,12 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
2271
2271
|
font: z.ZodObject<{
|
|
2272
2272
|
family: z.ZodString;
|
|
2273
2273
|
weight: z.ZodEnum<{
|
|
2274
|
-
bold: "bold";
|
|
2275
2274
|
normal: "normal";
|
|
2275
|
+
bold: "bold";
|
|
2276
2276
|
}>;
|
|
2277
2277
|
style: z.ZodEnum<{
|
|
2278
|
-
italic: "italic";
|
|
2279
2278
|
normal: "normal";
|
|
2279
|
+
italic: "italic";
|
|
2280
2280
|
}>;
|
|
2281
2281
|
}, z.core.$strip>;
|
|
2282
2282
|
sizePt: z.ZodNumber;
|
package/dist/index.d.ts
CHANGED
|
@@ -46,12 +46,12 @@ type Alignment = z.infer<typeof AlignmentSchema>;
|
|
|
46
46
|
declare const LayoutFontSchema: z.ZodObject<{
|
|
47
47
|
family: z.ZodString;
|
|
48
48
|
weight: z.ZodEnum<{
|
|
49
|
-
bold: "bold";
|
|
50
49
|
normal: "normal";
|
|
50
|
+
bold: "bold";
|
|
51
51
|
}>;
|
|
52
52
|
style: z.ZodEnum<{
|
|
53
|
-
italic: "italic";
|
|
54
53
|
normal: "normal";
|
|
54
|
+
italic: "italic";
|
|
55
55
|
}>;
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type LayoutFont = z.infer<typeof LayoutFontSchema>;
|
|
@@ -1264,12 +1264,12 @@ declare const LayoutTextSchema: z.ZodObject<{
|
|
|
1264
1264
|
font: z.ZodObject<{
|
|
1265
1265
|
family: z.ZodString;
|
|
1266
1266
|
weight: z.ZodEnum<{
|
|
1267
|
-
bold: "bold";
|
|
1268
1267
|
normal: "normal";
|
|
1268
|
+
bold: "bold";
|
|
1269
1269
|
}>;
|
|
1270
1270
|
style: z.ZodEnum<{
|
|
1271
|
-
italic: "italic";
|
|
1272
1271
|
normal: "normal";
|
|
1272
|
+
italic: "italic";
|
|
1273
1273
|
}>;
|
|
1274
1274
|
}, z.core.$strip>;
|
|
1275
1275
|
sizePt: z.ZodNumber;
|
|
@@ -1445,12 +1445,12 @@ declare const LayoutItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1445
1445
|
font: z.ZodObject<{
|
|
1446
1446
|
family: z.ZodString;
|
|
1447
1447
|
weight: z.ZodEnum<{
|
|
1448
|
-
bold: "bold";
|
|
1449
1448
|
normal: "normal";
|
|
1449
|
+
bold: "bold";
|
|
1450
1450
|
}>;
|
|
1451
1451
|
style: z.ZodEnum<{
|
|
1452
|
-
italic: "italic";
|
|
1453
1452
|
normal: "normal";
|
|
1453
|
+
italic: "italic";
|
|
1454
1454
|
}>;
|
|
1455
1455
|
}, z.core.$strip>;
|
|
1456
1456
|
sizePt: z.ZodNumber;
|
|
@@ -1584,12 +1584,12 @@ declare const LayoutPageSchema: z.ZodObject<{
|
|
|
1584
1584
|
font: z.ZodObject<{
|
|
1585
1585
|
family: z.ZodString;
|
|
1586
1586
|
weight: z.ZodEnum<{
|
|
1587
|
-
bold: "bold";
|
|
1588
1587
|
normal: "normal";
|
|
1588
|
+
bold: "bold";
|
|
1589
1589
|
}>;
|
|
1590
1590
|
style: z.ZodEnum<{
|
|
1591
|
-
italic: "italic";
|
|
1592
1591
|
normal: "normal";
|
|
1592
|
+
italic: "italic";
|
|
1593
1593
|
}>;
|
|
1594
1594
|
}, z.core.$strip>;
|
|
1595
1595
|
sizePt: z.ZodNumber;
|
|
@@ -1747,12 +1747,12 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
1747
1747
|
font: z.ZodObject<{
|
|
1748
1748
|
family: z.ZodString;
|
|
1749
1749
|
weight: z.ZodEnum<{
|
|
1750
|
-
bold: "bold";
|
|
1751
1750
|
normal: "normal";
|
|
1751
|
+
bold: "bold";
|
|
1752
1752
|
}>;
|
|
1753
1753
|
style: z.ZodEnum<{
|
|
1754
|
-
italic: "italic";
|
|
1755
1754
|
normal: "normal";
|
|
1755
|
+
italic: "italic";
|
|
1756
1756
|
}>;
|
|
1757
1757
|
}, z.core.$strip>;
|
|
1758
1758
|
sizePt: z.ZodNumber;
|
|
@@ -2271,12 +2271,12 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
2271
2271
|
font: z.ZodObject<{
|
|
2272
2272
|
family: z.ZodString;
|
|
2273
2273
|
weight: z.ZodEnum<{
|
|
2274
|
-
bold: "bold";
|
|
2275
2274
|
normal: "normal";
|
|
2275
|
+
bold: "bold";
|
|
2276
2276
|
}>;
|
|
2277
2277
|
style: z.ZodEnum<{
|
|
2278
|
-
italic: "italic";
|
|
2279
2278
|
normal: "normal";
|
|
2279
|
+
italic: "italic";
|
|
2280
2280
|
}>;
|
|
2281
2281
|
}, z.core.$strip>;
|
|
2282
2282
|
sizePt: z.ZodNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-content-model",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "The canonical, format-agnostic content and layout schemas shared by ooxml.js, odf.js, and documents.js -- pure Zod schemas, no behaviour.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public",
|
|
32
32
|
"provenance": true,
|
|
33
|
-
"registry": "https://registry.npmjs.org"
|
|
33
|
+
"registry": "https://registry.npmjs.org/"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"engines": {
|