@opra/common 1.0.0-alpha.3 → 1.0.0-alpha.31
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/browser.js +6035 -5791
- package/cjs/document/api-document.js +11 -0
- package/cjs/document/common/api-base.js +1 -1
- package/cjs/document/common/document-element.js +4 -1
- package/cjs/document/data-type/api-field.js +12 -6
- package/cjs/document/data-type/complex-type-base.js +10 -3
- package/cjs/document/data-type/complex-type.js +6 -2
- package/cjs/document/data-type/data-type.js +2 -1
- package/cjs/document/data-type/enum-type.js +5 -2
- package/cjs/document/data-type/extended-types/base64.type.js +4 -0
- package/cjs/document/data-type/extended-types/date-string.type.js +6 -2
- package/cjs/document/data-type/extended-types/date-time-string.type.js +6 -2
- package/cjs/document/data-type/extended-types/date-time.type.js +6 -2
- package/cjs/document/data-type/extended-types/date.type.js +6 -2
- package/cjs/document/data-type/extended-types/email.type.js +6 -2
- package/cjs/document/data-type/extended-types/field-path.type.js +5 -3
- package/cjs/document/data-type/extended-types/filter.type.js +19 -17
- package/cjs/document/data-type/extended-types/object-id.type.js +4 -0
- package/cjs/document/data-type/extended-types/time.type.js +6 -2
- package/cjs/document/data-type/extended-types/url.type.js +6 -2
- package/cjs/document/data-type/extended-types/uuid.type.js +4 -0
- package/cjs/document/data-type/mapped-type.js +12 -5
- package/cjs/document/data-type/mixin-type.js +5 -1
- package/cjs/document/data-type/omit-type.js +7 -2
- package/cjs/document/data-type/partial-type.js +7 -2
- package/cjs/document/data-type/pick-type.js +1 -2
- package/cjs/document/data-type/primitive-types/bigint.type.js +4 -0
- package/cjs/document/data-type/primitive-types/boolean.type.js +4 -0
- package/cjs/document/data-type/primitive-types/integer.type.js +4 -0
- package/cjs/document/data-type/primitive-types/null.type.js +4 -0
- package/cjs/document/data-type/primitive-types/number.type.js +4 -0
- package/cjs/document/data-type/primitive-types/object.type.js +0 -3
- package/cjs/document/data-type/primitive-types/string.type.js +4 -0
- package/cjs/document/data-type/required-type.js +1 -2
- package/cjs/document/data-type/simple-type.js +17 -16
- package/cjs/document/data-type/utils/create-mapped-class.js +3 -3
- package/cjs/document/data-type/utils/get-is-inherited-predicate-fn.js +1 -2
- package/cjs/document/decorators/api-field-decorator.js +4 -6
- package/cjs/document/decorators/complex-type.decorator.js +1 -2
- package/cjs/document/decorators/http-controller.decorator.js +26 -2
- package/cjs/document/decorators/http-operation-entity.decorator.js +123 -93
- package/cjs/document/decorators/http-operation.decorator.js +12 -6
- package/cjs/document/decorators/simple-type.decorator.js +2 -3
- package/cjs/document/factory/api-document.factory.js +14 -11
- package/cjs/document/factory/data-type.factory.js +97 -56
- package/cjs/document/factory/http-api.factory.js +3 -1
- package/cjs/document/http/http-api.js +2 -3
- package/cjs/document/http/http-controller.js +26 -14
- package/cjs/document/http/http-media-type.js +21 -4
- package/cjs/document/http/http-operation-response.js +2 -2
- package/cjs/document/http/http-operation.js +28 -4
- package/cjs/document/http/http-parameter.js +4 -0
- package/cjs/document/http/http-request-body.js +0 -1
- package/cjs/document/http/http-status-range.js +6 -4
- package/cjs/document/index.js +5 -5
- package/cjs/document/utils/parse-regexp.util.js +1 -2
- package/cjs/document/utils/string-compare.util.js +1 -2
- package/cjs/exception/index.js +5 -5
- package/cjs/exception/opra-exception.js +1 -0
- package/cjs/filter/antlr/OpraFilterParser.js +28 -82
- package/cjs/filter/ast/index.js +1 -1
- package/cjs/filter/build.js +22 -25
- package/cjs/filter/filter-rules.js +4 -2
- package/cjs/filter/opra-filter.ns.js +2 -2
- package/cjs/filter/parse.js +2 -5
- package/cjs/filter/utils.js +2 -3
- package/cjs/helpers/function-utils.js +1 -2
- package/cjs/helpers/get-stack-filename.js +2 -3
- package/cjs/helpers/mixin-utils.js +4 -4
- package/cjs/helpers/monkey-patches.js +4 -2
- package/cjs/helpers/object-utils.js +5 -6
- package/cjs/helpers/parse-fields-projection.js +4 -6
- package/cjs/helpers/responsive-map.js +5 -4
- package/cjs/helpers/type-guards.js +10 -11
- package/cjs/i18n/i18n.js +4 -3
- package/cjs/i18n/index.js +1 -1
- package/cjs/i18n/string-utils.js +2 -3
- package/cjs/i18n/translate.js +1 -2
- package/cjs/index.js +1 -1
- package/cjs/schema/type-guards.js +7 -8
- package/esm/document/api-document.js +11 -0
- package/esm/document/common/api-base.js +1 -1
- package/esm/document/common/document-element.js +4 -1
- package/esm/document/data-type/api-field.js +12 -6
- package/esm/document/data-type/complex-type-base.js +10 -3
- package/esm/document/data-type/complex-type.js +6 -2
- package/esm/document/data-type/data-type.js +2 -1
- package/esm/document/data-type/enum-type.js +5 -2
- package/esm/document/data-type/extended-types/base64.type.js +4 -0
- package/esm/document/data-type/extended-types/date-string.type.js +6 -2
- package/esm/document/data-type/extended-types/date-time-string.type.js +6 -2
- package/esm/document/data-type/extended-types/date-time.type.js +6 -2
- package/esm/document/data-type/extended-types/date.type.js +6 -2
- package/esm/document/data-type/extended-types/email.type.js +6 -2
- package/esm/document/data-type/extended-types/field-path.type.js +5 -3
- package/esm/document/data-type/extended-types/filter.type.js +19 -17
- package/esm/document/data-type/extended-types/object-id.type.js +4 -0
- package/esm/document/data-type/extended-types/time.type.js +6 -2
- package/esm/document/data-type/extended-types/url.type.js +6 -2
- package/esm/document/data-type/extended-types/uuid.type.js +4 -0
- package/esm/document/data-type/mapped-type.js +12 -5
- package/esm/document/data-type/mixin-type.js +5 -1
- package/esm/document/data-type/omit-type.js +6 -0
- package/esm/document/data-type/partial-type.js +6 -0
- package/esm/document/data-type/primitive-types/bigint.type.js +4 -0
- package/esm/document/data-type/primitive-types/boolean.type.js +4 -0
- package/esm/document/data-type/primitive-types/integer.type.js +4 -0
- package/esm/document/data-type/primitive-types/null.type.js +4 -0
- package/esm/document/data-type/primitive-types/number.type.js +4 -0
- package/esm/document/data-type/primitive-types/object.type.js +0 -3
- package/esm/document/data-type/primitive-types/string.type.js +4 -0
- package/esm/document/data-type/simple-type.js +17 -16
- package/esm/document/data-type/utils/create-mapped-class.js +2 -1
- package/esm/document/decorators/api-field-decorator.js +1 -2
- package/esm/document/decorators/http-controller.decorator.js +25 -0
- package/esm/document/decorators/http-operation-entity.decorator.js +80 -50
- package/esm/document/decorators/http-operation.decorator.js +11 -4
- package/esm/document/factory/api-document.factory.js +14 -10
- package/esm/document/factory/data-type.factory.js +97 -56
- package/esm/document/factory/http-api.factory.js +3 -1
- package/esm/document/http/http-api.js +2 -3
- package/esm/document/http/http-controller.js +25 -14
- package/esm/document/http/http-media-type.js +20 -4
- package/esm/document/http/http-operation-response.js +2 -2
- package/esm/document/http/http-operation.js +27 -4
- package/esm/document/http/http-parameter.js +4 -0
- package/esm/document/http/http-request-body.js +0 -1
- package/esm/document/http/http-status-range.js +6 -4
- package/esm/document/index.js +5 -5
- package/esm/exception/index.js +5 -5
- package/esm/exception/opra-exception.js +1 -0
- package/esm/filter/antlr/OpraFilterParser.js +28 -82
- package/esm/filter/ast/index.js +1 -1
- package/esm/filter/build.js +1 -3
- package/esm/filter/filter-rules.js +4 -2
- package/esm/filter/opra-filter.ns.js +2 -2
- package/esm/filter/parse.js +1 -3
- package/esm/helpers/mixin-utils.js +2 -1
- package/esm/helpers/monkey-patches.js +4 -2
- package/esm/helpers/object-utils.js +2 -2
- package/esm/helpers/parse-fields-projection.js +1 -3
- package/esm/helpers/responsive-map.js +5 -4
- package/esm/i18n/i18n.js +4 -3
- package/esm/i18n/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +12 -8
- package/types/document/api-document.d.ts +1 -0
- package/types/document/common/api-base.d.ts +1 -1
- package/types/document/common/document-element.d.ts +1 -0
- package/types/document/data-type/api-field.d.ts +12 -0
- package/types/document/data-type/complex-type-base.d.ts +1 -1
- package/types/document/data-type/complex-type.d.ts +1 -1
- package/types/document/data-type/data-type.d.ts +5 -2
- package/types/document/data-type/enum-type.d.ts +2 -2
- package/types/document/data-type/mapped-type.d.ts +3 -3
- package/types/document/data-type/mixin-type.d.ts +2 -2
- package/types/document/data-type/omit-type.d.ts +0 -6
- package/types/document/data-type/partial-type.d.ts +0 -6
- package/types/document/data-type/pick-type.d.ts +2 -2
- package/types/document/data-type/required-type.d.ts +7 -7
- package/types/document/data-type/simple-type.d.ts +4 -2
- package/types/document/decorators/http-controller.decorator.d.ts +1 -0
- package/types/document/decorators/http-operation-entity.decorator.d.ts +1 -0
- package/types/document/factory/data-type.factory.d.ts +5 -0
- package/types/document/http/http-api.d.ts +1 -1
- package/types/document/http/http-controller.d.ts +1 -0
- package/types/document/http/http-media-type.d.ts +2 -1
- package/types/document/http/http-operation.d.ts +5 -3
- package/types/document/http/http-parameter.d.ts +3 -2
- package/types/document/http/http-status-range.d.ts +2 -1
- package/types/document/index.d.ts +5 -5
- package/types/exception/index.d.ts +5 -5
- package/types/filter/ast/index.d.ts +1 -1
- package/types/filter/opra-filter.ns.d.ts +2 -2
- package/types/helpers/type-guards.d.ts +0 -2
- package/types/i18n/i18n.d.ts +21 -19
- package/types/index.d.ts +1 -1
- package/types/schema/data-type/data-type.interface.d.ts +1 -1
- package/types/schema/data-type/mapped-type.interface.d.ts +2 -2
- package/types/schema/data-type/simple-type.interface.d.ts +4 -0
- package/types/schema/data-type-container.interface.d.ts +1 -1
- package/types/schema/document.interface.d.ts +1 -1
- package/types/schema/http/http-controller.interface.d.ts +2 -2
- package/types/schema/http/http-media-type.interface.d.ts +1 -1
- package/types/schema/http/http-operation-response.interface.d.ts +2 -2
- package/types/schema/http/http-operation.interface.d.ts +8 -4
- package/types/schema/http/http-parameter.interface.d.ts +5 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HttpMediaType = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_is_1 = tslib_1.__importDefault(require("@browsery/type-is"));
|
|
4
6
|
const ts_gems_1 = require("ts-gems");
|
|
7
|
+
const valgen_1 = require("valgen");
|
|
5
8
|
const index_js_1 = require("../../helpers/index.js");
|
|
6
9
|
const document_element_js_1 = require("../common/document-element.js");
|
|
7
10
|
const data_type_js_1 = require("../data-type/data-type.js");
|
|
@@ -24,9 +27,9 @@ exports.HttpMediaType = function (owner, initArgs) {
|
|
|
24
27
|
_this.maxFiles = initArgs.maxFiles;
|
|
25
28
|
_this.maxFileSize = initArgs.maxFileSize;
|
|
26
29
|
_this.maxTotalFileSize = initArgs.maxTotalFileSize;
|
|
27
|
-
|
|
28
|
-
if (initArgs?.type)
|
|
30
|
+
if (initArgs?.type) {
|
|
29
31
|
_this.type = initArgs?.type instanceof data_type_js_1.DataType ? initArgs.type : _this.owner.node.getDataType(initArgs.type);
|
|
32
|
+
}
|
|
30
33
|
_this.isArray = initArgs.isArray;
|
|
31
34
|
};
|
|
32
35
|
/**
|
|
@@ -38,8 +41,9 @@ class HttpMediaTypeClass extends document_element_js_1.DocumentElement {
|
|
|
38
41
|
return;
|
|
39
42
|
for (const f of this.multipartFields) {
|
|
40
43
|
if ((!fieldType || fieldType === f.fieldType) &&
|
|
41
|
-
((f.fieldName instanceof RegExp && f.fieldName.test(fieldName)) || f.fieldName === fieldName))
|
|
44
|
+
((f.fieldName instanceof RegExp && f.fieldName.test(fieldName)) || f.fieldName === fieldName)) {
|
|
42
45
|
return f;
|
|
46
|
+
}
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
toJSON() {
|
|
@@ -57,12 +61,25 @@ class HttpMediaTypeClass extends document_element_js_1.DocumentElement {
|
|
|
57
61
|
maxFiles: this.maxFiles,
|
|
58
62
|
maxFileSize: this.maxFileSize,
|
|
59
63
|
maxTotalFileSize: this.maxTotalFileSize,
|
|
60
|
-
minFileSize: this.minFileSize,
|
|
61
64
|
});
|
|
62
65
|
if (this.multipartFields?.length) {
|
|
63
66
|
out.multipartFields = this.multipartFields.map(x => x.toJSON());
|
|
64
67
|
}
|
|
65
68
|
return out;
|
|
66
69
|
}
|
|
70
|
+
generateCodec(codec, options) {
|
|
71
|
+
let fn;
|
|
72
|
+
if (this.type) {
|
|
73
|
+
fn = this.type.generateCodec(codec, options);
|
|
74
|
+
}
|
|
75
|
+
else if (this.contentType) {
|
|
76
|
+
const arr = Array.isArray(this.contentType) ? this.contentType : [this.contentType];
|
|
77
|
+
if (arr.find(ct => type_is_1.default.is(ct, ['json']))) {
|
|
78
|
+
fn = this.node.findDataType('object').generateCodec(codec);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
fn = fn || valgen_1.isAny;
|
|
82
|
+
return this.isArray ? valgen_1.vg.isArray(fn) : fn;
|
|
83
|
+
}
|
|
67
84
|
}
|
|
68
85
|
exports.HttpMediaType.prototype = HttpMediaTypeClass.prototype;
|
|
@@ -10,7 +10,6 @@ const http_status_range_js_1 = require("./http-status-range.js");
|
|
|
10
10
|
class HttpOperationResponse extends http_media_type_js_1.HttpMediaType {
|
|
11
11
|
constructor(owner, init) {
|
|
12
12
|
super(owner, init);
|
|
13
|
-
this.owner = owner;
|
|
14
13
|
this.parameters = [];
|
|
15
14
|
this.statusCode = (Array.isArray(init.statusCode) ? init.statusCode : [init.statusCode]).map(x => typeof x === 'object' ? new http_status_range_js_1.HttpStatusRange(x.start, x.end) : new http_status_range_js_1.HttpStatusRange(x));
|
|
16
15
|
this.partial = init.partial;
|
|
@@ -19,8 +18,9 @@ class HttpOperationResponse extends http_media_type_js_1.HttpMediaType {
|
|
|
19
18
|
paramName = paramName.toLowerCase();
|
|
20
19
|
for (const prm of this.parameters) {
|
|
21
20
|
if ((!location || location === prm.location) &&
|
|
22
|
-
((prm.name instanceof RegExp && prm.name.test(paramName)) || prm.name === paramName))
|
|
21
|
+
((prm.name instanceof RegExp && prm.name.test(paramName)) || prm.name === paramName)) {
|
|
23
22
|
return prm;
|
|
23
|
+
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
toJSON() {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HttpOperation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
|
4
6
|
const ts_gems_1 = require("ts-gems");
|
|
5
7
|
const index_js_1 = require("../../helpers/index.js");
|
|
6
8
|
const index_js_2 = require("../../schema/index.js");
|
|
@@ -29,6 +31,7 @@ exports.HttpOperation = function (...args) {
|
|
|
29
31
|
_this.types = _this.node[constants_js_1.kDataTypeMap] = new data_type_map_js_1.DataTypeMap();
|
|
30
32
|
_this.name = initArgs.name;
|
|
31
33
|
_this.path = initArgs.path;
|
|
34
|
+
_this.mergePath = initArgs.mergePath;
|
|
32
35
|
_this.method = initArgs.method || 'GET';
|
|
33
36
|
_this.description = initArgs.description;
|
|
34
37
|
_this.composition = initArgs.composition;
|
|
@@ -39,18 +42,39 @@ exports.HttpOperation = function (...args) {
|
|
|
39
42
|
*/
|
|
40
43
|
class HttpOperationClass extends document_element_js_1.DocumentElement {
|
|
41
44
|
findParameter(paramName, location) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
const paramNameLower = paramName.toLowerCase();
|
|
46
|
+
let prm;
|
|
47
|
+
for (prm of this.parameters) {
|
|
48
|
+
if (location && location !== prm.location)
|
|
49
|
+
continue;
|
|
50
|
+
if (typeof prm.name === 'string') {
|
|
51
|
+
prm._nameLower = prm._nameLower || prm.name.toLowerCase();
|
|
52
|
+
if (prm._nameLower === paramNameLower)
|
|
53
|
+
return prm;
|
|
54
|
+
}
|
|
55
|
+
if (prm.name instanceof RegExp && prm.name.test(paramName))
|
|
46
56
|
return prm;
|
|
47
57
|
}
|
|
48
58
|
}
|
|
59
|
+
getFullUrl() {
|
|
60
|
+
const out = this.owner.getFullUrl();
|
|
61
|
+
if (out) {
|
|
62
|
+
if (this.path) {
|
|
63
|
+
if (this.mergePath)
|
|
64
|
+
return out + this.path;
|
|
65
|
+
return node_path_1.default.posix.join(out, this.path);
|
|
66
|
+
}
|
|
67
|
+
return out;
|
|
68
|
+
}
|
|
69
|
+
return this.path || '/';
|
|
70
|
+
}
|
|
49
71
|
toJSON() {
|
|
50
72
|
const out = (0, index_js_1.omitUndefined)({
|
|
51
73
|
kind: index_js_2.OpraSchema.HttpOperation.Kind,
|
|
52
74
|
description: this.description,
|
|
53
75
|
method: this.method,
|
|
76
|
+
path: this.path,
|
|
77
|
+
mergePath: this.mergePath,
|
|
54
78
|
composition: this.composition,
|
|
55
79
|
requestBody: this.requestBody?.toJSON(),
|
|
56
80
|
});
|
|
@@ -24,7 +24,10 @@ exports.HttpParameter = function (owner, initArgs) {
|
|
|
24
24
|
_this.location = initArgs.location;
|
|
25
25
|
_this.deprecated = initArgs.deprecated;
|
|
26
26
|
_this.required = initArgs.required;
|
|
27
|
+
if (_this.required == null && initArgs.location === 'path')
|
|
28
|
+
_this.required = true;
|
|
27
29
|
_this.arraySeparator = initArgs.arraySeparator;
|
|
30
|
+
_this.keyParam = initArgs.keyParam;
|
|
28
31
|
};
|
|
29
32
|
/**
|
|
30
33
|
* @class HttpParameter
|
|
@@ -36,6 +39,7 @@ class HttpParameterClass extends value_js_1.Value {
|
|
|
36
39
|
name: this.name,
|
|
37
40
|
location: this.location,
|
|
38
41
|
arraySeparator: this.arraySeparator,
|
|
42
|
+
keyParam: this.keyParam,
|
|
39
43
|
required: this.required,
|
|
40
44
|
deprecated: this.deprecated,
|
|
41
45
|
});
|
|
@@ -25,14 +25,16 @@ class HttpStatusRange {
|
|
|
25
25
|
this.end = m[2] ? parseInt(m[2], 10) : this.start;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.
|
|
28
|
+
includes(statusCode) {
|
|
29
|
+
return statusCode >= this.start && statusCode <= this.end;
|
|
30
|
+
}
|
|
31
|
+
intersects(start, end) {
|
|
32
|
+
return end >= this.start && start <= this.end;
|
|
30
33
|
}
|
|
31
34
|
toString() {
|
|
32
35
|
if (this.start === this.end)
|
|
33
36
|
return String(this.start);
|
|
34
|
-
|
|
35
|
-
return String(this.start) + '-' + String(this.end);
|
|
37
|
+
return String(this.start) + '-' + String(this.end);
|
|
36
38
|
}
|
|
37
39
|
toJSON() {
|
|
38
40
|
return !this.end || this.start === this.end ? this.start : { start: this.start, end: this.end };
|
package/cjs/document/index.js
CHANGED
|
@@ -6,36 +6,36 @@ require("reflect-metadata");
|
|
|
6
6
|
const DataTypeFactory_ = tslib_1.__importStar(require("./factory/data-type.factory.js"));
|
|
7
7
|
const HttpApiFactory_ = tslib_1.__importStar(require("./factory/http-api.factory.js"));
|
|
8
8
|
tslib_1.__exportStar(require("./api-document.js"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./constants.js"), exports);
|
|
10
9
|
tslib_1.__exportStar(require("./common/api-base.js"), exports);
|
|
11
10
|
tslib_1.__exportStar(require("./common/data-type-map.js"), exports);
|
|
12
11
|
tslib_1.__exportStar(require("./common/document-element.js"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./common/document-init-context.js"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./common/document-node.js"), exports);
|
|
15
14
|
tslib_1.__exportStar(require("./common/opra-document-error.js"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./constants.js"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./data-type/api-field.js"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./data-type/complex-type.js"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./data-type/data-type.js"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./data-type/enum-type.js"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./data-type/
|
|
20
|
+
tslib_1.__exportStar(require("./data-type/extended-types/index.js"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./data-type/mapped-type.js"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./data-type/mixin-type.js"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./data-type/omit-type.js"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./data-type/partial-type.js"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./data-type/pick-type.js"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./data-type/primitive-types/index.js"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./data-type/required-type.js"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./data-type/simple-type.js"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./data-type/primitive-types/index.js"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./data-type/extended-types/index.js"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./decorators/http-operation-entity.decorator.js"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./factory/api-document.factory.js"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./http/http-api.js"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./http/http-controller.js"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./http/http-media-type.js"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./http/http-multipart-field.js"), exports);
|
|
34
35
|
tslib_1.__exportStar(require("./http/http-operation.js"), exports);
|
|
35
36
|
tslib_1.__exportStar(require("./http/http-operation-response.js"), exports);
|
|
36
37
|
tslib_1.__exportStar(require("./http/http-parameter.js"), exports);
|
|
37
38
|
tslib_1.__exportStar(require("./http/http-request-body.js"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./http/http-controller.js"), exports);
|
|
39
39
|
tslib_1.__exportStar(require("./http/http-status-range.js"), exports);
|
|
40
40
|
var classes;
|
|
41
41
|
(function (classes) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseRegExp =
|
|
3
|
+
exports.parseRegExp = parseRegExp;
|
|
4
4
|
function parseRegExp(str, options) {
|
|
5
5
|
const i = str.lastIndexOf('/');
|
|
6
6
|
if (str.startsWith('/') && i) {
|
|
@@ -19,4 +19,3 @@ function parseRegExp(str, options) {
|
|
|
19
19
|
}
|
|
20
20
|
throw new TypeError(`"${str}" is not a valid RegExp string`);
|
|
21
21
|
}
|
|
22
|
-
exports.parseRegExp = parseRegExp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stringCompare =
|
|
3
|
+
exports.stringCompare = stringCompare;
|
|
4
4
|
function stringCompare(a, b) {
|
|
5
5
|
if (a < b)
|
|
6
6
|
return -1;
|
|
@@ -8,4 +8,3 @@ function stringCompare(a, b) {
|
|
|
8
8
|
return 1;
|
|
9
9
|
return 0;
|
|
10
10
|
}
|
|
11
|
-
exports.stringCompare = stringCompare;
|
package/cjs/exception/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./opra-exception.js"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./opra-http-error.js"), exports);
|
|
6
4
|
tslib_1.__exportStar(require("./error-issue.js"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./issue-severity.enum.js"), exports);
|
|
8
5
|
tslib_1.__exportStar(require("./http-errors/bad-request.error.js"), exports);
|
|
9
6
|
tslib_1.__exportStar(require("./http-errors/conflict.error.js"), exports);
|
|
10
7
|
tslib_1.__exportStar(require("./http-errors/failed-dependency.error.js"), exports);
|
|
@@ -13,8 +10,11 @@ tslib_1.__exportStar(require("./http-errors/internal-server.error.js"), exports)
|
|
|
13
10
|
tslib_1.__exportStar(require("./http-errors/method-not-allowed.error.js"), exports);
|
|
14
11
|
tslib_1.__exportStar(require("./http-errors/not-acceptable.error.js"), exports);
|
|
15
12
|
tslib_1.__exportStar(require("./http-errors/not-found.error.js"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./http-errors/unauthorized.error.js"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./http-errors/unprocessable-entity.error.js"), exports);
|
|
18
13
|
tslib_1.__exportStar(require("./http-errors/permission.error.js"), exports);
|
|
19
14
|
tslib_1.__exportStar(require("./http-errors/resource-conflict.error.js"), exports);
|
|
20
15
|
tslib_1.__exportStar(require("./http-errors/resource-not.available.error.js"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./http-errors/unauthorized.error.js"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./http-errors/unprocessable-entity.error.js"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./issue-severity.enum.js"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./opra-exception.js"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./opra-http-error.js"), exports);
|
|
@@ -9,6 +9,7 @@ const index_js_2 = require("../i18n/index.js");
|
|
|
9
9
|
class OpraException extends Error {
|
|
10
10
|
constructor(issue, cause) {
|
|
11
11
|
super('Unknown error');
|
|
12
|
+
this.severity = 'error';
|
|
12
13
|
cause = cause || (issue instanceof Error ? issue : undefined);
|
|
13
14
|
if (issue instanceof Error)
|
|
14
15
|
cause = issue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable
|
|
2
|
+
/* eslint-disable */
|
|
3
3
|
// Generated from ./src/filter/antlr/OpraFilter.g4 by ANTLR 4.12.0
|
|
4
4
|
// noinspection ES6UnusedImports,JSUnusedGlobalSymbols,JSUnusedLocalSymbols
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -995,9 +995,7 @@ class RootContext extends antlr4_1.ParserRuleContext {
|
|
|
995
995
|
if (visitor.visitRoot) {
|
|
996
996
|
return visitor.visitRoot(this);
|
|
997
997
|
}
|
|
998
|
-
|
|
999
|
-
return visitor.visitChildren(this);
|
|
1000
|
-
}
|
|
998
|
+
return visitor.visitChildren(this);
|
|
1001
999
|
}
|
|
1002
1000
|
}
|
|
1003
1001
|
exports.RootContext = RootContext;
|
|
@@ -1037,9 +1035,7 @@ class ParenthesizedExpressionContext extends ExpressionContext {
|
|
|
1037
1035
|
if (visitor.visitParenthesizedExpression) {
|
|
1038
1036
|
return visitor.visitParenthesizedExpression(this);
|
|
1039
1037
|
}
|
|
1040
|
-
|
|
1041
|
-
return visitor.visitChildren(this);
|
|
1042
|
-
}
|
|
1038
|
+
return visitor.visitChildren(this);
|
|
1043
1039
|
}
|
|
1044
1040
|
}
|
|
1045
1041
|
exports.ParenthesizedExpressionContext = ParenthesizedExpressionContext;
|
|
@@ -1066,9 +1062,7 @@ class NegativeExpressionContext extends ExpressionContext {
|
|
|
1066
1062
|
if (visitor.visitNegativeExpression) {
|
|
1067
1063
|
return visitor.visitNegativeExpression(this);
|
|
1068
1064
|
}
|
|
1069
|
-
|
|
1070
|
-
return visitor.visitChildren(this);
|
|
1071
|
-
}
|
|
1065
|
+
return visitor.visitChildren(this);
|
|
1072
1066
|
}
|
|
1073
1067
|
}
|
|
1074
1068
|
exports.NegativeExpressionContext = NegativeExpressionContext;
|
|
@@ -1101,9 +1095,7 @@ class ComparisonExpressionContext extends ExpressionContext {
|
|
|
1101
1095
|
if (visitor.visitComparisonExpression) {
|
|
1102
1096
|
return visitor.visitComparisonExpression(this);
|
|
1103
1097
|
}
|
|
1104
|
-
|
|
1105
|
-
return visitor.visitChildren(this);
|
|
1106
|
-
}
|
|
1098
|
+
return visitor.visitChildren(this);
|
|
1107
1099
|
}
|
|
1108
1100
|
}
|
|
1109
1101
|
exports.ComparisonExpressionContext = ComparisonExpressionContext;
|
|
@@ -1136,9 +1128,7 @@ class LogicalExpressionContext extends ExpressionContext {
|
|
|
1136
1128
|
if (visitor.visitLogicalExpression) {
|
|
1137
1129
|
return visitor.visitLogicalExpression(this);
|
|
1138
1130
|
}
|
|
1139
|
-
|
|
1140
|
-
return visitor.visitChildren(this);
|
|
1141
|
-
}
|
|
1131
|
+
return visitor.visitChildren(this);
|
|
1142
1132
|
}
|
|
1143
1133
|
}
|
|
1144
1134
|
exports.LogicalExpressionContext = LogicalExpressionContext;
|
|
@@ -1168,9 +1158,7 @@ class ComparisonLeftContext extends antlr4_1.ParserRuleContext {
|
|
|
1168
1158
|
if (visitor.visitComparisonLeft) {
|
|
1169
1159
|
return visitor.visitComparisonLeft(this);
|
|
1170
1160
|
}
|
|
1171
|
-
|
|
1172
|
-
return visitor.visitChildren(this);
|
|
1173
|
-
}
|
|
1161
|
+
return visitor.visitChildren(this);
|
|
1174
1162
|
}
|
|
1175
1163
|
}
|
|
1176
1164
|
exports.ComparisonLeftContext = ComparisonLeftContext;
|
|
@@ -1209,9 +1197,7 @@ class ComparisonRightContext extends antlr4_1.ParserRuleContext {
|
|
|
1209
1197
|
if (visitor.visitComparisonRight) {
|
|
1210
1198
|
return visitor.visitComparisonRight(this);
|
|
1211
1199
|
}
|
|
1212
|
-
|
|
1213
|
-
return visitor.visitChildren(this);
|
|
1214
|
-
}
|
|
1200
|
+
return visitor.visitChildren(this);
|
|
1215
1201
|
}
|
|
1216
1202
|
}
|
|
1217
1203
|
exports.ComparisonRightContext = ComparisonRightContext;
|
|
@@ -1241,9 +1227,7 @@ class ParenthesizedItemContext extends antlr4_1.ParserRuleContext {
|
|
|
1241
1227
|
if (visitor.visitParenthesizedItem) {
|
|
1242
1228
|
return visitor.visitParenthesizedItem(this);
|
|
1243
1229
|
}
|
|
1244
|
-
|
|
1245
|
-
return visitor.visitChildren(this);
|
|
1246
|
-
}
|
|
1230
|
+
return visitor.visitChildren(this);
|
|
1247
1231
|
}
|
|
1248
1232
|
}
|
|
1249
1233
|
exports.ParenthesizedItemContext = ParenthesizedItemContext;
|
|
@@ -1283,9 +1267,7 @@ class TimeLiteralContext extends ValueContext {
|
|
|
1283
1267
|
if (visitor.visitTimeLiteral) {
|
|
1284
1268
|
return visitor.visitTimeLiteral(this);
|
|
1285
1269
|
}
|
|
1286
|
-
|
|
1287
|
-
return visitor.visitChildren(this);
|
|
1288
|
-
}
|
|
1270
|
+
return visitor.visitChildren(this);
|
|
1289
1271
|
}
|
|
1290
1272
|
}
|
|
1291
1273
|
exports.TimeLiteralContext = TimeLiteralContext;
|
|
@@ -1312,9 +1294,7 @@ class NullLiteralContext extends ValueContext {
|
|
|
1312
1294
|
if (visitor.visitNullLiteral) {
|
|
1313
1295
|
return visitor.visitNullLiteral(this);
|
|
1314
1296
|
}
|
|
1315
|
-
|
|
1316
|
-
return visitor.visitChildren(this);
|
|
1317
|
-
}
|
|
1297
|
+
return visitor.visitChildren(this);
|
|
1318
1298
|
}
|
|
1319
1299
|
}
|
|
1320
1300
|
exports.NullLiteralContext = NullLiteralContext;
|
|
@@ -1341,9 +1321,7 @@ class DateTimeLiteralContext extends ValueContext {
|
|
|
1341
1321
|
if (visitor.visitDateTimeLiteral) {
|
|
1342
1322
|
return visitor.visitDateTimeLiteral(this);
|
|
1343
1323
|
}
|
|
1344
|
-
|
|
1345
|
-
return visitor.visitChildren(this);
|
|
1346
|
-
}
|
|
1324
|
+
return visitor.visitChildren(this);
|
|
1347
1325
|
}
|
|
1348
1326
|
}
|
|
1349
1327
|
exports.DateTimeLiteralContext = DateTimeLiteralContext;
|
|
@@ -1370,9 +1348,7 @@ class StringLiteralContext extends ValueContext {
|
|
|
1370
1348
|
if (visitor.visitStringLiteral) {
|
|
1371
1349
|
return visitor.visitStringLiteral(this);
|
|
1372
1350
|
}
|
|
1373
|
-
|
|
1374
|
-
return visitor.visitChildren(this);
|
|
1375
|
-
}
|
|
1351
|
+
return visitor.visitChildren(this);
|
|
1376
1352
|
}
|
|
1377
1353
|
}
|
|
1378
1354
|
exports.StringLiteralContext = StringLiteralContext;
|
|
@@ -1399,9 +1375,7 @@ class DateLiteralContext extends ValueContext {
|
|
|
1399
1375
|
if (visitor.visitDateLiteral) {
|
|
1400
1376
|
return visitor.visitDateLiteral(this);
|
|
1401
1377
|
}
|
|
1402
|
-
|
|
1403
|
-
return visitor.visitChildren(this);
|
|
1404
|
-
}
|
|
1378
|
+
return visitor.visitChildren(this);
|
|
1405
1379
|
}
|
|
1406
1380
|
}
|
|
1407
1381
|
exports.DateLiteralContext = DateLiteralContext;
|
|
@@ -1428,9 +1402,7 @@ class InfinityLiteralContext extends ValueContext {
|
|
|
1428
1402
|
if (visitor.visitInfinityLiteral) {
|
|
1429
1403
|
return visitor.visitInfinityLiteral(this);
|
|
1430
1404
|
}
|
|
1431
|
-
|
|
1432
|
-
return visitor.visitChildren(this);
|
|
1433
|
-
}
|
|
1405
|
+
return visitor.visitChildren(this);
|
|
1434
1406
|
}
|
|
1435
1407
|
}
|
|
1436
1408
|
exports.InfinityLiteralContext = InfinityLiteralContext;
|
|
@@ -1457,9 +1429,7 @@ class BooleanLiteralContext extends ValueContext {
|
|
|
1457
1429
|
if (visitor.visitBooleanLiteral) {
|
|
1458
1430
|
return visitor.visitBooleanLiteral(this);
|
|
1459
1431
|
}
|
|
1460
|
-
|
|
1461
|
-
return visitor.visitChildren(this);
|
|
1462
|
-
}
|
|
1432
|
+
return visitor.visitChildren(this);
|
|
1463
1433
|
}
|
|
1464
1434
|
}
|
|
1465
1435
|
exports.BooleanLiteralContext = BooleanLiteralContext;
|
|
@@ -1486,9 +1456,7 @@ class NumberLiteralContext extends ValueContext {
|
|
|
1486
1456
|
if (visitor.visitNumberLiteral) {
|
|
1487
1457
|
return visitor.visitNumberLiteral(this);
|
|
1488
1458
|
}
|
|
1489
|
-
|
|
1490
|
-
return visitor.visitChildren(this);
|
|
1491
|
-
}
|
|
1459
|
+
return visitor.visitChildren(this);
|
|
1492
1460
|
}
|
|
1493
1461
|
}
|
|
1494
1462
|
exports.NumberLiteralContext = NumberLiteralContext;
|
|
@@ -1521,9 +1489,7 @@ class QualifiedIdentifierContext extends antlr4_1.ParserRuleContext {
|
|
|
1521
1489
|
if (visitor.visitQualifiedIdentifier) {
|
|
1522
1490
|
return visitor.visitQualifiedIdentifier(this);
|
|
1523
1491
|
}
|
|
1524
|
-
|
|
1525
|
-
return visitor.visitChildren(this);
|
|
1526
|
-
}
|
|
1492
|
+
return visitor.visitChildren(this);
|
|
1527
1493
|
}
|
|
1528
1494
|
}
|
|
1529
1495
|
exports.QualifiedIdentifierContext = QualifiedIdentifierContext;
|
|
@@ -1553,9 +1519,7 @@ class ExternalConstantContext extends antlr4_1.ParserRuleContext {
|
|
|
1553
1519
|
if (visitor.visitExternalConstant) {
|
|
1554
1520
|
return visitor.visitExternalConstant(this);
|
|
1555
1521
|
}
|
|
1556
|
-
|
|
1557
|
-
return visitor.visitChildren(this);
|
|
1558
|
-
}
|
|
1522
|
+
return visitor.visitChildren(this);
|
|
1559
1523
|
}
|
|
1560
1524
|
}
|
|
1561
1525
|
exports.ExternalConstantContext = ExternalConstantContext;
|
|
@@ -1585,9 +1549,7 @@ class IdentifierContext extends antlr4_1.ParserRuleContext {
|
|
|
1585
1549
|
if (visitor.visitIdentifier) {
|
|
1586
1550
|
return visitor.visitIdentifier(this);
|
|
1587
1551
|
}
|
|
1588
|
-
|
|
1589
|
-
return visitor.visitChildren(this);
|
|
1590
|
-
}
|
|
1552
|
+
return visitor.visitChildren(this);
|
|
1591
1553
|
}
|
|
1592
1554
|
}
|
|
1593
1555
|
exports.IdentifierContext = IdentifierContext;
|
|
@@ -1620,9 +1582,7 @@ class ArrayValueContext extends antlr4_1.ParserRuleContext {
|
|
|
1620
1582
|
if (visitor.visitArrayValue) {
|
|
1621
1583
|
return visitor.visitArrayValue(this);
|
|
1622
1584
|
}
|
|
1623
|
-
|
|
1624
|
-
return visitor.visitChildren(this);
|
|
1625
|
-
}
|
|
1585
|
+
return visitor.visitChildren(this);
|
|
1626
1586
|
}
|
|
1627
1587
|
}
|
|
1628
1588
|
exports.ArrayValueContext = ArrayValueContext;
|
|
@@ -1649,9 +1609,7 @@ class BooleanContext extends antlr4_1.ParserRuleContext {
|
|
|
1649
1609
|
if (visitor.visitBoolean) {
|
|
1650
1610
|
return visitor.visitBoolean(this);
|
|
1651
1611
|
}
|
|
1652
|
-
|
|
1653
|
-
return visitor.visitChildren(this);
|
|
1654
|
-
}
|
|
1612
|
+
return visitor.visitChildren(this);
|
|
1655
1613
|
}
|
|
1656
1614
|
}
|
|
1657
1615
|
exports.BooleanContext = BooleanContext;
|
|
@@ -1678,9 +1636,7 @@ class NullContext extends antlr4_1.ParserRuleContext {
|
|
|
1678
1636
|
if (visitor.visitNull) {
|
|
1679
1637
|
return visitor.visitNull(this);
|
|
1680
1638
|
}
|
|
1681
|
-
|
|
1682
|
-
return visitor.visitChildren(this);
|
|
1683
|
-
}
|
|
1639
|
+
return visitor.visitChildren(this);
|
|
1684
1640
|
}
|
|
1685
1641
|
}
|
|
1686
1642
|
exports.NullContext = NullContext;
|
|
@@ -1707,9 +1663,7 @@ class InfinityContext extends antlr4_1.ParserRuleContext {
|
|
|
1707
1663
|
if (visitor.visitInfinity) {
|
|
1708
1664
|
return visitor.visitInfinity(this);
|
|
1709
1665
|
}
|
|
1710
|
-
|
|
1711
|
-
return visitor.visitChildren(this);
|
|
1712
|
-
}
|
|
1666
|
+
return visitor.visitChildren(this);
|
|
1713
1667
|
}
|
|
1714
1668
|
}
|
|
1715
1669
|
exports.InfinityContext = InfinityContext;
|
|
@@ -1736,9 +1690,7 @@ class ArithmeticOperatorContext extends antlr4_1.ParserRuleContext {
|
|
|
1736
1690
|
if (visitor.visitArithmeticOperator) {
|
|
1737
1691
|
return visitor.visitArithmeticOperator(this);
|
|
1738
1692
|
}
|
|
1739
|
-
|
|
1740
|
-
return visitor.visitChildren(this);
|
|
1741
|
-
}
|
|
1693
|
+
return visitor.visitChildren(this);
|
|
1742
1694
|
}
|
|
1743
1695
|
}
|
|
1744
1696
|
exports.ArithmeticOperatorContext = ArithmeticOperatorContext;
|
|
@@ -1765,9 +1717,7 @@ class ComparisonOperatorContext extends antlr4_1.ParserRuleContext {
|
|
|
1765
1717
|
if (visitor.visitComparisonOperator) {
|
|
1766
1718
|
return visitor.visitComparisonOperator(this);
|
|
1767
1719
|
}
|
|
1768
|
-
|
|
1769
|
-
return visitor.visitChildren(this);
|
|
1770
|
-
}
|
|
1720
|
+
return visitor.visitChildren(this);
|
|
1771
1721
|
}
|
|
1772
1722
|
}
|
|
1773
1723
|
exports.ComparisonOperatorContext = ComparisonOperatorContext;
|
|
@@ -1794,9 +1744,7 @@ class LogicalOperatorContext extends antlr4_1.ParserRuleContext {
|
|
|
1794
1744
|
if (visitor.visitLogicalOperator) {
|
|
1795
1745
|
return visitor.visitLogicalOperator(this);
|
|
1796
1746
|
}
|
|
1797
|
-
|
|
1798
|
-
return visitor.visitChildren(this);
|
|
1799
|
-
}
|
|
1747
|
+
return visitor.visitChildren(this);
|
|
1800
1748
|
}
|
|
1801
1749
|
}
|
|
1802
1750
|
exports.LogicalOperatorContext = LogicalOperatorContext;
|
|
@@ -1826,9 +1774,7 @@ class PolarityOperatorContext extends antlr4_1.ParserRuleContext {
|
|
|
1826
1774
|
if (visitor.visitPolarityOperator) {
|
|
1827
1775
|
return visitor.visitPolarityOperator(this);
|
|
1828
1776
|
}
|
|
1829
|
-
|
|
1830
|
-
return visitor.visitChildren(this);
|
|
1831
|
-
}
|
|
1777
|
+
return visitor.visitChildren(this);
|
|
1832
1778
|
}
|
|
1833
1779
|
}
|
|
1834
1780
|
exports.PolarityOperatorContext = PolarityOperatorContext;
|
package/cjs/filter/ast/index.js
CHANGED
|
@@ -9,8 +9,8 @@ tslib_1.__exportStar(require("./expressions/arithmetic-expression.js"), exports)
|
|
|
9
9
|
tslib_1.__exportStar(require("./expressions/array-expression.js"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./expressions/comparison-expression.js"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./expressions/logical-expression.js"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./expressions/parenthesized-expression.js"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./expressions/negative-expression.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./expressions/parenthesized-expression.js"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./terms/boolean-literal.js"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./terms/date-literal.js"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./terms/null-literal.js"), exports);
|