@podlite/schema 0.0.19 → 0.0.20

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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Upcoming
4
4
 
5
+ ## 0.0.20
6
+
7
+ - fix schema for `L<>`
8
+
5
9
  ## 0.0.19
6
10
 
7
11
  - add `=formula`, `F<>` support
package/esm/types.d.ts CHANGED
@@ -204,7 +204,7 @@ export interface FormattingCodeL {
204
204
  type: 'fcode';
205
205
  name: 'L';
206
206
  meta: string | null;
207
- content: string | Text;
207
+ content: string | Text | [Text];
208
208
  }
209
209
  export interface FormattingCodeI {
210
210
  type: 'fcode';
package/lib/types.d.ts CHANGED
@@ -204,7 +204,7 @@ export interface FormattingCodeL {
204
204
  type: 'fcode';
205
205
  name: 'L';
206
206
  meta: string | null;
207
- content: string | Text;
207
+ content: string | Text | [Text];
208
208
  }
209
209
  export interface FormattingCodeI {
210
210
  type: 'fcode';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/schema",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "AST tools for Podlite markup language",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
@@ -2255,6 +2255,16 @@
2255
2255
  {
2256
2256
  "$ref": "#/definitions/Text"
2257
2257
  },
2258
+ {
2259
+ "type": "array",
2260
+ "items": [
2261
+ {
2262
+ "$ref": "#/definitions/Text"
2263
+ }
2264
+ ],
2265
+ "minItems": 1,
2266
+ "maxItems": 1
2267
+ },
2258
2268
  {
2259
2269
  "type": "string"
2260
2270
  }
@@ -2255,6 +2255,16 @@
2255
2255
  {
2256
2256
  "$ref": "#/definitions/Text"
2257
2257
  },
2258
+ {
2259
+ "type": "array",
2260
+ "items": [
2261
+ {
2262
+ "$ref": "#/definitions/Text"
2263
+ }
2264
+ ],
2265
+ "minItems": 1,
2266
+ "maxItems": 1
2267
+ },
2258
2268
  {
2259
2269
  "type": "string"
2260
2270
  }