markdown-codec 4.0.13 → 4.0.14

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/codec.d.cts CHANGED
@@ -82,9 +82,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
82
82
  symbol: z.ZodString;
83
83
  name: z.ZodOptional<z.ZodString>;
84
84
  dimension: z.ZodRecord<z.ZodEnum<{
85
+ time: "time";
85
86
  length: "length";
86
87
  mass: "mass";
87
- time: "time";
88
88
  electricCurrent: "electricCurrent";
89
89
  thermodynamicTemperature: "thermodynamicTemperature";
90
90
  amountOfSubstance: "amountOfSubstance";
@@ -203,9 +203,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
203
203
  symbol: z.ZodString;
204
204
  name: z.ZodOptional<z.ZodString>;
205
205
  dimension: z.ZodRecord<z.ZodEnum<{
206
+ time: "time";
206
207
  length: "length";
207
208
  mass: "mass";
208
- time: "time";
209
209
  electricCurrent: "electricCurrent";
210
210
  thermodynamicTemperature: "thermodynamicTemperature";
211
211
  amountOfSubstance: "amountOfSubstance";
@@ -324,9 +324,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
324
324
  symbol: z.ZodString;
325
325
  name: z.ZodOptional<z.ZodString>;
326
326
  dimension: z.ZodRecord<z.ZodEnum<{
327
+ time: "time";
327
328
  length: "length";
328
329
  mass: "mass";
329
- time: "time";
330
330
  electricCurrent: "electricCurrent";
331
331
  thermodynamicTemperature: "thermodynamicTemperature";
332
332
  amountOfSubstance: "amountOfSubstance";
@@ -445,9 +445,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
445
445
  symbol: z.ZodString;
446
446
  name: z.ZodOptional<z.ZodString>;
447
447
  dimension: z.ZodRecord<z.ZodEnum<{
448
+ time: "time";
448
449
  length: "length";
449
450
  mass: "mass";
450
- time: "time";
451
451
  electricCurrent: "electricCurrent";
452
452
  thermodynamicTemperature: "thermodynamicTemperature";
453
453
  amountOfSubstance: "amountOfSubstance";
@@ -595,9 +595,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
595
595
  symbol: z.ZodString;
596
596
  name: z.ZodOptional<z.ZodString>;
597
597
  dimension: z.ZodRecord<z.ZodEnum<{
598
+ time: "time";
598
599
  length: "length";
599
600
  mass: "mass";
600
- time: "time";
601
601
  electricCurrent: "electricCurrent";
602
602
  thermodynamicTemperature: "thermodynamicTemperature";
603
603
  amountOfSubstance: "amountOfSubstance";
@@ -649,6 +649,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
649
649
  leftPt: z.ZodNumber;
650
650
  }, z.core.$strip>;
651
651
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
652
+ breakType: z.ZodOptional<z.ZodEnum<{
653
+ nextPage: "nextPage";
654
+ continuous: "continuous";
655
+ evenPage: "evenPage";
656
+ oddPage: "oddPage";
657
+ }>>;
652
658
  source: z.ZodOptional<z.ZodObject<{
653
659
  format: z.ZodEnum<{
654
660
  docx: "docx";
@@ -681,9 +687,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
681
687
  symbol: z.ZodString;
682
688
  name: z.ZodOptional<z.ZodString>;
683
689
  dimension: z.ZodRecord<z.ZodEnum<{
690
+ time: "time";
684
691
  length: "length";
685
692
  mass: "mass";
686
- time: "time";
687
693
  electricCurrent: "electricCurrent";
688
694
  thermodynamicTemperature: "thermodynamicTemperature";
689
695
  amountOfSubstance: "amountOfSubstance";
@@ -803,9 +809,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
803
809
  symbol: z.ZodString;
804
810
  name: z.ZodOptional<z.ZodString>;
805
811
  dimension: z.ZodRecord<z.ZodEnum<{
812
+ time: "time";
806
813
  length: "length";
807
814
  mass: "mass";
808
- time: "time";
809
815
  electricCurrent: "electricCurrent";
810
816
  thermodynamicTemperature: "thermodynamicTemperature";
811
817
  amountOfSubstance: "amountOfSubstance";
@@ -1160,9 +1166,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1160
1166
  symbol: z.ZodString;
1161
1167
  name: z.ZodOptional<z.ZodString>;
1162
1168
  dimension: z.ZodRecord<z.ZodEnum<{
1169
+ time: "time";
1163
1170
  length: "length";
1164
1171
  mass: "mass";
1165
- time: "time";
1166
1172
  electricCurrent: "electricCurrent";
1167
1173
  thermodynamicTemperature: "thermodynamicTemperature";
1168
1174
  amountOfSubstance: "amountOfSubstance";
@@ -1526,9 +1532,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1526
1532
  symbol: z.ZodString;
1527
1533
  name: z.ZodOptional<z.ZodString>;
1528
1534
  dimension: z.ZodRecord<z.ZodEnum<{
1535
+ time: "time";
1529
1536
  length: "length";
1530
1537
  mass: "mass";
1531
- time: "time";
1532
1538
  electricCurrent: "electricCurrent";
1533
1539
  thermodynamicTemperature: "thermodynamicTemperature";
1534
1540
  amountOfSubstance: "amountOfSubstance";
@@ -1611,9 +1617,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1611
1617
  symbol: z.ZodString;
1612
1618
  name: z.ZodOptional<z.ZodString>;
1613
1619
  dimension: z.ZodRecord<z.ZodEnum<{
1620
+ time: "time";
1614
1621
  length: "length";
1615
1622
  mass: "mass";
1616
- time: "time";
1617
1623
  electricCurrent: "electricCurrent";
1618
1624
  thermodynamicTemperature: "thermodynamicTemperature";
1619
1625
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -82,9 +82,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
82
82
  symbol: z.ZodString;
83
83
  name: z.ZodOptional<z.ZodString>;
84
84
  dimension: z.ZodRecord<z.ZodEnum<{
85
+ time: "time";
85
86
  length: "length";
86
87
  mass: "mass";
87
- time: "time";
88
88
  electricCurrent: "electricCurrent";
89
89
  thermodynamicTemperature: "thermodynamicTemperature";
90
90
  amountOfSubstance: "amountOfSubstance";
@@ -203,9 +203,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
203
203
  symbol: z.ZodString;
204
204
  name: z.ZodOptional<z.ZodString>;
205
205
  dimension: z.ZodRecord<z.ZodEnum<{
206
+ time: "time";
206
207
  length: "length";
207
208
  mass: "mass";
208
- time: "time";
209
209
  electricCurrent: "electricCurrent";
210
210
  thermodynamicTemperature: "thermodynamicTemperature";
211
211
  amountOfSubstance: "amountOfSubstance";
@@ -324,9 +324,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
324
324
  symbol: z.ZodString;
325
325
  name: z.ZodOptional<z.ZodString>;
326
326
  dimension: z.ZodRecord<z.ZodEnum<{
327
+ time: "time";
327
328
  length: "length";
328
329
  mass: "mass";
329
- time: "time";
330
330
  electricCurrent: "electricCurrent";
331
331
  thermodynamicTemperature: "thermodynamicTemperature";
332
332
  amountOfSubstance: "amountOfSubstance";
@@ -445,9 +445,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
445
445
  symbol: z.ZodString;
446
446
  name: z.ZodOptional<z.ZodString>;
447
447
  dimension: z.ZodRecord<z.ZodEnum<{
448
+ time: "time";
448
449
  length: "length";
449
450
  mass: "mass";
450
- time: "time";
451
451
  electricCurrent: "electricCurrent";
452
452
  thermodynamicTemperature: "thermodynamicTemperature";
453
453
  amountOfSubstance: "amountOfSubstance";
@@ -595,9 +595,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
595
595
  symbol: z.ZodString;
596
596
  name: z.ZodOptional<z.ZodString>;
597
597
  dimension: z.ZodRecord<z.ZodEnum<{
598
+ time: "time";
598
599
  length: "length";
599
600
  mass: "mass";
600
- time: "time";
601
601
  electricCurrent: "electricCurrent";
602
602
  thermodynamicTemperature: "thermodynamicTemperature";
603
603
  amountOfSubstance: "amountOfSubstance";
@@ -649,6 +649,12 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
649
649
  leftPt: z.ZodNumber;
650
650
  }, z.core.$strip>;
651
651
  blocks: z.ZodArray<z.ZodCustom<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>;
652
+ breakType: z.ZodOptional<z.ZodEnum<{
653
+ nextPage: "nextPage";
654
+ continuous: "continuous";
655
+ evenPage: "evenPage";
656
+ oddPage: "oddPage";
657
+ }>>;
652
658
  source: z.ZodOptional<z.ZodObject<{
653
659
  format: z.ZodEnum<{
654
660
  docx: "docx";
@@ -681,9 +687,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
681
687
  symbol: z.ZodString;
682
688
  name: z.ZodOptional<z.ZodString>;
683
689
  dimension: z.ZodRecord<z.ZodEnum<{
690
+ time: "time";
684
691
  length: "length";
685
692
  mass: "mass";
686
- time: "time";
687
693
  electricCurrent: "electricCurrent";
688
694
  thermodynamicTemperature: "thermodynamicTemperature";
689
695
  amountOfSubstance: "amountOfSubstance";
@@ -803,9 +809,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
803
809
  symbol: z.ZodString;
804
810
  name: z.ZodOptional<z.ZodString>;
805
811
  dimension: z.ZodRecord<z.ZodEnum<{
812
+ time: "time";
806
813
  length: "length";
807
814
  mass: "mass";
808
- time: "time";
809
815
  electricCurrent: "electricCurrent";
810
816
  thermodynamicTemperature: "thermodynamicTemperature";
811
817
  amountOfSubstance: "amountOfSubstance";
@@ -1160,9 +1166,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1160
1166
  symbol: z.ZodString;
1161
1167
  name: z.ZodOptional<z.ZodString>;
1162
1168
  dimension: z.ZodRecord<z.ZodEnum<{
1169
+ time: "time";
1163
1170
  length: "length";
1164
1171
  mass: "mass";
1165
- time: "time";
1166
1172
  electricCurrent: "electricCurrent";
1167
1173
  thermodynamicTemperature: "thermodynamicTemperature";
1168
1174
  amountOfSubstance: "amountOfSubstance";
@@ -1526,9 +1532,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1526
1532
  symbol: z.ZodString;
1527
1533
  name: z.ZodOptional<z.ZodString>;
1528
1534
  dimension: z.ZodRecord<z.ZodEnum<{
1535
+ time: "time";
1529
1536
  length: "length";
1530
1537
  mass: "mass";
1531
- time: "time";
1532
1538
  electricCurrent: "electricCurrent";
1533
1539
  thermodynamicTemperature: "thermodynamicTemperature";
1534
1540
  amountOfSubstance: "amountOfSubstance";
@@ -1611,9 +1617,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1611
1617
  symbol: z.ZodString;
1612
1618
  name: z.ZodOptional<z.ZodString>;
1613
1619
  dimension: z.ZodRecord<z.ZodEnum<{
1620
+ time: "time";
1614
1621
  length: "length";
1615
1622
  mass: "mass";
1616
- time: "time";
1617
1623
  electricCurrent: "electricCurrent";
1618
1624
  thermodynamicTemperature: "thermodynamicTemperature";
1619
1625
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentPackage codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -81,7 +81,7 @@
81
81
  "license": "MIT",
82
82
  "packageManager": "pnpm@11.6.0",
83
83
  "dependencies": {
84
- "document-schema.js": "^4.5.0",
84
+ "document-schema.js": "^4.6.0",
85
85
  "zod": "^4.4.3"
86
86
  },
87
87
  "devDependencies": {