document-content-model 7.10.0 → 7.11.0

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.
Files changed (43) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-Uiq081CA.d.ts → content-C5CsxSt1.d.ts} +52 -37
  8. package/dist/{content-VC9cnoCv.d.cts → content-DWSflkUJ.d.cts} +52 -37
  9. package/dist/content-json-schema-defs.cjs +1 -0
  10. package/dist/content-json-schema-defs.js +1 -0
  11. package/dist/content.cjs +1 -0
  12. package/dist/content.d.cts +1 -1
  13. package/dist/content.d.ts +1 -1
  14. package/dist/content.js +1 -0
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.d.cts +4 -4
  18. package/dist/definitions.d.ts +4 -4
  19. package/dist/factor-styles.d.cts +1 -1
  20. package/dist/factor-styles.d.ts +1 -1
  21. package/dist/flatten.d.cts +1 -1
  22. package/dist/flatten.d.ts +1 -1
  23. package/dist/index.d.cts +4 -4
  24. package/dist/index.d.ts +4 -4
  25. package/dist/{package-node-CnUkCuRc.d.ts → package-node-5OqgGCtu.d.ts} +14 -9
  26. package/dist/{package-node-B0czXNHl.d.cts → package-node-DK-b0h6V.d.cts} +14 -9
  27. package/dist/package-node.d.cts +1 -1
  28. package/dist/package-node.d.ts +1 -1
  29. package/dist/package.d.cts +6 -6
  30. package/dist/package.d.ts +6 -6
  31. package/dist/schema-io.cjs +2 -2
  32. package/dist/schema-io.d.cts +1 -1
  33. package/dist/schema-io.d.ts +1 -1
  34. package/dist/schema-io.js +2 -2
  35. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  36. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  37. package/dist/style.d.cts +1 -1
  38. package/dist/style.d.ts +1 -1
  39. package/dist/text-layout.d.cts +1 -1
  40. package/dist/text-layout.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/schemas/content-document.schema.json +40 -13
  43. package/schemas/document-tree.schema.json +6 -3
@@ -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.10.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
167
167
  }
168
168
  }
169
169
  },
@@ -175,19 +175,43 @@
175
175
  "default": {
176
176
  "type": "array",
177
177
  "items": {
178
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
191
+ }
192
+ }
193
+ },
194
+ "additionalProperties": false
195
+ },
196
+ "watermarks": {
197
+ "type": "object",
198
+ "properties": {
199
+ "default": {
200
+ "type": "array",
201
+ "items": {
202
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
203
+ }
204
+ },
205
+ "even": {
206
+ "type": "array",
207
+ "items": {
208
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
209
+ }
210
+ },
211
+ "first": {
212
+ "type": "array",
213
+ "items": {
214
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
191
215
  }
192
216
  }
193
217
  },
@@ -614,7 +638,7 @@
614
638
  "blocks": {
615
639
  "type": "array",
616
640
  "items": {
617
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/undefined#/$defs/schema2"
641
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
618
642
  }
619
643
  }
620
644
  },
@@ -2635,7 +2659,7 @@
2635
2659
  ]
2636
2660
  },
2637
2661
  "document": {
2638
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
2662
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/content-document.schema.json"
2639
2663
  },
2640
2664
  "frame": {
2641
2665
  "type": "object",
@@ -4997,7 +5021,7 @@
4997
5021
  "blocks": {
4998
5022
  "type": "array",
4999
5023
  "items": {
5000
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/undefined#/$defs/schema2"
5024
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/undefined#/$defs/schema2"
5001
5025
  }
5002
5026
  }
5003
5027
  },
@@ -8003,7 +8027,7 @@
8003
8027
  ]
8004
8028
  },
8005
8029
  "document": {
8006
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
8030
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/content-document.schema.json"
8007
8031
  },
8008
8032
  "frame": {
8009
8033
  "$ref": "#/$defs/Box"
@@ -8189,6 +8213,9 @@
8189
8213
  "footers": {
8190
8214
  "$ref": "#/$defs/ContentPageFurniture"
8191
8215
  },
8216
+ "watermarks": {
8217
+ "$ref": "#/$defs/ContentPageFurniture"
8218
+ },
8192
8219
  "source": {
8193
8220
  "$ref": "#/$defs/SourceResidue"
8194
8221
  },
@@ -10326,7 +10353,7 @@
10326
10353
  ]
10327
10354
  },
10328
10355
  "document": {
10329
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
10356
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/content-document.schema.json"
10330
10357
  },
10331
10358
  "frame": {
10332
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.10.0/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/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.10.0/schemas/content-document.schema.json"
1996
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/content-document.schema.json"
1997
1997
  },
1998
1998
  "frame": {
1999
1999
  "$ref": "#/$defs/Box"
@@ -2179,6 +2179,9 @@
2179
2179
  "footers": {
2180
2180
  "$ref": "#/$defs/ContentPageFurniture"
2181
2181
  },
2182
+ "watermarks": {
2183
+ "$ref": "#/$defs/ContentPageFurniture"
2184
+ },
2182
2185
  "source": {
2183
2186
  "$ref": "#/$defs/SourceResidue"
2184
2187
  },
@@ -4316,7 +4319,7 @@
4316
4319
  ]
4317
4320
  },
4318
4321
  "document": {
4319
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.10.0/schemas/content-document.schema.json"
4322
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.0/schemas/content-document.schema.json"
4320
4323
  },
4321
4324
  "frame": {
4322
4325
  "$ref": "#/$defs/Box"