@zenstackhq/language
Advanced tools
Comparing version 1.0.0-alpha.98 to 1.0.0-alpha.99
@@ -22,2 +22,3 @@ /****************************************************************************** | ||
export declare function isReferenceTarget(item: unknown): item is ReferenceTarget; | ||
export type RegularID = 'in' | string; | ||
export type TypeDeclaration = DataModel | Enum; | ||
@@ -29,3 +30,3 @@ export declare const TypeDeclaration = "TypeDeclaration"; | ||
readonly $type: 'Argument'; | ||
name?: string; | ||
name?: RegularID; | ||
value: Expression; | ||
@@ -54,3 +55,3 @@ } | ||
readonly $type: 'AttributeArg'; | ||
name?: string; | ||
name?: RegularID; | ||
value: Expression; | ||
@@ -72,3 +73,3 @@ } | ||
default: boolean; | ||
name: string; | ||
name: RegularID; | ||
type: AttributeParamType; | ||
@@ -103,3 +104,3 @@ } | ||
fields: Array<DataModelField>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -121,3 +122,3 @@ export declare const DataModel = "DataModel"; | ||
comments: Array<string>; | ||
name: string; | ||
name: RegularID; | ||
type: DataModelFieldType; | ||
@@ -149,3 +150,3 @@ } | ||
fields: Array<DataSourceField>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -157,3 +158,3 @@ export declare const DataSource = "DataSource"; | ||
readonly $type: 'DataSourceField'; | ||
name: string; | ||
name: RegularID; | ||
value: ArrayExpr | InvocationExpr | LiteralExpr; | ||
@@ -169,3 +170,3 @@ } | ||
fields: Array<EnumField>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -179,3 +180,3 @@ export declare const Enum = "Enum"; | ||
comments: Array<string>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -187,3 +188,3 @@ export declare const EnumField = "EnumField"; | ||
readonly $type: 'FieldInitializer'; | ||
name: string; | ||
name: RegularID; | ||
value: Expression; | ||
@@ -197,3 +198,3 @@ } | ||
expression?: Expression; | ||
name: string; | ||
name: RegularID; | ||
params: Array<FunctionParam>; | ||
@@ -207,3 +208,3 @@ returnType: FunctionParamType; | ||
readonly $type: 'FunctionParam'; | ||
name: string; | ||
name: RegularID; | ||
optional: boolean; | ||
@@ -227,3 +228,3 @@ type: FunctionParamType; | ||
fields: Array<GeneratorField>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -235,3 +236,3 @@ export declare const GeneratorDecl = "GeneratorDecl"; | ||
readonly $type: 'GeneratorField'; | ||
name: string; | ||
name: RegularID; | ||
value: ArrayExpr | LiteralExpr; | ||
@@ -288,3 +289,3 @@ } | ||
fields: Array<PluginField>; | ||
name: string; | ||
name: RegularID; | ||
} | ||
@@ -296,4 +297,4 @@ export declare const Plugin = "Plugin"; | ||
readonly $type: 'PluginField'; | ||
name: string; | ||
value: ArrayExpr | LiteralExpr; | ||
name: RegularID; | ||
value: ArrayExpr | LiteralExpr | ObjectExpr; | ||
} | ||
@@ -300,0 +301,0 @@ export declare const PluginField = "PluginField"; |
{ | ||
"name": "@zenstackhq/language", | ||
"version": "1.0.0-alpha.98", | ||
"version": "1.0.0-alpha.99", | ||
"displayName": "ZenStack modeling language compiler", | ||
@@ -5,0 +5,0 @@ "description": "ZenStack modeling language compiler", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138130
4199