basyx-typescript-sdk 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -1
- package/bundle/index.cjs +1412 -89
- package/bundle/index.cjs.map +1 -1
- package/bundle/index.mjs +1344 -90
- package/bundle/index.mjs.map +1 -1
- package/dist/clients/AasRegistryClient.d.ts +20 -0
- package/dist/clients/AasRegistryClient.js +40 -0
- package/dist/clients/AasRepositoryClient.d.ts +20 -0
- package/dist/clients/AasRepositoryClient.js +40 -0
- package/dist/clients/ConceptDescriptionRepositoryClient.d.ts +20 -0
- package/dist/clients/ConceptDescriptionRepositoryClient.js +40 -0
- package/dist/clients/SubmodelRegistryClient.d.ts +20 -0
- package/dist/clients/SubmodelRegistryClient.js +40 -0
- package/dist/clients/SubmodelRepositoryClient.d.ts +20 -0
- package/dist/clients/SubmodelRepositoryClient.js +40 -0
- package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.d.ts +14 -1
- package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.js +29 -0
- package/dist/generated/AasRegistryService/models/index.d.ts +374 -0
- package/dist/generated/AasRegistryService/models/index.js +6 -0
- package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.d.ts +14 -1
- package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.js +29 -0
- package/dist/generated/AasRepositoryService/models/index.d.ts +381 -0
- package/dist/generated/AasRepositoryService/models/index.js +7 -0
- package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.d.ts +14 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.js +29 -0
- package/dist/generated/ConceptDescriptionRepositoryService/models/index.d.ts +381 -0
- package/dist/generated/ConceptDescriptionRepositoryService/models/index.js +7 -0
- package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.d.ts +14 -1
- package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.js +29 -0
- package/dist/generated/SubmodelRegistryService/models/index.d.ts +381 -0
- package/dist/generated/SubmodelRegistryService/models/index.js +7 -0
- package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.d.ts +14 -1
- package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.js +29 -0
- package/dist/generated/SubmodelRepositoryService/models/index.d.ts +381 -0
- package/dist/generated/SubmodelRepositoryService/models/index.js +7 -0
- package/dist/lib/endpointConfiguration.d.ts +71 -0
- package/dist/lib/endpointConfiguration.js +101 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/queryJsonization.d.ts +17 -0
- package/dist/lib/queryJsonization.js +309 -0
- package/dist/lib/queryRequests.d.ts +24 -0
- package/dist/lib/queryRequests.js +44 -0
- package/dist/models/Query.d.ts +378 -0
- package/dist/models/Query.js +430 -0
- package/dist/models/QueryResult.d.ts +22 -0
- package/dist/models/QueryResult.js +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/services/AasService.d.ts +15 -4
- package/dist/services/AasService.js +38 -40
- package/dist/services/SubmodelService.d.ts +9 -8
- package/dist/services/SubmodelService.js +17 -34
- package/dist/services/index.d.ts +1 -0
- package/dist/utils/DescriptorUtils.d.ts +27 -1
- package/dist/utils/DescriptorUtils.js +65 -27
- package/dist/utils/ServiceDescriptionUtils.d.ts +30 -0
- package/dist/utils/ServiceDescriptionUtils.js +43 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model of the AAS Query Language (IDTA-01002-3, `$condition`, `$filters` and `$select`).
|
|
3
|
+
*
|
|
4
|
+
* The names, property order and constructor signatures follow the query region of the aas-core-meta V3.2 meta-model,
|
|
5
|
+
* so that this model can be replaced by the classes aas-core-codegen generates for it. Properties carry the
|
|
6
|
+
* meta-model names (e.g. `strVal`, `andOperands`); {@link toJsonableQuery} and {@link queryFromJsonable} map them to the
|
|
7
|
+
* JSON names of the query language (e.g. `$strVal`, `$and`).
|
|
8
|
+
*
|
|
9
|
+
* See https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Enumerate the global attributes which can be used in a query.
|
|
13
|
+
*/
|
|
14
|
+
export declare enum GlobalAttributeKind {
|
|
15
|
+
/** The current date and time in the local time zone of the server (`LOCALNOW`) */
|
|
16
|
+
LocalNow = 0,
|
|
17
|
+
/** The current date and time in UTC (`UTCNOW`) */
|
|
18
|
+
UtcNow = 1,
|
|
19
|
+
/** The current date and time of the client (`CLIENTNOW`) */
|
|
20
|
+
ClientNow = 2,
|
|
21
|
+
/** The anonymous user, i.e. a request without authentication (`ANONYMOUS`) */
|
|
22
|
+
Anonymous = 3
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Enumerate the global attributes which can be used as a date-time operand in a query.
|
|
26
|
+
*
|
|
27
|
+
* This is a subset of {@link GlobalAttributeKind}.
|
|
28
|
+
*/
|
|
29
|
+
export declare enum DateTimeGlobalAttributeKind {
|
|
30
|
+
/** The current date and time in the local time zone of the server (`LOCALNOW`) */
|
|
31
|
+
LocalNow = 0,
|
|
32
|
+
/** The current date and time in UTC (`UTCNOW`) */
|
|
33
|
+
UtcNow = 1,
|
|
34
|
+
/** The current date and time of the client (`CLIENTNOW`) */
|
|
35
|
+
ClientNow = 2
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Enumerate what a query returns instead of the full objects.
|
|
39
|
+
*/
|
|
40
|
+
export declare enum QuerySelect {
|
|
41
|
+
/** Return only the identifiers of the matching objects (`id`) */
|
|
42
|
+
Id = 0
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Refer to a claim of the requester, e.g. from an access token (`CLAIM`).
|
|
46
|
+
*/
|
|
47
|
+
export declare class ClaimAttribute {
|
|
48
|
+
/** Name of the claim */
|
|
49
|
+
claim: string;
|
|
50
|
+
constructor(
|
|
51
|
+
/** Name of the claim */
|
|
52
|
+
claim: string);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Refer to a global attribute (`GLOBAL`).
|
|
56
|
+
*/
|
|
57
|
+
export declare class GlobalAttribute {
|
|
58
|
+
/** Kind of the global attribute */
|
|
59
|
+
kind: GlobalAttributeKind;
|
|
60
|
+
constructor(
|
|
61
|
+
/** Kind of the global attribute */
|
|
62
|
+
kind: GlobalAttributeKind);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Refer to an attribute of a referable (`REFERENCE`).
|
|
66
|
+
*/
|
|
67
|
+
export declare class ReferenceAttribute {
|
|
68
|
+
/** Reference to the attribute, e.g. `(Submodel)*#idShort` */
|
|
69
|
+
reference: string;
|
|
70
|
+
constructor(
|
|
71
|
+
/** Reference to the attribute, e.g. `(Submodel)*#idShort` */
|
|
72
|
+
reference: string);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Refer to a global attribute which gives a date and time (`GLOBAL`).
|
|
76
|
+
*/
|
|
77
|
+
export declare class DateTimeAttributeItem {
|
|
78
|
+
/** Kind of the global attribute */
|
|
79
|
+
kind: DateTimeGlobalAttributeKind;
|
|
80
|
+
constructor(
|
|
81
|
+
/** Kind of the global attribute */
|
|
82
|
+
kind: DateTimeGlobalAttributeKind);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Refer to a field of the queried data (`$field`), e.g. `$aas#idShort` or `$sme.Temperature#value`.
|
|
86
|
+
*/
|
|
87
|
+
export declare class FieldOperand {
|
|
88
|
+
/** Path to the field */
|
|
89
|
+
field: string;
|
|
90
|
+
constructor(
|
|
91
|
+
/** Path to the field */
|
|
92
|
+
field: string);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Represent a string literal (`$strVal`).
|
|
96
|
+
*/
|
|
97
|
+
export declare class StringLiteral {
|
|
98
|
+
strVal: string;
|
|
99
|
+
constructor(strVal: string);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Use an attribute as an operand (`$attribute`).
|
|
103
|
+
*/
|
|
104
|
+
export declare class AttributeOperand {
|
|
105
|
+
attribute: AttributeItem;
|
|
106
|
+
constructor(attribute: AttributeItem);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Represent a number literal (`$numVal`).
|
|
110
|
+
*/
|
|
111
|
+
export declare class NumberLiteral {
|
|
112
|
+
numVal: number;
|
|
113
|
+
constructor(numVal: number);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Represent a hexadecimal literal (`$hexVal`), e.g. `16#1F`.
|
|
117
|
+
*/
|
|
118
|
+
export declare class HexLiteral {
|
|
119
|
+
hexVal: string;
|
|
120
|
+
constructor(hexVal: string);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Represent a date-time literal (`$dateTimeVal`), e.g. `2025-01-01T00:00:00Z`.
|
|
124
|
+
*/
|
|
125
|
+
export declare class DateTimeLiteral {
|
|
126
|
+
dateTimeVal: string;
|
|
127
|
+
constructor(dateTimeVal: string);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Represent a time literal (`$timeVal`), e.g. `12:00` or `12:00:00`.
|
|
131
|
+
*/
|
|
132
|
+
export declare class TimeLiteral {
|
|
133
|
+
timeVal: string;
|
|
134
|
+
constructor(timeVal: string);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Represent a boolean literal (`$boolean`). It is both an operand and a logical expression.
|
|
138
|
+
*/
|
|
139
|
+
export declare class BooleanLiteral {
|
|
140
|
+
boolean: boolean;
|
|
141
|
+
constructor(boolean: boolean);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Cast the operand to a string (`$strCast`).
|
|
145
|
+
*/
|
|
146
|
+
export declare class StringCast {
|
|
147
|
+
strCast: Value;
|
|
148
|
+
constructor(strCast: Value);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Cast the operand to a number (`$numCast`).
|
|
152
|
+
*/
|
|
153
|
+
export declare class NumberCast {
|
|
154
|
+
numCast: Value;
|
|
155
|
+
constructor(numCast: Value);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Cast the operand to a hexadecimal (`$hexCast`).
|
|
159
|
+
*/
|
|
160
|
+
export declare class HexCast {
|
|
161
|
+
hexCast: Value;
|
|
162
|
+
constructor(hexCast: Value);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Cast the operand to a boolean (`$boolCast`).
|
|
166
|
+
*/
|
|
167
|
+
export declare class BooleanCast {
|
|
168
|
+
boolCast: Value;
|
|
169
|
+
constructor(boolCast: Value);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Cast the operand to a date-time (`$dateTimeCast`).
|
|
173
|
+
*/
|
|
174
|
+
export declare class DateTimeCast {
|
|
175
|
+
dateTimeCast: StringValue;
|
|
176
|
+
constructor(dateTimeCast: StringValue);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Cast the operand to a time (`$timeCast`).
|
|
180
|
+
*/
|
|
181
|
+
export declare class TimeCast {
|
|
182
|
+
timeCast: TimeCastOperand;
|
|
183
|
+
constructor(timeCast: TimeCastOperand);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Extract the day of the week from a date-time (`$dayOfWeek`).
|
|
187
|
+
*/
|
|
188
|
+
export declare class DayOfWeek {
|
|
189
|
+
dayOfWeek: DateTimeOperand;
|
|
190
|
+
constructor(dayOfWeek: DateTimeOperand);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Extract the day of the month from a date-time (`$dayOfMonth`).
|
|
194
|
+
*/
|
|
195
|
+
export declare class DayOfMonth {
|
|
196
|
+
dayOfMonth: DateTimeOperand;
|
|
197
|
+
constructor(dayOfMonth: DateTimeOperand);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Extract the month from a date-time (`$month`).
|
|
201
|
+
*/
|
|
202
|
+
export declare class Month {
|
|
203
|
+
month: DateTimeOperand;
|
|
204
|
+
constructor(month: DateTimeOperand);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Extract the year from a date-time (`$year`).
|
|
208
|
+
*/
|
|
209
|
+
export declare class Year {
|
|
210
|
+
year: DateTimeOperand;
|
|
211
|
+
constructor(year: DateTimeOperand);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Use a date-time global attribute as an operand (`$attribute`).
|
|
215
|
+
*/
|
|
216
|
+
export declare class DateTimeAttributeOperand {
|
|
217
|
+
attribute: DateTimeAttributeItem;
|
|
218
|
+
constructor(attribute: DateTimeAttributeItem);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Check whether the two operands are equal (`$eq`).
|
|
222
|
+
*/
|
|
223
|
+
export declare class EqualComparison {
|
|
224
|
+
eq: [Value, Value];
|
|
225
|
+
constructor(eq: [Value, Value]);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Check whether the two operands are not equal (`$ne`).
|
|
229
|
+
*/
|
|
230
|
+
export declare class NotEqualComparison {
|
|
231
|
+
ne: [Value, Value];
|
|
232
|
+
constructor(ne: [Value, Value]);
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Check whether the first operand is greater than the second (`$gt`).
|
|
236
|
+
*/
|
|
237
|
+
export declare class GreaterThanComparison {
|
|
238
|
+
gt: [Value, Value];
|
|
239
|
+
constructor(gt: [Value, Value]);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Check whether the first operand is greater than or equal to the second (`$ge`).
|
|
243
|
+
*/
|
|
244
|
+
export declare class GreaterThanOrEqualComparison {
|
|
245
|
+
ge: [Value, Value];
|
|
246
|
+
constructor(ge: [Value, Value]);
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Check whether the first operand is less than the second (`$lt`).
|
|
250
|
+
*/
|
|
251
|
+
export declare class LessThanComparison {
|
|
252
|
+
lt: [Value, Value];
|
|
253
|
+
constructor(lt: [Value, Value]);
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Check whether the first operand is less than or equal to the second (`$le`).
|
|
257
|
+
*/
|
|
258
|
+
export declare class LessThanOrEqualComparison {
|
|
259
|
+
le: [Value, Value];
|
|
260
|
+
constructor(le: [Value, Value]);
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Check whether the first operand contains the second (`$contains`).
|
|
264
|
+
*/
|
|
265
|
+
export declare class ContainsComparison {
|
|
266
|
+
contains: [StringValue, StringValue];
|
|
267
|
+
constructor(contains: [StringValue, StringValue]);
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Check whether the first operand starts with the second (`$starts-with`).
|
|
271
|
+
*/
|
|
272
|
+
export declare class StartsWithComparison {
|
|
273
|
+
startsWith: [StringValue, StringValue];
|
|
274
|
+
constructor(startsWith: [StringValue, StringValue]);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Check whether the first operand ends with the second (`$ends-with`).
|
|
278
|
+
*/
|
|
279
|
+
export declare class EndsWithComparison {
|
|
280
|
+
endsWith: [StringValue, StringValue];
|
|
281
|
+
constructor(endsWith: [StringValue, StringValue]);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Check whether the first operand matches the regular expression given by the second (`$regex`).
|
|
285
|
+
*/
|
|
286
|
+
export declare class RegexComparison {
|
|
287
|
+
regex: [StringValue, StringValue];
|
|
288
|
+
constructor(regex: [StringValue, StringValue]);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Evaluate all the expressions against the same element of a list (`$match`), at least one.
|
|
292
|
+
*/
|
|
293
|
+
export declare class MatchClause {
|
|
294
|
+
matchOperands: Array<MatchExpression>;
|
|
295
|
+
constructor(matchOperands: Array<MatchExpression>);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Check whether all the operands hold (`$and`), at least two.
|
|
299
|
+
*/
|
|
300
|
+
export declare class AndExpression {
|
|
301
|
+
andOperands: Array<LogicalExpression>;
|
|
302
|
+
constructor(andOperands: Array<LogicalExpression>);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Check whether any of the operands holds (`$or`), at least two.
|
|
306
|
+
*/
|
|
307
|
+
export declare class OrExpression {
|
|
308
|
+
orOperands: Array<LogicalExpression>;
|
|
309
|
+
constructor(orOperands: Array<LogicalExpression>);
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Negate the operand (`$not`).
|
|
313
|
+
*/
|
|
314
|
+
export declare class NotExpression {
|
|
315
|
+
notOperand: LogicalExpression;
|
|
316
|
+
constructor(notOperand: LogicalExpression);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Filter a fragment of the returned data by a condition (an entry of `$filters`).
|
|
320
|
+
*/
|
|
321
|
+
export declare class QueryFilter {
|
|
322
|
+
/** The fragment of the returned data to which the filter applies (`$fragment`) */
|
|
323
|
+
fragment: string;
|
|
324
|
+
/** The condition which the elements of the fragment need to fulfill (`$condition`) */
|
|
325
|
+
condition: LogicalExpression;
|
|
326
|
+
constructor(
|
|
327
|
+
/** The fragment of the returned data to which the filter applies (`$fragment`) */
|
|
328
|
+
fragment: string,
|
|
329
|
+
/** The condition which the elements of the fragment need to fulfill (`$condition`) */
|
|
330
|
+
condition: LogicalExpression);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* A query in the AAS Query Language.
|
|
334
|
+
*
|
|
335
|
+
* @example
|
|
336
|
+
* ```typescript
|
|
337
|
+
* const query = new Query(
|
|
338
|
+
* new EqualComparison([new FieldOperand('$aas#idShort'), new StringLiteral('Robot')])
|
|
339
|
+
* );
|
|
340
|
+
* ```
|
|
341
|
+
*/
|
|
342
|
+
export declare class Query {
|
|
343
|
+
/** The condition which the returned objects need to fulfill (`$condition`) */
|
|
344
|
+
condition: LogicalExpression;
|
|
345
|
+
/** What the query returns instead of the full objects (`$select`); full objects if `null` */
|
|
346
|
+
select: QuerySelect | null;
|
|
347
|
+
/** Filters to reduce the returned data (`$filters`); at least one if set */
|
|
348
|
+
filters: Array<QueryFilter> | null;
|
|
349
|
+
constructor(
|
|
350
|
+
/** The condition which the returned objects need to fulfill (`$condition`) */
|
|
351
|
+
condition: LogicalExpression,
|
|
352
|
+
/** What the query returns instead of the full objects (`$select`); full objects if `null` */
|
|
353
|
+
select?: QuerySelect | null,
|
|
354
|
+
/** Filters to reduce the returned data (`$filters`); at least one if set */
|
|
355
|
+
filters?: Array<QueryFilter> | null);
|
|
356
|
+
}
|
|
357
|
+
/** An attribute which can be used as an operand */
|
|
358
|
+
export type AttributeItem = ClaimAttribute | GlobalAttribute | ReferenceAttribute;
|
|
359
|
+
/** An operand which evaluates to a string */
|
|
360
|
+
export type StringValue = FieldOperand | StringLiteral | StringCast | AttributeOperand;
|
|
361
|
+
/** An operand which evaluates to a date and time */
|
|
362
|
+
export type DateTimeOperand = DateTimeLiteral | DateTimeCast | DateTimeAttributeOperand;
|
|
363
|
+
/** An operand which can be cast to `xs:time` */
|
|
364
|
+
export type TimeCastOperand = StringValue | DateTimeLiteral | DateTimeCast;
|
|
365
|
+
/** An operand which evaluates to a number */
|
|
366
|
+
export type NumericalOperand = NumberLiteral | NumberCast | DayOfWeek | DayOfMonth | Month | Year;
|
|
367
|
+
/** An operand which evaluates to a hexadecimal */
|
|
368
|
+
export type HexOperand = HexLiteral | HexCast;
|
|
369
|
+
/** An operand which evaluates to a boolean */
|
|
370
|
+
export type BoolOperand = BooleanLiteral | BooleanCast;
|
|
371
|
+
/** An operand which evaluates to a time */
|
|
372
|
+
export type TimeOperand = TimeLiteral | TimeCast;
|
|
373
|
+
/** Any operand of a comparison */
|
|
374
|
+
export type Value = StringValue | NumericalOperand | HexOperand | BoolOperand | DateTimeLiteral | DateTimeCast | TimeOperand;
|
|
375
|
+
/** An expression which can be nested in a {@link MatchClause} */
|
|
376
|
+
export type MatchExpression = MatchClause | EqualComparison | NotEqualComparison | GreaterThanComparison | GreaterThanOrEqualComparison | LessThanComparison | LessThanOrEqualComparison | ContainsComparison | StartsWithComparison | EndsWithComparison | RegexComparison;
|
|
377
|
+
/** An expression which evaluates to a boolean */
|
|
378
|
+
export type LogicalExpression = AndExpression | OrExpression | NotExpression | BooleanLiteral | MatchExpression;
|