@zenstackhq/language 1.0.0-alpha.113 → 1.0.0-alpha.115

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.
@@ -19,7 +19,7 @@ export type QualifiedName = string;
19
19
  export type ReferenceTarget = DataModelField | EnumField | FunctionParam;
20
20
  export declare const ReferenceTarget = "ReferenceTarget";
21
21
  export declare function isReferenceTarget(item: unknown): item is ReferenceTarget;
22
- export type RegularID = 'in' | string;
22
+ export type RegularID = 'abstract' | 'attribute' | 'datasource' | 'enum' | 'in' | 'model' | 'plugin' | 'sort' | string;
23
23
  export type TypeDeclaration = DataModel | Enum;
24
24
  export declare const TypeDeclaration = "TypeDeclaration";
25
25
  export declare function isTypeDeclaration(item: unknown): item is TypeDeclaration;
@@ -2450,9 +2450,37 @@ const ZModelGrammar = () => loadedZModelGrammar !== null && loadedZModelGrammar
2450
2450
  },
2451
2451
  "arguments": []
2452
2452
  },
2453
+ {
2454
+ "$type": "Keyword",
2455
+ "value": "model"
2456
+ },
2457
+ {
2458
+ "$type": "Keyword",
2459
+ "value": "enum"
2460
+ },
2461
+ {
2462
+ "$type": "Keyword",
2463
+ "value": "attribute"
2464
+ },
2465
+ {
2466
+ "$type": "Keyword",
2467
+ "value": "datasource"
2468
+ },
2469
+ {
2470
+ "$type": "Keyword",
2471
+ "value": "plugin"
2472
+ },
2473
+ {
2474
+ "$type": "Keyword",
2475
+ "value": "abstract"
2476
+ },
2453
2477
  {
2454
2478
  "$type": "Keyword",
2455
2479
  "value": "in"
2480
+ },
2481
+ {
2482
+ "$type": "Keyword",
2483
+ "value": "sort"
2456
2484
  }
2457
2485
  ]
2458
2486
  },
@@ -1 +1 @@
1
- {"version":3,"file":"grammar.js","sourceRoot":"","sources":["../../src/generated/grammar.ts"],"names":[],"mappings":";AAAA;;;gFAGgF;;;AAEhF,qCAAuD;AAEvD,IAAI,mBAAwC,CAAC;AACtC,MAAM,aAAa,GAAG,GAAY,EAAE,CAAC,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Ag1GrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenstackhq/language",
3
- "version": "1.0.0-alpha.113",
3
+ "version": "1.0.0-alpha.115",
4
4
  "displayName": "ZenStack modeling language compiler",
5
5
  "description": "ZenStack modeling language compiler",
6
6
  "homepage": "https://zenstack.dev",