agentlang 0.9.4 → 0.9.6

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 (105) 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 +253 -253
  4. package/out/extension/main.cjs.map +2 -2
  5. package/out/language/generated/ast.d.ts +1997 -151
  6. package/out/language/generated/ast.d.ts.map +1 -1
  7. package/out/language/generated/ast.js +2113 -1263
  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 +649 -762
  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 +6401 -4072
  16. package/out/language/main.cjs.map +4 -4
  17. package/out/language/parser.js +8 -8
  18. package/out/language/parser.js.map +1 -1
  19. package/out/runtime/agents/common.d.ts +7 -1
  20. package/out/runtime/agents/common.d.ts.map +1 -1
  21. package/out/runtime/agents/common.js +101 -0
  22. package/out/runtime/agents/common.js.map +1 -1
  23. package/out/runtime/agents/impl/anthropic.js +4 -4
  24. package/out/runtime/agents/impl/anthropic.js.map +1 -1
  25. package/out/runtime/agents/impl/openai.js +4 -4
  26. package/out/runtime/agents/impl/openai.js.map +1 -1
  27. package/out/runtime/auth/defs.d.ts +1 -1
  28. package/out/runtime/auth/defs.js +1 -1
  29. package/out/runtime/defs.d.ts +1 -1
  30. package/out/runtime/defs.js +1 -1
  31. package/out/runtime/exec-graph.d.ts.map +1 -1
  32. package/out/runtime/exec-graph.js +5 -0
  33. package/out/runtime/exec-graph.js.map +1 -1
  34. package/out/runtime/interpreter.d.ts +4 -0
  35. package/out/runtime/interpreter.d.ts.map +1 -1
  36. package/out/runtime/interpreter.js +20 -4
  37. package/out/runtime/interpreter.js.map +1 -1
  38. package/out/runtime/loader.d.ts.map +1 -1
  39. package/out/runtime/loader.js +43 -6
  40. package/out/runtime/loader.js.map +1 -1
  41. package/out/runtime/module.d.ts +18 -3
  42. package/out/runtime/module.d.ts.map +1 -1
  43. package/out/runtime/module.js +62 -4
  44. package/out/runtime/module.js.map +1 -1
  45. package/out/runtime/modules/ai.d.ts +18 -2
  46. package/out/runtime/modules/ai.d.ts.map +1 -1
  47. package/out/runtime/modules/ai.js +271 -21
  48. package/out/runtime/modules/ai.js.map +1 -1
  49. package/out/runtime/modules/auth.d.ts.map +1 -1
  50. package/out/runtime/modules/auth.js +11 -5
  51. package/out/runtime/modules/auth.js.map +1 -1
  52. package/out/runtime/resolvers/interface.d.ts +1 -1
  53. package/out/runtime/resolvers/interface.d.ts.map +1 -1
  54. package/out/runtime/resolvers/interface.js.map +1 -1
  55. package/out/runtime/resolvers/sqldb/database.d.ts +1 -0
  56. package/out/runtime/resolvers/sqldb/database.d.ts.map +1 -1
  57. package/out/runtime/resolvers/sqldb/database.js +19 -10
  58. package/out/runtime/resolvers/sqldb/database.js.map +1 -1
  59. package/out/runtime/resolvers/sqldb/impl.d.ts +1 -1
  60. package/out/runtime/resolvers/sqldb/impl.d.ts.map +1 -1
  61. package/out/runtime/resolvers/sqldb/impl.js +2 -2
  62. package/out/runtime/resolvers/sqldb/impl.js.map +1 -1
  63. package/out/runtime/state.d.ts +37 -367
  64. package/out/runtime/state.d.ts.map +1 -1
  65. package/out/runtime/state.js +3 -0
  66. package/out/runtime/state.js.map +1 -1
  67. package/out/setupClassic.d.ts +98 -0
  68. package/out/setupClassic.d.ts.map +1 -0
  69. package/out/setupClassic.js +38 -0
  70. package/out/setupClassic.js.map +1 -0
  71. package/out/setupCommon.d.ts +2 -0
  72. package/out/setupCommon.d.ts.map +1 -0
  73. package/out/setupCommon.js +33 -0
  74. package/out/setupCommon.js.map +1 -0
  75. package/out/setupExtended.d.ts +40 -0
  76. package/out/setupExtended.d.ts.map +1 -0
  77. package/out/setupExtended.js +67 -0
  78. package/out/setupExtended.js.map +1 -0
  79. package/out/syntaxes/agentlang.monarch.js +4 -4
  80. package/out/syntaxes/agentlang.monarch.js.map +1 -1
  81. package/out/utils/runtime.d.ts +7 -6
  82. package/out/utils/runtime.d.ts.map +1 -1
  83. package/package.json +185 -187
  84. package/src/api/http.ts +8 -2
  85. package/src/language/agentlang.langium +8 -2
  86. package/src/language/generated/ast.ts +2204 -1322
  87. package/src/language/generated/grammar.ts +649 -762
  88. package/src/language/generated/module.ts +1 -1
  89. package/src/language/parser.ts +8 -8
  90. package/src/runtime/agents/common.ts +107 -0
  91. package/src/runtime/agents/impl/anthropic.ts +4 -4
  92. package/src/runtime/agents/impl/openai.ts +4 -4
  93. package/src/runtime/auth/defs.ts +1 -1
  94. package/src/runtime/defs.ts +1 -1
  95. package/src/runtime/exec-graph.ts +4 -0
  96. package/src/runtime/interpreter.ts +23 -4
  97. package/src/runtime/loader.ts +43 -4
  98. package/src/runtime/module.ts +80 -3
  99. package/src/runtime/modules/ai.ts +391 -19
  100. package/src/runtime/modules/auth.ts +11 -5
  101. package/src/runtime/resolvers/interface.ts +1 -1
  102. package/src/runtime/resolvers/sqldb/database.ts +20 -11
  103. package/src/runtime/resolvers/sqldb/impl.ts +3 -3
  104. package/src/runtime/state.ts +4 -0
  105. package/src/syntaxes/agentlang.monarch.ts +4 -4
@@ -1,1468 +1,2318 @@
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
- /* eslint-disable */
6
5
  import * as langium from 'langium';
7
6
  export const AgentlangTerminals = {
8
- ID: /(([_a-zA-Z][\w_]*)(\/([_a-zA-Z][\w_]*))?)/,
9
- QUOTED_STRING: /("(((\\([\s\S]))|((?!(((\\|")|\r)|\n))[\s\S]*?))|(\r?\n))*")/,
10
- TICK_QUOTED_STRING: /(`(((\\([\s\S]))|((?!(((\\|`)|\r)|\n))[\s\S]*?))|(\r?\n))*`)/,
7
+ ID: /(?:[_a-zA-Z][\w_]*)(\/(?:[_a-zA-Z][\w_]*))?/,
8
+ QUOTED_STRING: /"(\\(?:[\s\S])|(?:(?!(\\|"|\r|\n))[\s\S]*?)|\r?\n)*"/,
9
+ TICK_QUOTED_STRING: /`(\\(?:[\s\S])|(?:(?!(\\|`|\r|\n))[\s\S]*?)|\r?\n)*`/,
11
10
  INT: /-?[0-9]+/,
12
11
  WS: /\s+/,
13
12
  ML_COMMENT: /\/\*[\s\S]*?\*\//,
14
13
  SL_COMMENT: /\/\/[^\n\r]*/,
15
14
  };
16
- export const AttributeValueExpression = 'AttributeValueExpression';
17
- export function isAttributeValueExpression(item) {
18
- return reflection.isInstance(item, AttributeValueExpression);
19
- }
20
- export function isBoolean(item) {
21
- return item === 'true' || item === 'false';
22
- }
23
- export function isDecimal(item) {
24
- return typeof item === 'number';
25
- }
26
- export const Definition = 'Definition';
27
- export function isDefinition(item) {
28
- return reflection.isInstance(item, Definition);
29
- }
30
- export const Expr = 'Expr';
31
- export function isExpr(item) {
32
- return reflection.isInstance(item, Expr);
33
- }
34
- export const FlowStepSpec = 'FlowStepSpec';
35
- export function isFlowStepSpec(item) {
36
- return reflection.isInstance(item, FlowStepSpec);
37
- }
38
- export function isGenericName(item) {
39
- return isSTRING(item) || (typeof item === 'string' && (/(([_a-zA-Z][\w_]*)(\/([_a-zA-Z][\w_]*))?)/.test(item)));
40
- }
41
- export function isJoinType(item) {
42
- return item === '@join' || item === '@inner_join' || item === '@left_join' || item === '@right_join' || item === '@full_join';
43
- }
44
- export const PrimExpr = 'PrimExpr';
45
- export function isPrimExpr(item) {
46
- return reflection.isInstance(item, PrimExpr);
47
- }
48
- export function isQualifiedName(item) {
49
- return isRef(item) || (typeof item === 'string' && (/(([_a-zA-Z][\w_]*)(\/([_a-zA-Z][\w_]*))?)/.test(item)));
50
- }
51
- export function isQueryId(item) {
52
- return typeof item === 'string';
53
- }
54
- export function isRef(item) {
55
- return typeof item === 'string';
56
- }
57
- export function isResolverPathEntry(item) {
58
- return isQualifiedName(item) || isGenericName(item);
59
- }
60
- export const SchemaDefinition = 'SchemaDefinition';
61
- export function isSchemaDefinition(item) {
62
- return reflection.isInstance(item, SchemaDefinition);
63
- }
64
- export function isSqlComparisonOpr(item) {
65
- return item === '=' || item === '<>' || item === '!=' || item === '<' || item === '<=' || item === '>' || item === '>=' || item === 'in' || item === 'like' || item === 'between';
66
- }
67
- export function isSTRING(item) {
68
- return (typeof item === 'string' && (/("(((\\([\s\S]))|((?!(((\\|")|\r)|\n))[\s\S]*?))|(\r?\n))*")/.test(item) || /(`(((\\([\s\S]))|((?!(((\\|`)|\r)|\n))[\s\S]*?))|(\r?\n))*`)/.test(item)));
69
- }
70
- export function isTaggedId(item) {
71
- return typeof item === 'string';
72
- }
73
- export function isWorkflowHeaderPrefix(item) {
74
- return item === 'create' || item === 'update' || item === 'delete';
75
- }
76
- export function isWorkflowHeaderTag(item) {
77
- return item === '@after' || item === '@before';
78
- }
79
- export const ActionEntry = 'ActionEntry';
15
+ export const ActionEntry = {
16
+ $type: 'ActionEntry',
17
+ event: 'event',
18
+ name: 'name'
19
+ };
80
20
  export function isActionEntry(item) {
81
- return reflection.isInstance(item, ActionEntry);
21
+ return reflection.isInstance(item, ActionEntry.$type);
82
22
  }
83
- export const AfterTriggerDefinition = 'AfterTriggerDefinition';
23
+ export const AfterTriggerDefinition = {
24
+ $type: 'AfterTriggerDefinition',
25
+ triggers: 'triggers'
26
+ };
84
27
  export function isAfterTriggerDefinition(item) {
85
- return reflection.isInstance(item, AfterTriggerDefinition);
28
+ return reflection.isInstance(item, AfterTriggerDefinition.$type);
86
29
  }
87
- export const AgentDefinition = 'AgentDefinition';
30
+ export const AgentDefinition = {
31
+ $type: 'AgentDefinition',
32
+ body: 'body',
33
+ name: 'name'
34
+ };
88
35
  export function isAgentDefinition(item) {
89
- return reflection.isInstance(item, AgentDefinition);
36
+ return reflection.isInstance(item, AgentDefinition.$type);
90
37
  }
91
- export const AgentXtraAttribute = 'AgentXtraAttribute';
38
+ export const AgentEvaluatorDefinition = {
39
+ $type: 'AgentEvaluatorDefinition',
40
+ attributes: 'attributes',
41
+ name: 'name'
42
+ };
43
+ export function isAgentEvaluatorDefinition(item) {
44
+ return reflection.isInstance(item, AgentEvaluatorDefinition.$type);
45
+ }
46
+ export const AgentXtraAttribute = {
47
+ $type: 'AgentXtraAttribute',
48
+ name: 'name',
49
+ value: 'value'
50
+ };
92
51
  export function isAgentXtraAttribute(item) {
93
- return reflection.isInstance(item, AgentXtraAttribute);
52
+ return reflection.isInstance(item, AgentXtraAttribute.$type);
94
53
  }
95
- export const AgentXtraSpec = 'AgentXtraSpec';
54
+ export const AgentXtraSpec = {
55
+ $type: 'AgentXtraSpec',
56
+ attributes: 'attributes'
57
+ };
96
58
  export function isAgentXtraSpec(item) {
97
- return reflection.isInstance(item, AgentXtraSpec);
59
+ return reflection.isInstance(item, AgentXtraSpec.$type);
98
60
  }
99
- export const AggregateFunctionSpec = 'AggregateFunctionSpec';
61
+ export const AggregateFunctionSpec = {
62
+ $type: 'AggregateFunctionSpec',
63
+ args: 'args',
64
+ name: 'name'
65
+ };
100
66
  export function isAggregateFunctionSpec(item) {
101
- return reflection.isInstance(item, AggregateFunctionSpec);
67
+ return reflection.isInstance(item, AggregateFunctionSpec.$type);
102
68
  }
103
- export const AliasSpec = 'AliasSpec';
69
+ export const AliasSpec = {
70
+ $type: 'AliasSpec',
71
+ alias: 'alias',
72
+ aliases: 'aliases'
73
+ };
104
74
  export function isAliasSpec(item) {
105
- return reflection.isInstance(item, AliasSpec);
75
+ return reflection.isInstance(item, AliasSpec.$type);
106
76
  }
107
- export const ArrayLiteral = 'ArrayLiteral';
77
+ export const ArrayLiteral = {
78
+ $type: 'ArrayLiteral',
79
+ vals: 'vals'
80
+ };
108
81
  export function isArrayLiteral(item) {
109
- return reflection.isInstance(item, ArrayLiteral);
82
+ return reflection.isInstance(item, ArrayLiteral.$type);
110
83
  }
111
- export const AsyncFnCall = 'AsyncFnCall';
84
+ export const AsyncFnCall = {
85
+ $type: 'AsyncFnCall',
86
+ fnCall: 'fnCall'
87
+ };
112
88
  export function isAsyncFnCall(item) {
113
- return reflection.isInstance(item, AsyncFnCall);
114
- }
115
- export const AttributeDefinition = 'AttributeDefinition';
89
+ return reflection.isInstance(item, AsyncFnCall.$type);
90
+ }
91
+ export const AttributeDefinition = {
92
+ $type: 'AttributeDefinition',
93
+ arrayType: 'arrayType',
94
+ enumSpec: 'enumSpec',
95
+ expr: 'expr',
96
+ name: 'name',
97
+ oneOfSpec: 'oneOfSpec',
98
+ properties: 'properties',
99
+ refSpec: 'refSpec',
100
+ type: 'type'
101
+ };
116
102
  export function isAttributeDefinition(item) {
117
- return reflection.isInstance(item, AttributeDefinition);
103
+ return reflection.isInstance(item, AttributeDefinition.$type);
118
104
  }
119
- export const BackoffSpec = 'BackoffSpec';
105
+ export const AttributeValueExpression = {
106
+ $type: 'AttributeValueExpression'
107
+ };
108
+ export function isAttributeValueExpression(item) {
109
+ return reflection.isInstance(item, AttributeValueExpression.$type);
110
+ }
111
+ export const BackoffSpec = {
112
+ $type: 'BackoffSpec',
113
+ attributes: 'attributes'
114
+ };
120
115
  export function isBackoffSpec(item) {
121
- return reflection.isInstance(item, BackoffSpec);
116
+ return reflection.isInstance(item, BackoffSpec.$type);
122
117
  }
123
- export const BeforeTriggerDefinition = 'BeforeTriggerDefinition';
118
+ export const BeforeTriggerDefinition = {
119
+ $type: 'BeforeTriggerDefinition',
120
+ triggers: 'triggers'
121
+ };
124
122
  export function isBeforeTriggerDefinition(item) {
125
- return reflection.isInstance(item, BeforeTriggerDefinition);
123
+ return reflection.isInstance(item, BeforeTriggerDefinition.$type);
126
124
  }
127
- export const BinExpr = 'BinExpr';
125
+ export const BinExpr = {
126
+ $type: 'BinExpr',
127
+ e1: 'e1',
128
+ e2: 'e2',
129
+ op: 'op'
130
+ };
128
131
  export function isBinExpr(item) {
129
- return reflection.isInstance(item, BinExpr);
132
+ return reflection.isInstance(item, BinExpr.$type);
130
133
  }
131
- export const CaseEntry = 'CaseEntry';
134
+ export function isBoolean(item) {
135
+ return item === 'true' || item === 'false';
136
+ }
137
+ export const CaseEntry = {
138
+ $type: 'CaseEntry',
139
+ cond: 'cond',
140
+ statements: 'statements'
141
+ };
132
142
  export function isCaseEntry(item) {
133
- return reflection.isInstance(item, CaseEntry);
143
+ return reflection.isInstance(item, CaseEntry.$type);
134
144
  }
135
- export const CatchSpec = 'CatchSpec';
145
+ export const CatchSpec = {
146
+ $type: 'CatchSpec',
147
+ handlers: 'handlers'
148
+ };
136
149
  export function isCatchSpec(item) {
137
- return reflection.isInstance(item, CatchSpec);
150
+ return reflection.isInstance(item, CatchSpec.$type);
138
151
  }
139
- export const CompositeUniqueDefinition = 'CompositeUniqueDefinition';
152
+ export const CompositeUniqueDefinition = {
153
+ $type: 'CompositeUniqueDefinition',
154
+ attrs: 'attrs'
155
+ };
140
156
  export function isCompositeUniqueDefinition(item) {
141
- return reflection.isInstance(item, CompositeUniqueDefinition);
157
+ return reflection.isInstance(item, CompositeUniqueDefinition.$type);
142
158
  }
143
- export const ConditionalFlowStep = 'ConditionalFlowStep';
159
+ export const ConditionalFlowStep = {
160
+ $type: 'ConditionalFlowStep',
161
+ expr: 'expr',
162
+ next: 'next'
163
+ };
144
164
  export function isConditionalFlowStep(item) {
145
- return reflection.isInstance(item, ConditionalFlowStep);
146
- }
147
- export const CrudMap = 'CrudMap';
165
+ return reflection.isInstance(item, ConditionalFlowStep.$type);
166
+ }
167
+ export const CrudMap = {
168
+ $type: 'CrudMap',
169
+ body: 'body',
170
+ distinct: 'distinct',
171
+ groupByClause: 'groupByClause',
172
+ into: 'into',
173
+ joins: 'joins',
174
+ name: 'name',
175
+ orderByClause: 'orderByClause',
176
+ relationships: 'relationships',
177
+ source: 'source',
178
+ upsert: 'upsert',
179
+ where: 'where'
180
+ };
148
181
  export function isCrudMap(item) {
149
- return reflection.isInstance(item, CrudMap);
182
+ return reflection.isInstance(item, CrudMap.$type);
150
183
  }
151
- export const CrudMapBody = 'CrudMapBody';
184
+ export const CrudMapBody = {
185
+ $type: 'CrudMapBody',
186
+ attributes: 'attributes',
187
+ properties: 'properties'
188
+ };
152
189
  export function isCrudMapBody(item) {
153
- return reflection.isInstance(item, CrudMapBody);
190
+ return reflection.isInstance(item, CrudMapBody.$type);
154
191
  }
155
- export const DecisionDefBody = 'DecisionDefBody';
192
+ export function isDecimal(item) {
193
+ return typeof item === 'number';
194
+ }
195
+ export const DecisionDefBody = {
196
+ $type: 'DecisionDefBody',
197
+ cases: 'cases'
198
+ };
156
199
  export function isDecisionDefBody(item) {
157
- return reflection.isInstance(item, DecisionDefBody);
200
+ return reflection.isInstance(item, DecisionDefBody.$type);
158
201
  }
159
- export const DecisionDefinition = 'DecisionDefinition';
202
+ export const DecisionDefinition = {
203
+ $type: 'DecisionDefinition',
204
+ body: 'body',
205
+ name: 'name'
206
+ };
160
207
  export function isDecisionDefinition(item) {
161
- return reflection.isInstance(item, DecisionDefinition);
208
+ return reflection.isInstance(item, DecisionDefinition.$type);
162
209
  }
163
- export const Delete = 'Delete';
210
+ export const Definition = {
211
+ $type: 'Definition'
212
+ };
213
+ export function isDefinition(item) {
214
+ return reflection.isInstance(item, Definition.$type);
215
+ }
216
+ export const Delete = {
217
+ $type: 'Delete',
218
+ pattern: 'pattern'
219
+ };
164
220
  export function isDelete(item) {
165
- return reflection.isInstance(item, Delete);
221
+ return reflection.isInstance(item, Delete.$type);
166
222
  }
167
- export const DirectiveDefinition = 'DirectiveDefinition';
223
+ export const DirectiveDefinition = {
224
+ $type: 'DirectiveDefinition',
225
+ body: 'body',
226
+ dir: 'dir',
227
+ name: 'name'
228
+ };
168
229
  export function isDirectiveDefinition(item) {
169
- return reflection.isInstance(item, DirectiveDefinition);
230
+ return reflection.isInstance(item, DirectiveDefinition.$type);
170
231
  }
171
- export const Else = 'Else';
232
+ export const Else = {
233
+ $type: 'Else',
234
+ statements: 'statements'
235
+ };
172
236
  export function isElse(item) {
173
- return reflection.isInstance(item, Else);
237
+ return reflection.isInstance(item, Else.$type);
174
238
  }
175
- export const EntityActionsDefinitions = 'EntityActionsDefinitions';
239
+ export const EntityActionsDefinitions = {
240
+ $type: 'EntityActionsDefinitions',
241
+ entries: 'entries'
242
+ };
176
243
  export function isEntityActionsDefinitions(item) {
177
- return reflection.isInstance(item, EntityActionsDefinitions);
244
+ return reflection.isInstance(item, EntityActionsDefinitions.$type);
178
245
  }
179
- export const EntityDefinition = 'EntityDefinition';
246
+ export const EntityDefinition = {
247
+ $type: 'EntityDefinition',
248
+ extends: 'extends',
249
+ name: 'name',
250
+ schema: 'schema'
251
+ };
180
252
  export function isEntityDefinition(item) {
181
- return reflection.isInstance(item, EntityDefinition);
253
+ return reflection.isInstance(item, EntityDefinition.$type);
182
254
  }
183
- export const EnumSpec = 'EnumSpec';
255
+ export const EnumSpec = {
256
+ $type: 'EnumSpec',
257
+ type: 'type',
258
+ values: 'values'
259
+ };
184
260
  export function isEnumSpec(item) {
185
- return reflection.isInstance(item, EnumSpec);
261
+ return reflection.isInstance(item, EnumSpec.$type);
186
262
  }
187
- export const EventDefinition = 'EventDefinition';
263
+ export const EventDefinition = {
264
+ $type: 'EventDefinition',
265
+ extends: 'extends',
266
+ name: 'name',
267
+ schema: 'schema'
268
+ };
188
269
  export function isEventDefinition(item) {
189
- return reflection.isInstance(item, EventDefinition);
270
+ return reflection.isInstance(item, EventDefinition.$type);
190
271
  }
191
- export const ExtendsClause = 'ExtendsClause';
272
+ export const Expr = {
273
+ $type: 'Expr'
274
+ };
275
+ export function isExpr(item) {
276
+ return reflection.isInstance(item, Expr.$type);
277
+ }
278
+ export const ExtendsClause = {
279
+ $type: 'ExtendsClause',
280
+ parentName: 'parentName'
281
+ };
192
282
  export function isExtendsClause(item) {
193
- return reflection.isInstance(item, ExtendsClause);
283
+ return reflection.isInstance(item, ExtendsClause.$type);
194
284
  }
195
- export const FlowDefBody = 'FlowDefBody';
285
+ export const FlowDefBody = {
286
+ $type: 'FlowDefBody',
287
+ entries: 'entries'
288
+ };
196
289
  export function isFlowDefBody(item) {
197
- return reflection.isInstance(item, FlowDefBody);
290
+ return reflection.isInstance(item, FlowDefBody.$type);
198
291
  }
199
- export const FlowDefinition = 'FlowDefinition';
292
+ export const FlowDefinition = {
293
+ $type: 'FlowDefinition',
294
+ body: 'body',
295
+ name: 'name'
296
+ };
200
297
  export function isFlowDefinition(item) {
201
- return reflection.isInstance(item, FlowDefinition);
298
+ return reflection.isInstance(item, FlowDefinition.$type);
202
299
  }
203
- export const FlowEntry = 'FlowEntry';
300
+ export const FlowEntry = {
301
+ $type: 'FlowEntry',
302
+ cond: 'cond',
303
+ next: 'next',
304
+ root: 'root'
305
+ };
204
306
  export function isFlowEntry(item) {
205
- return reflection.isInstance(item, FlowEntry);
307
+ return reflection.isInstance(item, FlowEntry.$type);
206
308
  }
207
- export const FnCall = 'FnCall';
309
+ export const FlowStepSpec = {
310
+ $type: 'FlowStepSpec'
311
+ };
312
+ export function isFlowStepSpec(item) {
313
+ return reflection.isInstance(item, FlowStepSpec.$type);
314
+ }
315
+ export const FnCall = {
316
+ $type: 'FnCall',
317
+ args: 'args',
318
+ name: 'name'
319
+ };
208
320
  export function isFnCall(item) {
209
- return reflection.isInstance(item, FnCall);
321
+ return reflection.isInstance(item, FnCall.$type);
210
322
  }
211
- export const ForEach = 'ForEach';
323
+ export const ForEach = {
324
+ $type: 'ForEach',
325
+ src: 'src',
326
+ statements: 'statements',
327
+ var: 'var'
328
+ };
212
329
  export function isForEach(item) {
213
- return reflection.isInstance(item, ForEach);
330
+ return reflection.isInstance(item, ForEach.$type);
214
331
  }
215
- export const FullTextSearch = 'FullTextSearch';
332
+ export const FullTextSearch = {
333
+ $type: 'FullTextSearch',
334
+ name: 'name',
335
+ options: 'options',
336
+ query: 'query'
337
+ };
216
338
  export function isFullTextSearch(item) {
217
- return reflection.isInstance(item, FullTextSearch);
339
+ return reflection.isInstance(item, FullTextSearch.$type);
218
340
  }
219
- export const GenericDefBody = 'GenericDefBody';
341
+ export const GenericDefBody = {
342
+ $type: 'GenericDefBody',
343
+ attributes: 'attributes'
344
+ };
220
345
  export function isGenericDefBody(item) {
221
- return reflection.isInstance(item, GenericDefBody);
346
+ return reflection.isInstance(item, GenericDefBody.$type);
347
+ }
348
+ export function isGenericName(item) {
349
+ return isSTRING(item) || (typeof item === 'string' && (/(?:[_a-zA-Z][\w_]*)(\/(?:[_a-zA-Z][\w_]*))?/.test(item)));
222
350
  }
223
- export const GenericPropertyDef = 'GenericPropertyDef';
351
+ export const GenericPropertyDef = {
352
+ $type: 'GenericPropertyDef',
353
+ name: 'name',
354
+ value: 'value'
355
+ };
224
356
  export function isGenericPropertyDef(item) {
225
- return reflection.isInstance(item, GenericPropertyDef);
357
+ return reflection.isInstance(item, GenericPropertyDef.$type);
226
358
  }
227
- export const GlossaryEntryDefinition = 'GlossaryEntryDefinition';
359
+ export const GlossaryEntryDefinition = {
360
+ $type: 'GlossaryEntryDefinition',
361
+ body: 'body',
362
+ glos: 'glos',
363
+ name: 'name'
364
+ };
228
365
  export function isGlossaryEntryDefinition(item) {
229
- return reflection.isInstance(item, GlossaryEntryDefinition);
366
+ return reflection.isInstance(item, GlossaryEntryDefinition.$type);
230
367
  }
231
- export const Group = 'Group';
368
+ export const Group = {
369
+ $type: 'Group',
370
+ ge: 'ge'
371
+ };
232
372
  export function isGroup(item) {
233
- return reflection.isInstance(item, Group);
373
+ return reflection.isInstance(item, Group.$type);
234
374
  }
235
- export const GroupByClause = 'GroupByClause';
375
+ export const GroupByClause = {
376
+ $type: 'GroupByClause',
377
+ colNames: 'colNames'
378
+ };
236
379
  export function isGroupByClause(item) {
237
- return reflection.isInstance(item, GroupByClause);
380
+ return reflection.isInstance(item, GroupByClause.$type);
238
381
  }
239
- export const Handler = 'Handler';
382
+ export const Handler = {
383
+ $type: 'Handler',
384
+ except: 'except',
385
+ stmt: 'stmt'
386
+ };
240
387
  export function isHandler(item) {
241
- return reflection.isInstance(item, Handler);
388
+ return reflection.isInstance(item, Handler.$type);
242
389
  }
243
- export const If = 'If';
390
+ export const If = {
391
+ $type: 'If',
392
+ cond: 'cond',
393
+ else: 'else',
394
+ statements: 'statements'
395
+ };
244
396
  export function isIf(item) {
245
- return reflection.isInstance(item, If);
397
+ return reflection.isInstance(item, If.$type);
246
398
  }
247
- export const IfWithAlias = 'IfWithAlias';
399
+ export const IfWithAlias = {
400
+ $type: 'IfWithAlias',
401
+ if: 'if'
402
+ };
248
403
  export function isIfWithAlias(item) {
249
- return reflection.isInstance(item, IfWithAlias);
404
+ return reflection.isInstance(item, IfWithAlias.$type);
250
405
  }
251
- export const Import = 'Import';
406
+ export const Import = {
407
+ $type: 'Import',
408
+ name: 'name',
409
+ path: 'path'
410
+ };
252
411
  export function isImport(item) {
253
- return reflection.isInstance(item, Import);
254
- }
255
- export const JoinSpec = 'JoinSpec';
412
+ return reflection.isInstance(item, Import.$type);
413
+ }
414
+ export const JoinSpec = {
415
+ $type: 'JoinSpec',
416
+ lhs: 'lhs',
417
+ name: 'name',
418
+ op: 'op',
419
+ rhs: 'rhs',
420
+ type: 'type'
421
+ };
256
422
  export function isJoinSpec(item) {
257
- return reflection.isInstance(item, JoinSpec);
423
+ return reflection.isInstance(item, JoinSpec.$type);
258
424
  }
259
- export const KvPair = 'KvPair';
425
+ export function isJoinType(item) {
426
+ return item === '@join' || item === '@inner_join' || item === '@left_join' || item === '@right_join' || item === '@full_join';
427
+ }
428
+ export const KvPair = {
429
+ $type: 'KvPair',
430
+ key: 'key',
431
+ value: 'value'
432
+ };
260
433
  export function isKvPair(item) {
261
- return reflection.isInstance(item, KvPair);
434
+ return reflection.isInstance(item, KvPair.$type);
262
435
  }
263
- export const KvPairs = 'KvPairs';
436
+ export const KvPairs = {
437
+ $type: 'KvPairs',
438
+ pairs: 'pairs'
439
+ };
264
440
  export function isKvPairs(item) {
265
- return reflection.isInstance(item, KvPairs);
266
- }
267
- export const Literal = 'Literal';
441
+ return reflection.isInstance(item, KvPairs.$type);
442
+ }
443
+ export const Literal = {
444
+ $type: 'Literal',
445
+ array: 'array',
446
+ asyncFnCall: 'asyncFnCall',
447
+ bool: 'bool',
448
+ fnCall: 'fnCall',
449
+ id: 'id',
450
+ map: 'map',
451
+ num: 'num',
452
+ ref: 'ref',
453
+ str: 'str'
454
+ };
268
455
  export function isLiteral(item) {
269
- return reflection.isInstance(item, Literal);
456
+ return reflection.isInstance(item, Literal.$type);
270
457
  }
271
- export const MapEntry = 'MapEntry';
458
+ export const MapEntry = {
459
+ $type: 'MapEntry',
460
+ key: 'key',
461
+ value: 'value'
462
+ };
272
463
  export function isMapEntry(item) {
273
- return reflection.isInstance(item, MapEntry);
464
+ return reflection.isInstance(item, MapEntry.$type);
274
465
  }
275
- export const MapKey = 'MapKey';
466
+ export const MapKey = {
467
+ $type: 'MapKey',
468
+ bool: 'bool',
469
+ num: 'num',
470
+ str: 'str'
471
+ };
276
472
  export function isMapKey(item) {
277
- return reflection.isInstance(item, MapKey);
473
+ return reflection.isInstance(item, MapKey.$type);
278
474
  }
279
- export const MapLiteral = 'MapLiteral';
475
+ export const MapLiteral = {
476
+ $type: 'MapLiteral',
477
+ entries: 'entries'
478
+ };
280
479
  export function isMapLiteral(item) {
281
- return reflection.isInstance(item, MapLiteral);
480
+ return reflection.isInstance(item, MapLiteral.$type);
282
481
  }
283
- export const MetaDefinition = 'MetaDefinition';
482
+ export const MetaDefinition = {
483
+ $type: 'MetaDefinition',
484
+ spec: 'spec'
485
+ };
284
486
  export function isMetaDefinition(item) {
285
- return reflection.isInstance(item, MetaDefinition);
487
+ return reflection.isInstance(item, MetaDefinition.$type);
286
488
  }
287
- export const ModuleDefinition = 'ModuleDefinition';
489
+ export const ModuleDefinition = {
490
+ $type: 'ModuleDefinition',
491
+ defs: 'defs',
492
+ imports: 'imports',
493
+ name: 'name'
494
+ };
288
495
  export function isModuleDefinition(item) {
289
- return reflection.isInstance(item, ModuleDefinition);
496
+ return reflection.isInstance(item, ModuleDefinition.$type);
290
497
  }
291
- export const NegExpr = 'NegExpr';
498
+ export const NegExpr = {
499
+ $type: 'NegExpr',
500
+ ne: 'ne'
501
+ };
292
502
  export function isNegExpr(item) {
293
- return reflection.isInstance(item, NegExpr);
503
+ return reflection.isInstance(item, NegExpr.$type);
294
504
  }
295
- export const NodeDefinition = 'NodeDefinition';
505
+ export const NodeDefinition = {
506
+ $type: 'NodeDefinition',
507
+ alias: 'alias',
508
+ name: 'name'
509
+ };
296
510
  export function isNodeDefinition(item) {
297
- return reflection.isInstance(item, NodeDefinition);
511
+ return reflection.isInstance(item, NodeDefinition.$type);
298
512
  }
299
- export const NotExpr = 'NotExpr';
513
+ export const NotExpr = {
514
+ $type: 'NotExpr',
515
+ ne: 'ne'
516
+ };
300
517
  export function isNotExpr(item) {
301
- return reflection.isInstance(item, NotExpr);
518
+ return reflection.isInstance(item, NotExpr.$type);
302
519
  }
303
- export const OneOfSpec = 'OneOfSpec';
520
+ export const OneOfSpec = {
521
+ $type: 'OneOfSpec',
522
+ ref: 'ref'
523
+ };
304
524
  export function isOneOfSpec(item) {
305
- return reflection.isInstance(item, OneOfSpec);
525
+ return reflection.isInstance(item, OneOfSpec.$type);
306
526
  }
307
- export const OrderByClause = 'OrderByClause';
527
+ export const OrderByClause = {
528
+ $type: 'OrderByClause',
529
+ colNames: 'colNames',
530
+ order: 'order'
531
+ };
308
532
  export function isOrderByClause(item) {
309
- return reflection.isInstance(item, OrderByClause);
310
- }
311
- export const Pattern = 'Pattern';
533
+ return reflection.isInstance(item, OrderByClause.$type);
534
+ }
535
+ export const Pattern = {
536
+ $type: 'Pattern',
537
+ crudMap: 'crudMap',
538
+ delete: 'delete',
539
+ expr: 'expr',
540
+ forEach: 'forEach',
541
+ fullTextSearch: 'fullTextSearch',
542
+ if: 'if',
543
+ ifWithAlias: 'ifWithAlias',
544
+ purge: 'purge',
545
+ return: 'return',
546
+ throwError: 'throwError'
547
+ };
312
548
  export function isPattern(item) {
313
- return reflection.isInstance(item, Pattern);
549
+ return reflection.isInstance(item, Pattern.$type);
314
550
  }
315
- export const PrePostTriggerDefinition = 'PrePostTriggerDefinition';
551
+ export const PrePostTriggerDefinition = {
552
+ $type: 'PrePostTriggerDefinition',
553
+ after: 'after',
554
+ before: 'before'
555
+ };
316
556
  export function isPrePostTriggerDefinition(item) {
317
- return reflection.isInstance(item, PrePostTriggerDefinition);
557
+ return reflection.isInstance(item, PrePostTriggerDefinition.$type);
558
+ }
559
+ export const PrimExpr = {
560
+ $type: 'PrimExpr'
561
+ };
562
+ export function isPrimExpr(item) {
563
+ return reflection.isInstance(item, PrimExpr.$type);
318
564
  }
319
- export const PropertyDefinition = 'PropertyDefinition';
565
+ export const PropertyDefinition = {
566
+ $type: 'PropertyDefinition',
567
+ name: 'name',
568
+ value: 'value'
569
+ };
320
570
  export function isPropertyDefinition(item) {
321
- return reflection.isInstance(item, PropertyDefinition);
571
+ return reflection.isInstance(item, PropertyDefinition.$type);
322
572
  }
323
- export const PublicAgentDefinition = 'PublicAgentDefinition';
573
+ export const PublicAgentDefinition = {
574
+ $type: 'PublicAgentDefinition',
575
+ def: 'def'
576
+ };
324
577
  export function isPublicAgentDefinition(item) {
325
- return reflection.isInstance(item, PublicAgentDefinition);
578
+ return reflection.isInstance(item, PublicAgentDefinition.$type);
326
579
  }
327
- export const PublicEventDefinition = 'PublicEventDefinition';
580
+ export const PublicEventDefinition = {
581
+ $type: 'PublicEventDefinition',
582
+ def: 'def'
583
+ };
328
584
  export function isPublicEventDefinition(item) {
329
- return reflection.isInstance(item, PublicEventDefinition);
585
+ return reflection.isInstance(item, PublicEventDefinition.$type);
330
586
  }
331
- export const PublicWorkflowDefinition = 'PublicWorkflowDefinition';
587
+ export const PublicWorkflowDefinition = {
588
+ $type: 'PublicWorkflowDefinition',
589
+ def: 'def'
590
+ };
332
591
  export function isPublicWorkflowDefinition(item) {
333
- return reflection.isInstance(item, PublicWorkflowDefinition);
592
+ return reflection.isInstance(item, PublicWorkflowDefinition.$type);
334
593
  }
335
- export const Purge = 'Purge';
594
+ export const Purge = {
595
+ $type: 'Purge',
596
+ pattern: 'pattern'
597
+ };
336
598
  export function isPurge(item) {
337
- return reflection.isInstance(item, Purge);
599
+ return reflection.isInstance(item, Purge.$type);
600
+ }
601
+ export function isQualifiedName(item) {
602
+ return isRef(item) || (typeof item === 'string' && (/(?:[_a-zA-Z][\w_]*)(\/(?:[_a-zA-Z][\w_]*))?/.test(item)));
603
+ }
604
+ export function isQueryId(item) {
605
+ return typeof item === 'string';
338
606
  }
339
- export const RbacAllowSpec = 'RbacAllowSpec';
607
+ export const RbacAllowSpec = {
608
+ $type: 'RbacAllowSpec',
609
+ oprs: 'oprs'
610
+ };
340
611
  export function isRbacAllowSpec(item) {
341
- return reflection.isInstance(item, RbacAllowSpec);
612
+ return reflection.isInstance(item, RbacAllowSpec.$type);
342
613
  }
343
- export const RbacExpressionSpec = 'RbacExpressionSpec';
614
+ export const RbacExpressionSpec = {
615
+ $type: 'RbacExpressionSpec',
616
+ lhs: 'lhs',
617
+ rhs: 'rhs'
618
+ };
344
619
  export function isRbacExpressionSpec(item) {
345
- return reflection.isInstance(item, RbacExpressionSpec);
620
+ return reflection.isInstance(item, RbacExpressionSpec.$type);
346
621
  }
347
- export const RbacOpr = 'RbacOpr';
622
+ export const RbacOpr = {
623
+ $type: 'RbacOpr',
624
+ value: 'value'
625
+ };
348
626
  export function isRbacOpr(item) {
349
- return reflection.isInstance(item, RbacOpr);
627
+ return reflection.isInstance(item, RbacOpr.$type);
350
628
  }
351
- export const RbacRolesSpec = 'RbacRolesSpec';
629
+ export const RbacRolesSpec = {
630
+ $type: 'RbacRolesSpec',
631
+ roles: 'roles'
632
+ };
352
633
  export function isRbacRolesSpec(item) {
353
- return reflection.isInstance(item, RbacRolesSpec);
634
+ return reflection.isInstance(item, RbacRolesSpec.$type);
354
635
  }
355
- export const RbacSpecDefinition = 'RbacSpecDefinition';
636
+ export const RbacSpecDefinition = {
637
+ $type: 'RbacSpecDefinition',
638
+ specEntries: 'specEntries'
639
+ };
356
640
  export function isRbacSpecDefinition(item) {
357
- return reflection.isInstance(item, RbacSpecDefinition);
641
+ return reflection.isInstance(item, RbacSpecDefinition.$type);
358
642
  }
359
- export const RbacSpecEntries = 'RbacSpecEntries';
643
+ export const RbacSpecEntries = {
644
+ $type: 'RbacSpecEntries',
645
+ entries: 'entries'
646
+ };
360
647
  export function isRbacSpecEntries(item) {
361
- return reflection.isInstance(item, RbacSpecEntries);
648
+ return reflection.isInstance(item, RbacSpecEntries.$type);
362
649
  }
363
- export const RbacSpecEntry = 'RbacSpecEntry';
650
+ export const RbacSpecEntry = {
651
+ $type: 'RbacSpecEntry',
652
+ allow: 'allow',
653
+ expr: 'expr',
654
+ role: 'role'
655
+ };
364
656
  export function isRbacSpecEntry(item) {
365
- return reflection.isInstance(item, RbacSpecEntry);
657
+ return reflection.isInstance(item, RbacSpecEntry.$type);
366
658
  }
367
- export const RecordDefinition = 'RecordDefinition';
659
+ export const RecordDefinition = {
660
+ $type: 'RecordDefinition',
661
+ extends: 'extends',
662
+ name: 'name',
663
+ schema: 'schema'
664
+ };
368
665
  export function isRecordDefinition(item) {
369
- return reflection.isInstance(item, RecordDefinition);
370
- }
371
- export const RecordExtraDefinition = 'RecordExtraDefinition';
666
+ return reflection.isInstance(item, RecordDefinition.$type);
667
+ }
668
+ export const RecordExtraDefinition = {
669
+ $type: 'RecordExtraDefinition',
670
+ actions: 'actions',
671
+ meta: 'meta',
672
+ prePost: 'prePost',
673
+ rbacSpec: 'rbacSpec',
674
+ uq: 'uq'
675
+ };
372
676
  export function isRecordExtraDefinition(item) {
373
- return reflection.isInstance(item, RecordExtraDefinition);
677
+ return reflection.isInstance(item, RecordExtraDefinition.$type);
374
678
  }
375
- export const RecordSchemaDefinition = 'RecordSchemaDefinition';
679
+ export const RecordSchemaDefinition = {
680
+ $type: 'RecordSchemaDefinition',
681
+ attributes: 'attributes',
682
+ extras: 'extras'
683
+ };
376
684
  export function isRecordSchemaDefinition(item) {
377
- return reflection.isInstance(item, RecordSchemaDefinition);
685
+ return reflection.isInstance(item, RecordSchemaDefinition.$type);
378
686
  }
379
- export const RefSpec = 'RefSpec';
380
- export function isRefSpec(item) {
381
- return reflection.isInstance(item, RefSpec);
687
+ export function isRef(item) {
688
+ return typeof item === 'string';
382
689
  }
383
- export const RelationshipDefinition = 'RelationshipDefinition';
690
+ export const RefSpec = {
691
+ $type: 'RefSpec',
692
+ ref: 'ref',
693
+ type: 'type'
694
+ };
695
+ export function isRefSpec(item) {
696
+ return reflection.isInstance(item, RefSpec.$type);
697
+ }
698
+ export const RelationshipDefinition = {
699
+ $type: 'RelationshipDefinition',
700
+ name: 'name',
701
+ nodes: 'nodes',
702
+ properties: 'properties',
703
+ schema: 'schema',
704
+ type: 'type'
705
+ };
384
706
  export function isRelationshipDefinition(item) {
385
- return reflection.isInstance(item, RelationshipDefinition);
707
+ return reflection.isInstance(item, RelationshipDefinition.$type);
386
708
  }
387
- export const RelationshipPattern = 'RelationshipPattern';
709
+ export const RelationshipPattern = {
710
+ $type: 'RelationshipPattern',
711
+ name: 'name',
712
+ pattern: 'pattern'
713
+ };
388
714
  export function isRelationshipPattern(item) {
389
- return reflection.isInstance(item, RelationshipPattern);
715
+ return reflection.isInstance(item, RelationshipPattern.$type);
390
716
  }
391
- export const RelNodes = 'RelNodes';
717
+ export const RelNodes = {
718
+ $type: 'RelNodes',
719
+ node1: 'node1',
720
+ node2: 'node2'
721
+ };
392
722
  export function isRelNodes(item) {
393
- return reflection.isInstance(item, RelNodes);
723
+ return reflection.isInstance(item, RelNodes.$type);
394
724
  }
395
- export const ResolverDefinition = 'ResolverDefinition';
725
+ export const ResolverDefinition = {
726
+ $type: 'ResolverDefinition',
727
+ methods: 'methods',
728
+ name: 'name',
729
+ paths: 'paths'
730
+ };
396
731
  export function isResolverDefinition(item) {
397
- return reflection.isInstance(item, ResolverDefinition);
732
+ return reflection.isInstance(item, ResolverDefinition.$type);
398
733
  }
399
- export const ResolverFnName = 'ResolverFnName';
734
+ export const ResolverFnName = {
735
+ $type: 'ResolverFnName',
736
+ name: 'name'
737
+ };
400
738
  export function isResolverFnName(item) {
401
- return reflection.isInstance(item, ResolverFnName);
739
+ return reflection.isInstance(item, ResolverFnName.$type);
402
740
  }
403
- export const ResolverMethodName = 'ResolverMethodName';
741
+ export const ResolverMethodName = {
742
+ $type: 'ResolverMethodName',
743
+ name: 'name'
744
+ };
404
745
  export function isResolverMethodName(item) {
405
- return reflection.isInstance(item, ResolverMethodName);
746
+ return reflection.isInstance(item, ResolverMethodName.$type);
406
747
  }
407
- export const ResolverMethodSpec = 'ResolverMethodSpec';
748
+ export const ResolverMethodSpec = {
749
+ $type: 'ResolverMethodSpec',
750
+ fn: 'fn',
751
+ key: 'key'
752
+ };
408
753
  export function isResolverMethodSpec(item) {
409
- return reflection.isInstance(item, ResolverMethodSpec);
754
+ return reflection.isInstance(item, ResolverMethodSpec.$type);
410
755
  }
411
- export const RetryDefinition = 'RetryDefinition';
756
+ export function isResolverPathEntry(item) {
757
+ return isQualifiedName(item) || isGenericName(item);
758
+ }
759
+ export const RetryDefinition = {
760
+ $type: 'RetryDefinition',
761
+ attempts: 'attempts',
762
+ backoff: 'backoff',
763
+ name: 'name'
764
+ };
412
765
  export function isRetryDefinition(item) {
413
- return reflection.isInstance(item, RetryDefinition);
766
+ return reflection.isInstance(item, RetryDefinition.$type);
414
767
  }
415
- export const Return = 'Return';
768
+ export const Return = {
769
+ $type: 'Return',
770
+ pattern: 'pattern'
771
+ };
416
772
  export function isReturn(item) {
417
- return reflection.isInstance(item, Return);
773
+ return reflection.isInstance(item, Return.$type);
418
774
  }
419
- export const RuntimeHint = 'RuntimeHint';
775
+ export const RuntimeHint = {
776
+ $type: 'RuntimeHint',
777
+ aliasSpec: 'aliasSpec',
778
+ catchSpec: 'catchSpec',
779
+ thenSpec: 'thenSpec'
780
+ };
420
781
  export function isRuntimeHint(item) {
421
- return reflection.isInstance(item, RuntimeHint);
782
+ return reflection.isInstance(item, RuntimeHint.$type);
422
783
  }
423
- export const ScenarioDefinition = 'ScenarioDefinition';
784
+ export const ScenarioDefinition = {
785
+ $type: 'ScenarioDefinition',
786
+ body: 'body',
787
+ name: 'name',
788
+ scn: 'scn'
789
+ };
424
790
  export function isScenarioDefinition(item) {
425
- return reflection.isInstance(item, ScenarioDefinition);
791
+ return reflection.isInstance(item, ScenarioDefinition.$type);
426
792
  }
427
- export const SelectIntoEntry = 'SelectIntoEntry';
793
+ export const SchemaDefinition = {
794
+ $type: 'SchemaDefinition'
795
+ };
796
+ export function isSchemaDefinition(item) {
797
+ return reflection.isInstance(item, SchemaDefinition.$type);
798
+ }
799
+ export const SelectIntoEntry = {
800
+ $type: 'SelectIntoEntry',
801
+ aggregate: 'aggregate',
802
+ alias: 'alias',
803
+ attribute: 'attribute'
804
+ };
428
805
  export function isSelectIntoEntry(item) {
429
- return reflection.isInstance(item, SelectIntoEntry);
806
+ return reflection.isInstance(item, SelectIntoEntry.$type);
430
807
  }
431
- export const SelectIntoSpec = 'SelectIntoSpec';
808
+ export const SelectIntoSpec = {
809
+ $type: 'SelectIntoSpec',
810
+ entries: 'entries'
811
+ };
432
812
  export function isSelectIntoSpec(item) {
433
- return reflection.isInstance(item, SelectIntoSpec);
434
- }
435
- export const SetAttribute = 'SetAttribute';
813
+ return reflection.isInstance(item, SelectIntoSpec.$type);
814
+ }
815
+ export const SetAttribute = {
816
+ $type: 'SetAttribute',
817
+ aggregate: 'aggregate',
818
+ name: 'name',
819
+ op: 'op',
820
+ value: 'value'
821
+ };
436
822
  export function isSetAttribute(item) {
437
- return reflection.isInstance(item, SetAttribute);
823
+ return reflection.isInstance(item, SetAttribute.$type);
824
+ }
825
+ export function isSqlComparisonOpr(item) {
826
+ return item === '=' || item === '<>' || item === '!=' || item === '<' || item === '<=' || item === '>' || item === '>=' || item === 'in' || item === 'like' || item === 'between';
438
827
  }
439
- export const StandaloneStatement = 'StandaloneStatement';
828
+ export const StandaloneStatement = {
829
+ $type: 'StandaloneStatement',
830
+ stmt: 'stmt'
831
+ };
440
832
  export function isStandaloneStatement(item) {
441
- return reflection.isInstance(item, StandaloneStatement);
833
+ return reflection.isInstance(item, StandaloneStatement.$type);
442
834
  }
443
- export const Statement = 'Statement';
835
+ export const Statement = {
836
+ $type: 'Statement',
837
+ hints: 'hints',
838
+ pattern: 'pattern'
839
+ };
444
840
  export function isStatement(item) {
445
- return reflection.isInstance(item, Statement);
841
+ return reflection.isInstance(item, Statement.$type);
842
+ }
843
+ export function isSTRING(item) {
844
+ return (typeof item === 'string' && (/"(\\(?:[\s\S])|(?:(?!(\\|"|\r|\n))[\s\S]*?)|\r?\n)*"/.test(item) || /`(\\(?:[\s\S])|(?:(?!(\\|`|\r|\n))[\s\S]*?)|\r?\n)*`/.test(item)));
446
845
  }
447
- export const ThenSpec = 'ThenSpec';
846
+ export function isTaggedId(item) {
847
+ return typeof item === 'string';
848
+ }
849
+ export const ThenSpec = {
850
+ $type: 'ThenSpec',
851
+ statements: 'statements'
852
+ };
448
853
  export function isThenSpec(item) {
449
- return reflection.isInstance(item, ThenSpec);
854
+ return reflection.isInstance(item, ThenSpec.$type);
450
855
  }
451
- export const ThrowError = 'ThrowError';
856
+ export const ThrowError = {
857
+ $type: 'ThrowError',
858
+ reason: 'reason'
859
+ };
452
860
  export function isThrowError(item) {
453
- return reflection.isInstance(item, ThrowError);
861
+ return reflection.isInstance(item, ThrowError.$type);
454
862
  }
455
- export const TriggerDefinition = 'TriggerDefinition';
863
+ export const TriggerDefinition = {
864
+ $type: 'TriggerDefinition',
865
+ entries: 'entries'
866
+ };
456
867
  export function isTriggerDefinition(item) {
457
- return reflection.isInstance(item, TriggerDefinition);
868
+ return reflection.isInstance(item, TriggerDefinition.$type);
458
869
  }
459
- export const TriggerEntry = 'TriggerEntry';
870
+ export const TriggerEntry = {
871
+ $type: 'TriggerEntry',
872
+ async: 'async',
873
+ event: 'event',
874
+ on: 'on'
875
+ };
460
876
  export function isTriggerEntry(item) {
461
- return reflection.isInstance(item, TriggerEntry);
877
+ return reflection.isInstance(item, TriggerEntry.$type);
462
878
  }
463
- export const WhereSpec = 'WhereSpec';
879
+ export const WhereSpec = {
880
+ $type: 'WhereSpec',
881
+ clauses: 'clauses'
882
+ };
464
883
  export function isWhereSpec(item) {
465
- return reflection.isInstance(item, WhereSpec);
884
+ return reflection.isInstance(item, WhereSpec.$type);
466
885
  }
467
- export const WhereSpecClause = 'WhereSpecClause';
886
+ export const WhereSpecClause = {
887
+ $type: 'WhereSpecClause',
888
+ lhs: 'lhs',
889
+ op: 'op',
890
+ rhs: 'rhs'
891
+ };
468
892
  export function isWhereSpecClause(item) {
469
- return reflection.isInstance(item, WhereSpecClause);
470
- }
471
- export const WorkflowDefinition = 'WorkflowDefinition';
893
+ return reflection.isInstance(item, WhereSpecClause.$type);
894
+ }
895
+ export const WorkflowDefinition = {
896
+ $type: 'WorkflowDefinition',
897
+ directives: 'directives',
898
+ header: 'header',
899
+ name: 'name',
900
+ statements: 'statements'
901
+ };
472
902
  export function isWorkflowDefinition(item) {
473
- return reflection.isInstance(item, WorkflowDefinition);
903
+ return reflection.isInstance(item, WorkflowDefinition.$type);
904
+ }
905
+ export const WorkflowDirectiveEntry = {
906
+ $type: 'WorkflowDirectiveEntry',
907
+ tag: 'tag',
908
+ value: 'value'
909
+ };
910
+ export function isWorkflowDirectiveEntry(item) {
911
+ return reflection.isInstance(item, WorkflowDirectiveEntry.$type);
474
912
  }
475
- export const WorkflowHeader = 'WorkflowHeader';
913
+ export const WorkflowDirectives = {
914
+ $type: 'WorkflowDirectives',
915
+ entries: 'entries'
916
+ };
917
+ export function isWorkflowDirectives(item) {
918
+ return reflection.isInstance(item, WorkflowDirectives.$type);
919
+ }
920
+ export const WorkflowHeader = {
921
+ $type: 'WorkflowHeader',
922
+ name: 'name',
923
+ prefix: 'prefix',
924
+ tag: 'tag'
925
+ };
476
926
  export function isWorkflowHeader(item) {
477
- return reflection.isInstance(item, WorkflowHeader);
927
+ return reflection.isInstance(item, WorkflowHeader.$type);
928
+ }
929
+ export function isWorkflowHeaderPrefix(item) {
930
+ return item === 'create' || item === 'update' || item === 'delete';
931
+ }
932
+ export function isWorkflowHeaderTag(item) {
933
+ return item === '@after' || item === '@before';
478
934
  }
479
935
  export class AgentlangAstReflection extends langium.AbstractAstReflection {
480
- getAllTypes() {
481
- return [ActionEntry, AfterTriggerDefinition, AgentDefinition, AgentXtraAttribute, AgentXtraSpec, AggregateFunctionSpec, AliasSpec, ArrayLiteral, AsyncFnCall, AttributeDefinition, AttributeValueExpression, BackoffSpec, BeforeTriggerDefinition, BinExpr, CaseEntry, CatchSpec, CompositeUniqueDefinition, ConditionalFlowStep, CrudMap, CrudMapBody, DecisionDefBody, DecisionDefinition, Definition, Delete, DirectiveDefinition, Else, EntityActionsDefinitions, EntityDefinition, EnumSpec, EventDefinition, Expr, ExtendsClause, FlowDefBody, FlowDefinition, FlowEntry, FlowStepSpec, FnCall, ForEach, FullTextSearch, GenericDefBody, GenericPropertyDef, GlossaryEntryDefinition, Group, GroupByClause, Handler, If, IfWithAlias, Import, JoinSpec, KvPair, KvPairs, Literal, MapEntry, MapKey, MapLiteral, MetaDefinition, ModuleDefinition, NegExpr, NodeDefinition, NotExpr, OneOfSpec, OrderByClause, Pattern, PrePostTriggerDefinition, PrimExpr, PropertyDefinition, PublicAgentDefinition, PublicEventDefinition, PublicWorkflowDefinition, Purge, RbacAllowSpec, RbacExpressionSpec, RbacOpr, RbacRolesSpec, RbacSpecDefinition, RbacSpecEntries, RbacSpecEntry, RecordDefinition, RecordExtraDefinition, RecordSchemaDefinition, RefSpec, RelNodes, RelationshipDefinition, RelationshipPattern, ResolverDefinition, ResolverFnName, ResolverMethodName, ResolverMethodSpec, RetryDefinition, Return, RuntimeHint, ScenarioDefinition, SchemaDefinition, SelectIntoEntry, SelectIntoSpec, SetAttribute, StandaloneStatement, Statement, ThenSpec, ThrowError, TriggerDefinition, TriggerEntry, WhereSpec, WhereSpecClause, WorkflowDefinition, WorkflowHeader];
482
- }
483
- computeIsSubtype(subtype, supertype) {
484
- switch (subtype) {
485
- case AgentDefinition:
486
- case DecisionDefinition:
487
- case DirectiveDefinition:
488
- case FlowDefinition:
489
- case GlossaryEntryDefinition:
490
- case PublicAgentDefinition:
491
- case PublicWorkflowDefinition:
492
- case RelationshipDefinition:
493
- case ResolverDefinition:
494
- case RetryDefinition:
495
- case ScenarioDefinition:
496
- case SchemaDefinition:
497
- case StandaloneStatement:
498
- case WorkflowDefinition: {
499
- return this.isSubtype(Definition, supertype);
500
- }
501
- case BinExpr:
502
- case PrimExpr: {
503
- return this.isSubtype(Expr, supertype);
504
- }
505
- case EntityDefinition:
506
- case EventDefinition:
507
- case PublicEventDefinition:
508
- case RecordDefinition: {
509
- return this.isSubtype(SchemaDefinition, supertype);
510
- }
511
- case Expr: {
512
- return this.isSubtype(AttributeValueExpression, supertype);
513
- }
514
- case Group:
515
- case Literal:
516
- case NegExpr:
517
- case NotExpr: {
518
- return this.isSubtype(PrimExpr, supertype);
519
- }
520
- case Statement: {
521
- return this.isSubtype(FlowStepSpec, supertype);
522
- }
523
- default: {
524
- return false;
525
- }
526
- }
527
- }
528
- getReferenceType(refInfo) {
529
- const referenceId = `${refInfo.container.$type}:${refInfo.property}`;
530
- switch (referenceId) {
531
- default: {
532
- throw new Error(`${referenceId} is not a valid reference id.`);
533
- }
534
- }
535
- }
536
- getTypeMetaData(type) {
537
- switch (type) {
538
- case ActionEntry: {
539
- return {
540
- name: ActionEntry,
541
- properties: [
542
- { name: 'event' },
543
- { name: 'name' }
544
- ]
545
- };
546
- }
547
- case AfterTriggerDefinition: {
548
- return {
549
- name: AfterTriggerDefinition,
550
- properties: [
551
- { name: 'triggers' }
552
- ]
553
- };
554
- }
555
- case AgentDefinition: {
556
- return {
557
- name: AgentDefinition,
558
- properties: [
559
- { name: 'body' },
560
- { name: 'name' }
561
- ]
562
- };
563
- }
564
- case AgentXtraAttribute: {
565
- return {
566
- name: AgentXtraAttribute,
567
- properties: [
568
- { name: 'name' },
569
- { name: 'value' }
570
- ]
571
- };
572
- }
573
- case AgentXtraSpec: {
574
- return {
575
- name: AgentXtraSpec,
576
- properties: [
577
- { name: 'attributes', defaultValue: [] }
578
- ]
579
- };
580
- }
581
- case AggregateFunctionSpec: {
582
- return {
583
- name: AggregateFunctionSpec,
584
- properties: [
585
- { name: 'args', defaultValue: [] },
586
- { name: 'name' }
587
- ]
588
- };
589
- }
590
- case AliasSpec: {
591
- return {
592
- name: AliasSpec,
593
- properties: [
594
- { name: 'alias' },
595
- { name: 'aliases', defaultValue: [] }
596
- ]
597
- };
598
- }
599
- case ArrayLiteral: {
600
- return {
601
- name: ArrayLiteral,
602
- properties: [
603
- { name: 'vals', defaultValue: [] }
604
- ]
605
- };
606
- }
607
- case AsyncFnCall: {
608
- return {
609
- name: AsyncFnCall,
610
- properties: [
611
- { name: 'fnCall' }
612
- ]
613
- };
614
- }
615
- case AttributeDefinition: {
616
- return {
617
- name: AttributeDefinition,
618
- properties: [
619
- { name: 'arrayType' },
620
- { name: 'enumSpec' },
621
- { name: 'expr' },
622
- { name: 'name' },
623
- { name: 'oneOfSpec' },
624
- { name: 'properties', defaultValue: [] },
625
- { name: 'refSpec' },
626
- { name: 'type' }
627
- ]
628
- };
629
- }
630
- case BackoffSpec: {
631
- return {
632
- name: BackoffSpec,
633
- properties: [
634
- { name: 'attributes', defaultValue: [] }
635
- ]
636
- };
637
- }
638
- case BeforeTriggerDefinition: {
639
- return {
640
- name: BeforeTriggerDefinition,
641
- properties: [
642
- { name: 'triggers' }
643
- ]
644
- };
645
- }
646
- case BinExpr: {
647
- return {
648
- name: BinExpr,
649
- properties: [
650
- { name: 'e1' },
651
- { name: 'e2' },
652
- { name: 'op' }
653
- ]
654
- };
655
- }
656
- case CaseEntry: {
657
- return {
658
- name: CaseEntry,
659
- properties: [
660
- { name: 'cond' },
661
- { name: 'statements', defaultValue: [] }
662
- ]
663
- };
664
- }
665
- case CatchSpec: {
666
- return {
667
- name: CatchSpec,
668
- properties: [
669
- { name: 'handlers', defaultValue: [] }
670
- ]
671
- };
672
- }
673
- case CompositeUniqueDefinition: {
674
- return {
675
- name: CompositeUniqueDefinition,
676
- properties: [
677
- { name: 'attrs', defaultValue: [] }
678
- ]
679
- };
680
- }
681
- case ConditionalFlowStep: {
682
- return {
683
- name: ConditionalFlowStep,
684
- properties: [
685
- { name: 'expr' },
686
- { name: 'next' }
687
- ]
688
- };
689
- }
690
- case CrudMap: {
691
- return {
692
- name: CrudMap,
693
- properties: [
694
- { name: 'body' },
695
- { name: 'distinct', defaultValue: [] },
696
- { name: 'groupByClause' },
697
- { name: 'into' },
698
- { name: 'joins', defaultValue: [] },
699
- { name: 'name' },
700
- { name: 'orderByClause' },
701
- { name: 'relationships', defaultValue: [] },
702
- { name: 'source' },
703
- { name: 'upsert', defaultValue: [] },
704
- { name: 'where' }
705
- ]
706
- };
707
- }
708
- case CrudMapBody: {
709
- return {
710
- name: CrudMapBody,
711
- properties: [
712
- { name: 'attributes', defaultValue: [] },
713
- { name: 'properties', defaultValue: [] }
714
- ]
715
- };
716
- }
717
- case DecisionDefBody: {
718
- return {
719
- name: DecisionDefBody,
720
- properties: [
721
- { name: 'cases', defaultValue: [] }
722
- ]
723
- };
724
- }
725
- case DecisionDefinition: {
726
- return {
727
- name: DecisionDefinition,
728
- properties: [
729
- { name: 'body' },
730
- { name: 'name' }
731
- ]
732
- };
733
- }
734
- case Delete: {
735
- return {
736
- name: Delete,
737
- properties: [
738
- { name: 'pattern' }
739
- ]
740
- };
741
- }
742
- case DirectiveDefinition: {
743
- return {
744
- name: DirectiveDefinition,
745
- properties: [
746
- { name: 'body' },
747
- { name: 'dir' },
748
- { name: 'name' }
749
- ]
750
- };
751
- }
752
- case Else: {
753
- return {
754
- name: Else,
755
- properties: [
756
- { name: 'statements', defaultValue: [] }
757
- ]
758
- };
759
- }
760
- case EntityActionsDefinitions: {
761
- return {
762
- name: EntityActionsDefinitions,
763
- properties: [
764
- { name: 'entries', defaultValue: [] }
765
- ]
766
- };
767
- }
768
- case EntityDefinition: {
769
- return {
770
- name: EntityDefinition,
771
- properties: [
772
- { name: 'extends' },
773
- { name: 'name' },
774
- { name: 'schema' }
775
- ]
776
- };
777
- }
778
- case EnumSpec: {
779
- return {
780
- name: EnumSpec,
781
- properties: [
782
- { name: 'type' },
783
- { name: 'values', defaultValue: [] }
784
- ]
785
- };
786
- }
787
- case EventDefinition: {
788
- return {
789
- name: EventDefinition,
790
- properties: [
791
- { name: 'extends' },
792
- { name: 'name' },
793
- { name: 'schema' }
794
- ]
795
- };
796
- }
797
- case ExtendsClause: {
798
- return {
799
- name: ExtendsClause,
800
- properties: [
801
- { name: 'parentName' }
802
- ]
803
- };
804
- }
805
- case FlowDefBody: {
806
- return {
807
- name: FlowDefBody,
808
- properties: [
809
- { name: 'entries', defaultValue: [] }
810
- ]
811
- };
812
- }
813
- case FlowDefinition: {
814
- return {
815
- name: FlowDefinition,
816
- properties: [
817
- { name: 'body' },
818
- { name: 'name' }
819
- ]
820
- };
821
- }
822
- case FlowEntry: {
823
- return {
824
- name: FlowEntry,
825
- properties: [
826
- { name: 'cond' },
827
- { name: 'next' },
828
- { name: 'root' }
829
- ]
830
- };
831
- }
832
- case FnCall: {
833
- return {
834
- name: FnCall,
835
- properties: [
836
- { name: 'args', defaultValue: [] },
837
- { name: 'name' }
838
- ]
839
- };
840
- }
841
- case ForEach: {
842
- return {
843
- name: ForEach,
844
- properties: [
845
- { name: 'src' },
846
- { name: 'statements', defaultValue: [] },
847
- { name: 'var' }
848
- ]
849
- };
850
- }
851
- case FullTextSearch: {
852
- return {
853
- name: FullTextSearch,
854
- properties: [
855
- { name: 'name' },
856
- { name: 'options' },
857
- { name: 'query' }
858
- ]
859
- };
860
- }
861
- case GenericDefBody: {
862
- return {
863
- name: GenericDefBody,
864
- properties: [
865
- { name: 'attributes', defaultValue: [] }
866
- ]
867
- };
868
- }
869
- case GenericPropertyDef: {
870
- return {
871
- name: GenericPropertyDef,
872
- properties: [
873
- { name: 'name' },
874
- { name: 'value' }
875
- ]
876
- };
877
- }
878
- case GlossaryEntryDefinition: {
879
- return {
880
- name: GlossaryEntryDefinition,
881
- properties: [
882
- { name: 'body' },
883
- { name: 'glos' },
884
- { name: 'name' }
885
- ]
886
- };
887
- }
888
- case Group: {
889
- return {
890
- name: Group,
891
- properties: [
892
- { name: 'ge' }
893
- ]
894
- };
895
- }
896
- case GroupByClause: {
897
- return {
898
- name: GroupByClause,
899
- properties: [
900
- { name: 'colNames', defaultValue: [] }
901
- ]
902
- };
903
- }
904
- case Handler: {
905
- return {
906
- name: Handler,
907
- properties: [
908
- { name: 'except' },
909
- { name: 'stmt' }
910
- ]
911
- };
912
- }
913
- case If: {
914
- return {
915
- name: If,
916
- properties: [
917
- { name: 'cond' },
918
- { name: 'else' },
919
- { name: 'statements', defaultValue: [] }
920
- ]
921
- };
922
- }
923
- case IfWithAlias: {
924
- return {
925
- name: IfWithAlias,
926
- properties: [
927
- { name: 'if' }
928
- ]
929
- };
930
- }
931
- case Import: {
932
- return {
933
- name: Import,
934
- properties: [
935
- { name: 'name' },
936
- { name: 'path' }
937
- ]
938
- };
939
- }
940
- case JoinSpec: {
941
- return {
942
- name: JoinSpec,
943
- properties: [
944
- { name: 'lhs' },
945
- { name: 'name' },
946
- { name: 'op' },
947
- { name: 'rhs' },
948
- { name: 'type' }
949
- ]
950
- };
951
- }
952
- case KvPair: {
953
- return {
954
- name: KvPair,
955
- properties: [
956
- { name: 'key' },
957
- { name: 'value' }
958
- ]
959
- };
960
- }
961
- case KvPairs: {
962
- return {
963
- name: KvPairs,
964
- properties: [
965
- { name: 'pairs', defaultValue: [] }
966
- ]
967
- };
968
- }
969
- case Literal: {
970
- return {
971
- name: Literal,
972
- properties: [
973
- { name: 'array' },
974
- { name: 'asyncFnCall' },
975
- { name: 'bool' },
976
- { name: 'fnCall' },
977
- { name: 'id' },
978
- { name: 'map' },
979
- { name: 'num' },
980
- { name: 'ref' },
981
- { name: 'str' }
982
- ]
983
- };
984
- }
985
- case MapEntry: {
986
- return {
987
- name: MapEntry,
988
- properties: [
989
- { name: 'key' },
990
- { name: 'value' }
991
- ]
992
- };
993
- }
994
- case MapKey: {
995
- return {
996
- name: MapKey,
997
- properties: [
998
- { name: 'bool' },
999
- { name: 'num' },
1000
- { name: 'str' }
1001
- ]
1002
- };
1003
- }
1004
- case MapLiteral: {
1005
- return {
1006
- name: MapLiteral,
1007
- properties: [
1008
- { name: 'entries', defaultValue: [] }
1009
- ]
1010
- };
1011
- }
1012
- case MetaDefinition: {
1013
- return {
1014
- name: MetaDefinition,
1015
- properties: [
1016
- { name: 'spec' }
1017
- ]
1018
- };
1019
- }
1020
- case ModuleDefinition: {
1021
- return {
1022
- name: ModuleDefinition,
1023
- properties: [
1024
- { name: 'defs', defaultValue: [] },
1025
- { name: 'imports', defaultValue: [] },
1026
- { name: 'name' }
1027
- ]
1028
- };
1029
- }
1030
- case NegExpr: {
1031
- return {
1032
- name: NegExpr,
1033
- properties: [
1034
- { name: 'ne' }
1035
- ]
1036
- };
1037
- }
1038
- case NodeDefinition: {
1039
- return {
1040
- name: NodeDefinition,
1041
- properties: [
1042
- { name: 'alias' },
1043
- { name: 'name' }
1044
- ]
1045
- };
1046
- }
1047
- case NotExpr: {
1048
- return {
1049
- name: NotExpr,
1050
- properties: [
1051
- { name: 'ne' }
1052
- ]
1053
- };
1054
- }
1055
- case OneOfSpec: {
1056
- return {
1057
- name: OneOfSpec,
1058
- properties: [
1059
- { name: 'ref' }
1060
- ]
1061
- };
1062
- }
1063
- case OrderByClause: {
1064
- return {
1065
- name: OrderByClause,
1066
- properties: [
1067
- { name: 'colNames', defaultValue: [] },
1068
- { name: 'order' }
1069
- ]
1070
- };
1071
- }
1072
- case Pattern: {
1073
- return {
1074
- name: Pattern,
1075
- properties: [
1076
- { name: 'crudMap' },
1077
- { name: 'delete' },
1078
- { name: 'expr' },
1079
- { name: 'forEach' },
1080
- { name: 'fullTextSearch' },
1081
- { name: 'if' },
1082
- { name: 'ifWithAlias' },
1083
- { name: 'purge' },
1084
- { name: 'return' },
1085
- { name: 'throwError' }
1086
- ]
1087
- };
1088
- }
1089
- case PrePostTriggerDefinition: {
1090
- return {
1091
- name: PrePostTriggerDefinition,
1092
- properties: [
1093
- { name: 'after' },
1094
- { name: 'before' }
1095
- ]
1096
- };
1097
- }
1098
- case PropertyDefinition: {
1099
- return {
1100
- name: PropertyDefinition,
1101
- properties: [
1102
- { name: 'name' },
1103
- { name: 'value' }
1104
- ]
1105
- };
1106
- }
1107
- case PublicAgentDefinition: {
1108
- return {
1109
- name: PublicAgentDefinition,
1110
- properties: [
1111
- { name: 'def' }
1112
- ]
1113
- };
1114
- }
1115
- case PublicEventDefinition: {
1116
- return {
1117
- name: PublicEventDefinition,
1118
- properties: [
1119
- { name: 'def' }
1120
- ]
1121
- };
1122
- }
1123
- case PublicWorkflowDefinition: {
1124
- return {
1125
- name: PublicWorkflowDefinition,
1126
- properties: [
1127
- { name: 'def' }
1128
- ]
1129
- };
1130
- }
1131
- case Purge: {
1132
- return {
1133
- name: Purge,
1134
- properties: [
1135
- { name: 'pattern' }
1136
- ]
1137
- };
1138
- }
1139
- case RbacAllowSpec: {
1140
- return {
1141
- name: RbacAllowSpec,
1142
- properties: [
1143
- { name: 'oprs', defaultValue: [] }
1144
- ]
1145
- };
1146
- }
1147
- case RbacExpressionSpec: {
1148
- return {
1149
- name: RbacExpressionSpec,
1150
- properties: [
1151
- { name: 'lhs' },
1152
- { name: 'rhs' }
1153
- ]
1154
- };
1155
- }
1156
- case RbacOpr: {
1157
- return {
1158
- name: RbacOpr,
1159
- properties: [
1160
- { name: 'value' }
1161
- ]
1162
- };
1163
- }
1164
- case RbacRolesSpec: {
1165
- return {
1166
- name: RbacRolesSpec,
1167
- properties: [
1168
- { name: 'roles', defaultValue: [] }
1169
- ]
1170
- };
1171
- }
1172
- case RbacSpecDefinition: {
1173
- return {
1174
- name: RbacSpecDefinition,
1175
- properties: [
1176
- { name: 'specEntries', defaultValue: [] }
1177
- ]
1178
- };
1179
- }
1180
- case RbacSpecEntries: {
1181
- return {
1182
- name: RbacSpecEntries,
1183
- properties: [
1184
- { name: 'entries', defaultValue: [] }
1185
- ]
1186
- };
1187
- }
1188
- case RbacSpecEntry: {
1189
- return {
1190
- name: RbacSpecEntry,
1191
- properties: [
1192
- { name: 'allow' },
1193
- { name: 'expr' },
1194
- { name: 'role' }
1195
- ]
1196
- };
1197
- }
1198
- case RecordDefinition: {
1199
- return {
1200
- name: RecordDefinition,
1201
- properties: [
1202
- { name: 'extends' },
1203
- { name: 'name' },
1204
- { name: 'schema' }
1205
- ]
1206
- };
1207
- }
1208
- case RecordExtraDefinition: {
1209
- return {
1210
- name: RecordExtraDefinition,
1211
- properties: [
1212
- { name: 'actions' },
1213
- { name: 'meta' },
1214
- { name: 'prePost' },
1215
- { name: 'rbacSpec' },
1216
- { name: 'uq' }
1217
- ]
1218
- };
1219
- }
1220
- case RecordSchemaDefinition: {
1221
- return {
1222
- name: RecordSchemaDefinition,
1223
- properties: [
1224
- { name: 'attributes', defaultValue: [] },
1225
- { name: 'extras', defaultValue: [] }
1226
- ]
1227
- };
1228
- }
1229
- case RefSpec: {
1230
- return {
1231
- name: RefSpec,
1232
- properties: [
1233
- { name: 'ref' },
1234
- { name: 'type' }
1235
- ]
1236
- };
1237
- }
1238
- case RelationshipDefinition: {
1239
- return {
1240
- name: RelationshipDefinition,
1241
- properties: [
1242
- { name: 'name' },
1243
- { name: 'nodes' },
1244
- { name: 'properties', defaultValue: [] },
1245
- { name: 'schema' },
1246
- { name: 'type' }
1247
- ]
1248
- };
1249
- }
1250
- case RelationshipPattern: {
1251
- return {
1252
- name: RelationshipPattern,
1253
- properties: [
1254
- { name: 'name' },
1255
- { name: 'pattern' }
1256
- ]
1257
- };
1258
- }
1259
- case RelNodes: {
1260
- return {
1261
- name: RelNodes,
1262
- properties: [
1263
- { name: 'node1' },
1264
- { name: 'node2' }
1265
- ]
1266
- };
1267
- }
1268
- case ResolverDefinition: {
1269
- return {
1270
- name: ResolverDefinition,
1271
- properties: [
1272
- { name: 'methods', defaultValue: [] },
1273
- { name: 'name' },
1274
- { name: 'paths', defaultValue: [] }
1275
- ]
1276
- };
1277
- }
1278
- case ResolverFnName: {
1279
- return {
1280
- name: ResolverFnName,
1281
- properties: [
1282
- { name: 'name' }
1283
- ]
1284
- };
1285
- }
1286
- case ResolverMethodName: {
1287
- return {
1288
- name: ResolverMethodName,
1289
- properties: [
1290
- { name: 'name' }
1291
- ]
1292
- };
1293
- }
1294
- case ResolverMethodSpec: {
1295
- return {
1296
- name: ResolverMethodSpec,
1297
- properties: [
1298
- { name: 'fn' },
1299
- { name: 'key' }
1300
- ]
1301
- };
1302
- }
1303
- case RetryDefinition: {
1304
- return {
1305
- name: RetryDefinition,
1306
- properties: [
1307
- { name: 'attempts' },
1308
- { name: 'backoff' },
1309
- { name: 'name' }
1310
- ]
1311
- };
1312
- }
1313
- case Return: {
1314
- return {
1315
- name: Return,
1316
- properties: [
1317
- { name: 'pattern' }
1318
- ]
1319
- };
1320
- }
1321
- case RuntimeHint: {
1322
- return {
1323
- name: RuntimeHint,
1324
- properties: [
1325
- { name: 'aliasSpec' },
1326
- { name: 'catchSpec' },
1327
- { name: 'thenSpec' }
1328
- ]
1329
- };
1330
- }
1331
- case ScenarioDefinition: {
1332
- return {
1333
- name: ScenarioDefinition,
1334
- properties: [
1335
- { name: 'body' },
1336
- { name: 'name' },
1337
- { name: 'scn' }
1338
- ]
1339
- };
1340
- }
1341
- case SelectIntoEntry: {
1342
- return {
1343
- name: SelectIntoEntry,
1344
- properties: [
1345
- { name: 'aggregate' },
1346
- { name: 'alias' },
1347
- { name: 'attribute' }
1348
- ]
1349
- };
1350
- }
1351
- case SelectIntoSpec: {
1352
- return {
1353
- name: SelectIntoSpec,
1354
- properties: [
1355
- { name: 'entries', defaultValue: [] }
1356
- ]
1357
- };
1358
- }
1359
- case SetAttribute: {
1360
- return {
1361
- name: SetAttribute,
1362
- properties: [
1363
- { name: 'aggregate' },
1364
- { name: 'name' },
1365
- { name: 'op' },
1366
- { name: 'value' }
1367
- ]
1368
- };
1369
- }
1370
- case StandaloneStatement: {
1371
- return {
1372
- name: StandaloneStatement,
1373
- properties: [
1374
- { name: 'stmt' }
1375
- ]
1376
- };
1377
- }
1378
- case Statement: {
1379
- return {
1380
- name: Statement,
1381
- properties: [
1382
- { name: 'hints', defaultValue: [] },
1383
- { name: 'pattern' }
1384
- ]
1385
- };
1386
- }
1387
- case ThenSpec: {
1388
- return {
1389
- name: ThenSpec,
1390
- properties: [
1391
- { name: 'statements', defaultValue: [] }
1392
- ]
1393
- };
1394
- }
1395
- case ThrowError: {
1396
- return {
1397
- name: ThrowError,
1398
- properties: [
1399
- { name: 'reason' }
1400
- ]
1401
- };
1402
- }
1403
- case TriggerDefinition: {
1404
- return {
1405
- name: TriggerDefinition,
1406
- properties: [
1407
- { name: 'entries', defaultValue: [] }
1408
- ]
1409
- };
1410
- }
1411
- case TriggerEntry: {
1412
- return {
1413
- name: TriggerEntry,
1414
- properties: [
1415
- { name: 'async' },
1416
- { name: 'event' },
1417
- { name: 'on' }
1418
- ]
1419
- };
1420
- }
1421
- case WhereSpec: {
1422
- return {
1423
- name: WhereSpec,
1424
- properties: [
1425
- { name: 'clauses', defaultValue: [] }
1426
- ]
1427
- };
1428
- }
1429
- case WhereSpecClause: {
1430
- return {
1431
- name: WhereSpecClause,
1432
- properties: [
1433
- { name: 'lhs' },
1434
- { name: 'op' },
1435
- { name: 'rhs' }
1436
- ]
1437
- };
1438
- }
1439
- case WorkflowDefinition: {
1440
- return {
1441
- name: WorkflowDefinition,
1442
- properties: [
1443
- { name: 'header' },
1444
- { name: 'name' },
1445
- { name: 'statements', defaultValue: [] }
1446
- ]
1447
- };
1448
- }
1449
- case WorkflowHeader: {
1450
- return {
1451
- name: WorkflowHeader,
1452
- properties: [
1453
- { name: 'name' },
1454
- { name: 'prefix' },
1455
- { name: 'tag' }
1456
- ]
1457
- };
1458
- }
1459
- default: {
1460
- return {
1461
- name: type,
1462
- properties: []
1463
- };
1464
- }
1465
- }
936
+ constructor() {
937
+ super(...arguments);
938
+ this.types = {
939
+ ActionEntry: {
940
+ name: ActionEntry.$type,
941
+ properties: {
942
+ event: {
943
+ name: ActionEntry.event
944
+ },
945
+ name: {
946
+ name: ActionEntry.name
947
+ }
948
+ },
949
+ superTypes: []
950
+ },
951
+ AfterTriggerDefinition: {
952
+ name: AfterTriggerDefinition.$type,
953
+ properties: {
954
+ triggers: {
955
+ name: AfterTriggerDefinition.triggers
956
+ }
957
+ },
958
+ superTypes: []
959
+ },
960
+ AgentDefinition: {
961
+ name: AgentDefinition.$type,
962
+ properties: {
963
+ body: {
964
+ name: AgentDefinition.body
965
+ },
966
+ name: {
967
+ name: AgentDefinition.name
968
+ }
969
+ },
970
+ superTypes: [Definition.$type]
971
+ },
972
+ AgentEvaluatorDefinition: {
973
+ name: AgentEvaluatorDefinition.$type,
974
+ properties: {
975
+ attributes: {
976
+ name: AgentEvaluatorDefinition.attributes,
977
+ defaultValue: []
978
+ },
979
+ name: {
980
+ name: AgentEvaluatorDefinition.name
981
+ }
982
+ },
983
+ superTypes: [Definition.$type]
984
+ },
985
+ AgentXtraAttribute: {
986
+ name: AgentXtraAttribute.$type,
987
+ properties: {
988
+ name: {
989
+ name: AgentXtraAttribute.name
990
+ },
991
+ value: {
992
+ name: AgentXtraAttribute.value
993
+ }
994
+ },
995
+ superTypes: []
996
+ },
997
+ AgentXtraSpec: {
998
+ name: AgentXtraSpec.$type,
999
+ properties: {
1000
+ attributes: {
1001
+ name: AgentXtraSpec.attributes,
1002
+ defaultValue: []
1003
+ }
1004
+ },
1005
+ superTypes: []
1006
+ },
1007
+ AggregateFunctionSpec: {
1008
+ name: AggregateFunctionSpec.$type,
1009
+ properties: {
1010
+ args: {
1011
+ name: AggregateFunctionSpec.args,
1012
+ defaultValue: []
1013
+ },
1014
+ name: {
1015
+ name: AggregateFunctionSpec.name
1016
+ }
1017
+ },
1018
+ superTypes: []
1019
+ },
1020
+ AliasSpec: {
1021
+ name: AliasSpec.$type,
1022
+ properties: {
1023
+ alias: {
1024
+ name: AliasSpec.alias
1025
+ },
1026
+ aliases: {
1027
+ name: AliasSpec.aliases,
1028
+ defaultValue: []
1029
+ }
1030
+ },
1031
+ superTypes: []
1032
+ },
1033
+ ArrayLiteral: {
1034
+ name: ArrayLiteral.$type,
1035
+ properties: {
1036
+ vals: {
1037
+ name: ArrayLiteral.vals,
1038
+ defaultValue: []
1039
+ }
1040
+ },
1041
+ superTypes: []
1042
+ },
1043
+ AsyncFnCall: {
1044
+ name: AsyncFnCall.$type,
1045
+ properties: {
1046
+ fnCall: {
1047
+ name: AsyncFnCall.fnCall
1048
+ }
1049
+ },
1050
+ superTypes: []
1051
+ },
1052
+ AttributeDefinition: {
1053
+ name: AttributeDefinition.$type,
1054
+ properties: {
1055
+ arrayType: {
1056
+ name: AttributeDefinition.arrayType
1057
+ },
1058
+ enumSpec: {
1059
+ name: AttributeDefinition.enumSpec
1060
+ },
1061
+ expr: {
1062
+ name: AttributeDefinition.expr
1063
+ },
1064
+ name: {
1065
+ name: AttributeDefinition.name
1066
+ },
1067
+ oneOfSpec: {
1068
+ name: AttributeDefinition.oneOfSpec
1069
+ },
1070
+ properties: {
1071
+ name: AttributeDefinition.properties,
1072
+ defaultValue: []
1073
+ },
1074
+ refSpec: {
1075
+ name: AttributeDefinition.refSpec
1076
+ },
1077
+ type: {
1078
+ name: AttributeDefinition.type
1079
+ }
1080
+ },
1081
+ superTypes: []
1082
+ },
1083
+ AttributeValueExpression: {
1084
+ name: AttributeValueExpression.$type,
1085
+ properties: {},
1086
+ superTypes: []
1087
+ },
1088
+ BackoffSpec: {
1089
+ name: BackoffSpec.$type,
1090
+ properties: {
1091
+ attributes: {
1092
+ name: BackoffSpec.attributes,
1093
+ defaultValue: []
1094
+ }
1095
+ },
1096
+ superTypes: []
1097
+ },
1098
+ BeforeTriggerDefinition: {
1099
+ name: BeforeTriggerDefinition.$type,
1100
+ properties: {
1101
+ triggers: {
1102
+ name: BeforeTriggerDefinition.triggers
1103
+ }
1104
+ },
1105
+ superTypes: []
1106
+ },
1107
+ BinExpr: {
1108
+ name: BinExpr.$type,
1109
+ properties: {
1110
+ e1: {
1111
+ name: BinExpr.e1
1112
+ },
1113
+ e2: {
1114
+ name: BinExpr.e2
1115
+ },
1116
+ op: {
1117
+ name: BinExpr.op
1118
+ }
1119
+ },
1120
+ superTypes: [Expr.$type]
1121
+ },
1122
+ CaseEntry: {
1123
+ name: CaseEntry.$type,
1124
+ properties: {
1125
+ cond: {
1126
+ name: CaseEntry.cond
1127
+ },
1128
+ statements: {
1129
+ name: CaseEntry.statements,
1130
+ defaultValue: []
1131
+ }
1132
+ },
1133
+ superTypes: []
1134
+ },
1135
+ CatchSpec: {
1136
+ name: CatchSpec.$type,
1137
+ properties: {
1138
+ handlers: {
1139
+ name: CatchSpec.handlers,
1140
+ defaultValue: []
1141
+ }
1142
+ },
1143
+ superTypes: []
1144
+ },
1145
+ CompositeUniqueDefinition: {
1146
+ name: CompositeUniqueDefinition.$type,
1147
+ properties: {
1148
+ attrs: {
1149
+ name: CompositeUniqueDefinition.attrs,
1150
+ defaultValue: []
1151
+ }
1152
+ },
1153
+ superTypes: []
1154
+ },
1155
+ ConditionalFlowStep: {
1156
+ name: ConditionalFlowStep.$type,
1157
+ properties: {
1158
+ expr: {
1159
+ name: ConditionalFlowStep.expr
1160
+ },
1161
+ next: {
1162
+ name: ConditionalFlowStep.next
1163
+ }
1164
+ },
1165
+ superTypes: []
1166
+ },
1167
+ CrudMap: {
1168
+ name: CrudMap.$type,
1169
+ properties: {
1170
+ body: {
1171
+ name: CrudMap.body
1172
+ },
1173
+ distinct: {
1174
+ name: CrudMap.distinct,
1175
+ defaultValue: []
1176
+ },
1177
+ groupByClause: {
1178
+ name: CrudMap.groupByClause
1179
+ },
1180
+ into: {
1181
+ name: CrudMap.into
1182
+ },
1183
+ joins: {
1184
+ name: CrudMap.joins,
1185
+ defaultValue: []
1186
+ },
1187
+ name: {
1188
+ name: CrudMap.name
1189
+ },
1190
+ orderByClause: {
1191
+ name: CrudMap.orderByClause
1192
+ },
1193
+ relationships: {
1194
+ name: CrudMap.relationships,
1195
+ defaultValue: []
1196
+ },
1197
+ source: {
1198
+ name: CrudMap.source
1199
+ },
1200
+ upsert: {
1201
+ name: CrudMap.upsert,
1202
+ defaultValue: []
1203
+ },
1204
+ where: {
1205
+ name: CrudMap.where
1206
+ }
1207
+ },
1208
+ superTypes: []
1209
+ },
1210
+ CrudMapBody: {
1211
+ name: CrudMapBody.$type,
1212
+ properties: {
1213
+ attributes: {
1214
+ name: CrudMapBody.attributes,
1215
+ defaultValue: []
1216
+ },
1217
+ properties: {
1218
+ name: CrudMapBody.properties,
1219
+ defaultValue: []
1220
+ }
1221
+ },
1222
+ superTypes: []
1223
+ },
1224
+ DecisionDefBody: {
1225
+ name: DecisionDefBody.$type,
1226
+ properties: {
1227
+ cases: {
1228
+ name: DecisionDefBody.cases,
1229
+ defaultValue: []
1230
+ }
1231
+ },
1232
+ superTypes: []
1233
+ },
1234
+ DecisionDefinition: {
1235
+ name: DecisionDefinition.$type,
1236
+ properties: {
1237
+ body: {
1238
+ name: DecisionDefinition.body
1239
+ },
1240
+ name: {
1241
+ name: DecisionDefinition.name
1242
+ }
1243
+ },
1244
+ superTypes: [Definition.$type]
1245
+ },
1246
+ Definition: {
1247
+ name: Definition.$type,
1248
+ properties: {},
1249
+ superTypes: []
1250
+ },
1251
+ Delete: {
1252
+ name: Delete.$type,
1253
+ properties: {
1254
+ pattern: {
1255
+ name: Delete.pattern
1256
+ }
1257
+ },
1258
+ superTypes: []
1259
+ },
1260
+ DirectiveDefinition: {
1261
+ name: DirectiveDefinition.$type,
1262
+ properties: {
1263
+ body: {
1264
+ name: DirectiveDefinition.body
1265
+ },
1266
+ dir: {
1267
+ name: DirectiveDefinition.dir
1268
+ },
1269
+ name: {
1270
+ name: DirectiveDefinition.name
1271
+ }
1272
+ },
1273
+ superTypes: [Definition.$type]
1274
+ },
1275
+ Else: {
1276
+ name: Else.$type,
1277
+ properties: {
1278
+ statements: {
1279
+ name: Else.statements,
1280
+ defaultValue: []
1281
+ }
1282
+ },
1283
+ superTypes: []
1284
+ },
1285
+ EntityActionsDefinitions: {
1286
+ name: EntityActionsDefinitions.$type,
1287
+ properties: {
1288
+ entries: {
1289
+ name: EntityActionsDefinitions.entries,
1290
+ defaultValue: []
1291
+ }
1292
+ },
1293
+ superTypes: []
1294
+ },
1295
+ EntityDefinition: {
1296
+ name: EntityDefinition.$type,
1297
+ properties: {
1298
+ extends: {
1299
+ name: EntityDefinition.extends
1300
+ },
1301
+ name: {
1302
+ name: EntityDefinition.name
1303
+ },
1304
+ schema: {
1305
+ name: EntityDefinition.schema
1306
+ }
1307
+ },
1308
+ superTypes: [SchemaDefinition.$type]
1309
+ },
1310
+ EnumSpec: {
1311
+ name: EnumSpec.$type,
1312
+ properties: {
1313
+ type: {
1314
+ name: EnumSpec.type
1315
+ },
1316
+ values: {
1317
+ name: EnumSpec.values,
1318
+ defaultValue: []
1319
+ }
1320
+ },
1321
+ superTypes: []
1322
+ },
1323
+ EventDefinition: {
1324
+ name: EventDefinition.$type,
1325
+ properties: {
1326
+ extends: {
1327
+ name: EventDefinition.extends
1328
+ },
1329
+ name: {
1330
+ name: EventDefinition.name
1331
+ },
1332
+ schema: {
1333
+ name: EventDefinition.schema
1334
+ }
1335
+ },
1336
+ superTypes: [SchemaDefinition.$type]
1337
+ },
1338
+ Expr: {
1339
+ name: Expr.$type,
1340
+ properties: {},
1341
+ superTypes: [AttributeValueExpression.$type]
1342
+ },
1343
+ ExtendsClause: {
1344
+ name: ExtendsClause.$type,
1345
+ properties: {
1346
+ parentName: {
1347
+ name: ExtendsClause.parentName
1348
+ }
1349
+ },
1350
+ superTypes: []
1351
+ },
1352
+ FlowDefBody: {
1353
+ name: FlowDefBody.$type,
1354
+ properties: {
1355
+ entries: {
1356
+ name: FlowDefBody.entries,
1357
+ defaultValue: []
1358
+ }
1359
+ },
1360
+ superTypes: []
1361
+ },
1362
+ FlowDefinition: {
1363
+ name: FlowDefinition.$type,
1364
+ properties: {
1365
+ body: {
1366
+ name: FlowDefinition.body
1367
+ },
1368
+ name: {
1369
+ name: FlowDefinition.name
1370
+ }
1371
+ },
1372
+ superTypes: [Definition.$type]
1373
+ },
1374
+ FlowEntry: {
1375
+ name: FlowEntry.$type,
1376
+ properties: {
1377
+ cond: {
1378
+ name: FlowEntry.cond
1379
+ },
1380
+ next: {
1381
+ name: FlowEntry.next
1382
+ },
1383
+ root: {
1384
+ name: FlowEntry.root
1385
+ }
1386
+ },
1387
+ superTypes: []
1388
+ },
1389
+ FlowStepSpec: {
1390
+ name: FlowStepSpec.$type,
1391
+ properties: {},
1392
+ superTypes: []
1393
+ },
1394
+ FnCall: {
1395
+ name: FnCall.$type,
1396
+ properties: {
1397
+ args: {
1398
+ name: FnCall.args,
1399
+ defaultValue: []
1400
+ },
1401
+ name: {
1402
+ name: FnCall.name
1403
+ }
1404
+ },
1405
+ superTypes: []
1406
+ },
1407
+ ForEach: {
1408
+ name: ForEach.$type,
1409
+ properties: {
1410
+ src: {
1411
+ name: ForEach.src
1412
+ },
1413
+ statements: {
1414
+ name: ForEach.statements,
1415
+ defaultValue: []
1416
+ },
1417
+ var: {
1418
+ name: ForEach.var
1419
+ }
1420
+ },
1421
+ superTypes: []
1422
+ },
1423
+ FullTextSearch: {
1424
+ name: FullTextSearch.$type,
1425
+ properties: {
1426
+ name: {
1427
+ name: FullTextSearch.name
1428
+ },
1429
+ options: {
1430
+ name: FullTextSearch.options
1431
+ },
1432
+ query: {
1433
+ name: FullTextSearch.query
1434
+ }
1435
+ },
1436
+ superTypes: []
1437
+ },
1438
+ GenericDefBody: {
1439
+ name: GenericDefBody.$type,
1440
+ properties: {
1441
+ attributes: {
1442
+ name: GenericDefBody.attributes,
1443
+ defaultValue: []
1444
+ }
1445
+ },
1446
+ superTypes: []
1447
+ },
1448
+ GenericPropertyDef: {
1449
+ name: GenericPropertyDef.$type,
1450
+ properties: {
1451
+ name: {
1452
+ name: GenericPropertyDef.name
1453
+ },
1454
+ value: {
1455
+ name: GenericPropertyDef.value
1456
+ }
1457
+ },
1458
+ superTypes: []
1459
+ },
1460
+ GlossaryEntryDefinition: {
1461
+ name: GlossaryEntryDefinition.$type,
1462
+ properties: {
1463
+ body: {
1464
+ name: GlossaryEntryDefinition.body
1465
+ },
1466
+ glos: {
1467
+ name: GlossaryEntryDefinition.glos
1468
+ },
1469
+ name: {
1470
+ name: GlossaryEntryDefinition.name
1471
+ }
1472
+ },
1473
+ superTypes: [Definition.$type]
1474
+ },
1475
+ Group: {
1476
+ name: Group.$type,
1477
+ properties: {
1478
+ ge: {
1479
+ name: Group.ge
1480
+ }
1481
+ },
1482
+ superTypes: [PrimExpr.$type]
1483
+ },
1484
+ GroupByClause: {
1485
+ name: GroupByClause.$type,
1486
+ properties: {
1487
+ colNames: {
1488
+ name: GroupByClause.colNames,
1489
+ defaultValue: []
1490
+ }
1491
+ },
1492
+ superTypes: []
1493
+ },
1494
+ Handler: {
1495
+ name: Handler.$type,
1496
+ properties: {
1497
+ except: {
1498
+ name: Handler.except
1499
+ },
1500
+ stmt: {
1501
+ name: Handler.stmt
1502
+ }
1503
+ },
1504
+ superTypes: []
1505
+ },
1506
+ If: {
1507
+ name: If.$type,
1508
+ properties: {
1509
+ cond: {
1510
+ name: If.cond
1511
+ },
1512
+ else: {
1513
+ name: If.else
1514
+ },
1515
+ statements: {
1516
+ name: If.statements,
1517
+ defaultValue: []
1518
+ }
1519
+ },
1520
+ superTypes: []
1521
+ },
1522
+ IfWithAlias: {
1523
+ name: IfWithAlias.$type,
1524
+ properties: {
1525
+ if: {
1526
+ name: IfWithAlias.if
1527
+ }
1528
+ },
1529
+ superTypes: []
1530
+ },
1531
+ Import: {
1532
+ name: Import.$type,
1533
+ properties: {
1534
+ name: {
1535
+ name: Import.name
1536
+ },
1537
+ path: {
1538
+ name: Import.path
1539
+ }
1540
+ },
1541
+ superTypes: []
1542
+ },
1543
+ JoinSpec: {
1544
+ name: JoinSpec.$type,
1545
+ properties: {
1546
+ lhs: {
1547
+ name: JoinSpec.lhs
1548
+ },
1549
+ name: {
1550
+ name: JoinSpec.name
1551
+ },
1552
+ op: {
1553
+ name: JoinSpec.op
1554
+ },
1555
+ rhs: {
1556
+ name: JoinSpec.rhs
1557
+ },
1558
+ type: {
1559
+ name: JoinSpec.type
1560
+ }
1561
+ },
1562
+ superTypes: []
1563
+ },
1564
+ KvPair: {
1565
+ name: KvPair.$type,
1566
+ properties: {
1567
+ key: {
1568
+ name: KvPair.key
1569
+ },
1570
+ value: {
1571
+ name: KvPair.value
1572
+ }
1573
+ },
1574
+ superTypes: []
1575
+ },
1576
+ KvPairs: {
1577
+ name: KvPairs.$type,
1578
+ properties: {
1579
+ pairs: {
1580
+ name: KvPairs.pairs,
1581
+ defaultValue: []
1582
+ }
1583
+ },
1584
+ superTypes: []
1585
+ },
1586
+ Literal: {
1587
+ name: Literal.$type,
1588
+ properties: {
1589
+ array: {
1590
+ name: Literal.array
1591
+ },
1592
+ asyncFnCall: {
1593
+ name: Literal.asyncFnCall
1594
+ },
1595
+ bool: {
1596
+ name: Literal.bool
1597
+ },
1598
+ fnCall: {
1599
+ name: Literal.fnCall
1600
+ },
1601
+ id: {
1602
+ name: Literal.id
1603
+ },
1604
+ map: {
1605
+ name: Literal.map
1606
+ },
1607
+ num: {
1608
+ name: Literal.num
1609
+ },
1610
+ ref: {
1611
+ name: Literal.ref
1612
+ },
1613
+ str: {
1614
+ name: Literal.str
1615
+ }
1616
+ },
1617
+ superTypes: [PrimExpr.$type]
1618
+ },
1619
+ MapEntry: {
1620
+ name: MapEntry.$type,
1621
+ properties: {
1622
+ key: {
1623
+ name: MapEntry.key
1624
+ },
1625
+ value: {
1626
+ name: MapEntry.value
1627
+ }
1628
+ },
1629
+ superTypes: []
1630
+ },
1631
+ MapKey: {
1632
+ name: MapKey.$type,
1633
+ properties: {
1634
+ bool: {
1635
+ name: MapKey.bool
1636
+ },
1637
+ num: {
1638
+ name: MapKey.num
1639
+ },
1640
+ str: {
1641
+ name: MapKey.str
1642
+ }
1643
+ },
1644
+ superTypes: []
1645
+ },
1646
+ MapLiteral: {
1647
+ name: MapLiteral.$type,
1648
+ properties: {
1649
+ entries: {
1650
+ name: MapLiteral.entries,
1651
+ defaultValue: []
1652
+ }
1653
+ },
1654
+ superTypes: []
1655
+ },
1656
+ MetaDefinition: {
1657
+ name: MetaDefinition.$type,
1658
+ properties: {
1659
+ spec: {
1660
+ name: MetaDefinition.spec
1661
+ }
1662
+ },
1663
+ superTypes: []
1664
+ },
1665
+ ModuleDefinition: {
1666
+ name: ModuleDefinition.$type,
1667
+ properties: {
1668
+ defs: {
1669
+ name: ModuleDefinition.defs,
1670
+ defaultValue: []
1671
+ },
1672
+ imports: {
1673
+ name: ModuleDefinition.imports,
1674
+ defaultValue: []
1675
+ },
1676
+ name: {
1677
+ name: ModuleDefinition.name
1678
+ }
1679
+ },
1680
+ superTypes: []
1681
+ },
1682
+ NegExpr: {
1683
+ name: NegExpr.$type,
1684
+ properties: {
1685
+ ne: {
1686
+ name: NegExpr.ne
1687
+ }
1688
+ },
1689
+ superTypes: [PrimExpr.$type]
1690
+ },
1691
+ NodeDefinition: {
1692
+ name: NodeDefinition.$type,
1693
+ properties: {
1694
+ alias: {
1695
+ name: NodeDefinition.alias
1696
+ },
1697
+ name: {
1698
+ name: NodeDefinition.name
1699
+ }
1700
+ },
1701
+ superTypes: []
1702
+ },
1703
+ NotExpr: {
1704
+ name: NotExpr.$type,
1705
+ properties: {
1706
+ ne: {
1707
+ name: NotExpr.ne
1708
+ }
1709
+ },
1710
+ superTypes: [PrimExpr.$type]
1711
+ },
1712
+ OneOfSpec: {
1713
+ name: OneOfSpec.$type,
1714
+ properties: {
1715
+ ref: {
1716
+ name: OneOfSpec.ref
1717
+ }
1718
+ },
1719
+ superTypes: []
1720
+ },
1721
+ OrderByClause: {
1722
+ name: OrderByClause.$type,
1723
+ properties: {
1724
+ colNames: {
1725
+ name: OrderByClause.colNames,
1726
+ defaultValue: []
1727
+ },
1728
+ order: {
1729
+ name: OrderByClause.order
1730
+ }
1731
+ },
1732
+ superTypes: []
1733
+ },
1734
+ Pattern: {
1735
+ name: Pattern.$type,
1736
+ properties: {
1737
+ crudMap: {
1738
+ name: Pattern.crudMap
1739
+ },
1740
+ delete: {
1741
+ name: Pattern.delete
1742
+ },
1743
+ expr: {
1744
+ name: Pattern.expr
1745
+ },
1746
+ forEach: {
1747
+ name: Pattern.forEach
1748
+ },
1749
+ fullTextSearch: {
1750
+ name: Pattern.fullTextSearch
1751
+ },
1752
+ if: {
1753
+ name: Pattern.if
1754
+ },
1755
+ ifWithAlias: {
1756
+ name: Pattern.ifWithAlias
1757
+ },
1758
+ purge: {
1759
+ name: Pattern.purge
1760
+ },
1761
+ return: {
1762
+ name: Pattern.return
1763
+ },
1764
+ throwError: {
1765
+ name: Pattern.throwError
1766
+ }
1767
+ },
1768
+ superTypes: []
1769
+ },
1770
+ PrePostTriggerDefinition: {
1771
+ name: PrePostTriggerDefinition.$type,
1772
+ properties: {
1773
+ after: {
1774
+ name: PrePostTriggerDefinition.after
1775
+ },
1776
+ before: {
1777
+ name: PrePostTriggerDefinition.before
1778
+ }
1779
+ },
1780
+ superTypes: []
1781
+ },
1782
+ PrimExpr: {
1783
+ name: PrimExpr.$type,
1784
+ properties: {},
1785
+ superTypes: [Expr.$type]
1786
+ },
1787
+ PropertyDefinition: {
1788
+ name: PropertyDefinition.$type,
1789
+ properties: {
1790
+ name: {
1791
+ name: PropertyDefinition.name
1792
+ },
1793
+ value: {
1794
+ name: PropertyDefinition.value
1795
+ }
1796
+ },
1797
+ superTypes: []
1798
+ },
1799
+ PublicAgentDefinition: {
1800
+ name: PublicAgentDefinition.$type,
1801
+ properties: {
1802
+ def: {
1803
+ name: PublicAgentDefinition.def
1804
+ }
1805
+ },
1806
+ superTypes: [Definition.$type]
1807
+ },
1808
+ PublicEventDefinition: {
1809
+ name: PublicEventDefinition.$type,
1810
+ properties: {
1811
+ def: {
1812
+ name: PublicEventDefinition.def
1813
+ }
1814
+ },
1815
+ superTypes: [SchemaDefinition.$type]
1816
+ },
1817
+ PublicWorkflowDefinition: {
1818
+ name: PublicWorkflowDefinition.$type,
1819
+ properties: {
1820
+ def: {
1821
+ name: PublicWorkflowDefinition.def
1822
+ }
1823
+ },
1824
+ superTypes: [Definition.$type]
1825
+ },
1826
+ Purge: {
1827
+ name: Purge.$type,
1828
+ properties: {
1829
+ pattern: {
1830
+ name: Purge.pattern
1831
+ }
1832
+ },
1833
+ superTypes: []
1834
+ },
1835
+ RbacAllowSpec: {
1836
+ name: RbacAllowSpec.$type,
1837
+ properties: {
1838
+ oprs: {
1839
+ name: RbacAllowSpec.oprs,
1840
+ defaultValue: []
1841
+ }
1842
+ },
1843
+ superTypes: []
1844
+ },
1845
+ RbacExpressionSpec: {
1846
+ name: RbacExpressionSpec.$type,
1847
+ properties: {
1848
+ lhs: {
1849
+ name: RbacExpressionSpec.lhs
1850
+ },
1851
+ rhs: {
1852
+ name: RbacExpressionSpec.rhs
1853
+ }
1854
+ },
1855
+ superTypes: []
1856
+ },
1857
+ RbacOpr: {
1858
+ name: RbacOpr.$type,
1859
+ properties: {
1860
+ value: {
1861
+ name: RbacOpr.value
1862
+ }
1863
+ },
1864
+ superTypes: []
1865
+ },
1866
+ RbacRolesSpec: {
1867
+ name: RbacRolesSpec.$type,
1868
+ properties: {
1869
+ roles: {
1870
+ name: RbacRolesSpec.roles,
1871
+ defaultValue: []
1872
+ }
1873
+ },
1874
+ superTypes: []
1875
+ },
1876
+ RbacSpecDefinition: {
1877
+ name: RbacSpecDefinition.$type,
1878
+ properties: {
1879
+ specEntries: {
1880
+ name: RbacSpecDefinition.specEntries,
1881
+ defaultValue: []
1882
+ }
1883
+ },
1884
+ superTypes: []
1885
+ },
1886
+ RbacSpecEntries: {
1887
+ name: RbacSpecEntries.$type,
1888
+ properties: {
1889
+ entries: {
1890
+ name: RbacSpecEntries.entries,
1891
+ defaultValue: []
1892
+ }
1893
+ },
1894
+ superTypes: []
1895
+ },
1896
+ RbacSpecEntry: {
1897
+ name: RbacSpecEntry.$type,
1898
+ properties: {
1899
+ allow: {
1900
+ name: RbacSpecEntry.allow
1901
+ },
1902
+ expr: {
1903
+ name: RbacSpecEntry.expr
1904
+ },
1905
+ role: {
1906
+ name: RbacSpecEntry.role
1907
+ }
1908
+ },
1909
+ superTypes: []
1910
+ },
1911
+ RecordDefinition: {
1912
+ name: RecordDefinition.$type,
1913
+ properties: {
1914
+ extends: {
1915
+ name: RecordDefinition.extends
1916
+ },
1917
+ name: {
1918
+ name: RecordDefinition.name
1919
+ },
1920
+ schema: {
1921
+ name: RecordDefinition.schema
1922
+ }
1923
+ },
1924
+ superTypes: [SchemaDefinition.$type]
1925
+ },
1926
+ RecordExtraDefinition: {
1927
+ name: RecordExtraDefinition.$type,
1928
+ properties: {
1929
+ actions: {
1930
+ name: RecordExtraDefinition.actions
1931
+ },
1932
+ meta: {
1933
+ name: RecordExtraDefinition.meta
1934
+ },
1935
+ prePost: {
1936
+ name: RecordExtraDefinition.prePost
1937
+ },
1938
+ rbacSpec: {
1939
+ name: RecordExtraDefinition.rbacSpec
1940
+ },
1941
+ uq: {
1942
+ name: RecordExtraDefinition.uq
1943
+ }
1944
+ },
1945
+ superTypes: []
1946
+ },
1947
+ RecordSchemaDefinition: {
1948
+ name: RecordSchemaDefinition.$type,
1949
+ properties: {
1950
+ attributes: {
1951
+ name: RecordSchemaDefinition.attributes,
1952
+ defaultValue: []
1953
+ },
1954
+ extras: {
1955
+ name: RecordSchemaDefinition.extras,
1956
+ defaultValue: []
1957
+ }
1958
+ },
1959
+ superTypes: []
1960
+ },
1961
+ RefSpec: {
1962
+ name: RefSpec.$type,
1963
+ properties: {
1964
+ ref: {
1965
+ name: RefSpec.ref
1966
+ },
1967
+ type: {
1968
+ name: RefSpec.type
1969
+ }
1970
+ },
1971
+ superTypes: []
1972
+ },
1973
+ RelNodes: {
1974
+ name: RelNodes.$type,
1975
+ properties: {
1976
+ node1: {
1977
+ name: RelNodes.node1
1978
+ },
1979
+ node2: {
1980
+ name: RelNodes.node2
1981
+ }
1982
+ },
1983
+ superTypes: []
1984
+ },
1985
+ RelationshipDefinition: {
1986
+ name: RelationshipDefinition.$type,
1987
+ properties: {
1988
+ name: {
1989
+ name: RelationshipDefinition.name
1990
+ },
1991
+ nodes: {
1992
+ name: RelationshipDefinition.nodes
1993
+ },
1994
+ properties: {
1995
+ name: RelationshipDefinition.properties,
1996
+ defaultValue: []
1997
+ },
1998
+ schema: {
1999
+ name: RelationshipDefinition.schema
2000
+ },
2001
+ type: {
2002
+ name: RelationshipDefinition.type
2003
+ }
2004
+ },
2005
+ superTypes: [Definition.$type]
2006
+ },
2007
+ RelationshipPattern: {
2008
+ name: RelationshipPattern.$type,
2009
+ properties: {
2010
+ name: {
2011
+ name: RelationshipPattern.name
2012
+ },
2013
+ pattern: {
2014
+ name: RelationshipPattern.pattern
2015
+ }
2016
+ },
2017
+ superTypes: []
2018
+ },
2019
+ ResolverDefinition: {
2020
+ name: ResolverDefinition.$type,
2021
+ properties: {
2022
+ methods: {
2023
+ name: ResolverDefinition.methods,
2024
+ defaultValue: []
2025
+ },
2026
+ name: {
2027
+ name: ResolverDefinition.name
2028
+ },
2029
+ paths: {
2030
+ name: ResolverDefinition.paths,
2031
+ defaultValue: []
2032
+ }
2033
+ },
2034
+ superTypes: [Definition.$type]
2035
+ },
2036
+ ResolverFnName: {
2037
+ name: ResolverFnName.$type,
2038
+ properties: {
2039
+ name: {
2040
+ name: ResolverFnName.name
2041
+ }
2042
+ },
2043
+ superTypes: []
2044
+ },
2045
+ ResolverMethodName: {
2046
+ name: ResolverMethodName.$type,
2047
+ properties: {
2048
+ name: {
2049
+ name: ResolverMethodName.name
2050
+ }
2051
+ },
2052
+ superTypes: []
2053
+ },
2054
+ ResolverMethodSpec: {
2055
+ name: ResolverMethodSpec.$type,
2056
+ properties: {
2057
+ fn: {
2058
+ name: ResolverMethodSpec.fn
2059
+ },
2060
+ key: {
2061
+ name: ResolverMethodSpec.key
2062
+ }
2063
+ },
2064
+ superTypes: []
2065
+ },
2066
+ RetryDefinition: {
2067
+ name: RetryDefinition.$type,
2068
+ properties: {
2069
+ attempts: {
2070
+ name: RetryDefinition.attempts
2071
+ },
2072
+ backoff: {
2073
+ name: RetryDefinition.backoff
2074
+ },
2075
+ name: {
2076
+ name: RetryDefinition.name
2077
+ }
2078
+ },
2079
+ superTypes: [Definition.$type]
2080
+ },
2081
+ Return: {
2082
+ name: Return.$type,
2083
+ properties: {
2084
+ pattern: {
2085
+ name: Return.pattern
2086
+ }
2087
+ },
2088
+ superTypes: []
2089
+ },
2090
+ RuntimeHint: {
2091
+ name: RuntimeHint.$type,
2092
+ properties: {
2093
+ aliasSpec: {
2094
+ name: RuntimeHint.aliasSpec
2095
+ },
2096
+ catchSpec: {
2097
+ name: RuntimeHint.catchSpec
2098
+ },
2099
+ thenSpec: {
2100
+ name: RuntimeHint.thenSpec
2101
+ }
2102
+ },
2103
+ superTypes: []
2104
+ },
2105
+ ScenarioDefinition: {
2106
+ name: ScenarioDefinition.$type,
2107
+ properties: {
2108
+ body: {
2109
+ name: ScenarioDefinition.body
2110
+ },
2111
+ name: {
2112
+ name: ScenarioDefinition.name
2113
+ },
2114
+ scn: {
2115
+ name: ScenarioDefinition.scn
2116
+ }
2117
+ },
2118
+ superTypes: [Definition.$type]
2119
+ },
2120
+ SchemaDefinition: {
2121
+ name: SchemaDefinition.$type,
2122
+ properties: {},
2123
+ superTypes: [Definition.$type]
2124
+ },
2125
+ SelectIntoEntry: {
2126
+ name: SelectIntoEntry.$type,
2127
+ properties: {
2128
+ aggregate: {
2129
+ name: SelectIntoEntry.aggregate
2130
+ },
2131
+ alias: {
2132
+ name: SelectIntoEntry.alias
2133
+ },
2134
+ attribute: {
2135
+ name: SelectIntoEntry.attribute
2136
+ }
2137
+ },
2138
+ superTypes: []
2139
+ },
2140
+ SelectIntoSpec: {
2141
+ name: SelectIntoSpec.$type,
2142
+ properties: {
2143
+ entries: {
2144
+ name: SelectIntoSpec.entries,
2145
+ defaultValue: []
2146
+ }
2147
+ },
2148
+ superTypes: []
2149
+ },
2150
+ SetAttribute: {
2151
+ name: SetAttribute.$type,
2152
+ properties: {
2153
+ aggregate: {
2154
+ name: SetAttribute.aggregate
2155
+ },
2156
+ name: {
2157
+ name: SetAttribute.name
2158
+ },
2159
+ op: {
2160
+ name: SetAttribute.op
2161
+ },
2162
+ value: {
2163
+ name: SetAttribute.value
2164
+ }
2165
+ },
2166
+ superTypes: []
2167
+ },
2168
+ StandaloneStatement: {
2169
+ name: StandaloneStatement.$type,
2170
+ properties: {
2171
+ stmt: {
2172
+ name: StandaloneStatement.stmt
2173
+ }
2174
+ },
2175
+ superTypes: [Definition.$type]
2176
+ },
2177
+ Statement: {
2178
+ name: Statement.$type,
2179
+ properties: {
2180
+ hints: {
2181
+ name: Statement.hints,
2182
+ defaultValue: []
2183
+ },
2184
+ pattern: {
2185
+ name: Statement.pattern
2186
+ }
2187
+ },
2188
+ superTypes: [FlowStepSpec.$type]
2189
+ },
2190
+ ThenSpec: {
2191
+ name: ThenSpec.$type,
2192
+ properties: {
2193
+ statements: {
2194
+ name: ThenSpec.statements,
2195
+ defaultValue: []
2196
+ }
2197
+ },
2198
+ superTypes: []
2199
+ },
2200
+ ThrowError: {
2201
+ name: ThrowError.$type,
2202
+ properties: {
2203
+ reason: {
2204
+ name: ThrowError.reason
2205
+ }
2206
+ },
2207
+ superTypes: []
2208
+ },
2209
+ TriggerDefinition: {
2210
+ name: TriggerDefinition.$type,
2211
+ properties: {
2212
+ entries: {
2213
+ name: TriggerDefinition.entries,
2214
+ defaultValue: []
2215
+ }
2216
+ },
2217
+ superTypes: []
2218
+ },
2219
+ TriggerEntry: {
2220
+ name: TriggerEntry.$type,
2221
+ properties: {
2222
+ async: {
2223
+ name: TriggerEntry.async
2224
+ },
2225
+ event: {
2226
+ name: TriggerEntry.event
2227
+ },
2228
+ on: {
2229
+ name: TriggerEntry.on
2230
+ }
2231
+ },
2232
+ superTypes: []
2233
+ },
2234
+ WhereSpec: {
2235
+ name: WhereSpec.$type,
2236
+ properties: {
2237
+ clauses: {
2238
+ name: WhereSpec.clauses,
2239
+ defaultValue: []
2240
+ }
2241
+ },
2242
+ superTypes: []
2243
+ },
2244
+ WhereSpecClause: {
2245
+ name: WhereSpecClause.$type,
2246
+ properties: {
2247
+ lhs: {
2248
+ name: WhereSpecClause.lhs
2249
+ },
2250
+ op: {
2251
+ name: WhereSpecClause.op
2252
+ },
2253
+ rhs: {
2254
+ name: WhereSpecClause.rhs
2255
+ }
2256
+ },
2257
+ superTypes: []
2258
+ },
2259
+ WorkflowDefinition: {
2260
+ name: WorkflowDefinition.$type,
2261
+ properties: {
2262
+ directives: {
2263
+ name: WorkflowDefinition.directives
2264
+ },
2265
+ header: {
2266
+ name: WorkflowDefinition.header
2267
+ },
2268
+ name: {
2269
+ name: WorkflowDefinition.name
2270
+ },
2271
+ statements: {
2272
+ name: WorkflowDefinition.statements,
2273
+ defaultValue: []
2274
+ }
2275
+ },
2276
+ superTypes: [Definition.$type]
2277
+ },
2278
+ WorkflowDirectiveEntry: {
2279
+ name: WorkflowDirectiveEntry.$type,
2280
+ properties: {
2281
+ tag: {
2282
+ name: WorkflowDirectiveEntry.tag
2283
+ },
2284
+ value: {
2285
+ name: WorkflowDirectiveEntry.value
2286
+ }
2287
+ },
2288
+ superTypes: []
2289
+ },
2290
+ WorkflowDirectives: {
2291
+ name: WorkflowDirectives.$type,
2292
+ properties: {
2293
+ entries: {
2294
+ name: WorkflowDirectives.entries,
2295
+ defaultValue: []
2296
+ }
2297
+ },
2298
+ superTypes: []
2299
+ },
2300
+ WorkflowHeader: {
2301
+ name: WorkflowHeader.$type,
2302
+ properties: {
2303
+ name: {
2304
+ name: WorkflowHeader.name
2305
+ },
2306
+ prefix: {
2307
+ name: WorkflowHeader.prefix
2308
+ },
2309
+ tag: {
2310
+ name: WorkflowHeader.tag
2311
+ }
2312
+ },
2313
+ superTypes: []
2314
+ }
2315
+ };
1466
2316
  }
1467
2317
  }
1468
2318
  export const reflection = new AgentlangAstReflection();