@routier/core 0.4.0 → 0.5.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/index.cjs +73 -438
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +78 -443
- package/dist/index.js.map +1 -1
- package/dist/plugins/TelemetryDbPlugin.d.ts +43 -0
- package/dist/plugins/index.cjs +68 -1
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.js +73 -3
- package/dist/plugins/index.js.map +1 -1
- package/package.json +1 -9
- package/dist/capabilities/Capability.d.ts +0 -11
- package/dist/capabilities/PerformanceCapability.d.ts +0 -13
- package/dist/capabilities/TracingCapability.d.ts +0 -11
- package/dist/capabilities/index.cjs +0 -820
- package/dist/capabilities/index.cjs.map +0 -1
- package/dist/capabilities/index.d.ts +0 -4
- package/dist/capabilities/index.js +0 -808
- package/dist/capabilities/index.js.map +0 -1
- package/dist/capabilities/performance/PerformanceTracker.d.ts +0 -11
- package/dist/capabilities/tracing/CallTraceManager.d.ts +0 -12
- package/dist/capabilities/types.d.ts +0 -17
package/dist/index.js
CHANGED
|
@@ -99,436 +99,6 @@ function isObjectWithType(value) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
},
|
|
103
|
-
599(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
104
|
-
|
|
105
|
-
// EXPORTS
|
|
106
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
107
|
-
nS: () => (/* reexport */ Capability),
|
|
108
|
-
VP: () => (/* reexport */ PerformanceCapability),
|
|
109
|
-
XO: () => (/* reexport */ TracingCapability)
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
;// CONCATENATED MODULE: ./src/capabilities/Capability.ts
|
|
113
|
-
class Capability {
|
|
114
|
-
excludedNames = new Set([
|
|
115
|
-
"Array",
|
|
116
|
-
"Set",
|
|
117
|
-
"Map",
|
|
118
|
-
"AbortController",
|
|
119
|
-
"AbortSignal",
|
|
120
|
-
"SchemaString",
|
|
121
|
-
"SchemaNumber",
|
|
122
|
-
"SchemaArray",
|
|
123
|
-
"SchemaBoolean",
|
|
124
|
-
"SchemaDate",
|
|
125
|
-
"SchemaObject",
|
|
126
|
-
"SchemaDefault",
|
|
127
|
-
"SchemaDeserialize",
|
|
128
|
-
"SchemaDistinct",
|
|
129
|
-
"SchemaSearchable",
|
|
130
|
-
"SchemaFrom",
|
|
131
|
-
"SchemaIdentity",
|
|
132
|
-
"SchemaIndex",
|
|
133
|
-
"SchemaKey",
|
|
134
|
-
"SchemaNullable",
|
|
135
|
-
"SchemaOptional",
|
|
136
|
-
"SchemaReadonly",
|
|
137
|
-
"SchemaSerialize",
|
|
138
|
-
"SchemaTracked",
|
|
139
|
-
"SchemaComputed",
|
|
140
|
-
"SchemaFunction",
|
|
141
|
-
"SchemaBase",
|
|
142
|
-
"SchemaDefinition"
|
|
143
|
-
]);
|
|
144
|
-
isValidObject(obj) {
|
|
145
|
-
return typeof obj === "object" && obj !== null;
|
|
146
|
-
}
|
|
147
|
-
isCallableMethod(descriptor, key) {
|
|
148
|
-
return descriptor?.value && typeof descriptor.value === 'function' && key !== 'constructor' && key !== 'undefined';
|
|
149
|
-
}
|
|
150
|
-
canExplore(descriptor) {
|
|
151
|
-
if (typeof descriptor.value !== "object") {
|
|
152
|
-
return false;
|
|
153
|
-
}
|
|
154
|
-
if (descriptor.value == null) {
|
|
155
|
-
return false;
|
|
156
|
-
}
|
|
157
|
-
const name = this.getName(descriptor.value);
|
|
158
|
-
if (name == null) {
|
|
159
|
-
return true;
|
|
160
|
-
}
|
|
161
|
-
return this.excludedNames.has(name) === false;
|
|
162
|
-
}
|
|
163
|
-
getName(value) {
|
|
164
|
-
if (value.constructor != null) {
|
|
165
|
-
return value.constructor.name;
|
|
166
|
-
}
|
|
167
|
-
return null;
|
|
168
|
-
}
|
|
169
|
-
getPath(info, propertyName) {
|
|
170
|
-
let parent = info.parent;
|
|
171
|
-
const path = [
|
|
172
|
-
info.propertyName,
|
|
173
|
-
propertyName
|
|
174
|
-
];
|
|
175
|
-
while(parent != null){
|
|
176
|
-
path.unshift(parent.propertyName);
|
|
177
|
-
parent = parent.parent;
|
|
178
|
-
}
|
|
179
|
-
return path.join(".");
|
|
180
|
-
}
|
|
181
|
-
explore(instance, onDiscover) {
|
|
182
|
-
if (!this.isValidObject(instance)) {
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
const explore = [
|
|
186
|
-
{
|
|
187
|
-
instance,
|
|
188
|
-
propertyName: this.getName(instance)
|
|
189
|
-
}
|
|
190
|
-
];
|
|
191
|
-
const visited = new Set();
|
|
192
|
-
for(let i = 0; i < explore.length; i++){
|
|
193
|
-
const info = explore[i];
|
|
194
|
-
const item = info.instance;
|
|
195
|
-
if (visited.has(item)) {
|
|
196
|
-
continue;
|
|
197
|
-
}
|
|
198
|
-
const allKeys = [
|
|
199
|
-
...Object.getOwnPropertyNames(item),
|
|
200
|
-
...Object.getOwnPropertySymbols(item)
|
|
201
|
-
];
|
|
202
|
-
for (const key of allKeys){
|
|
203
|
-
const descriptor = Object.getOwnPropertyDescriptor(item, key);
|
|
204
|
-
const isCallable = this.isCallableMethod(descriptor, key);
|
|
205
|
-
onDiscover(info, {
|
|
206
|
-
name: key,
|
|
207
|
-
isCallable
|
|
208
|
-
});
|
|
209
|
-
if (this.canExplore(descriptor) === false) {
|
|
210
|
-
continue;
|
|
211
|
-
}
|
|
212
|
-
const path = this.getPath(info, key);
|
|
213
|
-
explore.push({
|
|
214
|
-
instance: descriptor.value,
|
|
215
|
-
parent: info,
|
|
216
|
-
propertyName: key,
|
|
217
|
-
path
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
visited.add(item);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// EXTERNAL MODULE: ./src/utilities/strings.ts
|
|
226
|
-
var strings = __webpack_require__(615);
|
|
227
|
-
;// CONCATENATED MODULE: ./src/capabilities/performance/PerformanceTracker.ts
|
|
228
|
-
class PerformanceTracker {
|
|
229
|
-
methodTimings = new Map();
|
|
230
|
-
operationStartTimes = new Map();
|
|
231
|
-
startMethodTiming(operationId, methodPath) {
|
|
232
|
-
const startTime = performance.now();
|
|
233
|
-
const key = `${operationId}:${methodPath}`;
|
|
234
|
-
// Track operation start time for delta calculations
|
|
235
|
-
if (!this.operationStartTimes.has(operationId)) {
|
|
236
|
-
this.operationStartTimes.set(operationId, startTime);
|
|
237
|
-
}
|
|
238
|
-
this.methodTimings.set(key, {
|
|
239
|
-
startTime
|
|
240
|
-
});
|
|
241
|
-
return startTime;
|
|
242
|
-
}
|
|
243
|
-
recordNextMethodStart(operationId, methodPath) {
|
|
244
|
-
const key = `${operationId}:${methodPath}`;
|
|
245
|
-
const timing = this.methodTimings.get(key);
|
|
246
|
-
if (timing) {
|
|
247
|
-
timing.nextMethodStartTime = performance.now();
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
endMethodTiming(operationId, methodPath) {
|
|
251
|
-
const endTime = performance.now();
|
|
252
|
-
const key = `${operationId}:${methodPath}`;
|
|
253
|
-
const timing = this.methodTimings.get(key);
|
|
254
|
-
if (!timing) {
|
|
255
|
-
return {
|
|
256
|
-
startTime: endTime
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
const duration = endTime - timing.startTime;
|
|
260
|
-
const timeToNextCall = timing.nextMethodStartTime ? timing.nextMethodStartTime - timing.startTime : undefined;
|
|
261
|
-
// Clean up
|
|
262
|
-
this.methodTimings.delete(key);
|
|
263
|
-
return {
|
|
264
|
-
startTime: timing.startTime,
|
|
265
|
-
endTime,
|
|
266
|
-
duration,
|
|
267
|
-
nextMethodStartTime: timing.nextMethodStartTime,
|
|
268
|
-
timeToNextCall
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
formatDuration(milliseconds) {
|
|
272
|
-
if (milliseconds < 1) {
|
|
273
|
-
return `${(milliseconds * 1000).toFixed(1)}μs`;
|
|
274
|
-
} else if (milliseconds < 1000) {
|
|
275
|
-
return `${milliseconds.toFixed(2)}ms`;
|
|
276
|
-
} else {
|
|
277
|
-
return `${(milliseconds / 1000).toFixed(2)}s`;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
getDeltaFromOperationStart(operationId, currentTime) {
|
|
281
|
-
const operationStartTime = this.operationStartTimes.get(operationId);
|
|
282
|
-
return operationStartTime ? currentTime - operationStartTime : 0;
|
|
283
|
-
}
|
|
284
|
-
cleanupOperation(operationId) {
|
|
285
|
-
this.operationStartTimes.delete(operationId);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// EXTERNAL MODULE: ./src/utilities/uuid.ts
|
|
290
|
-
var uuid = __webpack_require__(618);
|
|
291
|
-
;// CONCATENATED MODULE: ./src/capabilities/tracing/CallTraceManager.ts
|
|
292
|
-
|
|
293
|
-
class CallTraceManager {
|
|
294
|
-
activeOperationId = null;
|
|
295
|
-
activeCallStack = [];
|
|
296
|
-
startNewOperation() {
|
|
297
|
-
const operationId = (0,uuid/* .uuid */.u)(8);
|
|
298
|
-
this.activeOperationId = operationId;
|
|
299
|
-
this.activeCallStack = [];
|
|
300
|
-
return operationId;
|
|
301
|
-
}
|
|
302
|
-
isNewOperation() {
|
|
303
|
-
return this.activeOperationId === null;
|
|
304
|
-
}
|
|
305
|
-
getActiveOperationId() {
|
|
306
|
-
if (!this.activeOperationId) {
|
|
307
|
-
throw new Error('No active operation context');
|
|
308
|
-
}
|
|
309
|
-
return this.activeOperationId;
|
|
310
|
-
}
|
|
311
|
-
addMethodToTrace(methodPath) {
|
|
312
|
-
if (this.isNewOperation()) {
|
|
313
|
-
this.activeCallStack = [
|
|
314
|
-
methodPath
|
|
315
|
-
];
|
|
316
|
-
} else {
|
|
317
|
-
this.activeCallStack.push(methodPath);
|
|
318
|
-
}
|
|
319
|
-
return [
|
|
320
|
-
...this.activeCallStack
|
|
321
|
-
];
|
|
322
|
-
}
|
|
323
|
-
removeMethodFromTrace() {
|
|
324
|
-
if (!this.isNewOperation()) {
|
|
325
|
-
this.activeCallStack.pop();
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
endOperation() {
|
|
329
|
-
this.activeOperationId = null;
|
|
330
|
-
this.activeCallStack = [];
|
|
331
|
-
}
|
|
332
|
-
formatMethodPaths(methodPaths) {
|
|
333
|
-
return methodPaths.map((path)=>path.replace(/ → /g, '.'));
|
|
334
|
-
}
|
|
335
|
-
getCurrentTrace() {
|
|
336
|
-
return [
|
|
337
|
-
...this.activeCallStack
|
|
338
|
-
];
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// EXTERNAL MODULE: ./src/utilities/logger.ts
|
|
343
|
-
var logger = __webpack_require__(581);
|
|
344
|
-
;// CONCATENATED MODULE: ./src/capabilities/PerformanceCapability.ts
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class PerformanceCapability extends Capability {
|
|
351
|
-
callTraceManager;
|
|
352
|
-
performanceTracker;
|
|
353
|
-
filter;
|
|
354
|
-
childDurations = new Map();
|
|
355
|
-
constructor(options){
|
|
356
|
-
super();
|
|
357
|
-
this.filter = options?.filter ?? (()=>true);
|
|
358
|
-
this.callTraceManager = new CallTraceManager();
|
|
359
|
-
this.performanceTracker = new PerformanceTracker();
|
|
360
|
-
}
|
|
361
|
-
apply(instance) {
|
|
362
|
-
this.explore(instance, (meta, info)=>{
|
|
363
|
-
if (info.isCallable) {
|
|
364
|
-
const originalMethod = meta.instance[info.name].bind(meta.instance);
|
|
365
|
-
meta.instance[info.name] = (...args)=>{
|
|
366
|
-
const path = `${meta.path}.${String(info.name)}()`;
|
|
367
|
-
if (this.filter(path, info, meta) === false) {
|
|
368
|
-
return originalMethod(...args);
|
|
369
|
-
}
|
|
370
|
-
const isNewOperation = this.callTraceManager.isNewOperation();
|
|
371
|
-
let operationId;
|
|
372
|
-
let callTrace;
|
|
373
|
-
let depth;
|
|
374
|
-
if (isNewOperation) {
|
|
375
|
-
operationId = this.callTraceManager.startNewOperation();
|
|
376
|
-
this.childDurations.set(operationId, []);
|
|
377
|
-
callTrace = this.callTraceManager.addMethodToTrace(path);
|
|
378
|
-
depth = callTrace.length - 1;
|
|
379
|
-
const formattedCallTrace = this.callTraceManager.formatMethodPaths(callTrace);
|
|
380
|
-
this.performanceTracker.startMethodTiming(operationId, path);
|
|
381
|
-
logger/* .logger.log */.vF.log(`\n${'═'.repeat(60)}`);
|
|
382
|
-
logger/* .logger.log */.vF.log(`▶ ORIGIN [${operationId}] ${path}`);
|
|
383
|
-
if (args.length > 0) {
|
|
384
|
-
logger/* .logger.log */.vF.log(` Args:`, (0,strings/* .stringifyObject */.Zm)(args, 4, 0));
|
|
385
|
-
}
|
|
386
|
-
logger/* .logger.log */.vF.log(` Call Stack: ${formattedCallTrace.join(' → ')}`);
|
|
387
|
-
} else {
|
|
388
|
-
operationId = this.callTraceManager.getActiveOperationId();
|
|
389
|
-
callTrace = this.callTraceManager.addMethodToTrace(path);
|
|
390
|
-
depth = callTrace.length - 1;
|
|
391
|
-
const indent = ' '.repeat(Math.min(depth, 4));
|
|
392
|
-
// Track children for this child method too
|
|
393
|
-
const childMethodKey = `${operationId}:${path}`;
|
|
394
|
-
this.childDurations.set(childMethodKey, []);
|
|
395
|
-
this.performanceTracker.startMethodTiming(operationId, path);
|
|
396
|
-
logger/* .logger.log */.vF.log(`${indent}└─ CHILD [${operationId}] ${path}`);
|
|
397
|
-
if (args.length > 0) {
|
|
398
|
-
logger/* .logger.log */.vF.log(`${indent} Args:`, (0,strings/* .stringifyObject */.Zm)(args, 4, 0));
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
try {
|
|
402
|
-
return originalMethod(...args);
|
|
403
|
-
} finally{
|
|
404
|
-
const metrics = this.performanceTracker.endMethodTiming(operationId, path);
|
|
405
|
-
const duration = metrics.duration ?? 0;
|
|
406
|
-
const formattedDuration = this.performanceTracker.formatDuration(duration);
|
|
407
|
-
if (isNewOperation) {
|
|
408
|
-
const childDurations = this.childDurations.get(operationId) ?? [];
|
|
409
|
-
const totalChildTime = childDurations.reduce((sum, d)=>sum + d, 0);
|
|
410
|
-
const formattedTotalChildTime = this.performanceTracker.formatDuration(totalChildTime);
|
|
411
|
-
const overhead = duration - totalChildTime;
|
|
412
|
-
const formattedOverhead = this.performanceTracker.formatDuration(Math.max(0, overhead));
|
|
413
|
-
logger/* .logger.log */.vF.log(`\n${'═'.repeat(60)}`);
|
|
414
|
-
logger/* .logger.log */.vF.log(`◀ COMPLETE [${operationId}] ${path}`);
|
|
415
|
-
logger/* .logger.log */.vF.log(` Total Duration: ${formattedDuration}`);
|
|
416
|
-
if (childDurations.length > 0) {
|
|
417
|
-
logger/* .logger.log */.vF.log(` Children Duration: ${formattedTotalChildTime} (${childDurations.length} calls)`);
|
|
418
|
-
logger/* .logger.log */.vF.log(` Overhead: ${formattedOverhead}`);
|
|
419
|
-
}
|
|
420
|
-
logger/* .logger.log */.vF.log(`${'═'.repeat(60)}\n`);
|
|
421
|
-
this.childDurations.delete(operationId);
|
|
422
|
-
this.performanceTracker.cleanupOperation(operationId);
|
|
423
|
-
this.callTraceManager.endOperation();
|
|
424
|
-
} else {
|
|
425
|
-
const indent = ' '.repeat(Math.min(depth, 4));
|
|
426
|
-
const childMethodKey = `${operationId}:${path}`;
|
|
427
|
-
const childDurations = this.childDurations.get(childMethodKey) ?? [];
|
|
428
|
-
const totalChildTime = childDurations.reduce((sum, d)=>sum + d, 0);
|
|
429
|
-
const formattedTotalChildTime = this.performanceTracker.formatDuration(totalChildTime);
|
|
430
|
-
const overhead = duration - totalChildTime;
|
|
431
|
-
const formattedOverhead = this.performanceTracker.formatDuration(Math.max(0, overhead));
|
|
432
|
-
logger/* .logger.log */.vF.log(`${indent} ✓ ${formattedDuration}`);
|
|
433
|
-
if (childDurations.length > 0) {
|
|
434
|
-
logger/* .logger.log */.vF.log(`${indent} Children: ${formattedTotalChildTime} (${childDurations.length} calls), Overhead: ${formattedOverhead}`);
|
|
435
|
-
}
|
|
436
|
-
// Clean up child method tracking
|
|
437
|
-
this.childDurations.delete(childMethodKey);
|
|
438
|
-
// Find the parent method and add this duration to its children list
|
|
439
|
-
// The parent is the method one level up in the call trace
|
|
440
|
-
const currentTrace = this.callTraceManager.getCurrentTrace();
|
|
441
|
-
if (currentTrace.length > 1) {
|
|
442
|
-
// Parent is the second-to-last item in the trace (before we remove current)
|
|
443
|
-
const parentPath = currentTrace[currentTrace.length - 2];
|
|
444
|
-
// Check if parent is the root operation (trace length 2 means root + this child)
|
|
445
|
-
if (currentTrace.length === 2) {
|
|
446
|
-
// Direct child of root - add to root's children list
|
|
447
|
-
const rootChildDurations = this.childDurations.get(operationId);
|
|
448
|
-
if (rootChildDurations) {
|
|
449
|
-
rootChildDurations.push(duration);
|
|
450
|
-
}
|
|
451
|
-
} else {
|
|
452
|
-
// Nested child - add to parent method's children list
|
|
453
|
-
const parentMethodKey = `${operationId}:${parentPath}`;
|
|
454
|
-
const parentChildDurations = this.childDurations.get(parentMethodKey);
|
|
455
|
-
if (parentChildDurations) {
|
|
456
|
-
parentChildDurations.push(duration);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
this.callTraceManager.removeMethodFromTrace();
|
|
462
|
-
}
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
;// CONCATENATED MODULE: ./src/capabilities/TracingCapability.ts
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
class TracingCapability extends Capability {
|
|
474
|
-
callTraceManager;
|
|
475
|
-
filter;
|
|
476
|
-
constructor(options){
|
|
477
|
-
super();
|
|
478
|
-
this.filter = options?.filter ?? (()=>true);
|
|
479
|
-
this.callTraceManager = new CallTraceManager();
|
|
480
|
-
}
|
|
481
|
-
apply(instance) {
|
|
482
|
-
this.explore(instance, (meta, info)=>{
|
|
483
|
-
if (info.isCallable) {
|
|
484
|
-
const originalMethod = meta.instance[info.name].bind(meta.instance);
|
|
485
|
-
meta.instance[info.name] = (...args)=>{
|
|
486
|
-
const path = `${meta.path}.${String(info.name)}()`;
|
|
487
|
-
if (this.filter(path, info, meta) === false) {
|
|
488
|
-
return originalMethod(...args);
|
|
489
|
-
}
|
|
490
|
-
const isNewOperation = this.callTraceManager.isNewOperation();
|
|
491
|
-
let operationId;
|
|
492
|
-
if (isNewOperation) {
|
|
493
|
-
operationId = this.callTraceManager.startNewOperation();
|
|
494
|
-
const callTrace = this.callTraceManager.addMethodToTrace(path);
|
|
495
|
-
const formattedCallTrace = this.callTraceManager.formatMethodPaths(callTrace);
|
|
496
|
-
console.log(`\n${'═'.repeat(60)}`);
|
|
497
|
-
console.log(`▶ ORIGIN [${operationId}] ${path}`);
|
|
498
|
-
if (args.length > 0) {
|
|
499
|
-
console.log(` Args:`, (0,strings/* .stringifyObject */.Zm)(args, 4, 0));
|
|
500
|
-
}
|
|
501
|
-
console.log(` Call Stack: ${formattedCallTrace.join(' → ')}`);
|
|
502
|
-
} else {
|
|
503
|
-
operationId = this.callTraceManager.getActiveOperationId();
|
|
504
|
-
const callTrace = this.callTraceManager.addMethodToTrace(path);
|
|
505
|
-
const indent = ' '.repeat(Math.min(callTrace.length - 1, 4));
|
|
506
|
-
console.log(`${indent}└─ CHILD [${operationId}] ${path}`);
|
|
507
|
-
if (args.length > 0) {
|
|
508
|
-
console.log(`${indent} Args:`, (0,strings/* .stringifyObject */.Zm)(args, 4, 0));
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
try {
|
|
512
|
-
return originalMethod(...args);
|
|
513
|
-
} finally{
|
|
514
|
-
this.callTraceManager.removeMethodFromTrace();
|
|
515
|
-
if (isNewOperation) {
|
|
516
|
-
this.callTraceManager.endOperation();
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
;// CONCATENATED MODULE: ./src/capabilities/index.ts
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
102
|
},
|
|
533
103
|
980(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
534
104
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -3685,14 +3255,14 @@ var TrampolinePipeline = __webpack_require__(416);
|
|
|
3685
3255
|
|
|
3686
3256
|
|
|
3687
3257
|
},
|
|
3688
|
-
|
|
3258
|
+
454(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
3689
3259
|
|
|
3690
3260
|
// EXPORTS
|
|
3691
3261
|
__webpack_require__.d(__webpack_exports__, {
|
|
3692
3262
|
jO: () => (/* reexport */ TupleTranslator),
|
|
3693
3263
|
Mr: () => (/* reexport */ deserializeBulkPersist),
|
|
3694
|
-
ae: () => (/* reexport */ explainQuery),
|
|
3695
3264
|
bX: () => (/* reexport */ ConcurrencyDbPlugin),
|
|
3265
|
+
ae: () => (/* reexport */ explainQuery),
|
|
3696
3266
|
_b: () => (/* reexport */ DEFAULT_SEMI_JOIN_KEY_THRESHOLD),
|
|
3697
3267
|
pt: () => (/* reexport */ types_QueryOrdering),
|
|
3698
3268
|
Ib: () => (/* reexport */ TranslatedSingleValue),
|
|
@@ -3706,9 +3276,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3706
3276
|
d0: () => (/* reexport */ JsonTranslator),
|
|
3707
3277
|
PP: () => (/* reexport */ splitSendableOptions),
|
|
3708
3278
|
f2: () => (/* reexport */ TranslatedGroupValue),
|
|
3709
|
-
|
|
3279
|
+
wN: () => (/* reexport */ collectingSink),
|
|
3710
3280
|
QB: () => (/* reexport */ RetryDbPlugin),
|
|
3711
3281
|
m6: () => (/* reexport */ executeJoin),
|
|
3282
|
+
__: () => (/* reexport */ toEntityShape),
|
|
3712
3283
|
VW: () => (/* reexport */ applyInnerOptions),
|
|
3713
3284
|
Jd: () => (/* reexport */ EphemeralDataPlugin),
|
|
3714
3285
|
Pl: () => (/* reexport */ deserializePersistResult),
|
|
@@ -3722,11 +3293,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3722
3293
|
lA: () => (/* reexport */ semiJoinFilter),
|
|
3723
3294
|
kX: () => (/* reexport */ BatchingDbPlugin),
|
|
3724
3295
|
DF: () => (/* reexport */ SqlTranslator),
|
|
3296
|
+
qj: () => (/* reexport */ loggerSink),
|
|
3725
3297
|
gH: () => (/* reexport */ MEMORY_EXECUTION_EXPLANATIONS),
|
|
3726
3298
|
BL: () => (/* reexport */ serializeQueryOptions),
|
|
3727
3299
|
Kg: () => (/* reexport */ withExecutedQueries),
|
|
3728
3300
|
xw: () => (/* reexport */ TranslatedArrayValue),
|
|
3729
3301
|
zH: () => (/* reexport */ joinInPlugin),
|
|
3302
|
+
Pr: () => (/* reexport */ TelemetryDbPlugin),
|
|
3730
3303
|
XK: () => (/* reexport */ Query),
|
|
3731
3304
|
jE: () => (/* reexport */ EXECUTED_QUERIES_UNSUPPORTED)
|
|
3732
3305
|
});
|
|
@@ -6712,6 +6285,69 @@ class RetryDbPlugin {
|
|
|
6712
6285
|
}
|
|
6713
6286
|
}
|
|
6714
6287
|
|
|
6288
|
+
;// CONCATENATED MODULE: ./src/plugins/TelemetryDbPlugin.ts
|
|
6289
|
+
|
|
6290
|
+
/** Default sink: writes through the levelled logger, so ROUTIER_LOG_LEVEL governs it. */ const loggerSink = ()=>(e)=>{
|
|
6291
|
+
const line = `[routier] ${e.operation} ${e.schemas.join(",")} ${e.durationMs.toFixed(1)}ms`;
|
|
6292
|
+
if (e.ok === "error") {
|
|
6293
|
+
logger/* .logger.error */.vF.error(line, e.error);
|
|
6294
|
+
return;
|
|
6295
|
+
}
|
|
6296
|
+
logger/* .logger.info */.vF.info(line);
|
|
6297
|
+
};
|
|
6298
|
+
/** Pushes every event into `into`. For tests and custom buffering. */ const collectingSink = (into)=>(e)=>{
|
|
6299
|
+
into.push(e);
|
|
6300
|
+
};
|
|
6301
|
+
class TelemetryDbPlugin {
|
|
6302
|
+
plugin;
|
|
6303
|
+
onEvent;
|
|
6304
|
+
constructor(plugin, options = {}){
|
|
6305
|
+
this.plugin = plugin;
|
|
6306
|
+
this.onEvent = options.onEvent ?? loggerSink();
|
|
6307
|
+
}
|
|
6308
|
+
get databaseName() {
|
|
6309
|
+
return this.plugin.databaseName;
|
|
6310
|
+
}
|
|
6311
|
+
query(event, done) {
|
|
6312
|
+
const start = performance.now();
|
|
6313
|
+
this.plugin.query(event, (result)=>{
|
|
6314
|
+
this.emit("query", event, result, start);
|
|
6315
|
+
done(result);
|
|
6316
|
+
});
|
|
6317
|
+
}
|
|
6318
|
+
bulkPersist(event, done) {
|
|
6319
|
+
const start = performance.now();
|
|
6320
|
+
this.plugin.bulkPersist(event, (result)=>{
|
|
6321
|
+
this.emit("bulkPersist", event, result, start);
|
|
6322
|
+
done(result);
|
|
6323
|
+
});
|
|
6324
|
+
}
|
|
6325
|
+
destroy(event, done) {
|
|
6326
|
+
const start = performance.now();
|
|
6327
|
+
this.plugin.destroy(event, (result)=>{
|
|
6328
|
+
this.emit("destroy", event, result, start);
|
|
6329
|
+
done(result);
|
|
6330
|
+
});
|
|
6331
|
+
}
|
|
6332
|
+
emit(operation, event, result, start) {
|
|
6333
|
+
try {
|
|
6334
|
+
this.onEvent({
|
|
6335
|
+
operation,
|
|
6336
|
+
eventId: event.id,
|
|
6337
|
+
source: event.source,
|
|
6338
|
+
schemas: [
|
|
6339
|
+
...event.schemas.values()
|
|
6340
|
+
].map((s)=>s.collectionName),
|
|
6341
|
+
durationMs: performance.now() - start,
|
|
6342
|
+
ok: result.ok,
|
|
6343
|
+
error: result.ok === "success" ? undefined : result.error
|
|
6344
|
+
});
|
|
6345
|
+
} catch {
|
|
6346
|
+
// A broken sink must never fail the data operation.
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
}
|
|
6350
|
+
|
|
6715
6351
|
;// CONCATENATED MODULE: ./src/plugins/CacheDbPlugin.ts
|
|
6716
6352
|
|
|
6717
6353
|
/**
|
|
@@ -7176,6 +6812,7 @@ const DEFAULT_MAX_BATCH_SIZE = 100;
|
|
|
7176
6812
|
|
|
7177
6813
|
|
|
7178
6814
|
|
|
6815
|
+
|
|
7179
6816
|
},
|
|
7180
6817
|
198(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
7181
6818
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -14209,6 +13846,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14209
13846
|
PG: () => (/* reexport safe */ _schema__rspack_import_9.PG),
|
|
14210
13847
|
PP: () => (/* reexport safe */ _plugins__rspack_import_7.PP),
|
|
14211
13848
|
Pl: () => (/* reexport safe */ _plugins__rspack_import_7.Pl),
|
|
13849
|
+
Pr: () => (/* reexport safe */ _plugins__rspack_import_7.Pr),
|
|
14212
13850
|
Q7: () => (/* reexport safe */ _results__rspack_import_8.Q7),
|
|
14213
13851
|
QB: () => (/* reexport safe */ _plugins__rspack_import_7.QB),
|
|
14214
13852
|
Qc: () => (/* reexport safe */ _schema__rspack_import_9.Qc),
|
|
@@ -14223,14 +13861,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14223
13861
|
UQ: () => (/* reexport safe */ _pipeline__rspack_import_6.UQ),
|
|
14224
13862
|
UX: () => (/* reexport safe */ _schema__rspack_import_9.UX),
|
|
14225
13863
|
VG: () => (/* reexport safe */ _schema__rspack_import_9.VG),
|
|
14226
|
-
VP: () => (/* reexport safe */ _capabilities__rspack_import_11.VP),
|
|
14227
13864
|
VT: () => (/* reexport safe */ _errors__rspack_import_3.VT),
|
|
14228
13865
|
VW: () => (/* reexport safe */ _plugins__rspack_import_7.VW),
|
|
14229
13866
|
Vg: () => (/* reexport safe */ _utilities__rspack_import_10.Vg),
|
|
14230
13867
|
Vu: () => (/* reexport safe */ _expressions__rspack_import_4.Vu),
|
|
14231
13868
|
XK: () => (/* reexport safe */ _plugins__rspack_import_7.XK),
|
|
14232
13869
|
XM: () => (/* reexport safe */ _schema__rspack_import_9.XM),
|
|
14233
|
-
XO: () => (/* reexport safe */ _capabilities__rspack_import_11.XO),
|
|
14234
13870
|
Ye: () => (/* reexport safe */ _assertions__rspack_import_0.Ye),
|
|
14235
13871
|
Zm: () => (/* reexport safe */ _codegen__rspack_import_1.Zm),
|
|
14236
13872
|
_3: () => (/* reexport safe */ _expressions__rspack_import_4._3),
|
|
@@ -14283,7 +13919,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14283
13919
|
ly: () => (/* reexport safe */ _schema__rspack_import_9.ly),
|
|
14284
13920
|
m6: () => (/* reexport safe */ _plugins__rspack_import_7.m6),
|
|
14285
13921
|
n: () => (/* reexport safe */ _plugins__rspack_import_7.n),
|
|
14286
|
-
nS: () => (/* reexport safe */ _capabilities__rspack_import_11.nS),
|
|
14287
13922
|
nn: () => (/* reexport safe */ _assertions__rspack_import_0.nn),
|
|
14288
13923
|
o8: () => (/* reexport safe */ _utilities__rspack_import_10.o8),
|
|
14289
13924
|
oH: () => (/* reexport safe */ _expressions__rspack_import_4.oH),
|
|
@@ -14298,6 +13933,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14298
13933
|
qK: () => (/* reexport safe */ _utilities__rspack_import_10.Zm),
|
|
14299
13934
|
qQ: () => (/* reexport safe */ _schema__rspack_import_9.qQ),
|
|
14300
13935
|
qY: () => (/* reexport safe */ _codegen__rspack_import_1.qY),
|
|
13936
|
+
qj: () => (/* reexport safe */ _plugins__rspack_import_7.qj),
|
|
14301
13937
|
qk: () => (/* reexport safe */ _collections__rspack_import_2.qk),
|
|
14302
13938
|
qy: () => (/* reexport safe */ _plugins__rspack_import_7.qy),
|
|
14303
13939
|
r4: () => (/* reexport safe */ _expressions__rspack_import_4.r4),
|
|
@@ -14314,6 +13950,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14314
13950
|
vg: () => (/* reexport safe */ _assertions__rspack_import_0.vg),
|
|
14315
13951
|
wL: () => (/* reexport safe */ _assertions__rspack_import_0.wL),
|
|
14316
13952
|
wM: () => (/* reexport safe */ _collections__rspack_import_2.wM),
|
|
13953
|
+
wN: () => (/* reexport safe */ _plugins__rspack_import_7.wN),
|
|
14317
13954
|
wS: () => (/* reexport safe */ _expressions__rspack_import_4.wS),
|
|
14318
13955
|
w_: () => (/* reexport safe */ _schema__rspack_import_9.w_),
|
|
14319
13956
|
wg: () => (/* reexport safe */ _utilities__rspack_import_10.wg),
|
|
@@ -14337,12 +13974,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14337
13974
|
/* import */ var _expressions__rspack_import_4 = __webpack_require__(138);
|
|
14338
13975
|
/* import */ var _performance__rspack_import_5 = __webpack_require__(971);
|
|
14339
13976
|
/* import */ var _pipeline__rspack_import_6 = __webpack_require__(314);
|
|
14340
|
-
/* import */ var _plugins__rspack_import_7 = __webpack_require__(
|
|
13977
|
+
/* import */ var _plugins__rspack_import_7 = __webpack_require__(454);
|
|
14341
13978
|
/* import */ var _results__rspack_import_8 = __webpack_require__(264);
|
|
14342
13979
|
/* import */ var _schema__rspack_import_9 = __webpack_require__(755);
|
|
14343
13980
|
/* import */ var _utilities__rspack_import_10 = __webpack_require__(222);
|
|
14344
|
-
/* import */ var _capabilities__rspack_import_11 = __webpack_require__(599);
|
|
14345
|
-
|
|
14346
13981
|
|
|
14347
13982
|
|
|
14348
13983
|
|
|
@@ -14366,7 +14001,6 @@ var __webpack_exports__Block = __webpack_exports__.eB;
|
|
|
14366
14001
|
var __webpack_exports__BulkPersistChanges = __webpack_exports__.qk;
|
|
14367
14002
|
var __webpack_exports__BulkPersistResult = __webpack_exports__.om;
|
|
14368
14003
|
var __webpack_exports__CacheDbPlugin = __webpack_exports__.y4;
|
|
14369
|
-
var __webpack_exports__Capability = __webpack_exports__.nS;
|
|
14370
14004
|
var __webpack_exports__CodeBuilder = __webpack_exports__.Nl;
|
|
14371
14005
|
var __webpack_exports__ComparatorExpression = __webpack_exports__.bQ;
|
|
14372
14006
|
var __webpack_exports__ConcurrencyDbPlugin = __webpack_exports__.bX;
|
|
@@ -14391,7 +14025,6 @@ var __webpack_exports__NotParsableExpression = __webpack_exports__.SC;
|
|
|
14391
14025
|
var __webpack_exports__ObjectBuilder = __webpack_exports__.Tl;
|
|
14392
14026
|
var __webpack_exports__OperatorExpression = __webpack_exports__.fw;
|
|
14393
14027
|
var __webpack_exports__OptimisticConcurrencyError = __webpack_exports__.VT;
|
|
14394
|
-
var __webpack_exports__PerformanceCapability = __webpack_exports__.VP;
|
|
14395
14028
|
var __webpack_exports__PluginDestroyedError = __webpack_exports__.fL;
|
|
14396
14029
|
var __webpack_exports__PluginEventResult = __webpack_exports__.Dq;
|
|
14397
14030
|
var __webpack_exports__PropertyExpression = __webpack_exports__.ep;
|
|
@@ -14441,7 +14074,7 @@ var __webpack_exports__SqlTranslator = __webpack_exports__.DF;
|
|
|
14441
14074
|
var __webpack_exports__StringBuilder = __webpack_exports__.fe;
|
|
14442
14075
|
var __webpack_exports__SyncronousQueue = __webpack_exports__.hq;
|
|
14443
14076
|
var __webpack_exports__TagCollection = __webpack_exports__.Kp;
|
|
14444
|
-
var
|
|
14077
|
+
var __webpack_exports__TelemetryDbPlugin = __webpack_exports__.Pr;
|
|
14445
14078
|
var __webpack_exports__TrampolinePipeline = __webpack_exports__.Tz;
|
|
14446
14079
|
var __webpack_exports__TranslatedArrayValue = __webpack_exports__.xw;
|
|
14447
14080
|
var __webpack_exports__TranslatedGroupValue = __webpack_exports__.f2;
|
|
@@ -14459,6 +14092,7 @@ var __webpack_exports__assertIsNumber = __webpack_exports__.Ye;
|
|
|
14459
14092
|
var __webpack_exports__assertString = __webpack_exports__.Cv;
|
|
14460
14093
|
var __webpack_exports__cast = __webpack_exports__.wg;
|
|
14461
14094
|
var __webpack_exports__clone = __webpack_exports__.o8;
|
|
14095
|
+
var __webpack_exports__collectingSink = __webpack_exports__.wN;
|
|
14462
14096
|
var __webpack_exports__combineExpressions = __webpack_exports__.pg;
|
|
14463
14097
|
var __webpack_exports__combineQueryOptionsCollections = __webpack_exports__.N8;
|
|
14464
14098
|
var __webpack_exports__compiledSchemaToJsonSchema = __webpack_exports__.VG;
|
|
@@ -14495,6 +14129,7 @@ var __webpack_exports__isValueExpression = __webpack_exports__.S6;
|
|
|
14495
14129
|
var __webpack_exports__joinInPlugin = __webpack_exports__.zH;
|
|
14496
14130
|
var __webpack_exports__loadJoinInnerSide = __webpack_exports__.as;
|
|
14497
14131
|
var __webpack_exports__logger = __webpack_exports__.vF;
|
|
14132
|
+
var __webpack_exports__loggerSink = __webpack_exports__.qj;
|
|
14498
14133
|
var __webpack_exports__measure = __webpack_exports__.xP;
|
|
14499
14134
|
var __webpack_exports__nearestBy = __webpack_exports__.iG;
|
|
14500
14135
|
var __webpack_exports__noop = __webpack_exports__.lQ;
|
|
@@ -14525,6 +14160,6 @@ var __webpack_exports__unsafeCast = __webpack_exports__.sz;
|
|
|
14525
14160
|
var __webpack_exports__uuid = __webpack_exports__.uR;
|
|
14526
14161
|
var __webpack_exports__uuidv4 = __webpack_exports__.gZ;
|
|
14527
14162
|
var __webpack_exports__withExecutedQueries = __webpack_exports__.Kg;
|
|
14528
|
-
export { __webpack_exports__AndBuilder as AndBuilder, __webpack_exports__ArrayBuilder as ArrayBuilder, __webpack_exports__AssignmentBuilder as AssignmentBuilder, __webpack_exports__BatchingDbPlugin as BatchingDbPlugin, __webpack_exports__Block as Block, __webpack_exports__BulkPersistChanges as BulkPersistChanges, __webpack_exports__BulkPersistResult as BulkPersistResult, __webpack_exports__CacheDbPlugin as CacheDbPlugin,
|
|
14163
|
+
export { __webpack_exports__AndBuilder as AndBuilder, __webpack_exports__ArrayBuilder as ArrayBuilder, __webpack_exports__AssignmentBuilder as AssignmentBuilder, __webpack_exports__BatchingDbPlugin as BatchingDbPlugin, __webpack_exports__Block as Block, __webpack_exports__BulkPersistChanges as BulkPersistChanges, __webpack_exports__BulkPersistResult as BulkPersistResult, __webpack_exports__CacheDbPlugin as CacheDbPlugin, __webpack_exports__CodeBuilder as CodeBuilder, __webpack_exports__ComparatorExpression as ComparatorExpression, __webpack_exports__ConcurrencyDbPlugin as ConcurrencyDbPlugin, __webpack_exports__ContainerBlock as ContainerBlock, __webpack_exports__DEFAULT_SEMI_JOIN_KEY_THRESHOLD as DEFAULT_SEMI_JOIN_KEY_THRESHOLD, __webpack_exports__DataTranslator as DataTranslator, __webpack_exports__EXECUTED_QUERIES_UNSUPPORTED as EXECUTED_QUERIES_UNSUPPORTED, __webpack_exports__EXPRESSION_TYPES as EXPRESSION_TYPES, __webpack_exports__EmptyExpression as EmptyExpression, __webpack_exports__EphemeralDataPlugin as EphemeralDataPlugin, __webpack_exports__Expression as Expression, __webpack_exports__FunctionBuilder as FunctionBuilder, __webpack_exports__FunctionFactoryBuilder as FunctionFactoryBuilder, __webpack_exports__HashType as HashType, __webpack_exports__IdSet as IdSet, __webpack_exports__IfBuilder as IfBuilder, __webpack_exports__JsonTranslator as JsonTranslator, __webpack_exports__LOG_LEVELS as LOG_LEVELS, __webpack_exports__MEMORY_EXECUTION_EXPLANATIONS as MEMORY_EXECUTION_EXPLANATIONS, __webpack_exports__MemoryDataCollection as MemoryDataCollection, __webpack_exports__NotParsableExpression as NotParsableExpression, __webpack_exports__ObjectBuilder as ObjectBuilder, __webpack_exports__OperatorExpression as OperatorExpression, __webpack_exports__OptimisticConcurrencyError as OptimisticConcurrencyError, __webpack_exports__PluginDestroyedError as PluginDestroyedError, __webpack_exports__PluginEventResult as PluginEventResult, __webpack_exports__PropertyExpression as PropertyExpression, __webpack_exports__PropertyInfo as PropertyInfo, __webpack_exports__Query as Query, __webpack_exports__QueryOptionsCollection as QueryOptionsCollection, __webpack_exports__QueryOrdering as QueryOrdering, __webpack_exports__RawBuilder as RawBuilder, __webpack_exports__ReadonlySchemaCollection as ReadonlySchemaCollection, __webpack_exports__Result as Result, __webpack_exports__RetryDbPlugin as RetryDbPlugin, __webpack_exports__SchemaArray as SchemaArray, __webpack_exports__SchemaBase as SchemaBase, __webpack_exports__SchemaBoolean as SchemaBoolean, __webpack_exports__SchemaCollection as SchemaCollection, __webpack_exports__SchemaComputed as SchemaComputed, __webpack_exports__SchemaDate as SchemaDate, __webpack_exports__SchemaDefault as SchemaDefault, __webpack_exports__SchemaDefinition as SchemaDefinition, __webpack_exports__SchemaDeserialize as SchemaDeserialize, __webpack_exports__SchemaDistinct as SchemaDistinct, __webpack_exports__SchemaError as SchemaError, __webpack_exports__SchemaFile as SchemaFile, __webpack_exports__SchemaForeignKey as SchemaForeignKey, __webpack_exports__SchemaFrom as SchemaFrom, __webpack_exports__SchemaFunction as SchemaFunction, __webpack_exports__SchemaIdentity as SchemaIdentity, __webpack_exports__SchemaIndex as SchemaIndex, __webpack_exports__SchemaKey as SchemaKey, __webpack_exports__SchemaNullable as SchemaNullable, __webpack_exports__SchemaNumber as SchemaNumber, __webpack_exports__SchemaObject as SchemaObject, __webpack_exports__SchemaOptional as SchemaOptional, __webpack_exports__SchemaPersistChanges as SchemaPersistChanges, __webpack_exports__SchemaPersistResult as SchemaPersistResult, __webpack_exports__SchemaReadonly as SchemaReadonly, __webpack_exports__SchemaSearchable as SchemaSearchable, __webpack_exports__SchemaSerialize as SchemaSerialize, __webpack_exports__SchemaString as SchemaString, __webpack_exports__SchemaTag as SchemaTag, __webpack_exports__SchemaTracked as SchemaTracked, __webpack_exports__SchemaTransform as SchemaTransform, __webpack_exports__SchemaTypes as SchemaTypes, __webpack_exports__SchemaVector as SchemaVector, __webpack_exports__SlotBlock as SlotBlock, __webpack_exports__SqlTranslator as SqlTranslator, __webpack_exports__StringBuilder as StringBuilder, __webpack_exports__SyncronousQueue as SyncronousQueue, __webpack_exports__TagCollection as TagCollection, __webpack_exports__TelemetryDbPlugin as TelemetryDbPlugin, __webpack_exports__TrampolinePipeline as TrampolinePipeline, __webpack_exports__TranslatedArrayValue as TranslatedArrayValue, __webpack_exports__TranslatedGroupValue as TranslatedGroupValue, __webpack_exports__TranslatedSingleValue as TranslatedSingleValue, __webpack_exports__TupleTranslator as TupleTranslator, __webpack_exports__ValueExpression as ValueExpression, __webpack_exports__VariableBuilder as VariableBuilder, __webpack_exports__WorkPipeline as WorkPipeline, __webpack_exports__applyInnerOptions as applyInnerOptions, __webpack_exports__assertDate as assertDate, __webpack_exports__assertInstanceOf as assertInstanceOf, __webpack_exports__assertIsArray as assertIsArray, __webpack_exports__assertIsNotNull as assertIsNotNull, __webpack_exports__assertIsNumber as assertIsNumber, __webpack_exports__assertString as assertString, __webpack_exports__cast as cast, __webpack_exports__clone as clone, __webpack_exports__collectingSink as collectingSink, __webpack_exports__combineExpressions as combineExpressions, __webpack_exports__combineQueryOptionsCollections as combineQueryOptionsCollections, __webpack_exports__compiledSchemaToJsonSchema as compiledSchemaToJsonSchema, __webpack_exports__cosineDistance as cosineDistance, __webpack_exports__createRequestHandler as createRequestHandler, __webpack_exports__createStandardJsonSchemaProps as createStandardJsonSchemaProps, __webpack_exports__deserializeBulkPersist as deserializeBulkPersist, __webpack_exports__deserializePersistResult as deserializePersistResult, __webpack_exports__deserializeQueryOptions as deserializeQueryOptions, __webpack_exports__distinctJoinKeys as distinctJoinKeys, __webpack_exports__evaluate as evaluate, __webpack_exports__executeJoin as executeJoin, __webpack_exports__explainQuery as explainQuery, __webpack_exports__extractTypeInfo as extractTypeInfo, __webpack_exports__fastHash as fastHash, __webpack_exports__forEach as forEach, __webpack_exports__formatExplanation as formatExplanation, __webpack_exports__getLogLevel as getLogLevel, __webpack_exports__getProperties as getProperties, __webpack_exports__hasPrimitiveElements as hasPrimitiveElements, __webpack_exports__hash as hash, __webpack_exports__hashJoin as hashJoin, __webpack_exports__isArrayValued as isArrayValued, __webpack_exports__isComparatorExpression as isComparatorExpression, __webpack_exports__isDate as isDate, __webpack_exports__isEmptyExpression as isEmptyExpression, __webpack_exports__isExpression as isExpression, __webpack_exports__isLogLevelEnabled as isLogLevelEnabled, __webpack_exports__isNodeRuntime as isNodeRuntime, __webpack_exports__isNotParsableExpression as isNotParsableExpression, __webpack_exports__isOperatorExpression as isOperatorExpression, __webpack_exports__isPropertyExpression as isPropertyExpression, __webpack_exports__isValueExpression as isValueExpression, __webpack_exports__joinInPlugin as joinInPlugin, __webpack_exports__loadJoinInnerSide as loadJoinInnerSide, __webpack_exports__logger as logger, __webpack_exports__loggerSink as loggerSink, __webpack_exports__measure as measure, __webpack_exports__nearestBy as nearestBy, __webpack_exports__noop as noop, __webpack_exports__now as now, __webpack_exports__parseFragment as parseFragment, __webpack_exports__propertyInfoToJsonSchema as propertyInfoToJsonSchema, __webpack_exports__readJoinKey as readJoinKey, __webpack_exports__rehydrateSchemaFromJsonSchema as rehydrateSchemaFromJsonSchema, __webpack_exports__rehydrateSchemaFromJsonString as rehydrateSchemaFromJsonString, __webpack_exports__resetLogLevel as resetLogLevel, __webpack_exports__resolveBulkPersistChanges as resolveBulkPersistChanges, __webpack_exports__s as s, __webpack_exports__semiJoinFilter as semiJoinFilter, __webpack_exports__serializeBulkPersist as serializeBulkPersist, __webpack_exports__serializePersistResult as serializePersistResult, __webpack_exports__serializeQueryOptions as serializeQueryOptions, __webpack_exports__setLogLevel as setLogLevel, __webpack_exports__splitSendableOptions as splitSendableOptions, __webpack_exports__stringifyObject as stringifyObject, __webpack_exports__toEntityShape as toEntityShape, __webpack_exports__toEventArray as toEventArray, __webpack_exports__toExpression as toExpression, __webpack_exports__toMap as toMap, __webpack_exports__toPredicate as toPredicate, __webpack_exports__toPromise as toPromise, __webpack_exports__toStrictPredicate as toStrictPredicate, __webpack_exports__unsafeCast as unsafeCast, __webpack_exports__uuid as uuid, __webpack_exports__uuidv4 as uuidv4, __webpack_exports__withExecutedQueries as withExecutedQueries };
|
|
14529
14164
|
|
|
14530
14165
|
//# sourceMappingURL=index.js.map
|