@podlite/schema 0.0.20 → 0.0.21
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/CHANGELOG.md +4 -0
- package/esm/types.d.ts +2 -2
- package/lib/types.d.ts +2 -2
- package/package.json +1 -1
- package/schema/AstTree.json +2 -2
- package/schema/PodliteDocument.json +2 -2
package/CHANGELOG.md
CHANGED
package/esm/types.d.ts
CHANGED
|
@@ -115,13 +115,13 @@ export interface BlockImage extends Omit<Block, 'content'> {
|
|
|
115
115
|
name: 'image';
|
|
116
116
|
caption?: string;
|
|
117
117
|
link?: string;
|
|
118
|
-
content: [Image, BlockCaption];
|
|
118
|
+
content: [Image, BlockCaption?];
|
|
119
119
|
}
|
|
120
120
|
export interface BlockPicture extends Omit<Block, 'content'> {
|
|
121
121
|
name: 'picture';
|
|
122
122
|
caption?: string;
|
|
123
123
|
link?: string;
|
|
124
|
-
content: [Image, BlockCaption];
|
|
124
|
+
content: [Image, BlockCaption?];
|
|
125
125
|
}
|
|
126
126
|
export interface BlockCaption extends Omit<Block, 'content' | 'location' | 'margin' | 'config' | 'id'> {
|
|
127
127
|
name: 'caption';
|
package/lib/types.d.ts
CHANGED
|
@@ -115,13 +115,13 @@ export interface BlockImage extends Omit<Block, 'content'> {
|
|
|
115
115
|
name: 'image';
|
|
116
116
|
caption?: string;
|
|
117
117
|
link?: string;
|
|
118
|
-
content: [Image, BlockCaption];
|
|
118
|
+
content: [Image, BlockCaption?];
|
|
119
119
|
}
|
|
120
120
|
export interface BlockPicture extends Omit<Block, 'content'> {
|
|
121
121
|
name: 'picture';
|
|
122
122
|
caption?: string;
|
|
123
123
|
link?: string;
|
|
124
|
-
content: [Image, BlockCaption];
|
|
124
|
+
content: [Image, BlockCaption?];
|
|
125
125
|
}
|
|
126
126
|
export interface BlockCaption extends Omit<Block, 'content' | 'location' | 'margin' | 'config' | 'id'> {
|
|
127
127
|
name: 'caption';
|
package/package.json
CHANGED
package/schema/AstTree.json
CHANGED
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"$ref": "#/definitions/BlockCaption"
|
|
1781
1781
|
}
|
|
1782
1782
|
],
|
|
1783
|
-
"minItems":
|
|
1783
|
+
"minItems": 1,
|
|
1784
1784
|
"maxItems": 2
|
|
1785
1785
|
},
|
|
1786
1786
|
"margin": {
|
|
@@ -1845,7 +1845,7 @@
|
|
|
1845
1845
|
"$ref": "#/definitions/BlockCaption"
|
|
1846
1846
|
}
|
|
1847
1847
|
],
|
|
1848
|
-
"minItems":
|
|
1848
|
+
"minItems": 1,
|
|
1849
1849
|
"maxItems": 2
|
|
1850
1850
|
},
|
|
1851
1851
|
"margin": {
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"$ref": "#/definitions/BlockCaption"
|
|
1781
1781
|
}
|
|
1782
1782
|
],
|
|
1783
|
-
"minItems":
|
|
1783
|
+
"minItems": 1,
|
|
1784
1784
|
"maxItems": 2
|
|
1785
1785
|
},
|
|
1786
1786
|
"margin": {
|
|
@@ -1845,7 +1845,7 @@
|
|
|
1845
1845
|
"$ref": "#/definitions/BlockCaption"
|
|
1846
1846
|
}
|
|
1847
1847
|
],
|
|
1848
|
-
"minItems":
|
|
1848
|
+
"minItems": 1,
|
|
1849
1849
|
"maxItems": 2
|
|
1850
1850
|
},
|
|
1851
1851
|
"margin": {
|