agentlang 0.9.4 → 0.9.5

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.
Files changed (53) hide show
  1. package/out/api/http.js +8 -2
  2. package/out/api/http.js.map +1 -1
  3. package/out/extension/main.cjs +3 -3
  4. package/out/extension/main.cjs.map +1 -1
  5. package/out/language/generated/ast.d.ts +1918 -149
  6. package/out/language/generated/ast.d.ts.map +1 -1
  7. package/out/language/generated/ast.js +2050 -1261
  8. package/out/language/generated/ast.js.map +1 -1
  9. package/out/language/generated/grammar.d.ts +1 -1
  10. package/out/language/generated/grammar.d.ts.map +1 -1
  11. package/out/language/generated/grammar.js +217 -544
  12. package/out/language/generated/grammar.js.map +1 -1
  13. package/out/language/generated/module.d.ts +1 -1
  14. package/out/language/generated/module.js +1 -1
  15. package/out/language/main.cjs +7271 -3565
  16. package/out/language/main.cjs.map +4 -4
  17. package/out/runtime/auth/defs.d.ts +1 -1
  18. package/out/runtime/auth/defs.js +1 -1
  19. package/out/runtime/defs.d.ts +1 -1
  20. package/out/runtime/defs.js +1 -1
  21. package/out/runtime/loader.js +1 -1
  22. package/out/runtime/resolvers/sqldb/database.d.ts +1 -0
  23. package/out/runtime/resolvers/sqldb/database.d.ts.map +1 -1
  24. package/out/runtime/resolvers/sqldb/database.js +2 -1
  25. package/out/runtime/resolvers/sqldb/database.js.map +1 -1
  26. package/out/runtime/state.d.ts +36 -367
  27. package/out/runtime/state.d.ts.map +1 -1
  28. package/out/setupClassic.d.ts +98 -0
  29. package/out/setupClassic.d.ts.map +1 -0
  30. package/out/setupClassic.js +38 -0
  31. package/out/setupClassic.js.map +1 -0
  32. package/out/setupCommon.d.ts +2 -0
  33. package/out/setupCommon.d.ts.map +1 -0
  34. package/out/setupCommon.js +33 -0
  35. package/out/setupCommon.js.map +1 -0
  36. package/out/setupExtended.d.ts +40 -0
  37. package/out/setupExtended.d.ts.map +1 -0
  38. package/out/setupExtended.js +67 -0
  39. package/out/setupExtended.js.map +1 -0
  40. package/out/syntaxes/agentlang.monarch.js +3 -3
  41. package/out/syntaxes/agentlang.monarch.js.map +1 -1
  42. package/out/utils/runtime.d.ts +7 -6
  43. package/out/utils/runtime.d.ts.map +1 -1
  44. package/package.json +185 -187
  45. package/src/api/http.ts +8 -2
  46. package/src/language/generated/ast.ts +2108 -1320
  47. package/src/language/generated/grammar.ts +217 -544
  48. package/src/language/generated/module.ts +1 -1
  49. package/src/runtime/auth/defs.ts +1 -1
  50. package/src/runtime/defs.ts +1 -1
  51. package/src/runtime/loader.ts +1 -1
  52. package/src/runtime/resolvers/sqldb/database.ts +2 -1
  53. package/src/syntaxes/agentlang.monarch.ts +3 -3
@@ -1,5 +1,5 @@
1
1
  /******************************************************************************
2
- * This file was generated by langium-cli 3.5.2.
2
+ * This file was generated by langium-cli 4.1.0.
3
3
  * DO NOT EDIT MANUALLY!
4
4
  ******************************************************************************/
5
5
  import * as langium from 'langium';
@@ -15,64 +15,27 @@ export declare const AgentlangTerminals: {
15
15
  export type AgentlangTerminalNames = keyof typeof AgentlangTerminals;
16
16
  export type AgentlangKeywordNames = "!=" | "(" | ")" | "*" | "+" | "," | "-" | "-->" | "." | "/" | ":" | ";" | "<" | "<=" | "<>" | "=" | "==" | ">" | ">=" | "?" | "@" | "@actions" | "@after" | "@as" | "@asc" | "@async" | "@before" | "@catch" | "@desc" | "@distinct" | "@enum" | "@expr" | "@from" | "@full_join" | "@groupBy" | "@inner_join" | "@into" | "@join" | "@left_join" | "@meta" | "@oneof" | "@orderBy" | "@public" | "@rbac" | "@ref" | "@right_join" | "@then" | "@upsert" | "@where" | "@with_unique" | "[" | "]" | "agent" | "agentlang/retry" | "allow" | "and" | "attempts" | "await" | "backoff" | "between" | "case" | "commitTransaction" | "contains" | "create" | "decision" | "delete" | "directive" | "else" | "entity" | "error" | "event" | "extends" | "false" | "flow" | "for" | "glossaryEntry" | "if" | "import" | "in" | "like" | "module" | "not" | "not_found" | "onSubscription" | "or" | "purge" | "query" | "read" | "record" | "relationship" | "resolver" | "return" | "roles" | "rollbackTransaction" | "scenario" | "startTransaction" | "subscribe" | "throw" | "true" | "update" | "upsert" | "where" | "workflow" | "{" | "}";
17
17
  export type AgentlangTokenNames = AgentlangTerminalNames | AgentlangKeywordNames;
18
- export type AttributeValueExpression = Expr;
19
- export declare const AttributeValueExpression = "AttributeValueExpression";
20
- export declare function isAttributeValueExpression(item: unknown): item is AttributeValueExpression;
21
- export type Boolean = 'false' | 'true';
22
- export declare function isBoolean(item: unknown): item is Boolean;
23
- export type Decimal = number;
24
- export declare function isDecimal(item: unknown): item is Decimal;
25
- export type Definition = AgentDefinition | DecisionDefinition | DirectiveDefinition | FlowDefinition | GlossaryEntryDefinition | PublicAgentDefinition | PublicWorkflowDefinition | RelationshipDefinition | ResolverDefinition | RetryDefinition | ScenarioDefinition | SchemaDefinition | StandaloneStatement | WorkflowDefinition;
26
- export declare const Definition = "Definition";
27
- export declare function isDefinition(item: unknown): item is Definition;
28
- export type Expr = BinExpr | PrimExpr;
29
- export declare const Expr = "Expr";
30
- export declare function isExpr(item: unknown): item is Expr;
31
- export type FlowStepSpec = Statement;
32
- export declare const FlowStepSpec = "FlowStepSpec";
33
- export declare function isFlowStepSpec(item: unknown): item is FlowStepSpec;
34
- export type GenericName = STRING | string;
35
- export declare function isGenericName(item: unknown): item is GenericName;
36
- export type JoinType = '@full_join' | '@inner_join' | '@join' | '@left_join' | '@right_join';
37
- export declare function isJoinType(item: unknown): item is JoinType;
38
- export type PrimExpr = Group | Literal | NegExpr | NotExpr;
39
- export declare const PrimExpr = "PrimExpr";
40
- export declare function isPrimExpr(item: unknown): item is PrimExpr;
41
- export type QualifiedName = Ref | string;
42
- export declare function isQualifiedName(item: unknown): item is QualifiedName;
43
- export type QueryId = string;
44
- export declare function isQueryId(item: unknown): item is QueryId;
45
- export type Ref = string;
46
- export declare function isRef(item: unknown): item is Ref;
47
- export type ResolverPathEntry = GenericName | QualifiedName;
48
- export declare function isResolverPathEntry(item: unknown): item is ResolverPathEntry;
49
- export type SchemaDefinition = EntityDefinition | EventDefinition | PublicEventDefinition | RecordDefinition;
50
- export declare const SchemaDefinition = "SchemaDefinition";
51
- export declare function isSchemaDefinition(item: unknown): item is SchemaDefinition;
52
- export type SqlComparisonOpr = '!=' | '<' | '<=' | '<>' | '=' | '>' | '>=' | 'between' | 'in' | 'like';
53
- export declare function isSqlComparisonOpr(item: unknown): item is SqlComparisonOpr;
54
- export type STRING = string;
55
- export declare function isSTRING(item: unknown): item is STRING;
56
- export type TaggedId = string;
57
- export declare function isTaggedId(item: unknown): item is TaggedId;
58
- export type WorkflowHeaderPrefix = 'create' | 'delete' | 'update';
59
- export declare function isWorkflowHeaderPrefix(item: unknown): item is WorkflowHeaderPrefix;
60
- export type WorkflowHeaderTag = '@after' | '@before';
61
- export declare function isWorkflowHeaderTag(item: unknown): item is WorkflowHeaderTag;
62
18
  export interface ActionEntry extends langium.AstNode {
63
19
  readonly $container: EntityActionsDefinitions;
64
20
  readonly $type: 'ActionEntry';
65
21
  event: string;
66
22
  name: string;
67
23
  }
68
- export declare const ActionEntry = "ActionEntry";
24
+ export declare const ActionEntry: {
25
+ readonly $type: "ActionEntry";
26
+ readonly event: "event";
27
+ readonly name: "name";
28
+ };
69
29
  export declare function isActionEntry(item: unknown): item is ActionEntry;
70
30
  export interface AfterTriggerDefinition extends langium.AstNode {
71
31
  readonly $container: PrePostTriggerDefinition;
72
32
  readonly $type: 'AfterTriggerDefinition';
73
33
  triggers: TriggerDefinition;
74
34
  }
75
- export declare const AfterTriggerDefinition = "AfterTriggerDefinition";
35
+ export declare const AfterTriggerDefinition: {
36
+ readonly $type: "AfterTriggerDefinition";
37
+ readonly triggers: "triggers";
38
+ };
76
39
  export declare function isAfterTriggerDefinition(item: unknown): item is AfterTriggerDefinition;
77
40
  export interface AgentDefinition extends langium.AstNode {
78
41
  readonly $container: ModuleDefinition | PublicAgentDefinition;
@@ -80,7 +43,11 @@ export interface AgentDefinition extends langium.AstNode {
80
43
  body?: GenericDefBody;
81
44
  name: GenericName;
82
45
  }
83
- export declare const AgentDefinition = "AgentDefinition";
46
+ export declare const AgentDefinition: {
47
+ readonly $type: "AgentDefinition";
48
+ readonly body: "body";
49
+ readonly name: "name";
50
+ };
84
51
  export declare function isAgentDefinition(item: unknown): item is AgentDefinition;
85
52
  export interface AgentXtraAttribute extends langium.AstNode {
86
53
  readonly $container: AgentXtraSpec;
@@ -88,14 +55,21 @@ export interface AgentXtraAttribute extends langium.AstNode {
88
55
  name: string;
89
56
  value: STRING;
90
57
  }
91
- export declare const AgentXtraAttribute = "AgentXtraAttribute";
58
+ export declare const AgentXtraAttribute: {
59
+ readonly $type: "AgentXtraAttribute";
60
+ readonly name: "name";
61
+ readonly value: "value";
62
+ };
92
63
  export declare function isAgentXtraAttribute(item: unknown): item is AgentXtraAttribute;
93
64
  export interface AgentXtraSpec extends langium.AstNode {
94
65
  readonly $container: GlossaryEntryDefinition;
95
66
  readonly $type: 'AgentXtraSpec';
96
67
  attributes: Array<AgentXtraAttribute>;
97
68
  }
98
- export declare const AgentXtraSpec = "AgentXtraSpec";
69
+ export declare const AgentXtraSpec: {
70
+ readonly $type: "AgentXtraSpec";
71
+ readonly attributes: "attributes";
72
+ };
99
73
  export declare function isAgentXtraSpec(item: unknown): item is AgentXtraSpec;
100
74
  export interface AggregateFunctionSpec extends langium.AstNode {
101
75
  readonly $container: SelectIntoEntry | SetAttribute;
@@ -103,7 +77,11 @@ export interface AggregateFunctionSpec extends langium.AstNode {
103
77
  args: Array<QualifiedName>;
104
78
  name: string;
105
79
  }
106
- export declare const AggregateFunctionSpec = "AggregateFunctionSpec";
80
+ export declare const AggregateFunctionSpec: {
81
+ readonly $type: "AggregateFunctionSpec";
82
+ readonly args: "args";
83
+ readonly name: "name";
84
+ };
107
85
  export declare function isAggregateFunctionSpec(item: unknown): item is AggregateFunctionSpec;
108
86
  export interface AliasSpec extends langium.AstNode {
109
87
  readonly $container: RuntimeHint;
@@ -111,21 +89,31 @@ export interface AliasSpec extends langium.AstNode {
111
89
  alias?: string;
112
90
  aliases: Array<string>;
113
91
  }
114
- export declare const AliasSpec = "AliasSpec";
92
+ export declare const AliasSpec: {
93
+ readonly $type: "AliasSpec";
94
+ readonly alias: "alias";
95
+ readonly aliases: "aliases";
96
+ };
115
97
  export declare function isAliasSpec(item: unknown): item is AliasSpec;
116
98
  export interface ArrayLiteral extends langium.AstNode {
117
99
  readonly $container: Literal;
118
100
  readonly $type: 'ArrayLiteral';
119
101
  vals: Array<Statement>;
120
102
  }
121
- export declare const ArrayLiteral = "ArrayLiteral";
103
+ export declare const ArrayLiteral: {
104
+ readonly $type: "ArrayLiteral";
105
+ readonly vals: "vals";
106
+ };
122
107
  export declare function isArrayLiteral(item: unknown): item is ArrayLiteral;
123
108
  export interface AsyncFnCall extends langium.AstNode {
124
109
  readonly $container: Literal;
125
110
  readonly $type: 'AsyncFnCall';
126
111
  fnCall: FnCall;
127
112
  }
128
- export declare const AsyncFnCall = "AsyncFnCall";
113
+ export declare const AsyncFnCall: {
114
+ readonly $type: "AsyncFnCall";
115
+ readonly fnCall: "fnCall";
116
+ };
129
117
  export declare function isAsyncFnCall(item: unknown): item is AsyncFnCall;
130
118
  export interface AttributeDefinition extends langium.AstNode {
131
119
  readonly $container: RecordSchemaDefinition;
@@ -139,21 +127,42 @@ export interface AttributeDefinition extends langium.AstNode {
139
127
  refSpec?: RefSpec;
140
128
  type?: QualifiedName;
141
129
  }
142
- export declare const AttributeDefinition = "AttributeDefinition";
130
+ export declare const AttributeDefinition: {
131
+ readonly $type: "AttributeDefinition";
132
+ readonly arrayType: "arrayType";
133
+ readonly enumSpec: "enumSpec";
134
+ readonly expr: "expr";
135
+ readonly name: "name";
136
+ readonly oneOfSpec: "oneOfSpec";
137
+ readonly properties: "properties";
138
+ readonly refSpec: "refSpec";
139
+ readonly type: "type";
140
+ };
143
141
  export declare function isAttributeDefinition(item: unknown): item is AttributeDefinition;
142
+ export type AttributeValueExpression = Expr;
143
+ export declare const AttributeValueExpression: {
144
+ readonly $type: "AttributeValueExpression";
145
+ };
146
+ export declare function isAttributeValueExpression(item: unknown): item is AttributeValueExpression;
144
147
  export interface BackoffSpec extends langium.AstNode {
145
148
  readonly $container: RetryDefinition;
146
149
  readonly $type: 'BackoffSpec';
147
150
  attributes: Array<SetAttribute>;
148
151
  }
149
- export declare const BackoffSpec = "BackoffSpec";
152
+ export declare const BackoffSpec: {
153
+ readonly $type: "BackoffSpec";
154
+ readonly attributes: "attributes";
155
+ };
150
156
  export declare function isBackoffSpec(item: unknown): item is BackoffSpec;
151
157
  export interface BeforeTriggerDefinition extends langium.AstNode {
152
158
  readonly $container: PrePostTriggerDefinition;
153
159
  readonly $type: 'BeforeTriggerDefinition';
154
160
  triggers: TriggerDefinition;
155
161
  }
156
- export declare const BeforeTriggerDefinition = "BeforeTriggerDefinition";
162
+ export declare const BeforeTriggerDefinition: {
163
+ readonly $type: "BeforeTriggerDefinition";
164
+ readonly triggers: "triggers";
165
+ };
157
166
  export declare function isBeforeTriggerDefinition(item: unknown): item is BeforeTriggerDefinition;
158
167
  export interface BinExpr extends langium.AstNode {
159
168
  readonly $container: AttributeDefinition | BinExpr | CaseEntry | FnCall | Group | If | MapEntry | NegExpr | NotExpr | Pattern | SetAttribute | ThrowError | WhereSpecClause;
@@ -162,29 +171,46 @@ export interface BinExpr extends langium.AstNode {
162
171
  e2: Expr | PrimExpr;
163
172
  op: '!=' | '*' | '+' | '-' | '/' | '<' | '<=' | '<>' | '==' | '>' | '>=' | 'and' | 'in' | 'like' | 'or';
164
173
  }
165
- export declare const BinExpr = "BinExpr";
174
+ export declare const BinExpr: {
175
+ readonly $type: "BinExpr";
176
+ readonly e1: "e1";
177
+ readonly e2: "e2";
178
+ readonly op: "op";
179
+ };
166
180
  export declare function isBinExpr(item: unknown): item is BinExpr;
181
+ export type Boolean = 'false' | 'true';
182
+ export declare function isBoolean(item: unknown): item is Boolean;
167
183
  export interface CaseEntry extends langium.AstNode {
168
184
  readonly $container: DecisionDefBody;
169
185
  readonly $type: 'CaseEntry';
170
186
  cond: Expr;
171
187
  statements: Array<Statement>;
172
188
  }
173
- export declare const CaseEntry = "CaseEntry";
189
+ export declare const CaseEntry: {
190
+ readonly $type: "CaseEntry";
191
+ readonly cond: "cond";
192
+ readonly statements: "statements";
193
+ };
174
194
  export declare function isCaseEntry(item: unknown): item is CaseEntry;
175
195
  export interface CatchSpec extends langium.AstNode {
176
196
  readonly $container: RuntimeHint;
177
197
  readonly $type: 'CatchSpec';
178
198
  handlers: Array<Handler>;
179
199
  }
180
- export declare const CatchSpec = "CatchSpec";
200
+ export declare const CatchSpec: {
201
+ readonly $type: "CatchSpec";
202
+ readonly handlers: "handlers";
203
+ };
181
204
  export declare function isCatchSpec(item: unknown): item is CatchSpec;
182
205
  export interface CompositeUniqueDefinition extends langium.AstNode {
183
206
  readonly $container: RecordExtraDefinition;
184
207
  readonly $type: 'CompositeUniqueDefinition';
185
208
  attrs: Array<string>;
186
209
  }
187
- export declare const CompositeUniqueDefinition = "CompositeUniqueDefinition";
210
+ export declare const CompositeUniqueDefinition: {
211
+ readonly $type: "CompositeUniqueDefinition";
212
+ readonly attrs: "attrs";
213
+ };
188
214
  export declare function isCompositeUniqueDefinition(item: unknown): item is CompositeUniqueDefinition;
189
215
  export interface ConditionalFlowStep extends langium.AstNode {
190
216
  readonly $container: FlowEntry;
@@ -192,7 +218,11 @@ export interface ConditionalFlowStep extends langium.AstNode {
192
218
  expr: STRING;
193
219
  next: FlowStepSpec;
194
220
  }
195
- export declare const ConditionalFlowStep = "ConditionalFlowStep";
221
+ export declare const ConditionalFlowStep: {
222
+ readonly $type: "ConditionalFlowStep";
223
+ readonly expr: "expr";
224
+ readonly next: "next";
225
+ };
196
226
  export declare function isConditionalFlowStep(item: unknown): item is ConditionalFlowStep;
197
227
  export interface CrudMap extends langium.AstNode {
198
228
  readonly $container: Pattern;
@@ -209,7 +239,20 @@ export interface CrudMap extends langium.AstNode {
209
239
  upsert: Array<'@upsert'>;
210
240
  where?: WhereSpec;
211
241
  }
212
- export declare const CrudMap = "CrudMap";
242
+ export declare const CrudMap: {
243
+ readonly $type: "CrudMap";
244
+ readonly body: "body";
245
+ readonly distinct: "distinct";
246
+ readonly groupByClause: "groupByClause";
247
+ readonly into: "into";
248
+ readonly joins: "joins";
249
+ readonly name: "name";
250
+ readonly orderByClause: "orderByClause";
251
+ readonly relationships: "relationships";
252
+ readonly source: "source";
253
+ readonly upsert: "upsert";
254
+ readonly where: "where";
255
+ };
213
256
  export declare function isCrudMap(item: unknown): item is CrudMap;
214
257
  export interface CrudMapBody extends langium.AstNode {
215
258
  readonly $container: CrudMap;
@@ -217,14 +260,23 @@ export interface CrudMapBody extends langium.AstNode {
217
260
  attributes: Array<SetAttribute>;
218
261
  properties: Array<PropertyDefinition>;
219
262
  }
220
- export declare const CrudMapBody = "CrudMapBody";
263
+ export declare const CrudMapBody: {
264
+ readonly $type: "CrudMapBody";
265
+ readonly attributes: "attributes";
266
+ readonly properties: "properties";
267
+ };
221
268
  export declare function isCrudMapBody(item: unknown): item is CrudMapBody;
269
+ export type Decimal = number;
270
+ export declare function isDecimal(item: unknown): item is Decimal;
222
271
  export interface DecisionDefBody extends langium.AstNode {
223
272
  readonly $container: DecisionDefinition;
224
273
  readonly $type: 'DecisionDefBody';
225
274
  cases: Array<CaseEntry>;
226
275
  }
227
- export declare const DecisionDefBody = "DecisionDefBody";
276
+ export declare const DecisionDefBody: {
277
+ readonly $type: "DecisionDefBody";
278
+ readonly cases: "cases";
279
+ };
228
280
  export declare function isDecisionDefBody(item: unknown): item is DecisionDefBody;
229
281
  export interface DecisionDefinition extends langium.AstNode {
230
282
  readonly $container: ModuleDefinition;
@@ -232,14 +284,26 @@ export interface DecisionDefinition extends langium.AstNode {
232
284
  body?: DecisionDefBody;
233
285
  name: GenericName;
234
286
  }
235
- export declare const DecisionDefinition = "DecisionDefinition";
287
+ export declare const DecisionDefinition: {
288
+ readonly $type: "DecisionDefinition";
289
+ readonly body: "body";
290
+ readonly name: "name";
291
+ };
236
292
  export declare function isDecisionDefinition(item: unknown): item is DecisionDefinition;
293
+ export type Definition = AgentDefinition | DecisionDefinition | DirectiveDefinition | FlowDefinition | GlossaryEntryDefinition | PublicAgentDefinition | PublicWorkflowDefinition | RelationshipDefinition | ResolverDefinition | RetryDefinition | ScenarioDefinition | SchemaDefinition | StandaloneStatement | WorkflowDefinition;
294
+ export declare const Definition: {
295
+ readonly $type: "Definition";
296
+ };
297
+ export declare function isDefinition(item: unknown): item is Definition;
237
298
  export interface Delete extends langium.AstNode {
238
299
  readonly $container: Pattern;
239
300
  readonly $type: 'Delete';
240
301
  pattern: Pattern;
241
302
  }
242
- export declare const Delete = "Delete";
303
+ export declare const Delete: {
304
+ readonly $type: "Delete";
305
+ readonly pattern: "pattern";
306
+ };
243
307
  export declare function isDelete(item: unknown): item is Delete;
244
308
  export interface DirectiveDefinition extends langium.AstNode {
245
309
  readonly $container: ModuleDefinition;
@@ -248,21 +312,32 @@ export interface DirectiveDefinition extends langium.AstNode {
248
312
  dir?: If;
249
313
  name: Ref;
250
314
  }
251
- export declare const DirectiveDefinition = "DirectiveDefinition";
315
+ export declare const DirectiveDefinition: {
316
+ readonly $type: "DirectiveDefinition";
317
+ readonly body: "body";
318
+ readonly dir: "dir";
319
+ readonly name: "name";
320
+ };
252
321
  export declare function isDirectiveDefinition(item: unknown): item is DirectiveDefinition;
253
322
  export interface Else extends langium.AstNode {
254
323
  readonly $container: If;
255
324
  readonly $type: 'Else';
256
325
  statements: Array<Statement>;
257
326
  }
258
- export declare const Else = "Else";
327
+ export declare const Else: {
328
+ readonly $type: "Else";
329
+ readonly statements: "statements";
330
+ };
259
331
  export declare function isElse(item: unknown): item is Else;
260
332
  export interface EntityActionsDefinitions extends langium.AstNode {
261
333
  readonly $container: RecordExtraDefinition;
262
334
  readonly $type: 'EntityActionsDefinitions';
263
335
  entries: Array<ActionEntry>;
264
336
  }
265
- export declare const EntityActionsDefinitions = "EntityActionsDefinitions";
337
+ export declare const EntityActionsDefinitions: {
338
+ readonly $type: "EntityActionsDefinitions";
339
+ readonly entries: "entries";
340
+ };
266
341
  export declare function isEntityActionsDefinitions(item: unknown): item is EntityActionsDefinitions;
267
342
  export interface EntityDefinition extends langium.AstNode {
268
343
  readonly $container: ModuleDefinition;
@@ -271,7 +346,12 @@ export interface EntityDefinition extends langium.AstNode {
271
346
  name: QualifiedName;
272
347
  schema: RecordSchemaDefinition;
273
348
  }
274
- export declare const EntityDefinition = "EntityDefinition";
349
+ export declare const EntityDefinition: {
350
+ readonly $type: "EntityDefinition";
351
+ readonly extends: "extends";
352
+ readonly name: "name";
353
+ readonly schema: "schema";
354
+ };
275
355
  export declare function isEntityDefinition(item: unknown): item is EntityDefinition;
276
356
  export interface EnumSpec extends langium.AstNode {
277
357
  readonly $container: AttributeDefinition;
@@ -279,7 +359,11 @@ export interface EnumSpec extends langium.AstNode {
279
359
  type?: QualifiedName;
280
360
  values: Array<STRING>;
281
361
  }
282
- export declare const EnumSpec = "EnumSpec";
362
+ export declare const EnumSpec: {
363
+ readonly $type: "EnumSpec";
364
+ readonly type: "type";
365
+ readonly values: "values";
366
+ };
283
367
  export declare function isEnumSpec(item: unknown): item is EnumSpec;
284
368
  export interface EventDefinition extends langium.AstNode {
285
369
  readonly $container: ModuleDefinition | PublicEventDefinition;
@@ -288,21 +372,37 @@ export interface EventDefinition extends langium.AstNode {
288
372
  name: QualifiedName;
289
373
  schema: RecordSchemaDefinition;
290
374
  }
291
- export declare const EventDefinition = "EventDefinition";
375
+ export declare const EventDefinition: {
376
+ readonly $type: "EventDefinition";
377
+ readonly extends: "extends";
378
+ readonly name: "name";
379
+ readonly schema: "schema";
380
+ };
292
381
  export declare function isEventDefinition(item: unknown): item is EventDefinition;
382
+ export type Expr = BinExpr | PrimExpr;
383
+ export declare const Expr: {
384
+ readonly $type: "Expr";
385
+ };
386
+ export declare function isExpr(item: unknown): item is Expr;
293
387
  export interface ExtendsClause extends langium.AstNode {
294
388
  readonly $container: EntityDefinition | EventDefinition | RecordDefinition;
295
389
  readonly $type: 'ExtendsClause';
296
390
  parentName: QualifiedName;
297
391
  }
298
- export declare const ExtendsClause = "ExtendsClause";
392
+ export declare const ExtendsClause: {
393
+ readonly $type: "ExtendsClause";
394
+ readonly parentName: "parentName";
395
+ };
299
396
  export declare function isExtendsClause(item: unknown): item is ExtendsClause;
300
397
  export interface FlowDefBody extends langium.AstNode {
301
398
  readonly $container: FlowDefinition;
302
399
  readonly $type: 'FlowDefBody';
303
400
  entries: Array<FlowEntry>;
304
401
  }
305
- export declare const FlowDefBody = "FlowDefBody";
402
+ export declare const FlowDefBody: {
403
+ readonly $type: "FlowDefBody";
404
+ readonly entries: "entries";
405
+ };
306
406
  export declare function isFlowDefBody(item: unknown): item is FlowDefBody;
307
407
  export interface FlowDefinition extends langium.AstNode {
308
408
  readonly $container: ModuleDefinition;
@@ -310,7 +410,11 @@ export interface FlowDefinition extends langium.AstNode {
310
410
  body?: FlowDefBody;
311
411
  name: GenericName;
312
412
  }
313
- export declare const FlowDefinition = "FlowDefinition";
413
+ export declare const FlowDefinition: {
414
+ readonly $type: "FlowDefinition";
415
+ readonly body: "body";
416
+ readonly name: "name";
417
+ };
314
418
  export declare function isFlowDefinition(item: unknown): item is FlowDefinition;
315
419
  export interface FlowEntry extends langium.AstNode {
316
420
  readonly $container: FlowDefBody;
@@ -319,15 +423,29 @@ export interface FlowEntry extends langium.AstNode {
319
423
  next?: FlowStepSpec;
320
424
  root: QueryId;
321
425
  }
322
- export declare const FlowEntry = "FlowEntry";
426
+ export declare const FlowEntry: {
427
+ readonly $type: "FlowEntry";
428
+ readonly cond: "cond";
429
+ readonly next: "next";
430
+ readonly root: "root";
431
+ };
323
432
  export declare function isFlowEntry(item: unknown): item is FlowEntry;
433
+ export type FlowStepSpec = Statement;
434
+ export declare const FlowStepSpec: {
435
+ readonly $type: "FlowStepSpec";
436
+ };
437
+ export declare function isFlowStepSpec(item: unknown): item is FlowStepSpec;
324
438
  export interface FnCall extends langium.AstNode {
325
439
  readonly $container: AsyncFnCall | Literal;
326
440
  readonly $type: 'FnCall';
327
441
  args: Array<Expr>;
328
442
  name: Ref | string;
329
443
  }
330
- export declare const FnCall = "FnCall";
444
+ export declare const FnCall: {
445
+ readonly $type: "FnCall";
446
+ readonly args: "args";
447
+ readonly name: "name";
448
+ };
331
449
  export declare function isFnCall(item: unknown): item is FnCall;
332
450
  export interface ForEach extends langium.AstNode {
333
451
  readonly $container: Pattern;
@@ -336,7 +454,12 @@ export interface ForEach extends langium.AstNode {
336
454
  statements: Array<Statement>;
337
455
  var: string;
338
456
  }
339
- export declare const ForEach = "ForEach";
457
+ export declare const ForEach: {
458
+ readonly $type: "ForEach";
459
+ readonly src: "src";
460
+ readonly statements: "statements";
461
+ readonly var: "var";
462
+ };
340
463
  export declare function isForEach(item: unknown): item is ForEach;
341
464
  export interface FullTextSearch extends langium.AstNode {
342
465
  readonly $container: Pattern;
@@ -345,22 +468,36 @@ export interface FullTextSearch extends langium.AstNode {
345
468
  options?: MapLiteral;
346
469
  query: Literal;
347
470
  }
348
- export declare const FullTextSearch = "FullTextSearch";
471
+ export declare const FullTextSearch: {
472
+ readonly $type: "FullTextSearch";
473
+ readonly name: "name";
474
+ readonly options: "options";
475
+ readonly query: "query";
476
+ };
349
477
  export declare function isFullTextSearch(item: unknown): item is FullTextSearch;
350
478
  export interface GenericDefBody extends langium.AstNode {
351
479
  readonly $container: AgentDefinition;
352
480
  readonly $type: 'GenericDefBody';
353
481
  attributes: Array<GenericPropertyDef>;
354
482
  }
355
- export declare const GenericDefBody = "GenericDefBody";
483
+ export declare const GenericDefBody: {
484
+ readonly $type: "GenericDefBody";
485
+ readonly attributes: "attributes";
486
+ };
356
487
  export declare function isGenericDefBody(item: unknown): item is GenericDefBody;
488
+ export type GenericName = STRING | string;
489
+ export declare function isGenericName(item: unknown): item is GenericName;
357
490
  export interface GenericPropertyDef extends langium.AstNode {
358
491
  readonly $container: GenericDefBody;
359
492
  readonly $type: 'GenericPropertyDef';
360
493
  name: string;
361
494
  value: Literal;
362
495
  }
363
- export declare const GenericPropertyDef = "GenericPropertyDef";
496
+ export declare const GenericPropertyDef: {
497
+ readonly $type: "GenericPropertyDef";
498
+ readonly name: "name";
499
+ readonly value: "value";
500
+ };
364
501
  export declare function isGenericPropertyDef(item: unknown): item is GenericPropertyDef;
365
502
  export interface GlossaryEntryDefinition extends langium.AstNode {
366
503
  readonly $container: ModuleDefinition;
@@ -369,21 +506,32 @@ export interface GlossaryEntryDefinition extends langium.AstNode {
369
506
  glos?: AgentXtraSpec;
370
507
  name: Ref;
371
508
  }
372
- export declare const GlossaryEntryDefinition = "GlossaryEntryDefinition";
509
+ export declare const GlossaryEntryDefinition: {
510
+ readonly $type: "GlossaryEntryDefinition";
511
+ readonly body: "body";
512
+ readonly glos: "glos";
513
+ readonly name: "name";
514
+ };
373
515
  export declare function isGlossaryEntryDefinition(item: unknown): item is GlossaryEntryDefinition;
374
516
  export interface Group extends langium.AstNode {
375
517
  readonly $container: AttributeDefinition | BinExpr | CaseEntry | FnCall | Group | If | MapEntry | NegExpr | NotExpr | Pattern | SetAttribute | ThrowError | WhereSpecClause;
376
518
  readonly $type: 'Group';
377
519
  ge: Expr;
378
520
  }
379
- export declare const Group = "Group";
521
+ export declare const Group: {
522
+ readonly $type: "Group";
523
+ readonly ge: "ge";
524
+ };
380
525
  export declare function isGroup(item: unknown): item is Group;
381
526
  export interface GroupByClause extends langium.AstNode {
382
527
  readonly $container: CrudMap;
383
528
  readonly $type: 'GroupByClause';
384
529
  colNames: Array<QualifiedName>;
385
530
  }
386
- export declare const GroupByClause = "GroupByClause";
531
+ export declare const GroupByClause: {
532
+ readonly $type: "GroupByClause";
533
+ readonly colNames: "colNames";
534
+ };
387
535
  export declare function isGroupByClause(item: unknown): item is GroupByClause;
388
536
  export interface Handler extends langium.AstNode {
389
537
  readonly $container: CatchSpec;
@@ -391,7 +539,11 @@ export interface Handler extends langium.AstNode {
391
539
  except: 'error' | 'not_found';
392
540
  stmt: Statement;
393
541
  }
394
- export declare const Handler = "Handler";
542
+ export declare const Handler: {
543
+ readonly $type: "Handler";
544
+ readonly except: "except";
545
+ readonly stmt: "stmt";
546
+ };
395
547
  export declare function isHandler(item: unknown): item is Handler;
396
548
  export interface If extends langium.AstNode {
397
549
  readonly $container: DirectiveDefinition | IfWithAlias | Pattern | ScenarioDefinition;
@@ -400,14 +552,22 @@ export interface If extends langium.AstNode {
400
552
  else?: Else;
401
553
  statements: Array<Statement>;
402
554
  }
403
- export declare const If = "If";
555
+ export declare const If: {
556
+ readonly $type: "If";
557
+ readonly cond: "cond";
558
+ readonly else: "else";
559
+ readonly statements: "statements";
560
+ };
404
561
  export declare function isIf(item: unknown): item is If;
405
562
  export interface IfWithAlias extends langium.AstNode {
406
563
  readonly $container: Pattern;
407
564
  readonly $type: 'IfWithAlias';
408
565
  if: If;
409
566
  }
410
- export declare const IfWithAlias = "IfWithAlias";
567
+ export declare const IfWithAlias: {
568
+ readonly $type: "IfWithAlias";
569
+ readonly if: "if";
570
+ };
411
571
  export declare function isIfWithAlias(item: unknown): item is IfWithAlias;
412
572
  export interface Import extends langium.AstNode {
413
573
  readonly $container: ModuleDefinition;
@@ -415,7 +575,11 @@ export interface Import extends langium.AstNode {
415
575
  name: string;
416
576
  path: STRING;
417
577
  }
418
- export declare const Import = "Import";
578
+ export declare const Import: {
579
+ readonly $type: "Import";
580
+ readonly name: "name";
581
+ readonly path: "path";
582
+ };
419
583
  export declare function isImport(item: unknown): item is Import;
420
584
  export interface JoinSpec extends langium.AstNode {
421
585
  readonly $container: CrudMap;
@@ -426,22 +590,38 @@ export interface JoinSpec extends langium.AstNode {
426
590
  rhs: Ref;
427
591
  type: JoinType;
428
592
  }
429
- export declare const JoinSpec = "JoinSpec";
593
+ export declare const JoinSpec: {
594
+ readonly $type: "JoinSpec";
595
+ readonly lhs: "lhs";
596
+ readonly name: "name";
597
+ readonly op: "op";
598
+ readonly rhs: "rhs";
599
+ readonly type: "type";
600
+ };
430
601
  export declare function isJoinSpec(item: unknown): item is JoinSpec;
602
+ export type JoinType = '@full_join' | '@inner_join' | '@join' | '@left_join' | '@right_join';
603
+ export declare function isJoinType(item: unknown): item is JoinType;
431
604
  export interface KvPair extends langium.AstNode {
432
605
  readonly $container: KvPairs;
433
606
  readonly $type: 'KvPair';
434
607
  key?: string;
435
608
  value: Literal;
436
609
  }
437
- export declare const KvPair = "KvPair";
610
+ export declare const KvPair: {
611
+ readonly $type: "KvPair";
612
+ readonly key: "key";
613
+ readonly value: "value";
614
+ };
438
615
  export declare function isKvPair(item: unknown): item is KvPair;
439
616
  export interface KvPairs extends langium.AstNode {
440
617
  readonly $container: PropertyDefinition;
441
618
  readonly $type: 'KvPairs';
442
619
  pairs: Array<KvPair>;
443
620
  }
444
- export declare const KvPairs = "KvPairs";
621
+ export declare const KvPairs: {
622
+ readonly $type: "KvPairs";
623
+ readonly pairs: "pairs";
624
+ };
445
625
  export declare function isKvPairs(item: unknown): item is KvPairs;
446
626
  export interface Literal extends langium.AstNode {
447
627
  readonly $container: AttributeDefinition | BinExpr | CaseEntry | CrudMap | FnCall | FullTextSearch | GenericPropertyDef | Group | If | KvPair | MapEntry | NegExpr | NotExpr | Pattern | SetAttribute | ThrowError | WhereSpecClause;
@@ -456,7 +636,18 @@ export interface Literal extends langium.AstNode {
456
636
  ref?: Ref;
457
637
  str?: STRING;
458
638
  }
459
- export declare const Literal = "Literal";
639
+ export declare const Literal: {
640
+ readonly $type: "Literal";
641
+ readonly array: "array";
642
+ readonly asyncFnCall: "asyncFnCall";
643
+ readonly bool: "bool";
644
+ readonly fnCall: "fnCall";
645
+ readonly id: "id";
646
+ readonly map: "map";
647
+ readonly num: "num";
648
+ readonly ref: "ref";
649
+ readonly str: "str";
650
+ };
460
651
  export declare function isLiteral(item: unknown): item is Literal;
461
652
  export interface MapEntry extends langium.AstNode {
462
653
  readonly $container: MapLiteral;
@@ -464,7 +655,11 @@ export interface MapEntry extends langium.AstNode {
464
655
  key: MapKey;
465
656
  value: Expr;
466
657
  }
467
- export declare const MapEntry = "MapEntry";
658
+ export declare const MapEntry: {
659
+ readonly $type: "MapEntry";
660
+ readonly key: "key";
661
+ readonly value: "value";
662
+ };
468
663
  export declare function isMapEntry(item: unknown): item is MapEntry;
469
664
  export interface MapKey extends langium.AstNode {
470
665
  readonly $container: MapEntry;
@@ -473,21 +668,32 @@ export interface MapKey extends langium.AstNode {
473
668
  num?: Decimal;
474
669
  str?: STRING;
475
670
  }
476
- export declare const MapKey = "MapKey";
671
+ export declare const MapKey: {
672
+ readonly $type: "MapKey";
673
+ readonly bool: "bool";
674
+ readonly num: "num";
675
+ readonly str: "str";
676
+ };
477
677
  export declare function isMapKey(item: unknown): item is MapKey;
478
678
  export interface MapLiteral extends langium.AstNode {
479
679
  readonly $container: DirectiveDefinition | FullTextSearch | GlossaryEntryDefinition | Literal | MetaDefinition | ScenarioDefinition;
480
680
  readonly $type: 'MapLiteral';
481
681
  entries: Array<MapEntry>;
482
682
  }
483
- export declare const MapLiteral = "MapLiteral";
683
+ export declare const MapLiteral: {
684
+ readonly $type: "MapLiteral";
685
+ readonly entries: "entries";
686
+ };
484
687
  export declare function isMapLiteral(item: unknown): item is MapLiteral;
485
688
  export interface MetaDefinition extends langium.AstNode {
486
689
  readonly $container: RecordExtraDefinition;
487
690
  readonly $type: 'MetaDefinition';
488
691
  spec: MapLiteral;
489
692
  }
490
- export declare const MetaDefinition = "MetaDefinition";
693
+ export declare const MetaDefinition: {
694
+ readonly $type: "MetaDefinition";
695
+ readonly spec: "spec";
696
+ };
491
697
  export declare function isMetaDefinition(item: unknown): item is MetaDefinition;
492
698
  export interface ModuleDefinition extends langium.AstNode {
493
699
  readonly $type: 'ModuleDefinition';
@@ -495,14 +701,22 @@ export interface ModuleDefinition extends langium.AstNode {
495
701
  imports: Array<Import>;
496
702
  name: QualifiedName;
497
703
  }
498
- export declare const ModuleDefinition = "ModuleDefinition";
704
+ export declare const ModuleDefinition: {
705
+ readonly $type: "ModuleDefinition";
706
+ readonly defs: "defs";
707
+ readonly imports: "imports";
708
+ readonly name: "name";
709
+ };
499
710
  export declare function isModuleDefinition(item: unknown): item is ModuleDefinition;
500
711
  export interface NegExpr extends langium.AstNode {
501
712
  readonly $container: AttributeDefinition | BinExpr | CaseEntry | FnCall | Group | If | MapEntry | NegExpr | NotExpr | Pattern | SetAttribute | ThrowError | WhereSpecClause;
502
713
  readonly $type: 'NegExpr';
503
714
  ne: Expr;
504
715
  }
505
- export declare const NegExpr = "NegExpr";
716
+ export declare const NegExpr: {
717
+ readonly $type: "NegExpr";
718
+ readonly ne: "ne";
719
+ };
506
720
  export declare function isNegExpr(item: unknown): item is NegExpr;
507
721
  export interface NodeDefinition extends langium.AstNode {
508
722
  readonly $container: RelNodes;
@@ -510,21 +724,31 @@ export interface NodeDefinition extends langium.AstNode {
510
724
  alias?: string;
511
725
  name: QualifiedName;
512
726
  }
513
- export declare const NodeDefinition = "NodeDefinition";
727
+ export declare const NodeDefinition: {
728
+ readonly $type: "NodeDefinition";
729
+ readonly alias: "alias";
730
+ readonly name: "name";
731
+ };
514
732
  export declare function isNodeDefinition(item: unknown): item is NodeDefinition;
515
733
  export interface NotExpr extends langium.AstNode {
516
734
  readonly $container: AttributeDefinition | BinExpr | CaseEntry | FnCall | Group | If | MapEntry | NegExpr | NotExpr | Pattern | SetAttribute | ThrowError | WhereSpecClause;
517
735
  readonly $type: 'NotExpr';
518
736
  ne: Expr;
519
737
  }
520
- export declare const NotExpr = "NotExpr";
738
+ export declare const NotExpr: {
739
+ readonly $type: "NotExpr";
740
+ readonly ne: "ne";
741
+ };
521
742
  export declare function isNotExpr(item: unknown): item is NotExpr;
522
743
  export interface OneOfSpec extends langium.AstNode {
523
744
  readonly $container: AttributeDefinition;
524
745
  readonly $type: 'OneOfSpec';
525
746
  ref: Ref;
526
747
  }
527
- export declare const OneOfSpec = "OneOfSpec";
748
+ export declare const OneOfSpec: {
749
+ readonly $type: "OneOfSpec";
750
+ readonly ref: "ref";
751
+ };
528
752
  export declare function isOneOfSpec(item: unknown): item is OneOfSpec;
529
753
  export interface OrderByClause extends langium.AstNode {
530
754
  readonly $container: CrudMap;
@@ -532,7 +756,11 @@ export interface OrderByClause extends langium.AstNode {
532
756
  colNames: Array<QualifiedName>;
533
757
  order?: '@asc' | '@desc';
534
758
  }
535
- export declare const OrderByClause = "OrderByClause";
759
+ export declare const OrderByClause: {
760
+ readonly $type: "OrderByClause";
761
+ readonly colNames: "colNames";
762
+ readonly order: "order";
763
+ };
536
764
  export declare function isOrderByClause(item: unknown): item is OrderByClause;
537
765
  export interface Pattern extends langium.AstNode {
538
766
  readonly $container: Delete | ForEach | Purge | RelationshipPattern | Return | Statement;
@@ -548,7 +776,19 @@ export interface Pattern extends langium.AstNode {
548
776
  return?: Return;
549
777
  throwError?: ThrowError;
550
778
  }
551
- export declare const Pattern = "Pattern";
779
+ export declare const Pattern: {
780
+ readonly $type: "Pattern";
781
+ readonly crudMap: "crudMap";
782
+ readonly delete: "delete";
783
+ readonly expr: "expr";
784
+ readonly forEach: "forEach";
785
+ readonly fullTextSearch: "fullTextSearch";
786
+ readonly if: "if";
787
+ readonly ifWithAlias: "ifWithAlias";
788
+ readonly purge: "purge";
789
+ readonly return: "return";
790
+ readonly throwError: "throwError";
791
+ };
552
792
  export declare function isPattern(item: unknown): item is Pattern;
553
793
  export interface PrePostTriggerDefinition extends langium.AstNode {
554
794
  readonly $container: RecordExtraDefinition;
@@ -556,50 +796,82 @@ export interface PrePostTriggerDefinition extends langium.AstNode {
556
796
  after?: AfterTriggerDefinition;
557
797
  before?: BeforeTriggerDefinition;
558
798
  }
559
- export declare const PrePostTriggerDefinition = "PrePostTriggerDefinition";
799
+ export declare const PrePostTriggerDefinition: {
800
+ readonly $type: "PrePostTriggerDefinition";
801
+ readonly after: "after";
802
+ readonly before: "before";
803
+ };
560
804
  export declare function isPrePostTriggerDefinition(item: unknown): item is PrePostTriggerDefinition;
805
+ export type PrimExpr = Group | Literal | NegExpr | NotExpr;
806
+ export declare const PrimExpr: {
807
+ readonly $type: "PrimExpr";
808
+ };
809
+ export declare function isPrimExpr(item: unknown): item is PrimExpr;
561
810
  export interface PropertyDefinition extends langium.AstNode {
562
811
  readonly $container: AttributeDefinition | CrudMapBody | RelationshipDefinition;
563
812
  readonly $type: 'PropertyDefinition';
564
813
  name: TaggedId;
565
814
  value?: KvPairs;
566
815
  }
567
- export declare const PropertyDefinition = "PropertyDefinition";
816
+ export declare const PropertyDefinition: {
817
+ readonly $type: "PropertyDefinition";
818
+ readonly name: "name";
819
+ readonly value: "value";
820
+ };
568
821
  export declare function isPropertyDefinition(item: unknown): item is PropertyDefinition;
569
822
  export interface PublicAgentDefinition extends langium.AstNode {
570
823
  readonly $container: ModuleDefinition;
571
824
  readonly $type: 'PublicAgentDefinition';
572
825
  def: AgentDefinition;
573
826
  }
574
- export declare const PublicAgentDefinition = "PublicAgentDefinition";
827
+ export declare const PublicAgentDefinition: {
828
+ readonly $type: "PublicAgentDefinition";
829
+ readonly def: "def";
830
+ };
575
831
  export declare function isPublicAgentDefinition(item: unknown): item is PublicAgentDefinition;
576
832
  export interface PublicEventDefinition extends langium.AstNode {
577
833
  readonly $container: ModuleDefinition;
578
834
  readonly $type: 'PublicEventDefinition';
579
835
  def: EventDefinition;
580
836
  }
581
- export declare const PublicEventDefinition = "PublicEventDefinition";
837
+ export declare const PublicEventDefinition: {
838
+ readonly $type: "PublicEventDefinition";
839
+ readonly def: "def";
840
+ };
582
841
  export declare function isPublicEventDefinition(item: unknown): item is PublicEventDefinition;
583
842
  export interface PublicWorkflowDefinition extends langium.AstNode {
584
843
  readonly $container: ModuleDefinition;
585
844
  readonly $type: 'PublicWorkflowDefinition';
586
845
  def: WorkflowDefinition;
587
846
  }
588
- export declare const PublicWorkflowDefinition = "PublicWorkflowDefinition";
847
+ export declare const PublicWorkflowDefinition: {
848
+ readonly $type: "PublicWorkflowDefinition";
849
+ readonly def: "def";
850
+ };
589
851
  export declare function isPublicWorkflowDefinition(item: unknown): item is PublicWorkflowDefinition;
590
852
  export interface Purge extends langium.AstNode {
591
853
  readonly $container: Pattern;
592
854
  readonly $type: 'Purge';
593
855
  pattern: Pattern;
594
856
  }
595
- export declare const Purge = "Purge";
857
+ export declare const Purge: {
858
+ readonly $type: "Purge";
859
+ readonly pattern: "pattern";
860
+ };
596
861
  export declare function isPurge(item: unknown): item is Purge;
862
+ export type QualifiedName = Ref | string;
863
+ export declare function isQualifiedName(item: unknown): item is QualifiedName;
864
+ export type QueryId = string;
865
+ export declare function isQueryId(item: unknown): item is QueryId;
597
866
  export interface RbacAllowSpec extends langium.AstNode {
598
867
  readonly $container: RbacSpecEntry;
599
868
  readonly $type: 'RbacAllowSpec';
600
869
  oprs: Array<RbacOpr>;
601
870
  }
602
- export declare const RbacAllowSpec = "RbacAllowSpec";
871
+ export declare const RbacAllowSpec: {
872
+ readonly $type: "RbacAllowSpec";
873
+ readonly oprs: "oprs";
874
+ };
603
875
  export declare function isRbacAllowSpec(item: unknown): item is RbacAllowSpec;
604
876
  export interface RbacExpressionSpec extends langium.AstNode {
605
877
  readonly $container: RbacSpecEntry;
@@ -607,35 +879,51 @@ export interface RbacExpressionSpec extends langium.AstNode {
607
879
  lhs: Ref;
608
880
  rhs: Ref;
609
881
  }
610
- export declare const RbacExpressionSpec = "RbacExpressionSpec";
882
+ export declare const RbacExpressionSpec: {
883
+ readonly $type: "RbacExpressionSpec";
884
+ readonly lhs: "lhs";
885
+ readonly rhs: "rhs";
886
+ };
611
887
  export declare function isRbacExpressionSpec(item: unknown): item is RbacExpressionSpec;
612
888
  export interface RbacOpr extends langium.AstNode {
613
889
  readonly $container: RbacAllowSpec;
614
890
  readonly $type: 'RbacOpr';
615
891
  value: 'create' | 'delete' | 'read' | 'update';
616
892
  }
617
- export declare const RbacOpr = "RbacOpr";
893
+ export declare const RbacOpr: {
894
+ readonly $type: "RbacOpr";
895
+ readonly value: "value";
896
+ };
618
897
  export declare function isRbacOpr(item: unknown): item is RbacOpr;
619
898
  export interface RbacRolesSpec extends langium.AstNode {
620
899
  readonly $container: RbacSpecEntry;
621
900
  readonly $type: 'RbacRolesSpec';
622
901
  roles: Array<'*' | string>;
623
902
  }
624
- export declare const RbacRolesSpec = "RbacRolesSpec";
903
+ export declare const RbacRolesSpec: {
904
+ readonly $type: "RbacRolesSpec";
905
+ readonly roles: "roles";
906
+ };
625
907
  export declare function isRbacRolesSpec(item: unknown): item is RbacRolesSpec;
626
908
  export interface RbacSpecDefinition extends langium.AstNode {
627
909
  readonly $container: RecordExtraDefinition;
628
910
  readonly $type: 'RbacSpecDefinition';
629
911
  specEntries: Array<RbacSpecEntries>;
630
912
  }
631
- export declare const RbacSpecDefinition = "RbacSpecDefinition";
913
+ export declare const RbacSpecDefinition: {
914
+ readonly $type: "RbacSpecDefinition";
915
+ readonly specEntries: "specEntries";
916
+ };
632
917
  export declare function isRbacSpecDefinition(item: unknown): item is RbacSpecDefinition;
633
918
  export interface RbacSpecEntries extends langium.AstNode {
634
919
  readonly $container: RbacSpecDefinition;
635
920
  readonly $type: 'RbacSpecEntries';
636
921
  entries: Array<RbacSpecEntry>;
637
922
  }
638
- export declare const RbacSpecEntries = "RbacSpecEntries";
923
+ export declare const RbacSpecEntries: {
924
+ readonly $type: "RbacSpecEntries";
925
+ readonly entries: "entries";
926
+ };
639
927
  export declare function isRbacSpecEntries(item: unknown): item is RbacSpecEntries;
640
928
  export interface RbacSpecEntry extends langium.AstNode {
641
929
  readonly $container: RbacSpecEntries;
@@ -644,7 +932,12 @@ export interface RbacSpecEntry extends langium.AstNode {
644
932
  expr?: RbacExpressionSpec;
645
933
  role?: RbacRolesSpec;
646
934
  }
647
- export declare const RbacSpecEntry = "RbacSpecEntry";
935
+ export declare const RbacSpecEntry: {
936
+ readonly $type: "RbacSpecEntry";
937
+ readonly allow: "allow";
938
+ readonly expr: "expr";
939
+ readonly role: "role";
940
+ };
648
941
  export declare function isRbacSpecEntry(item: unknown): item is RbacSpecEntry;
649
942
  export interface RecordDefinition extends langium.AstNode {
650
943
  readonly $container: ModuleDefinition;
@@ -653,7 +946,12 @@ export interface RecordDefinition extends langium.AstNode {
653
946
  name: QualifiedName;
654
947
  schema: RecordSchemaDefinition;
655
948
  }
656
- export declare const RecordDefinition = "RecordDefinition";
949
+ export declare const RecordDefinition: {
950
+ readonly $type: "RecordDefinition";
951
+ readonly extends: "extends";
952
+ readonly name: "name";
953
+ readonly schema: "schema";
954
+ };
657
955
  export declare function isRecordDefinition(item: unknown): item is RecordDefinition;
658
956
  export interface RecordExtraDefinition extends langium.AstNode {
659
957
  readonly $container: RecordSchemaDefinition;
@@ -664,7 +962,14 @@ export interface RecordExtraDefinition extends langium.AstNode {
664
962
  rbacSpec?: RbacSpecDefinition;
665
963
  uq?: CompositeUniqueDefinition;
666
964
  }
667
- export declare const RecordExtraDefinition = "RecordExtraDefinition";
965
+ export declare const RecordExtraDefinition: {
966
+ readonly $type: "RecordExtraDefinition";
967
+ readonly actions: "actions";
968
+ readonly meta: "meta";
969
+ readonly prePost: "prePost";
970
+ readonly rbacSpec: "rbacSpec";
971
+ readonly uq: "uq";
972
+ };
668
973
  export declare function isRecordExtraDefinition(item: unknown): item is RecordExtraDefinition;
669
974
  export interface RecordSchemaDefinition extends langium.AstNode {
670
975
  readonly $container: EntityDefinition | EventDefinition | RecordDefinition | RelationshipDefinition;
@@ -672,15 +977,25 @@ export interface RecordSchemaDefinition extends langium.AstNode {
672
977
  attributes: Array<AttributeDefinition>;
673
978
  extras: Array<RecordExtraDefinition>;
674
979
  }
675
- export declare const RecordSchemaDefinition = "RecordSchemaDefinition";
980
+ export declare const RecordSchemaDefinition: {
981
+ readonly $type: "RecordSchemaDefinition";
982
+ readonly attributes: "attributes";
983
+ readonly extras: "extras";
984
+ };
676
985
  export declare function isRecordSchemaDefinition(item: unknown): item is RecordSchemaDefinition;
986
+ export type Ref = string;
987
+ export declare function isRef(item: unknown): item is Ref;
677
988
  export interface RefSpec extends langium.AstNode {
678
989
  readonly $container: AttributeDefinition;
679
990
  readonly $type: 'RefSpec';
680
991
  ref: QualifiedName;
681
992
  type?: QualifiedName;
682
993
  }
683
- export declare const RefSpec = "RefSpec";
994
+ export declare const RefSpec: {
995
+ readonly $type: "RefSpec";
996
+ readonly ref: "ref";
997
+ readonly type: "type";
998
+ };
684
999
  export declare function isRefSpec(item: unknown): item is RefSpec;
685
1000
  export interface RelationshipDefinition extends langium.AstNode {
686
1001
  readonly $container: ModuleDefinition;
@@ -691,7 +1006,14 @@ export interface RelationshipDefinition extends langium.AstNode {
691
1006
  schema?: RecordSchemaDefinition;
692
1007
  type: 'between' | 'contains';
693
1008
  }
694
- export declare const RelationshipDefinition = "RelationshipDefinition";
1009
+ export declare const RelationshipDefinition: {
1010
+ readonly $type: "RelationshipDefinition";
1011
+ readonly name: "name";
1012
+ readonly nodes: "nodes";
1013
+ readonly properties: "properties";
1014
+ readonly schema: "schema";
1015
+ readonly type: "type";
1016
+ };
695
1017
  export declare function isRelationshipDefinition(item: unknown): item is RelationshipDefinition;
696
1018
  export interface RelationshipPattern extends langium.AstNode {
697
1019
  readonly $container: CrudMap;
@@ -699,7 +1021,11 @@ export interface RelationshipPattern extends langium.AstNode {
699
1021
  name: QualifiedName;
700
1022
  pattern: Pattern;
701
1023
  }
702
- export declare const RelationshipPattern = "RelationshipPattern";
1024
+ export declare const RelationshipPattern: {
1025
+ readonly $type: "RelationshipPattern";
1026
+ readonly name: "name";
1027
+ readonly pattern: "pattern";
1028
+ };
703
1029
  export declare function isRelationshipPattern(item: unknown): item is RelationshipPattern;
704
1030
  export interface RelNodes extends langium.AstNode {
705
1031
  readonly $container: RelationshipDefinition;
@@ -707,7 +1033,11 @@ export interface RelNodes extends langium.AstNode {
707
1033
  node1: NodeDefinition;
708
1034
  node2: NodeDefinition;
709
1035
  }
710
- export declare const RelNodes = "RelNodes";
1036
+ export declare const RelNodes: {
1037
+ readonly $type: "RelNodes";
1038
+ readonly node1: "node1";
1039
+ readonly node2: "node2";
1040
+ };
711
1041
  export declare function isRelNodes(item: unknown): item is RelNodes;
712
1042
  export interface ResolverDefinition extends langium.AstNode {
713
1043
  readonly $container: ModuleDefinition;
@@ -716,21 +1046,32 @@ export interface ResolverDefinition extends langium.AstNode {
716
1046
  name: QualifiedName;
717
1047
  paths: Array<ResolverPathEntry>;
718
1048
  }
719
- export declare const ResolverDefinition = "ResolverDefinition";
1049
+ export declare const ResolverDefinition: {
1050
+ readonly $type: "ResolverDefinition";
1051
+ readonly methods: "methods";
1052
+ readonly name: "name";
1053
+ readonly paths: "paths";
1054
+ };
720
1055
  export declare function isResolverDefinition(item: unknown): item is ResolverDefinition;
721
1056
  export interface ResolverFnName extends langium.AstNode {
722
1057
  readonly $container: ResolverMethodSpec;
723
1058
  readonly $type: 'ResolverFnName';
724
1059
  name: Ref | STRING | string;
725
1060
  }
726
- export declare const ResolverFnName = "ResolverFnName";
1061
+ export declare const ResolverFnName: {
1062
+ readonly $type: "ResolverFnName";
1063
+ readonly name: "name";
1064
+ };
727
1065
  export declare function isResolverFnName(item: unknown): item is ResolverFnName;
728
1066
  export interface ResolverMethodName extends langium.AstNode {
729
1067
  readonly $container: ResolverMethodSpec;
730
1068
  readonly $type: 'ResolverMethodName';
731
1069
  name: 'commitTransaction' | 'create' | 'delete' | 'onSubscription' | 'query' | 'rollbackTransaction' | 'startTransaction' | 'subscribe' | 'update' | 'upsert';
732
1070
  }
733
- export declare const ResolverMethodName = "ResolverMethodName";
1071
+ export declare const ResolverMethodName: {
1072
+ readonly $type: "ResolverMethodName";
1073
+ readonly name: "name";
1074
+ };
734
1075
  export declare function isResolverMethodName(item: unknown): item is ResolverMethodName;
735
1076
  export interface ResolverMethodSpec extends langium.AstNode {
736
1077
  readonly $container: ResolverDefinition;
@@ -738,8 +1079,14 @@ export interface ResolverMethodSpec extends langium.AstNode {
738
1079
  fn: ResolverFnName;
739
1080
  key: ResolverMethodName;
740
1081
  }
741
- export declare const ResolverMethodSpec = "ResolverMethodSpec";
1082
+ export declare const ResolverMethodSpec: {
1083
+ readonly $type: "ResolverMethodSpec";
1084
+ readonly fn: "fn";
1085
+ readonly key: "key";
1086
+ };
742
1087
  export declare function isResolverMethodSpec(item: unknown): item is ResolverMethodSpec;
1088
+ export type ResolverPathEntry = GenericName | QualifiedName;
1089
+ export declare function isResolverPathEntry(item: unknown): item is ResolverPathEntry;
743
1090
  export interface RetryDefinition extends langium.AstNode {
744
1091
  readonly $container: ModuleDefinition;
745
1092
  readonly $type: 'RetryDefinition';
@@ -747,14 +1094,22 @@ export interface RetryDefinition extends langium.AstNode {
747
1094
  backoff?: BackoffSpec;
748
1095
  name: string;
749
1096
  }
750
- export declare const RetryDefinition = "RetryDefinition";
1097
+ export declare const RetryDefinition: {
1098
+ readonly $type: "RetryDefinition";
1099
+ readonly attempts: "attempts";
1100
+ readonly backoff: "backoff";
1101
+ readonly name: "name";
1102
+ };
751
1103
  export declare function isRetryDefinition(item: unknown): item is RetryDefinition;
752
1104
  export interface Return extends langium.AstNode {
753
1105
  readonly $container: Pattern;
754
1106
  readonly $type: 'Return';
755
1107
  pattern: Pattern;
756
1108
  }
757
- export declare const Return = "Return";
1109
+ export declare const Return: {
1110
+ readonly $type: "Return";
1111
+ readonly pattern: "pattern";
1112
+ };
758
1113
  export declare function isReturn(item: unknown): item is Return;
759
1114
  export interface RuntimeHint extends langium.AstNode {
760
1115
  readonly $container: Statement;
@@ -763,7 +1118,12 @@ export interface RuntimeHint extends langium.AstNode {
763
1118
  catchSpec?: CatchSpec;
764
1119
  thenSpec?: ThenSpec;
765
1120
  }
766
- export declare const RuntimeHint = "RuntimeHint";
1121
+ export declare const RuntimeHint: {
1122
+ readonly $type: "RuntimeHint";
1123
+ readonly aliasSpec: "aliasSpec";
1124
+ readonly catchSpec: "catchSpec";
1125
+ readonly thenSpec: "thenSpec";
1126
+ };
767
1127
  export declare function isRuntimeHint(item: unknown): item is RuntimeHint;
768
1128
  export interface ScenarioDefinition extends langium.AstNode {
769
1129
  readonly $container: ModuleDefinition;
@@ -772,8 +1132,18 @@ export interface ScenarioDefinition extends langium.AstNode {
772
1132
  name: Ref;
773
1133
  scn?: If;
774
1134
  }
775
- export declare const ScenarioDefinition = "ScenarioDefinition";
1135
+ export declare const ScenarioDefinition: {
1136
+ readonly $type: "ScenarioDefinition";
1137
+ readonly body: "body";
1138
+ readonly name: "name";
1139
+ readonly scn: "scn";
1140
+ };
776
1141
  export declare function isScenarioDefinition(item: unknown): item is ScenarioDefinition;
1142
+ export type SchemaDefinition = EntityDefinition | EventDefinition | PublicEventDefinition | RecordDefinition;
1143
+ export declare const SchemaDefinition: {
1144
+ readonly $type: "SchemaDefinition";
1145
+ };
1146
+ export declare function isSchemaDefinition(item: unknown): item is SchemaDefinition;
777
1147
  export interface SelectIntoEntry extends langium.AstNode {
778
1148
  readonly $container: SelectIntoSpec;
779
1149
  readonly $type: 'SelectIntoEntry';
@@ -781,14 +1151,22 @@ export interface SelectIntoEntry extends langium.AstNode {
781
1151
  alias: string;
782
1152
  attribute?: Ref;
783
1153
  }
784
- export declare const SelectIntoEntry = "SelectIntoEntry";
1154
+ export declare const SelectIntoEntry: {
1155
+ readonly $type: "SelectIntoEntry";
1156
+ readonly aggregate: "aggregate";
1157
+ readonly alias: "alias";
1158
+ readonly attribute: "attribute";
1159
+ };
785
1160
  export declare function isSelectIntoEntry(item: unknown): item is SelectIntoEntry;
786
1161
  export interface SelectIntoSpec extends langium.AstNode {
787
1162
  readonly $container: CrudMap;
788
1163
  readonly $type: 'SelectIntoSpec';
789
1164
  entries: Array<SelectIntoEntry>;
790
1165
  }
791
- export declare const SelectIntoSpec = "SelectIntoSpec";
1166
+ export declare const SelectIntoSpec: {
1167
+ readonly $type: "SelectIntoSpec";
1168
+ readonly entries: "entries";
1169
+ };
792
1170
  export declare function isSelectIntoSpec(item: unknown): item is SelectIntoSpec;
793
1171
  export interface SetAttribute extends langium.AstNode {
794
1172
  readonly $container: BackoffSpec | CrudMapBody;
@@ -798,14 +1176,25 @@ export interface SetAttribute extends langium.AstNode {
798
1176
  op?: SqlComparisonOpr;
799
1177
  value?: AttributeValueExpression;
800
1178
  }
801
- export declare const SetAttribute = "SetAttribute";
1179
+ export declare const SetAttribute: {
1180
+ readonly $type: "SetAttribute";
1181
+ readonly aggregate: "aggregate";
1182
+ readonly name: "name";
1183
+ readonly op: "op";
1184
+ readonly value: "value";
1185
+ };
802
1186
  export declare function isSetAttribute(item: unknown): item is SetAttribute;
1187
+ export type SqlComparisonOpr = '!=' | '<' | '<=' | '<>' | '=' | '>' | '>=' | 'between' | 'in' | 'like';
1188
+ export declare function isSqlComparisonOpr(item: unknown): item is SqlComparisonOpr;
803
1189
  export interface StandaloneStatement extends langium.AstNode {
804
1190
  readonly $container: ModuleDefinition;
805
1191
  readonly $type: 'StandaloneStatement';
806
1192
  stmt: Statement;
807
1193
  }
808
- export declare const StandaloneStatement = "StandaloneStatement";
1194
+ export declare const StandaloneStatement: {
1195
+ readonly $type: "StandaloneStatement";
1196
+ readonly stmt: "stmt";
1197
+ };
809
1198
  export declare function isStandaloneStatement(item: unknown): item is StandaloneStatement;
810
1199
  export interface Statement extends langium.AstNode {
811
1200
  readonly $container: ArrayLiteral | CaseEntry | ConditionalFlowStep | Else | FlowEntry | ForEach | Handler | If | StandaloneStatement | ThenSpec | WorkflowDefinition;
@@ -813,28 +1202,45 @@ export interface Statement extends langium.AstNode {
813
1202
  hints: Array<RuntimeHint>;
814
1203
  pattern: Pattern;
815
1204
  }
816
- export declare const Statement = "Statement";
1205
+ export declare const Statement: {
1206
+ readonly $type: "Statement";
1207
+ readonly hints: "hints";
1208
+ readonly pattern: "pattern";
1209
+ };
817
1210
  export declare function isStatement(item: unknown): item is Statement;
1211
+ export type STRING = string;
1212
+ export declare function isSTRING(item: unknown): item is STRING;
1213
+ export type TaggedId = string;
1214
+ export declare function isTaggedId(item: unknown): item is TaggedId;
818
1215
  export interface ThenSpec extends langium.AstNode {
819
1216
  readonly $container: RuntimeHint;
820
1217
  readonly $type: 'ThenSpec';
821
1218
  statements: Array<Statement>;
822
1219
  }
823
- export declare const ThenSpec = "ThenSpec";
1220
+ export declare const ThenSpec: {
1221
+ readonly $type: "ThenSpec";
1222
+ readonly statements: "statements";
1223
+ };
824
1224
  export declare function isThenSpec(item: unknown): item is ThenSpec;
825
1225
  export interface ThrowError extends langium.AstNode {
826
1226
  readonly $container: Pattern;
827
1227
  readonly $type: 'ThrowError';
828
1228
  reason: Expr;
829
1229
  }
830
- export declare const ThrowError = "ThrowError";
1230
+ export declare const ThrowError: {
1231
+ readonly $type: "ThrowError";
1232
+ readonly reason: "reason";
1233
+ };
831
1234
  export declare function isThrowError(item: unknown): item is ThrowError;
832
1235
  export interface TriggerDefinition extends langium.AstNode {
833
1236
  readonly $container: AfterTriggerDefinition | BeforeTriggerDefinition;
834
1237
  readonly $type: 'TriggerDefinition';
835
1238
  entries: Array<TriggerEntry>;
836
1239
  }
837
- export declare const TriggerDefinition = "TriggerDefinition";
1240
+ export declare const TriggerDefinition: {
1241
+ readonly $type: "TriggerDefinition";
1242
+ readonly entries: "entries";
1243
+ };
838
1244
  export declare function isTriggerDefinition(item: unknown): item is TriggerDefinition;
839
1245
  export interface TriggerEntry extends langium.AstNode {
840
1246
  readonly $container: TriggerDefinition;
@@ -843,14 +1249,22 @@ export interface TriggerEntry extends langium.AstNode {
843
1249
  event: string;
844
1250
  on: 'create' | 'delete' | 'update';
845
1251
  }
846
- export declare const TriggerEntry = "TriggerEntry";
1252
+ export declare const TriggerEntry: {
1253
+ readonly $type: "TriggerEntry";
1254
+ readonly async: "async";
1255
+ readonly event: "event";
1256
+ readonly on: "on";
1257
+ };
847
1258
  export declare function isTriggerEntry(item: unknown): item is TriggerEntry;
848
1259
  export interface WhereSpec extends langium.AstNode {
849
1260
  readonly $container: CrudMap;
850
1261
  readonly $type: 'WhereSpec';
851
1262
  clauses: Array<WhereSpecClause>;
852
1263
  }
853
- export declare const WhereSpec = "WhereSpec";
1264
+ export declare const WhereSpec: {
1265
+ readonly $type: "WhereSpec";
1266
+ readonly clauses: "clauses";
1267
+ };
854
1268
  export declare function isWhereSpec(item: unknown): item is WhereSpec;
855
1269
  export interface WhereSpecClause extends langium.AstNode {
856
1270
  readonly $container: WhereSpec;
@@ -859,7 +1273,12 @@ export interface WhereSpecClause extends langium.AstNode {
859
1273
  op?: SqlComparisonOpr;
860
1274
  rhs: Expr;
861
1275
  }
862
- export declare const WhereSpecClause = "WhereSpecClause";
1276
+ export declare const WhereSpecClause: {
1277
+ readonly $type: "WhereSpecClause";
1278
+ readonly lhs: "lhs";
1279
+ readonly op: "op";
1280
+ readonly rhs: "rhs";
1281
+ };
863
1282
  export declare function isWhereSpecClause(item: unknown): item is WhereSpecClause;
864
1283
  export interface WorkflowDefinition extends langium.AstNode {
865
1284
  readonly $container: ModuleDefinition | PublicWorkflowDefinition;
@@ -868,7 +1287,12 @@ export interface WorkflowDefinition extends langium.AstNode {
868
1287
  name?: string;
869
1288
  statements: Array<Statement>;
870
1289
  }
871
- export declare const WorkflowDefinition = "WorkflowDefinition";
1290
+ export declare const WorkflowDefinition: {
1291
+ readonly $type: "WorkflowDefinition";
1292
+ readonly header: "header";
1293
+ readonly name: "name";
1294
+ readonly statements: "statements";
1295
+ };
872
1296
  export declare function isWorkflowDefinition(item: unknown): item is WorkflowDefinition;
873
1297
  export interface WorkflowHeader extends langium.AstNode {
874
1298
  readonly $container: WorkflowDefinition;
@@ -877,8 +1301,17 @@ export interface WorkflowHeader extends langium.AstNode {
877
1301
  prefix: WorkflowHeaderPrefix;
878
1302
  tag: WorkflowHeaderTag;
879
1303
  }
880
- export declare const WorkflowHeader = "WorkflowHeader";
1304
+ export declare const WorkflowHeader: {
1305
+ readonly $type: "WorkflowHeader";
1306
+ readonly name: "name";
1307
+ readonly prefix: "prefix";
1308
+ readonly tag: "tag";
1309
+ };
881
1310
  export declare function isWorkflowHeader(item: unknown): item is WorkflowHeader;
1311
+ export type WorkflowHeaderPrefix = 'create' | 'delete' | 'update';
1312
+ export declare function isWorkflowHeaderPrefix(item: unknown): item is WorkflowHeaderPrefix;
1313
+ export type WorkflowHeaderTag = '@after' | '@before';
1314
+ export declare function isWorkflowHeaderTag(item: unknown): item is WorkflowHeaderTag;
882
1315
  export type AgentlangAstType = {
883
1316
  ActionEntry: ActionEntry;
884
1317
  AfterTriggerDefinition: AfterTriggerDefinition;
@@ -988,10 +1421,1346 @@ export type AgentlangAstType = {
988
1421
  WorkflowHeader: WorkflowHeader;
989
1422
  };
990
1423
  export declare class AgentlangAstReflection extends langium.AbstractAstReflection {
991
- getAllTypes(): string[];
992
- protected computeIsSubtype(subtype: string, supertype: string): boolean;
993
- getReferenceType(refInfo: langium.ReferenceInfo): string;
994
- getTypeMetaData(type: string): langium.TypeMetaData;
1424
+ readonly types: {
1425
+ readonly ActionEntry: {
1426
+ readonly name: "ActionEntry";
1427
+ readonly properties: {
1428
+ readonly event: {
1429
+ readonly name: "event";
1430
+ };
1431
+ readonly name: {
1432
+ readonly name: "name";
1433
+ };
1434
+ };
1435
+ readonly superTypes: [];
1436
+ };
1437
+ readonly AfterTriggerDefinition: {
1438
+ readonly name: "AfterTriggerDefinition";
1439
+ readonly properties: {
1440
+ readonly triggers: {
1441
+ readonly name: "triggers";
1442
+ };
1443
+ };
1444
+ readonly superTypes: [];
1445
+ };
1446
+ readonly AgentDefinition: {
1447
+ readonly name: "AgentDefinition";
1448
+ readonly properties: {
1449
+ readonly body: {
1450
+ readonly name: "body";
1451
+ };
1452
+ readonly name: {
1453
+ readonly name: "name";
1454
+ };
1455
+ };
1456
+ readonly superTypes: ["Definition"];
1457
+ };
1458
+ readonly AgentXtraAttribute: {
1459
+ readonly name: "AgentXtraAttribute";
1460
+ readonly properties: {
1461
+ readonly name: {
1462
+ readonly name: "name";
1463
+ };
1464
+ readonly value: {
1465
+ readonly name: "value";
1466
+ };
1467
+ };
1468
+ readonly superTypes: [];
1469
+ };
1470
+ readonly AgentXtraSpec: {
1471
+ readonly name: "AgentXtraSpec";
1472
+ readonly properties: {
1473
+ readonly attributes: {
1474
+ readonly name: "attributes";
1475
+ readonly defaultValue: [];
1476
+ };
1477
+ };
1478
+ readonly superTypes: [];
1479
+ };
1480
+ readonly AggregateFunctionSpec: {
1481
+ readonly name: "AggregateFunctionSpec";
1482
+ readonly properties: {
1483
+ readonly args: {
1484
+ readonly name: "args";
1485
+ readonly defaultValue: [];
1486
+ };
1487
+ readonly name: {
1488
+ readonly name: "name";
1489
+ };
1490
+ };
1491
+ readonly superTypes: [];
1492
+ };
1493
+ readonly AliasSpec: {
1494
+ readonly name: "AliasSpec";
1495
+ readonly properties: {
1496
+ readonly alias: {
1497
+ readonly name: "alias";
1498
+ };
1499
+ readonly aliases: {
1500
+ readonly name: "aliases";
1501
+ readonly defaultValue: [];
1502
+ };
1503
+ };
1504
+ readonly superTypes: [];
1505
+ };
1506
+ readonly ArrayLiteral: {
1507
+ readonly name: "ArrayLiteral";
1508
+ readonly properties: {
1509
+ readonly vals: {
1510
+ readonly name: "vals";
1511
+ readonly defaultValue: [];
1512
+ };
1513
+ };
1514
+ readonly superTypes: [];
1515
+ };
1516
+ readonly AsyncFnCall: {
1517
+ readonly name: "AsyncFnCall";
1518
+ readonly properties: {
1519
+ readonly fnCall: {
1520
+ readonly name: "fnCall";
1521
+ };
1522
+ };
1523
+ readonly superTypes: [];
1524
+ };
1525
+ readonly AttributeDefinition: {
1526
+ readonly name: "AttributeDefinition";
1527
+ readonly properties: {
1528
+ readonly arrayType: {
1529
+ readonly name: "arrayType";
1530
+ };
1531
+ readonly enumSpec: {
1532
+ readonly name: "enumSpec";
1533
+ };
1534
+ readonly expr: {
1535
+ readonly name: "expr";
1536
+ };
1537
+ readonly name: {
1538
+ readonly name: "name";
1539
+ };
1540
+ readonly oneOfSpec: {
1541
+ readonly name: "oneOfSpec";
1542
+ };
1543
+ readonly properties: {
1544
+ readonly name: "properties";
1545
+ readonly defaultValue: [];
1546
+ };
1547
+ readonly refSpec: {
1548
+ readonly name: "refSpec";
1549
+ };
1550
+ readonly type: {
1551
+ readonly name: "type";
1552
+ };
1553
+ };
1554
+ readonly superTypes: [];
1555
+ };
1556
+ readonly AttributeValueExpression: {
1557
+ readonly name: "AttributeValueExpression";
1558
+ readonly properties: {};
1559
+ readonly superTypes: [];
1560
+ };
1561
+ readonly BackoffSpec: {
1562
+ readonly name: "BackoffSpec";
1563
+ readonly properties: {
1564
+ readonly attributes: {
1565
+ readonly name: "attributes";
1566
+ readonly defaultValue: [];
1567
+ };
1568
+ };
1569
+ readonly superTypes: [];
1570
+ };
1571
+ readonly BeforeTriggerDefinition: {
1572
+ readonly name: "BeforeTriggerDefinition";
1573
+ readonly properties: {
1574
+ readonly triggers: {
1575
+ readonly name: "triggers";
1576
+ };
1577
+ };
1578
+ readonly superTypes: [];
1579
+ };
1580
+ readonly BinExpr: {
1581
+ readonly name: "BinExpr";
1582
+ readonly properties: {
1583
+ readonly e1: {
1584
+ readonly name: "e1";
1585
+ };
1586
+ readonly e2: {
1587
+ readonly name: "e2";
1588
+ };
1589
+ readonly op: {
1590
+ readonly name: "op";
1591
+ };
1592
+ };
1593
+ readonly superTypes: ["Expr"];
1594
+ };
1595
+ readonly CaseEntry: {
1596
+ readonly name: "CaseEntry";
1597
+ readonly properties: {
1598
+ readonly cond: {
1599
+ readonly name: "cond";
1600
+ };
1601
+ readonly statements: {
1602
+ readonly name: "statements";
1603
+ readonly defaultValue: [];
1604
+ };
1605
+ };
1606
+ readonly superTypes: [];
1607
+ };
1608
+ readonly CatchSpec: {
1609
+ readonly name: "CatchSpec";
1610
+ readonly properties: {
1611
+ readonly handlers: {
1612
+ readonly name: "handlers";
1613
+ readonly defaultValue: [];
1614
+ };
1615
+ };
1616
+ readonly superTypes: [];
1617
+ };
1618
+ readonly CompositeUniqueDefinition: {
1619
+ readonly name: "CompositeUniqueDefinition";
1620
+ readonly properties: {
1621
+ readonly attrs: {
1622
+ readonly name: "attrs";
1623
+ readonly defaultValue: [];
1624
+ };
1625
+ };
1626
+ readonly superTypes: [];
1627
+ };
1628
+ readonly ConditionalFlowStep: {
1629
+ readonly name: "ConditionalFlowStep";
1630
+ readonly properties: {
1631
+ readonly expr: {
1632
+ readonly name: "expr";
1633
+ };
1634
+ readonly next: {
1635
+ readonly name: "next";
1636
+ };
1637
+ };
1638
+ readonly superTypes: [];
1639
+ };
1640
+ readonly CrudMap: {
1641
+ readonly name: "CrudMap";
1642
+ readonly properties: {
1643
+ readonly body: {
1644
+ readonly name: "body";
1645
+ };
1646
+ readonly distinct: {
1647
+ readonly name: "distinct";
1648
+ readonly defaultValue: [];
1649
+ };
1650
+ readonly groupByClause: {
1651
+ readonly name: "groupByClause";
1652
+ };
1653
+ readonly into: {
1654
+ readonly name: "into";
1655
+ };
1656
+ readonly joins: {
1657
+ readonly name: "joins";
1658
+ readonly defaultValue: [];
1659
+ };
1660
+ readonly name: {
1661
+ readonly name: "name";
1662
+ };
1663
+ readonly orderByClause: {
1664
+ readonly name: "orderByClause";
1665
+ };
1666
+ readonly relationships: {
1667
+ readonly name: "relationships";
1668
+ readonly defaultValue: [];
1669
+ };
1670
+ readonly source: {
1671
+ readonly name: "source";
1672
+ };
1673
+ readonly upsert: {
1674
+ readonly name: "upsert";
1675
+ readonly defaultValue: [];
1676
+ };
1677
+ readonly where: {
1678
+ readonly name: "where";
1679
+ };
1680
+ };
1681
+ readonly superTypes: [];
1682
+ };
1683
+ readonly CrudMapBody: {
1684
+ readonly name: "CrudMapBody";
1685
+ readonly properties: {
1686
+ readonly attributes: {
1687
+ readonly name: "attributes";
1688
+ readonly defaultValue: [];
1689
+ };
1690
+ readonly properties: {
1691
+ readonly name: "properties";
1692
+ readonly defaultValue: [];
1693
+ };
1694
+ };
1695
+ readonly superTypes: [];
1696
+ };
1697
+ readonly DecisionDefBody: {
1698
+ readonly name: "DecisionDefBody";
1699
+ readonly properties: {
1700
+ readonly cases: {
1701
+ readonly name: "cases";
1702
+ readonly defaultValue: [];
1703
+ };
1704
+ };
1705
+ readonly superTypes: [];
1706
+ };
1707
+ readonly DecisionDefinition: {
1708
+ readonly name: "DecisionDefinition";
1709
+ readonly properties: {
1710
+ readonly body: {
1711
+ readonly name: "body";
1712
+ };
1713
+ readonly name: {
1714
+ readonly name: "name";
1715
+ };
1716
+ };
1717
+ readonly superTypes: ["Definition"];
1718
+ };
1719
+ readonly Definition: {
1720
+ readonly name: "Definition";
1721
+ readonly properties: {};
1722
+ readonly superTypes: [];
1723
+ };
1724
+ readonly Delete: {
1725
+ readonly name: "Delete";
1726
+ readonly properties: {
1727
+ readonly pattern: {
1728
+ readonly name: "pattern";
1729
+ };
1730
+ };
1731
+ readonly superTypes: [];
1732
+ };
1733
+ readonly DirectiveDefinition: {
1734
+ readonly name: "DirectiveDefinition";
1735
+ readonly properties: {
1736
+ readonly body: {
1737
+ readonly name: "body";
1738
+ };
1739
+ readonly dir: {
1740
+ readonly name: "dir";
1741
+ };
1742
+ readonly name: {
1743
+ readonly name: "name";
1744
+ };
1745
+ };
1746
+ readonly superTypes: ["Definition"];
1747
+ };
1748
+ readonly Else: {
1749
+ readonly name: "Else";
1750
+ readonly properties: {
1751
+ readonly statements: {
1752
+ readonly name: "statements";
1753
+ readonly defaultValue: [];
1754
+ };
1755
+ };
1756
+ readonly superTypes: [];
1757
+ };
1758
+ readonly EntityActionsDefinitions: {
1759
+ readonly name: "EntityActionsDefinitions";
1760
+ readonly properties: {
1761
+ readonly entries: {
1762
+ readonly name: "entries";
1763
+ readonly defaultValue: [];
1764
+ };
1765
+ };
1766
+ readonly superTypes: [];
1767
+ };
1768
+ readonly EntityDefinition: {
1769
+ readonly name: "EntityDefinition";
1770
+ readonly properties: {
1771
+ readonly extends: {
1772
+ readonly name: "extends";
1773
+ };
1774
+ readonly name: {
1775
+ readonly name: "name";
1776
+ };
1777
+ readonly schema: {
1778
+ readonly name: "schema";
1779
+ };
1780
+ };
1781
+ readonly superTypes: ["SchemaDefinition"];
1782
+ };
1783
+ readonly EnumSpec: {
1784
+ readonly name: "EnumSpec";
1785
+ readonly properties: {
1786
+ readonly type: {
1787
+ readonly name: "type";
1788
+ };
1789
+ readonly values: {
1790
+ readonly name: "values";
1791
+ readonly defaultValue: [];
1792
+ };
1793
+ };
1794
+ readonly superTypes: [];
1795
+ };
1796
+ readonly EventDefinition: {
1797
+ readonly name: "EventDefinition";
1798
+ readonly properties: {
1799
+ readonly extends: {
1800
+ readonly name: "extends";
1801
+ };
1802
+ readonly name: {
1803
+ readonly name: "name";
1804
+ };
1805
+ readonly schema: {
1806
+ readonly name: "schema";
1807
+ };
1808
+ };
1809
+ readonly superTypes: ["SchemaDefinition"];
1810
+ };
1811
+ readonly Expr: {
1812
+ readonly name: "Expr";
1813
+ readonly properties: {};
1814
+ readonly superTypes: ["AttributeValueExpression"];
1815
+ };
1816
+ readonly ExtendsClause: {
1817
+ readonly name: "ExtendsClause";
1818
+ readonly properties: {
1819
+ readonly parentName: {
1820
+ readonly name: "parentName";
1821
+ };
1822
+ };
1823
+ readonly superTypes: [];
1824
+ };
1825
+ readonly FlowDefBody: {
1826
+ readonly name: "FlowDefBody";
1827
+ readonly properties: {
1828
+ readonly entries: {
1829
+ readonly name: "entries";
1830
+ readonly defaultValue: [];
1831
+ };
1832
+ };
1833
+ readonly superTypes: [];
1834
+ };
1835
+ readonly FlowDefinition: {
1836
+ readonly name: "FlowDefinition";
1837
+ readonly properties: {
1838
+ readonly body: {
1839
+ readonly name: "body";
1840
+ };
1841
+ readonly name: {
1842
+ readonly name: "name";
1843
+ };
1844
+ };
1845
+ readonly superTypes: ["Definition"];
1846
+ };
1847
+ readonly FlowEntry: {
1848
+ readonly name: "FlowEntry";
1849
+ readonly properties: {
1850
+ readonly cond: {
1851
+ readonly name: "cond";
1852
+ };
1853
+ readonly next: {
1854
+ readonly name: "next";
1855
+ };
1856
+ readonly root: {
1857
+ readonly name: "root";
1858
+ };
1859
+ };
1860
+ readonly superTypes: [];
1861
+ };
1862
+ readonly FlowStepSpec: {
1863
+ readonly name: "FlowStepSpec";
1864
+ readonly properties: {};
1865
+ readonly superTypes: [];
1866
+ };
1867
+ readonly FnCall: {
1868
+ readonly name: "FnCall";
1869
+ readonly properties: {
1870
+ readonly args: {
1871
+ readonly name: "args";
1872
+ readonly defaultValue: [];
1873
+ };
1874
+ readonly name: {
1875
+ readonly name: "name";
1876
+ };
1877
+ };
1878
+ readonly superTypes: [];
1879
+ };
1880
+ readonly ForEach: {
1881
+ readonly name: "ForEach";
1882
+ readonly properties: {
1883
+ readonly src: {
1884
+ readonly name: "src";
1885
+ };
1886
+ readonly statements: {
1887
+ readonly name: "statements";
1888
+ readonly defaultValue: [];
1889
+ };
1890
+ readonly var: {
1891
+ readonly name: "var";
1892
+ };
1893
+ };
1894
+ readonly superTypes: [];
1895
+ };
1896
+ readonly FullTextSearch: {
1897
+ readonly name: "FullTextSearch";
1898
+ readonly properties: {
1899
+ readonly name: {
1900
+ readonly name: "name";
1901
+ };
1902
+ readonly options: {
1903
+ readonly name: "options";
1904
+ };
1905
+ readonly query: {
1906
+ readonly name: "query";
1907
+ };
1908
+ };
1909
+ readonly superTypes: [];
1910
+ };
1911
+ readonly GenericDefBody: {
1912
+ readonly name: "GenericDefBody";
1913
+ readonly properties: {
1914
+ readonly attributes: {
1915
+ readonly name: "attributes";
1916
+ readonly defaultValue: [];
1917
+ };
1918
+ };
1919
+ readonly superTypes: [];
1920
+ };
1921
+ readonly GenericPropertyDef: {
1922
+ readonly name: "GenericPropertyDef";
1923
+ readonly properties: {
1924
+ readonly name: {
1925
+ readonly name: "name";
1926
+ };
1927
+ readonly value: {
1928
+ readonly name: "value";
1929
+ };
1930
+ };
1931
+ readonly superTypes: [];
1932
+ };
1933
+ readonly GlossaryEntryDefinition: {
1934
+ readonly name: "GlossaryEntryDefinition";
1935
+ readonly properties: {
1936
+ readonly body: {
1937
+ readonly name: "body";
1938
+ };
1939
+ readonly glos: {
1940
+ readonly name: "glos";
1941
+ };
1942
+ readonly name: {
1943
+ readonly name: "name";
1944
+ };
1945
+ };
1946
+ readonly superTypes: ["Definition"];
1947
+ };
1948
+ readonly Group: {
1949
+ readonly name: "Group";
1950
+ readonly properties: {
1951
+ readonly ge: {
1952
+ readonly name: "ge";
1953
+ };
1954
+ };
1955
+ readonly superTypes: ["PrimExpr"];
1956
+ };
1957
+ readonly GroupByClause: {
1958
+ readonly name: "GroupByClause";
1959
+ readonly properties: {
1960
+ readonly colNames: {
1961
+ readonly name: "colNames";
1962
+ readonly defaultValue: [];
1963
+ };
1964
+ };
1965
+ readonly superTypes: [];
1966
+ };
1967
+ readonly Handler: {
1968
+ readonly name: "Handler";
1969
+ readonly properties: {
1970
+ readonly except: {
1971
+ readonly name: "except";
1972
+ };
1973
+ readonly stmt: {
1974
+ readonly name: "stmt";
1975
+ };
1976
+ };
1977
+ readonly superTypes: [];
1978
+ };
1979
+ readonly If: {
1980
+ readonly name: "If";
1981
+ readonly properties: {
1982
+ readonly cond: {
1983
+ readonly name: "cond";
1984
+ };
1985
+ readonly else: {
1986
+ readonly name: "else";
1987
+ };
1988
+ readonly statements: {
1989
+ readonly name: "statements";
1990
+ readonly defaultValue: [];
1991
+ };
1992
+ };
1993
+ readonly superTypes: [];
1994
+ };
1995
+ readonly IfWithAlias: {
1996
+ readonly name: "IfWithAlias";
1997
+ readonly properties: {
1998
+ readonly if: {
1999
+ readonly name: "if";
2000
+ };
2001
+ };
2002
+ readonly superTypes: [];
2003
+ };
2004
+ readonly Import: {
2005
+ readonly name: "Import";
2006
+ readonly properties: {
2007
+ readonly name: {
2008
+ readonly name: "name";
2009
+ };
2010
+ readonly path: {
2011
+ readonly name: "path";
2012
+ };
2013
+ };
2014
+ readonly superTypes: [];
2015
+ };
2016
+ readonly JoinSpec: {
2017
+ readonly name: "JoinSpec";
2018
+ readonly properties: {
2019
+ readonly lhs: {
2020
+ readonly name: "lhs";
2021
+ };
2022
+ readonly name: {
2023
+ readonly name: "name";
2024
+ };
2025
+ readonly op: {
2026
+ readonly name: "op";
2027
+ };
2028
+ readonly rhs: {
2029
+ readonly name: "rhs";
2030
+ };
2031
+ readonly type: {
2032
+ readonly name: "type";
2033
+ };
2034
+ };
2035
+ readonly superTypes: [];
2036
+ };
2037
+ readonly KvPair: {
2038
+ readonly name: "KvPair";
2039
+ readonly properties: {
2040
+ readonly key: {
2041
+ readonly name: "key";
2042
+ };
2043
+ readonly value: {
2044
+ readonly name: "value";
2045
+ };
2046
+ };
2047
+ readonly superTypes: [];
2048
+ };
2049
+ readonly KvPairs: {
2050
+ readonly name: "KvPairs";
2051
+ readonly properties: {
2052
+ readonly pairs: {
2053
+ readonly name: "pairs";
2054
+ readonly defaultValue: [];
2055
+ };
2056
+ };
2057
+ readonly superTypes: [];
2058
+ };
2059
+ readonly Literal: {
2060
+ readonly name: "Literal";
2061
+ readonly properties: {
2062
+ readonly array: {
2063
+ readonly name: "array";
2064
+ };
2065
+ readonly asyncFnCall: {
2066
+ readonly name: "asyncFnCall";
2067
+ };
2068
+ readonly bool: {
2069
+ readonly name: "bool";
2070
+ };
2071
+ readonly fnCall: {
2072
+ readonly name: "fnCall";
2073
+ };
2074
+ readonly id: {
2075
+ readonly name: "id";
2076
+ };
2077
+ readonly map: {
2078
+ readonly name: "map";
2079
+ };
2080
+ readonly num: {
2081
+ readonly name: "num";
2082
+ };
2083
+ readonly ref: {
2084
+ readonly name: "ref";
2085
+ };
2086
+ readonly str: {
2087
+ readonly name: "str";
2088
+ };
2089
+ };
2090
+ readonly superTypes: ["PrimExpr"];
2091
+ };
2092
+ readonly MapEntry: {
2093
+ readonly name: "MapEntry";
2094
+ readonly properties: {
2095
+ readonly key: {
2096
+ readonly name: "key";
2097
+ };
2098
+ readonly value: {
2099
+ readonly name: "value";
2100
+ };
2101
+ };
2102
+ readonly superTypes: [];
2103
+ };
2104
+ readonly MapKey: {
2105
+ readonly name: "MapKey";
2106
+ readonly properties: {
2107
+ readonly bool: {
2108
+ readonly name: "bool";
2109
+ };
2110
+ readonly num: {
2111
+ readonly name: "num";
2112
+ };
2113
+ readonly str: {
2114
+ readonly name: "str";
2115
+ };
2116
+ };
2117
+ readonly superTypes: [];
2118
+ };
2119
+ readonly MapLiteral: {
2120
+ readonly name: "MapLiteral";
2121
+ readonly properties: {
2122
+ readonly entries: {
2123
+ readonly name: "entries";
2124
+ readonly defaultValue: [];
2125
+ };
2126
+ };
2127
+ readonly superTypes: [];
2128
+ };
2129
+ readonly MetaDefinition: {
2130
+ readonly name: "MetaDefinition";
2131
+ readonly properties: {
2132
+ readonly spec: {
2133
+ readonly name: "spec";
2134
+ };
2135
+ };
2136
+ readonly superTypes: [];
2137
+ };
2138
+ readonly ModuleDefinition: {
2139
+ readonly name: "ModuleDefinition";
2140
+ readonly properties: {
2141
+ readonly defs: {
2142
+ readonly name: "defs";
2143
+ readonly defaultValue: [];
2144
+ };
2145
+ readonly imports: {
2146
+ readonly name: "imports";
2147
+ readonly defaultValue: [];
2148
+ };
2149
+ readonly name: {
2150
+ readonly name: "name";
2151
+ };
2152
+ };
2153
+ readonly superTypes: [];
2154
+ };
2155
+ readonly NegExpr: {
2156
+ readonly name: "NegExpr";
2157
+ readonly properties: {
2158
+ readonly ne: {
2159
+ readonly name: "ne";
2160
+ };
2161
+ };
2162
+ readonly superTypes: ["PrimExpr"];
2163
+ };
2164
+ readonly NodeDefinition: {
2165
+ readonly name: "NodeDefinition";
2166
+ readonly properties: {
2167
+ readonly alias: {
2168
+ readonly name: "alias";
2169
+ };
2170
+ readonly name: {
2171
+ readonly name: "name";
2172
+ };
2173
+ };
2174
+ readonly superTypes: [];
2175
+ };
2176
+ readonly NotExpr: {
2177
+ readonly name: "NotExpr";
2178
+ readonly properties: {
2179
+ readonly ne: {
2180
+ readonly name: "ne";
2181
+ };
2182
+ };
2183
+ readonly superTypes: ["PrimExpr"];
2184
+ };
2185
+ readonly OneOfSpec: {
2186
+ readonly name: "OneOfSpec";
2187
+ readonly properties: {
2188
+ readonly ref: {
2189
+ readonly name: "ref";
2190
+ };
2191
+ };
2192
+ readonly superTypes: [];
2193
+ };
2194
+ readonly OrderByClause: {
2195
+ readonly name: "OrderByClause";
2196
+ readonly properties: {
2197
+ readonly colNames: {
2198
+ readonly name: "colNames";
2199
+ readonly defaultValue: [];
2200
+ };
2201
+ readonly order: {
2202
+ readonly name: "order";
2203
+ };
2204
+ };
2205
+ readonly superTypes: [];
2206
+ };
2207
+ readonly Pattern: {
2208
+ readonly name: "Pattern";
2209
+ readonly properties: {
2210
+ readonly crudMap: {
2211
+ readonly name: "crudMap";
2212
+ };
2213
+ readonly delete: {
2214
+ readonly name: "delete";
2215
+ };
2216
+ readonly expr: {
2217
+ readonly name: "expr";
2218
+ };
2219
+ readonly forEach: {
2220
+ readonly name: "forEach";
2221
+ };
2222
+ readonly fullTextSearch: {
2223
+ readonly name: "fullTextSearch";
2224
+ };
2225
+ readonly if: {
2226
+ readonly name: "if";
2227
+ };
2228
+ readonly ifWithAlias: {
2229
+ readonly name: "ifWithAlias";
2230
+ };
2231
+ readonly purge: {
2232
+ readonly name: "purge";
2233
+ };
2234
+ readonly return: {
2235
+ readonly name: "return";
2236
+ };
2237
+ readonly throwError: {
2238
+ readonly name: "throwError";
2239
+ };
2240
+ };
2241
+ readonly superTypes: [];
2242
+ };
2243
+ readonly PrePostTriggerDefinition: {
2244
+ readonly name: "PrePostTriggerDefinition";
2245
+ readonly properties: {
2246
+ readonly after: {
2247
+ readonly name: "after";
2248
+ };
2249
+ readonly before: {
2250
+ readonly name: "before";
2251
+ };
2252
+ };
2253
+ readonly superTypes: [];
2254
+ };
2255
+ readonly PrimExpr: {
2256
+ readonly name: "PrimExpr";
2257
+ readonly properties: {};
2258
+ readonly superTypes: ["Expr"];
2259
+ };
2260
+ readonly PropertyDefinition: {
2261
+ readonly name: "PropertyDefinition";
2262
+ readonly properties: {
2263
+ readonly name: {
2264
+ readonly name: "name";
2265
+ };
2266
+ readonly value: {
2267
+ readonly name: "value";
2268
+ };
2269
+ };
2270
+ readonly superTypes: [];
2271
+ };
2272
+ readonly PublicAgentDefinition: {
2273
+ readonly name: "PublicAgentDefinition";
2274
+ readonly properties: {
2275
+ readonly def: {
2276
+ readonly name: "def";
2277
+ };
2278
+ };
2279
+ readonly superTypes: ["Definition"];
2280
+ };
2281
+ readonly PublicEventDefinition: {
2282
+ readonly name: "PublicEventDefinition";
2283
+ readonly properties: {
2284
+ readonly def: {
2285
+ readonly name: "def";
2286
+ };
2287
+ };
2288
+ readonly superTypes: ["SchemaDefinition"];
2289
+ };
2290
+ readonly PublicWorkflowDefinition: {
2291
+ readonly name: "PublicWorkflowDefinition";
2292
+ readonly properties: {
2293
+ readonly def: {
2294
+ readonly name: "def";
2295
+ };
2296
+ };
2297
+ readonly superTypes: ["Definition"];
2298
+ };
2299
+ readonly Purge: {
2300
+ readonly name: "Purge";
2301
+ readonly properties: {
2302
+ readonly pattern: {
2303
+ readonly name: "pattern";
2304
+ };
2305
+ };
2306
+ readonly superTypes: [];
2307
+ };
2308
+ readonly RbacAllowSpec: {
2309
+ readonly name: "RbacAllowSpec";
2310
+ readonly properties: {
2311
+ readonly oprs: {
2312
+ readonly name: "oprs";
2313
+ readonly defaultValue: [];
2314
+ };
2315
+ };
2316
+ readonly superTypes: [];
2317
+ };
2318
+ readonly RbacExpressionSpec: {
2319
+ readonly name: "RbacExpressionSpec";
2320
+ readonly properties: {
2321
+ readonly lhs: {
2322
+ readonly name: "lhs";
2323
+ };
2324
+ readonly rhs: {
2325
+ readonly name: "rhs";
2326
+ };
2327
+ };
2328
+ readonly superTypes: [];
2329
+ };
2330
+ readonly RbacOpr: {
2331
+ readonly name: "RbacOpr";
2332
+ readonly properties: {
2333
+ readonly value: {
2334
+ readonly name: "value";
2335
+ };
2336
+ };
2337
+ readonly superTypes: [];
2338
+ };
2339
+ readonly RbacRolesSpec: {
2340
+ readonly name: "RbacRolesSpec";
2341
+ readonly properties: {
2342
+ readonly roles: {
2343
+ readonly name: "roles";
2344
+ readonly defaultValue: [];
2345
+ };
2346
+ };
2347
+ readonly superTypes: [];
2348
+ };
2349
+ readonly RbacSpecDefinition: {
2350
+ readonly name: "RbacSpecDefinition";
2351
+ readonly properties: {
2352
+ readonly specEntries: {
2353
+ readonly name: "specEntries";
2354
+ readonly defaultValue: [];
2355
+ };
2356
+ };
2357
+ readonly superTypes: [];
2358
+ };
2359
+ readonly RbacSpecEntries: {
2360
+ readonly name: "RbacSpecEntries";
2361
+ readonly properties: {
2362
+ readonly entries: {
2363
+ readonly name: "entries";
2364
+ readonly defaultValue: [];
2365
+ };
2366
+ };
2367
+ readonly superTypes: [];
2368
+ };
2369
+ readonly RbacSpecEntry: {
2370
+ readonly name: "RbacSpecEntry";
2371
+ readonly properties: {
2372
+ readonly allow: {
2373
+ readonly name: "allow";
2374
+ };
2375
+ readonly expr: {
2376
+ readonly name: "expr";
2377
+ };
2378
+ readonly role: {
2379
+ readonly name: "role";
2380
+ };
2381
+ };
2382
+ readonly superTypes: [];
2383
+ };
2384
+ readonly RecordDefinition: {
2385
+ readonly name: "RecordDefinition";
2386
+ readonly properties: {
2387
+ readonly extends: {
2388
+ readonly name: "extends";
2389
+ };
2390
+ readonly name: {
2391
+ readonly name: "name";
2392
+ };
2393
+ readonly schema: {
2394
+ readonly name: "schema";
2395
+ };
2396
+ };
2397
+ readonly superTypes: ["SchemaDefinition"];
2398
+ };
2399
+ readonly RecordExtraDefinition: {
2400
+ readonly name: "RecordExtraDefinition";
2401
+ readonly properties: {
2402
+ readonly actions: {
2403
+ readonly name: "actions";
2404
+ };
2405
+ readonly meta: {
2406
+ readonly name: "meta";
2407
+ };
2408
+ readonly prePost: {
2409
+ readonly name: "prePost";
2410
+ };
2411
+ readonly rbacSpec: {
2412
+ readonly name: "rbacSpec";
2413
+ };
2414
+ readonly uq: {
2415
+ readonly name: "uq";
2416
+ };
2417
+ };
2418
+ readonly superTypes: [];
2419
+ };
2420
+ readonly RecordSchemaDefinition: {
2421
+ readonly name: "RecordSchemaDefinition";
2422
+ readonly properties: {
2423
+ readonly attributes: {
2424
+ readonly name: "attributes";
2425
+ readonly defaultValue: [];
2426
+ };
2427
+ readonly extras: {
2428
+ readonly name: "extras";
2429
+ readonly defaultValue: [];
2430
+ };
2431
+ };
2432
+ readonly superTypes: [];
2433
+ };
2434
+ readonly RefSpec: {
2435
+ readonly name: "RefSpec";
2436
+ readonly properties: {
2437
+ readonly ref: {
2438
+ readonly name: "ref";
2439
+ };
2440
+ readonly type: {
2441
+ readonly name: "type";
2442
+ };
2443
+ };
2444
+ readonly superTypes: [];
2445
+ };
2446
+ readonly RelNodes: {
2447
+ readonly name: "RelNodes";
2448
+ readonly properties: {
2449
+ readonly node1: {
2450
+ readonly name: "node1";
2451
+ };
2452
+ readonly node2: {
2453
+ readonly name: "node2";
2454
+ };
2455
+ };
2456
+ readonly superTypes: [];
2457
+ };
2458
+ readonly RelationshipDefinition: {
2459
+ readonly name: "RelationshipDefinition";
2460
+ readonly properties: {
2461
+ readonly name: {
2462
+ readonly name: "name";
2463
+ };
2464
+ readonly nodes: {
2465
+ readonly name: "nodes";
2466
+ };
2467
+ readonly properties: {
2468
+ readonly name: "properties";
2469
+ readonly defaultValue: [];
2470
+ };
2471
+ readonly schema: {
2472
+ readonly name: "schema";
2473
+ };
2474
+ readonly type: {
2475
+ readonly name: "type";
2476
+ };
2477
+ };
2478
+ readonly superTypes: ["Definition"];
2479
+ };
2480
+ readonly RelationshipPattern: {
2481
+ readonly name: "RelationshipPattern";
2482
+ readonly properties: {
2483
+ readonly name: {
2484
+ readonly name: "name";
2485
+ };
2486
+ readonly pattern: {
2487
+ readonly name: "pattern";
2488
+ };
2489
+ };
2490
+ readonly superTypes: [];
2491
+ };
2492
+ readonly ResolverDefinition: {
2493
+ readonly name: "ResolverDefinition";
2494
+ readonly properties: {
2495
+ readonly methods: {
2496
+ readonly name: "methods";
2497
+ readonly defaultValue: [];
2498
+ };
2499
+ readonly name: {
2500
+ readonly name: "name";
2501
+ };
2502
+ readonly paths: {
2503
+ readonly name: "paths";
2504
+ readonly defaultValue: [];
2505
+ };
2506
+ };
2507
+ readonly superTypes: ["Definition"];
2508
+ };
2509
+ readonly ResolverFnName: {
2510
+ readonly name: "ResolverFnName";
2511
+ readonly properties: {
2512
+ readonly name: {
2513
+ readonly name: "name";
2514
+ };
2515
+ };
2516
+ readonly superTypes: [];
2517
+ };
2518
+ readonly ResolverMethodName: {
2519
+ readonly name: "ResolverMethodName";
2520
+ readonly properties: {
2521
+ readonly name: {
2522
+ readonly name: "name";
2523
+ };
2524
+ };
2525
+ readonly superTypes: [];
2526
+ };
2527
+ readonly ResolverMethodSpec: {
2528
+ readonly name: "ResolverMethodSpec";
2529
+ readonly properties: {
2530
+ readonly fn: {
2531
+ readonly name: "fn";
2532
+ };
2533
+ readonly key: {
2534
+ readonly name: "key";
2535
+ };
2536
+ };
2537
+ readonly superTypes: [];
2538
+ };
2539
+ readonly RetryDefinition: {
2540
+ readonly name: "RetryDefinition";
2541
+ readonly properties: {
2542
+ readonly attempts: {
2543
+ readonly name: "attempts";
2544
+ };
2545
+ readonly backoff: {
2546
+ readonly name: "backoff";
2547
+ };
2548
+ readonly name: {
2549
+ readonly name: "name";
2550
+ };
2551
+ };
2552
+ readonly superTypes: ["Definition"];
2553
+ };
2554
+ readonly Return: {
2555
+ readonly name: "Return";
2556
+ readonly properties: {
2557
+ readonly pattern: {
2558
+ readonly name: "pattern";
2559
+ };
2560
+ };
2561
+ readonly superTypes: [];
2562
+ };
2563
+ readonly RuntimeHint: {
2564
+ readonly name: "RuntimeHint";
2565
+ readonly properties: {
2566
+ readonly aliasSpec: {
2567
+ readonly name: "aliasSpec";
2568
+ };
2569
+ readonly catchSpec: {
2570
+ readonly name: "catchSpec";
2571
+ };
2572
+ readonly thenSpec: {
2573
+ readonly name: "thenSpec";
2574
+ };
2575
+ };
2576
+ readonly superTypes: [];
2577
+ };
2578
+ readonly ScenarioDefinition: {
2579
+ readonly name: "ScenarioDefinition";
2580
+ readonly properties: {
2581
+ readonly body: {
2582
+ readonly name: "body";
2583
+ };
2584
+ readonly name: {
2585
+ readonly name: "name";
2586
+ };
2587
+ readonly scn: {
2588
+ readonly name: "scn";
2589
+ };
2590
+ };
2591
+ readonly superTypes: ["Definition"];
2592
+ };
2593
+ readonly SchemaDefinition: {
2594
+ readonly name: "SchemaDefinition";
2595
+ readonly properties: {};
2596
+ readonly superTypes: ["Definition"];
2597
+ };
2598
+ readonly SelectIntoEntry: {
2599
+ readonly name: "SelectIntoEntry";
2600
+ readonly properties: {
2601
+ readonly aggregate: {
2602
+ readonly name: "aggregate";
2603
+ };
2604
+ readonly alias: {
2605
+ readonly name: "alias";
2606
+ };
2607
+ readonly attribute: {
2608
+ readonly name: "attribute";
2609
+ };
2610
+ };
2611
+ readonly superTypes: [];
2612
+ };
2613
+ readonly SelectIntoSpec: {
2614
+ readonly name: "SelectIntoSpec";
2615
+ readonly properties: {
2616
+ readonly entries: {
2617
+ readonly name: "entries";
2618
+ readonly defaultValue: [];
2619
+ };
2620
+ };
2621
+ readonly superTypes: [];
2622
+ };
2623
+ readonly SetAttribute: {
2624
+ readonly name: "SetAttribute";
2625
+ readonly properties: {
2626
+ readonly aggregate: {
2627
+ readonly name: "aggregate";
2628
+ };
2629
+ readonly name: {
2630
+ readonly name: "name";
2631
+ };
2632
+ readonly op: {
2633
+ readonly name: "op";
2634
+ };
2635
+ readonly value: {
2636
+ readonly name: "value";
2637
+ };
2638
+ };
2639
+ readonly superTypes: [];
2640
+ };
2641
+ readonly StandaloneStatement: {
2642
+ readonly name: "StandaloneStatement";
2643
+ readonly properties: {
2644
+ readonly stmt: {
2645
+ readonly name: "stmt";
2646
+ };
2647
+ };
2648
+ readonly superTypes: ["Definition"];
2649
+ };
2650
+ readonly Statement: {
2651
+ readonly name: "Statement";
2652
+ readonly properties: {
2653
+ readonly hints: {
2654
+ readonly name: "hints";
2655
+ readonly defaultValue: [];
2656
+ };
2657
+ readonly pattern: {
2658
+ readonly name: "pattern";
2659
+ };
2660
+ };
2661
+ readonly superTypes: ["FlowStepSpec"];
2662
+ };
2663
+ readonly ThenSpec: {
2664
+ readonly name: "ThenSpec";
2665
+ readonly properties: {
2666
+ readonly statements: {
2667
+ readonly name: "statements";
2668
+ readonly defaultValue: [];
2669
+ };
2670
+ };
2671
+ readonly superTypes: [];
2672
+ };
2673
+ readonly ThrowError: {
2674
+ readonly name: "ThrowError";
2675
+ readonly properties: {
2676
+ readonly reason: {
2677
+ readonly name: "reason";
2678
+ };
2679
+ };
2680
+ readonly superTypes: [];
2681
+ };
2682
+ readonly TriggerDefinition: {
2683
+ readonly name: "TriggerDefinition";
2684
+ readonly properties: {
2685
+ readonly entries: {
2686
+ readonly name: "entries";
2687
+ readonly defaultValue: [];
2688
+ };
2689
+ };
2690
+ readonly superTypes: [];
2691
+ };
2692
+ readonly TriggerEntry: {
2693
+ readonly name: "TriggerEntry";
2694
+ readonly properties: {
2695
+ readonly async: {
2696
+ readonly name: "async";
2697
+ };
2698
+ readonly event: {
2699
+ readonly name: "event";
2700
+ };
2701
+ readonly on: {
2702
+ readonly name: "on";
2703
+ };
2704
+ };
2705
+ readonly superTypes: [];
2706
+ };
2707
+ readonly WhereSpec: {
2708
+ readonly name: "WhereSpec";
2709
+ readonly properties: {
2710
+ readonly clauses: {
2711
+ readonly name: "clauses";
2712
+ readonly defaultValue: [];
2713
+ };
2714
+ };
2715
+ readonly superTypes: [];
2716
+ };
2717
+ readonly WhereSpecClause: {
2718
+ readonly name: "WhereSpecClause";
2719
+ readonly properties: {
2720
+ readonly lhs: {
2721
+ readonly name: "lhs";
2722
+ };
2723
+ readonly op: {
2724
+ readonly name: "op";
2725
+ };
2726
+ readonly rhs: {
2727
+ readonly name: "rhs";
2728
+ };
2729
+ };
2730
+ readonly superTypes: [];
2731
+ };
2732
+ readonly WorkflowDefinition: {
2733
+ readonly name: "WorkflowDefinition";
2734
+ readonly properties: {
2735
+ readonly header: {
2736
+ readonly name: "header";
2737
+ };
2738
+ readonly name: {
2739
+ readonly name: "name";
2740
+ };
2741
+ readonly statements: {
2742
+ readonly name: "statements";
2743
+ readonly defaultValue: [];
2744
+ };
2745
+ };
2746
+ readonly superTypes: ["Definition"];
2747
+ };
2748
+ readonly WorkflowHeader: {
2749
+ readonly name: "WorkflowHeader";
2750
+ readonly properties: {
2751
+ readonly name: {
2752
+ readonly name: "name";
2753
+ };
2754
+ readonly prefix: {
2755
+ readonly name: "prefix";
2756
+ };
2757
+ readonly tag: {
2758
+ readonly name: "tag";
2759
+ };
2760
+ };
2761
+ readonly superTypes: [];
2762
+ };
2763
+ };
995
2764
  }
996
2765
  export declare const reflection: AgentlangAstReflection;
997
2766
  //# sourceMappingURL=ast.d.ts.map