document-content-model 7.8.0 → 7.9.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.
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-GVdTKrE7.d.cts → construct-C4XiF8OW.d.cts} +3 -3
- package/dist/{construct-GVdTKrE7.d.ts → construct-C4XiF8OW.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-DAc4O272.d.ts → content-C1hJ6olW.d.ts} +154 -149
- package/dist/{content-SgKmas45.d.cts → content-DN5CqH6Y.d.cts} +154 -149
- package/dist/content-json-schema-defs.cjs +2 -0
- package/dist/content-json-schema-defs.js +2 -0
- package/dist/content.cjs +1 -0
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +1 -0
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- 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.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{package-node-BnFUnaa0.d.ts → package-node-B9aFWtrZ.d.ts} +37 -37
- package/dist/{package-node-DnUyGT61.d.cts → package-node-DktLHAKG.d.cts} +37 -37
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +7 -7
- package/dist/package.d.ts +7 -7
- 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/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 +22 -13
- package/schemas/document-tree.schema.json +9 -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.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
136
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
154
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
160
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
166
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/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.9.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.
|
|
184
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
190
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
"blocks": {
|
|
612
612
|
"type": "array",
|
|
613
613
|
"items": {
|
|
614
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
614
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
},
|
|
@@ -2091,6 +2091,9 @@
|
|
|
2091
2091
|
"minimum": 0,
|
|
2092
2092
|
"maximum": 9007199254740991
|
|
2093
2093
|
},
|
|
2094
|
+
"caption": {
|
|
2095
|
+
"type": "string"
|
|
2096
|
+
},
|
|
2094
2097
|
"floatPosition": {
|
|
2095
2098
|
"type": "object",
|
|
2096
2099
|
"properties": {
|
|
@@ -2629,7 +2632,7 @@
|
|
|
2629
2632
|
]
|
|
2630
2633
|
},
|
|
2631
2634
|
"document": {
|
|
2632
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
2635
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
|
|
2633
2636
|
},
|
|
2634
2637
|
"frame": {
|
|
2635
2638
|
"type": "object",
|
|
@@ -4988,7 +4991,7 @@
|
|
|
4988
4991
|
"blocks": {
|
|
4989
4992
|
"type": "array",
|
|
4990
4993
|
"items": {
|
|
4991
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
4994
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/undefined#/$defs/schema2"
|
|
4992
4995
|
}
|
|
4993
4996
|
}
|
|
4994
4997
|
},
|
|
@@ -7778,6 +7781,9 @@
|
|
|
7778
7781
|
"minimum": 0,
|
|
7779
7782
|
"maximum": 9007199254740991
|
|
7780
7783
|
},
|
|
7784
|
+
"caption": {
|
|
7785
|
+
"type": "string"
|
|
7786
|
+
},
|
|
7781
7787
|
"floatPosition": {
|
|
7782
7788
|
"$ref": "#/$defs/ContentFloatPosition"
|
|
7783
7789
|
},
|
|
@@ -7991,7 +7997,7 @@
|
|
|
7991
7997
|
]
|
|
7992
7998
|
},
|
|
7993
7999
|
"document": {
|
|
7994
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
8000
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
|
|
7995
8001
|
},
|
|
7996
8002
|
"frame": {
|
|
7997
8003
|
"$ref": "#/$defs/Box"
|
|
@@ -9751,6 +9757,9 @@
|
|
|
9751
9757
|
"minimum": 0,
|
|
9752
9758
|
"maximum": 9007199254740991
|
|
9753
9759
|
},
|
|
9760
|
+
"caption": {
|
|
9761
|
+
"type": "string"
|
|
9762
|
+
},
|
|
9754
9763
|
"floatPosition": {
|
|
9755
9764
|
"$ref": "#/$defs/ContentFloatPosition"
|
|
9756
9765
|
},
|
|
@@ -10308,7 +10317,7 @@
|
|
|
10308
10317
|
]
|
|
10309
10318
|
},
|
|
10310
10319
|
"document": {
|
|
10311
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
10320
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
|
|
10312
10321
|
},
|
|
10313
10322
|
"frame": {
|
|
10314
10323
|
"$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.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/document-tree.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -1747,6 +1747,9 @@
|
|
|
1747
1747
|
"minimum": 0,
|
|
1748
1748
|
"maximum": 9007199254740991
|
|
1749
1749
|
},
|
|
1750
|
+
"caption": {
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1750
1753
|
"floatPosition": {
|
|
1751
1754
|
"$ref": "#/$defs/ContentFloatPosition"
|
|
1752
1755
|
},
|
|
@@ -1960,7 +1963,7 @@
|
|
|
1960
1963
|
]
|
|
1961
1964
|
},
|
|
1962
1965
|
"document": {
|
|
1963
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
1966
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
|
|
1964
1967
|
},
|
|
1965
1968
|
"frame": {
|
|
1966
1969
|
"$ref": "#/$defs/Box"
|
|
@@ -3720,6 +3723,9 @@
|
|
|
3720
3723
|
"minimum": 0,
|
|
3721
3724
|
"maximum": 9007199254740991
|
|
3722
3725
|
},
|
|
3726
|
+
"caption": {
|
|
3727
|
+
"type": "string"
|
|
3728
|
+
},
|
|
3723
3729
|
"floatPosition": {
|
|
3724
3730
|
"$ref": "#/$defs/ContentFloatPosition"
|
|
3725
3731
|
},
|
|
@@ -4277,7 +4283,7 @@
|
|
|
4277
4283
|
]
|
|
4278
4284
|
},
|
|
4279
4285
|
"document": {
|
|
4280
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.
|
|
4286
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/schemas/content-document.schema.json"
|
|
4281
4287
|
},
|
|
4282
4288
|
"frame": {
|
|
4283
4289
|
"$ref": "#/$defs/Box"
|