@routier/core 0.1.0-rc.1 → 0.2.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/dist/assertions/index.js +4 -15
- package/dist/assertions/index.js.map +1 -1
- package/dist/capabilities/index.js +99 -89
- package/dist/capabilities/index.js.map +1 -1
- package/dist/codegen/index.js +21 -36
- package/dist/codegen/index.js.map +1 -1
- package/dist/collections/index.js +49 -92
- package/dist/collections/index.js.map +1 -1
- package/dist/errors/index.js +4 -15
- package/dist/errors/index.js.map +1 -1
- package/dist/expressions/index.js +102 -86
- package/dist/expressions/index.js.map +1 -1
- package/dist/index.js +1737 -2418
- package/dist/index.js.map +1 -1
- package/dist/performance/index.js +73 -9
- package/dist/performance/index.js.map +1 -1
- package/dist/pipeline/TrampolinePipeline.d.ts +0 -8
- package/dist/pipeline/index.js +71 -174
- package/dist/pipeline/index.js.map +1 -1
- package/dist/plugins/index.js +302 -479
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/replication/OptimisticReplicationDbPlugin.d.ts +6 -5
- package/dist/plugins/replication/ReplicationDbPlugin.d.ts +5 -5
- package/dist/plugins/replication/types.d.ts +1 -0
- package/dist/plugins/types.d.ts +1 -1
- package/dist/results/index.js +11 -26
- package/dist/results/index.js.map +1 -1
- package/dist/schema/SchemaDefinition.d.ts +7 -6
- package/dist/schema/index.js +1119 -1483
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/property/types/SchemaNumber.d.ts +1 -0
- package/dist/schema/property/types/SchemaString.d.ts +1 -0
- package/dist/schema/testSchemas.test.d.ts +37 -16
- package/dist/schema/types.d.ts +5 -3
- package/dist/types/index.js +0 -6
- package/dist/types/index.js.map +1 -1
- package/dist/utilities/index.d.ts +1 -0
- package/dist/utilities/index.js +103 -117
- package/dist/utilities/index.js.map +1 -1
- package/dist/utilities/logger.d.ts +8 -0
- package/dist/utilities/types.d.ts +17 -2
- package/package.json +3 -2
- package/readme.md +1 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
var __webpack_modules__ = ({
|
|
2
|
-
"./src/assertions/index.ts"
|
|
3
|
-
/*!*********************************!*\
|
|
4
|
-
!*** ./src/assertions/index.ts ***!
|
|
5
|
-
\*********************************/
|
|
6
|
-
(function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2
|
+
"./src/assertions/index.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
7
3
|
__webpack_require__.r(__webpack_exports__);
|
|
8
4
|
__webpack_require__.d(__webpack_exports__, {
|
|
9
5
|
assertDate: () => (assertDate),
|
|
@@ -12,10 +8,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12
8
|
assertIsNotNull: () => (assertIsNotNull),
|
|
13
9
|
assertString: () => (assertString)
|
|
14
10
|
});
|
|
15
|
-
/*
|
|
11
|
+
/* import */ var _utilities__rspack_import_0 = __webpack_require__("./src/utilities/dates.ts");
|
|
16
12
|
|
|
17
13
|
function assertDate(data) {
|
|
18
|
-
if ((0,
|
|
14
|
+
if ((0,_utilities__rspack_import_0.isDate)(data) === false) {
|
|
19
15
|
throw new TypeError('Value is not a Date');
|
|
20
16
|
}
|
|
21
17
|
}
|
|
@@ -51,19 +47,17 @@ function assertInstanceOf(value, Instance) {
|
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
|
|
54
|
-
}
|
|
55
|
-
"./src/expressions/parser.ts"
|
|
56
|
-
/*!***********************************!*\
|
|
57
|
-
!*** ./src/expressions/parser.ts ***!
|
|
58
|
-
\***********************************/
|
|
59
|
-
(function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
50
|
+
},
|
|
51
|
+
"./src/expressions/parser.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
60
52
|
__webpack_require__.r(__webpack_exports__);
|
|
61
53
|
__webpack_require__.d(__webpack_exports__, {
|
|
62
54
|
combineExpressions: () => (combineExpressions),
|
|
63
55
|
toExpression: () => (toExpression)
|
|
64
56
|
});
|
|
65
|
-
/*
|
|
66
|
-
/*
|
|
57
|
+
/* import */ var _utilities__rspack_import_2 = __webpack_require__("./src/utilities/logger.ts");
|
|
58
|
+
/* import */ var _assertions__rspack_import_1 = __webpack_require__("./src/assertions/index.ts");
|
|
59
|
+
/* import */ var _types__rspack_import_0 = __webpack_require__("./src/expressions/types.ts");
|
|
60
|
+
|
|
67
61
|
|
|
68
62
|
|
|
69
63
|
// Pre-compiled regex patterns for better performance
|
|
@@ -78,67 +72,67 @@ const MULTI_LINE_COMMENT_REGEX = /\/\*[\s\S]*?\*\//g;
|
|
|
78
72
|
const WHITESPACE_REGEX = /\s+/g;
|
|
79
73
|
// need to have negated + strict
|
|
80
74
|
const comparators = {
|
|
81
|
-
startsWith: new
|
|
75
|
+
startsWith: new _types__rspack_import_0.ComparatorExpression({
|
|
82
76
|
comparator: "starts-with",
|
|
83
77
|
negated: false,
|
|
84
78
|
strict: false
|
|
85
79
|
}),
|
|
86
|
-
endsWith: new
|
|
80
|
+
endsWith: new _types__rspack_import_0.ComparatorExpression({
|
|
87
81
|
comparator: "ends-with",
|
|
88
82
|
negated: false,
|
|
89
83
|
strict: false
|
|
90
84
|
}),
|
|
91
|
-
includes: new
|
|
85
|
+
includes: new _types__rspack_import_0.ComparatorExpression({
|
|
92
86
|
comparator: "includes",
|
|
93
87
|
negated: false,
|
|
94
88
|
strict: false
|
|
95
89
|
}),
|
|
96
|
-
"==": new
|
|
90
|
+
"==": new _types__rspack_import_0.ComparatorExpression({
|
|
97
91
|
comparator: "equals",
|
|
98
92
|
negated: false,
|
|
99
93
|
strict: false
|
|
100
94
|
}),
|
|
101
|
-
"===": new
|
|
95
|
+
"===": new _types__rspack_import_0.ComparatorExpression({
|
|
102
96
|
comparator: "equals",
|
|
103
97
|
negated: false,
|
|
104
98
|
strict: true
|
|
105
99
|
}),
|
|
106
|
-
"!=": new
|
|
100
|
+
"!=": new _types__rspack_import_0.ComparatorExpression({
|
|
107
101
|
comparator: "equals",
|
|
108
102
|
negated: true,
|
|
109
103
|
strict: false
|
|
110
104
|
}),
|
|
111
|
-
"!==": new
|
|
105
|
+
"!==": new _types__rspack_import_0.ComparatorExpression({
|
|
112
106
|
comparator: "equals",
|
|
113
107
|
negated: true,
|
|
114
108
|
strict: true
|
|
115
109
|
}),
|
|
116
|
-
">=": new
|
|
110
|
+
">=": new _types__rspack_import_0.ComparatorExpression({
|
|
117
111
|
comparator: "greater-than-equals",
|
|
118
112
|
negated: false,
|
|
119
113
|
strict: false
|
|
120
114
|
}),
|
|
121
|
-
">==": new
|
|
115
|
+
">==": new _types__rspack_import_0.ComparatorExpression({
|
|
122
116
|
comparator: "greater-than-equals",
|
|
123
117
|
negated: false,
|
|
124
118
|
strict: true
|
|
125
119
|
}),
|
|
126
|
-
"<=": new
|
|
120
|
+
"<=": new _types__rspack_import_0.ComparatorExpression({
|
|
127
121
|
comparator: "less-than-equals",
|
|
128
122
|
negated: false,
|
|
129
123
|
strict: false
|
|
130
124
|
}),
|
|
131
|
-
"<==": new
|
|
125
|
+
"<==": new _types__rspack_import_0.ComparatorExpression({
|
|
132
126
|
comparator: "less-than-equals",
|
|
133
127
|
negated: false,
|
|
134
128
|
strict: true
|
|
135
129
|
}),
|
|
136
|
-
">": new
|
|
130
|
+
">": new _types__rspack_import_0.ComparatorExpression({
|
|
137
131
|
comparator: "greater-than",
|
|
138
132
|
negated: false,
|
|
139
133
|
strict: false
|
|
140
134
|
}),
|
|
141
|
-
"<": new
|
|
135
|
+
"<": new _types__rspack_import_0.ComparatorExpression({
|
|
142
136
|
comparator: "less-than",
|
|
143
137
|
negated: false,
|
|
144
138
|
strict: false
|
|
@@ -154,7 +148,7 @@ const ERROR_MESSAGES = {
|
|
|
154
148
|
};
|
|
155
149
|
const STRINGIFIED_COMPARE_OPERATORS = ["true", "false"];
|
|
156
150
|
const parseUnknown = (value) => {
|
|
157
|
-
(0,
|
|
151
|
+
(0,_assertions__rspack_import_1.assertString)(value);
|
|
158
152
|
return JSON.parse(value);
|
|
159
153
|
};
|
|
160
154
|
const combineExpressions = (...expressions) => {
|
|
@@ -168,7 +162,7 @@ const combineExpressions = (...expressions) => {
|
|
|
168
162
|
let result = expressions[0];
|
|
169
163
|
// Loop through remaining expressions and combine them
|
|
170
164
|
for (let i = 1; i < expressions.length; i++) {
|
|
171
|
-
result = new
|
|
165
|
+
result = new _types__rspack_import_0.OperatorExpression({
|
|
172
166
|
operator: "&&",
|
|
173
167
|
left: result,
|
|
174
168
|
right: expressions[i]
|
|
@@ -213,13 +207,13 @@ const toExpression = (schema, fn, params) => {
|
|
|
213
207
|
return parseExpressionToTree(schema, expression, parameterData);
|
|
214
208
|
}
|
|
215
209
|
catch (error) {
|
|
216
|
-
|
|
210
|
+
_utilities__rspack_import_2.logger.warn("Error parsing expression", {
|
|
217
211
|
error,
|
|
218
212
|
collectionName: schema.collectionName,
|
|
219
213
|
params,
|
|
220
214
|
selector: stringifiedFunction
|
|
221
215
|
});
|
|
222
|
-
return
|
|
216
|
+
return _types__rspack_import_0.Expression.NOT_PARSABLE;
|
|
223
217
|
}
|
|
224
218
|
};
|
|
225
219
|
const parseExpressionToTree = (schema, expression, params) => {
|
|
@@ -278,7 +272,7 @@ const parseExpressionToTree = (schema, expression, params) => {
|
|
|
278
272
|
if (operator) {
|
|
279
273
|
const left = exp.slice(0, splitIndex).trim();
|
|
280
274
|
const right = exp.slice(splitIndex + 2).trim();
|
|
281
|
-
return new
|
|
275
|
+
return new _types__rspack_import_0.OperatorExpression({
|
|
282
276
|
operator,
|
|
283
277
|
left: parse(left),
|
|
284
278
|
right: parse(right)
|
|
@@ -392,7 +386,7 @@ const parseCondition = (schema, expression, params) => {
|
|
|
392
386
|
}
|
|
393
387
|
else {
|
|
394
388
|
// For other methods, return NOT_PARSABLE for now
|
|
395
|
-
return
|
|
389
|
+
return _types__rspack_import_0.Expression.NOT_PARSABLE;
|
|
396
390
|
}
|
|
397
391
|
}
|
|
398
392
|
else {
|
|
@@ -469,7 +463,7 @@ const parseCondition = (schema, expression, params) => {
|
|
|
469
463
|
const valueTransformMatch = transformMethodMatch[4].match(/^([^)]+)\.(toLowerCase|toUpperCase|toLocaleLowerCase|toLocaleUpperCase)\(\)$/);
|
|
470
464
|
if (valueTransformMatch) {
|
|
471
465
|
// Create a new ValueExpression with the base value and transformer
|
|
472
|
-
value = new
|
|
466
|
+
value = new _types__rspack_import_0.ValueExpression({
|
|
473
467
|
value: valueTransformMatch[1].replace(/^["']|["']$/g, '') // Remove quotes
|
|
474
468
|
});
|
|
475
469
|
// Set transformer and locale based on the method
|
|
@@ -598,7 +592,7 @@ const getComparator = (value) => {
|
|
|
598
592
|
throw new Error(ERROR_MESSAGES.COMPARATOR_NOT_FOUND(value));
|
|
599
593
|
}
|
|
600
594
|
// Return a new instance to avoid modifying the cached one
|
|
601
|
-
return new
|
|
595
|
+
return new _types__rspack_import_0.ComparatorExpression({
|
|
602
596
|
comparator: comparator.comparator,
|
|
603
597
|
negated: comparator.negated,
|
|
604
598
|
strict: comparator.strict
|
|
@@ -607,27 +601,27 @@ const getComparator = (value) => {
|
|
|
607
601
|
const getValue = (value, params) => {
|
|
608
602
|
// Early return for string literals
|
|
609
603
|
if (value.startsWith("\'") || value.startsWith("\"")) {
|
|
610
|
-
return new
|
|
604
|
+
return new _types__rspack_import_0.ValueExpression({
|
|
611
605
|
value: value.replace(/\"|\'/g, "")
|
|
612
606
|
});
|
|
613
607
|
}
|
|
614
608
|
// Early return for null/undefined
|
|
615
609
|
if (value === "null") {
|
|
616
|
-
return new
|
|
610
|
+
return new _types__rspack_import_0.ValueExpression({ value: null });
|
|
617
611
|
}
|
|
618
612
|
if (value === "undefined" || value === "void 0") {
|
|
619
|
-
return new
|
|
613
|
+
return new _types__rspack_import_0.ValueExpression({ value: undefined });
|
|
620
614
|
}
|
|
621
615
|
// Optimized number parsing with early return
|
|
622
616
|
const numValue = +value;
|
|
623
617
|
if (!isNaN(numValue) && isFinite(numValue)) {
|
|
624
|
-
return new
|
|
618
|
+
return new _types__rspack_import_0.ValueExpression({ value: numValue });
|
|
625
619
|
}
|
|
626
620
|
// Handle parameter paths if params are provided
|
|
627
621
|
if (params != null) {
|
|
628
622
|
// Check if this is a parameter path (starts with params.name)
|
|
629
623
|
if (value.startsWith(params.name)) {
|
|
630
|
-
return new
|
|
624
|
+
return new _types__rspack_import_0.ValueExpression({
|
|
631
625
|
value: getValueFromParams(value, params)
|
|
632
626
|
});
|
|
633
627
|
}
|
|
@@ -639,7 +633,7 @@ const getValue = (value, params) => {
|
|
|
639
633
|
const potentialParamPath = paramMatch[1];
|
|
640
634
|
try {
|
|
641
635
|
const paramValue = getValueFromParams(`${params.name}.${potentialParamPath}`, params);
|
|
642
|
-
return new
|
|
636
|
+
return new _types__rspack_import_0.ValueExpression({ value: paramValue });
|
|
643
637
|
}
|
|
644
638
|
catch (e) {
|
|
645
639
|
// Not a parameter path, continue with normal parsing
|
|
@@ -648,7 +642,7 @@ const getValue = (value, params) => {
|
|
|
648
642
|
}
|
|
649
643
|
}
|
|
650
644
|
if (STRINGIFIED_COMPARE_OPERATORS.includes(value)) {
|
|
651
|
-
return new
|
|
645
|
+
return new _types__rspack_import_0.ValueExpression({ value });
|
|
652
646
|
}
|
|
653
647
|
if (isNaN(numValue)) {
|
|
654
648
|
// value is a variable passed in by the dev, we cannot evaluate it's value
|
|
@@ -659,7 +653,7 @@ Example: .where(([x, params]) => x.id === params.id, { id: someVar.id })
|
|
|
659
653
|
Issue At: ${value}`);
|
|
660
654
|
}
|
|
661
655
|
// Default case: return as-is
|
|
662
|
-
return new
|
|
656
|
+
return new _types__rspack_import_0.ValueExpression({ value });
|
|
663
657
|
};
|
|
664
658
|
const getValueFromParams = (value, params) => {
|
|
665
659
|
const split = value.split('.');
|
|
@@ -762,16 +756,12 @@ const getProperty = (schema, value, params) => {
|
|
|
762
756
|
if (found == null) {
|
|
763
757
|
throw new Error(ERROR_MESSAGES.PROPERTY_NOT_FOUND(value));
|
|
764
758
|
}
|
|
765
|
-
return new
|
|
759
|
+
return new _types__rspack_import_0.PropertyExpression({ property: found });
|
|
766
760
|
};
|
|
767
761
|
|
|
768
762
|
|
|
769
|
-
}
|
|
770
|
-
"./src/expressions/types.ts"
|
|
771
|
-
/*!**********************************!*\
|
|
772
|
-
!*** ./src/expressions/types.ts ***!
|
|
773
|
-
\**********************************/
|
|
774
|
-
(function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
763
|
+
},
|
|
764
|
+
"./src/expressions/types.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
775
765
|
__webpack_require__.r(__webpack_exports__);
|
|
776
766
|
__webpack_require__.d(__webpack_exports__, {
|
|
777
767
|
ComparatorExpression: () => (ComparatorExpression),
|
|
@@ -877,12 +867,8 @@ class ValueExpression extends Expression {
|
|
|
877
867
|
}
|
|
878
868
|
|
|
879
869
|
|
|
880
|
-
}
|
|
881
|
-
"./src/expressions/utils.ts"
|
|
882
|
-
/*!**********************************!*\
|
|
883
|
-
!*** ./src/expressions/utils.ts ***!
|
|
884
|
-
\**********************************/
|
|
885
|
-
(function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
870
|
+
},
|
|
871
|
+
"./src/expressions/utils.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
886
872
|
__webpack_require__.r(__webpack_exports__);
|
|
887
873
|
__webpack_require__.d(__webpack_exports__, {
|
|
888
874
|
forEach: () => (forEach),
|
|
@@ -939,12 +925,8 @@ function forEach(expression, callback) {
|
|
|
939
925
|
}
|
|
940
926
|
|
|
941
927
|
|
|
942
|
-
}
|
|
943
|
-
"./src/utilities/dates.ts"
|
|
944
|
-
/*!********************************!*\
|
|
945
|
-
!*** ./src/utilities/dates.ts ***!
|
|
946
|
-
\********************************/
|
|
947
|
-
(function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
928
|
+
},
|
|
929
|
+
"./src/utilities/dates.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
948
930
|
__webpack_require__.r(__webpack_exports__);
|
|
949
931
|
__webpack_require__.d(__webpack_exports__, {
|
|
950
932
|
isDate: () => (isDate)
|
|
@@ -960,10 +942,50 @@ const isDate = (data) => {
|
|
|
960
942
|
};
|
|
961
943
|
|
|
962
944
|
|
|
963
|
-
}
|
|
945
|
+
},
|
|
946
|
+
"./src/utilities/logger.ts"(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
947
|
+
__webpack_require__.r(__webpack_exports__);
|
|
948
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
949
|
+
logger: () => (logger)
|
|
950
|
+
});
|
|
951
|
+
const isDevelopment = () => {
|
|
952
|
+
if (typeof process === 'undefined' || process.env == null) {
|
|
953
|
+
return false;
|
|
954
|
+
}
|
|
955
|
+
const env = "development"?.toLowerCase();
|
|
956
|
+
return env === 'dev' || env === 'development' || env === 'test';
|
|
957
|
+
};
|
|
958
|
+
const shouldLog = isDevelopment();
|
|
959
|
+
const tryLog = (type, ...args) => {
|
|
960
|
+
if (shouldLog) {
|
|
961
|
+
console[type](...args);
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
const logger = {
|
|
965
|
+
log: (...args) => {
|
|
966
|
+
tryLog("log", ...args);
|
|
967
|
+
},
|
|
968
|
+
info: (...args) => {
|
|
969
|
+
tryLog("info", ...args);
|
|
970
|
+
},
|
|
971
|
+
warn: (...args) => {
|
|
972
|
+
tryLog("warn", ...args);
|
|
973
|
+
},
|
|
974
|
+
error: (...args) => {
|
|
975
|
+
tryLog("error", ...args);
|
|
976
|
+
},
|
|
977
|
+
debug: (...args) => {
|
|
978
|
+
tryLog("debug", ...args);
|
|
979
|
+
},
|
|
980
|
+
table: (...args) => {
|
|
981
|
+
tryLog("table", ...args);
|
|
982
|
+
},
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
},
|
|
964
987
|
|
|
965
988
|
});
|
|
966
|
-
/************************************************************************/
|
|
967
989
|
// The module cache
|
|
968
990
|
var __webpack_module_cache__ = {};
|
|
969
991
|
|
|
@@ -987,7 +1009,6 @@ return module.exports;
|
|
|
987
1009
|
|
|
988
1010
|
}
|
|
989
1011
|
|
|
990
|
-
/************************************************************************/
|
|
991
1012
|
// webpack/runtime/define_property_getters
|
|
992
1013
|
(() => {
|
|
993
1014
|
__webpack_require__.d = (exports, definition) => {
|
|
@@ -1012,32 +1033,27 @@ __webpack_require__.r = (exports) => {
|
|
|
1012
1033
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1013
1034
|
};
|
|
1014
1035
|
})();
|
|
1015
|
-
/************************************************************************/
|
|
1016
1036
|
var __webpack_exports__ = {};
|
|
1017
1037
|
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
|
1018
1038
|
(() => {
|
|
1019
|
-
|
|
1020
|
-
/*!**********************************!*\
|
|
1021
|
-
!*** ./src/expressions/index.ts ***!
|
|
1022
|
-
\**********************************/
|
|
1023
1039
|
__webpack_require__.r(__webpack_exports__);
|
|
1024
1040
|
__webpack_require__.d(__webpack_exports__, {
|
|
1025
|
-
ComparatorExpression: () => (/* reexport safe */
|
|
1026
|
-
EmptyExpression: () => (/* reexport safe */
|
|
1027
|
-
Expression: () => (/* reexport safe */
|
|
1028
|
-
NotParsableExpression: () => (/* reexport safe */
|
|
1029
|
-
OperatorExpression: () => (/* reexport safe */
|
|
1030
|
-
PropertyExpression: () => (/* reexport safe */
|
|
1031
|
-
ValueExpression: () => (/* reexport safe */
|
|
1032
|
-
combineExpressions: () => (/* reexport safe */
|
|
1033
|
-
forEach: () => (/* reexport safe */
|
|
1034
|
-
getProperties: () => (/* reexport safe */
|
|
1035
|
-
isPropertyExpression: () => (/* reexport safe */
|
|
1036
|
-
toExpression: () => (/* reexport safe */
|
|
1041
|
+
ComparatorExpression: () => (/* reexport safe */ _types__rspack_import_1.ComparatorExpression),
|
|
1042
|
+
EmptyExpression: () => (/* reexport safe */ _types__rspack_import_1.EmptyExpression),
|
|
1043
|
+
Expression: () => (/* reexport safe */ _types__rspack_import_1.Expression),
|
|
1044
|
+
NotParsableExpression: () => (/* reexport safe */ _types__rspack_import_1.NotParsableExpression),
|
|
1045
|
+
OperatorExpression: () => (/* reexport safe */ _types__rspack_import_1.OperatorExpression),
|
|
1046
|
+
PropertyExpression: () => (/* reexport safe */ _types__rspack_import_1.PropertyExpression),
|
|
1047
|
+
ValueExpression: () => (/* reexport safe */ _types__rspack_import_1.ValueExpression),
|
|
1048
|
+
combineExpressions: () => (/* reexport safe */ _parser__rspack_import_0.combineExpressions),
|
|
1049
|
+
forEach: () => (/* reexport safe */ _utils__rspack_import_2.forEach),
|
|
1050
|
+
getProperties: () => (/* reexport safe */ _utils__rspack_import_2.getProperties),
|
|
1051
|
+
isPropertyExpression: () => (/* reexport safe */ _utils__rspack_import_2.isPropertyExpression),
|
|
1052
|
+
toExpression: () => (/* reexport safe */ _parser__rspack_import_0.toExpression)
|
|
1037
1053
|
});
|
|
1038
|
-
/*
|
|
1039
|
-
/*
|
|
1040
|
-
/*
|
|
1054
|
+
/* import */ var _parser__rspack_import_0 = __webpack_require__("./src/expressions/parser.ts");
|
|
1055
|
+
/* import */ var _types__rspack_import_1 = __webpack_require__("./src/expressions/types.ts");
|
|
1056
|
+
/* import */ var _utils__rspack_import_2 = __webpack_require__("./src/expressions/utils.ts");
|
|
1041
1057
|
|
|
1042
1058
|
|
|
1043
1059
|
|