@routier/core 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.cjs +14 -0
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.js +16 -1
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/resultShape.d.ts +35 -0
- package/dist/transfer/ChunkEncoder.d.ts +60 -0
- package/dist/transfer/decoder.d.ts +29 -0
- package/dist/transfer/fillers.d.ts +36 -0
- package/dist/transfer/index.cjs +873 -0
- package/dist/transfer/index.cjs.map +1 -0
- package/dist/transfer/index.d.ts +47 -0
- package/dist/transfer/index.js +872 -0
- package/dist/transfer/index.js.map +1 -0
- package/dist/transfer/plan.d.ts +94 -0
- package/dist/transfer/types.d.ts +138 -0
- package/package.json +9 -1
package/dist/plugins/index.d.ts
CHANGED
package/dist/plugins/index.js
CHANGED
|
@@ -3052,6 +3052,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3052
3052
|
Ib: () => (/* reexport */ TranslatedSingleValue),
|
|
3053
3053
|
RK: () => (/* reexport */ distinctJoinKeys),
|
|
3054
3054
|
Bg: () => (/* reexport */ hashJoin),
|
|
3055
|
+
_1: () => (/* reexport */ mappedResultColumns),
|
|
3055
3056
|
iG: () => (/* reexport */ nearestBy),
|
|
3056
3057
|
qy: () => (/* reexport */ readJoinKey),
|
|
3057
3058
|
yR: () => (/* reexport */ serializePersistResult),
|
|
@@ -3088,6 +3089,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3088
3089
|
jE: () => (/* reexport */ EXECUTED_QUERIES_UNSUPPORTED)
|
|
3089
3090
|
});
|
|
3090
3091
|
|
|
3092
|
+
;// CONCATENATED MODULE: ./src/plugins/resultShape.ts
|
|
3093
|
+
/**
|
|
3094
|
+
* The columns a `map` projection selects.
|
|
3095
|
+
*
|
|
3096
|
+
* Named by `sourceName`, which is what the statement actually emits; the rename to
|
|
3097
|
+
* `destinationName` happens in the translator, after the rows come back. A field with no
|
|
3098
|
+
* `property` is an expression.
|
|
3099
|
+
*/ const mappedResultColumns = (fields)=>fields.map((field)=>({
|
|
3100
|
+
name: field.sourceName,
|
|
3101
|
+
property: field.property ?? null
|
|
3102
|
+
}));
|
|
3103
|
+
|
|
3091
3104
|
;// CONCATENATED MODULE: ./src/plugins/translators/TranslatedArrayValue.ts
|
|
3092
3105
|
class TranslatedArrayValue {
|
|
3093
3106
|
value;
|
|
@@ -6596,6 +6609,7 @@ const DEFAULT_MAX_BATCH_SIZE = 100;
|
|
|
6596
6609
|
|
|
6597
6610
|
|
|
6598
6611
|
|
|
6612
|
+
|
|
6599
6613
|
})();
|
|
6600
6614
|
|
|
6601
6615
|
var __webpack_exports__BatchingDbPlugin = __webpack_exports__.kX;
|
|
@@ -6632,6 +6646,7 @@ var __webpack_exports__hashJoin = __webpack_exports__.Bg;
|
|
|
6632
6646
|
var __webpack_exports__joinInPlugin = __webpack_exports__.zH;
|
|
6633
6647
|
var __webpack_exports__loadJoinInnerSide = __webpack_exports__.as;
|
|
6634
6648
|
var __webpack_exports__loggerSink = __webpack_exports__.qj;
|
|
6649
|
+
var __webpack_exports__mappedResultColumns = __webpack_exports__._1;
|
|
6635
6650
|
var __webpack_exports__nearestBy = __webpack_exports__.iG;
|
|
6636
6651
|
var __webpack_exports__readJoinKey = __webpack_exports__.qy;
|
|
6637
6652
|
var __webpack_exports__semiJoinFilter = __webpack_exports__.lA;
|
|
@@ -6641,6 +6656,6 @@ var __webpack_exports__serializeQueryOptions = __webpack_exports__.BL;
|
|
|
6641
6656
|
var __webpack_exports__splitSendableOptions = __webpack_exports__.PP;
|
|
6642
6657
|
var __webpack_exports__toEntityShape = __webpack_exports__.__;
|
|
6643
6658
|
var __webpack_exports__withExecutedQueries = __webpack_exports__.Kg;
|
|
6644
|
-
export { __webpack_exports__BatchingDbPlugin as BatchingDbPlugin, __webpack_exports__CacheDbPlugin as CacheDbPlugin, __webpack_exports__ConcurrencyDbPlugin as ConcurrencyDbPlugin, __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__EphemeralDataPlugin as EphemeralDataPlugin, __webpack_exports__JsonTranslator as JsonTranslator, __webpack_exports__MEMORY_EXECUTION_EXPLANATIONS as MEMORY_EXECUTION_EXPLANATIONS, __webpack_exports__Query as Query, __webpack_exports__QueryOptionsCollection as QueryOptionsCollection, __webpack_exports__QueryOrdering as QueryOrdering, __webpack_exports__RetryDbPlugin as RetryDbPlugin, __webpack_exports__SqlTranslator as SqlTranslator, __webpack_exports__TelemetryDbPlugin as TelemetryDbPlugin, __webpack_exports__TranslatedArrayValue as TranslatedArrayValue, __webpack_exports__TranslatedGroupValue as TranslatedGroupValue, __webpack_exports__TranslatedSingleValue as TranslatedSingleValue, __webpack_exports__TupleTranslator as TupleTranslator, __webpack_exports__applyInnerOptions as applyInnerOptions, __webpack_exports__collectingSink as collectingSink, __webpack_exports__cosineDistance as cosineDistance, __webpack_exports__createRequestHandler as createRequestHandler, __webpack_exports__deserializeBulkPersist as deserializeBulkPersist, __webpack_exports__deserializePersistResult as deserializePersistResult, __webpack_exports__deserializeQueryOptions as deserializeQueryOptions, __webpack_exports__distinctJoinKeys as distinctJoinKeys, __webpack_exports__executeJoin as executeJoin, __webpack_exports__explainQuery as explainQuery, __webpack_exports__formatExplanation as formatExplanation, __webpack_exports__hashJoin as hashJoin, __webpack_exports__joinInPlugin as joinInPlugin, __webpack_exports__loadJoinInnerSide as loadJoinInnerSide, __webpack_exports__loggerSink as loggerSink, __webpack_exports__nearestBy as nearestBy, __webpack_exports__readJoinKey as readJoinKey, __webpack_exports__semiJoinFilter as semiJoinFilter, __webpack_exports__serializeBulkPersist as serializeBulkPersist, __webpack_exports__serializePersistResult as serializePersistResult, __webpack_exports__serializeQueryOptions as serializeQueryOptions, __webpack_exports__splitSendableOptions as splitSendableOptions, __webpack_exports__toEntityShape as toEntityShape, __webpack_exports__withExecutedQueries as withExecutedQueries };
|
|
6659
|
+
export { __webpack_exports__BatchingDbPlugin as BatchingDbPlugin, __webpack_exports__CacheDbPlugin as CacheDbPlugin, __webpack_exports__ConcurrencyDbPlugin as ConcurrencyDbPlugin, __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__EphemeralDataPlugin as EphemeralDataPlugin, __webpack_exports__JsonTranslator as JsonTranslator, __webpack_exports__MEMORY_EXECUTION_EXPLANATIONS as MEMORY_EXECUTION_EXPLANATIONS, __webpack_exports__Query as Query, __webpack_exports__QueryOptionsCollection as QueryOptionsCollection, __webpack_exports__QueryOrdering as QueryOrdering, __webpack_exports__RetryDbPlugin as RetryDbPlugin, __webpack_exports__SqlTranslator as SqlTranslator, __webpack_exports__TelemetryDbPlugin as TelemetryDbPlugin, __webpack_exports__TranslatedArrayValue as TranslatedArrayValue, __webpack_exports__TranslatedGroupValue as TranslatedGroupValue, __webpack_exports__TranslatedSingleValue as TranslatedSingleValue, __webpack_exports__TupleTranslator as TupleTranslator, __webpack_exports__applyInnerOptions as applyInnerOptions, __webpack_exports__collectingSink as collectingSink, __webpack_exports__cosineDistance as cosineDistance, __webpack_exports__createRequestHandler as createRequestHandler, __webpack_exports__deserializeBulkPersist as deserializeBulkPersist, __webpack_exports__deserializePersistResult as deserializePersistResult, __webpack_exports__deserializeQueryOptions as deserializeQueryOptions, __webpack_exports__distinctJoinKeys as distinctJoinKeys, __webpack_exports__executeJoin as executeJoin, __webpack_exports__explainQuery as explainQuery, __webpack_exports__formatExplanation as formatExplanation, __webpack_exports__hashJoin as hashJoin, __webpack_exports__joinInPlugin as joinInPlugin, __webpack_exports__loadJoinInnerSide as loadJoinInnerSide, __webpack_exports__loggerSink as loggerSink, __webpack_exports__mappedResultColumns as mappedResultColumns, __webpack_exports__nearestBy as nearestBy, __webpack_exports__readJoinKey as readJoinKey, __webpack_exports__semiJoinFilter as semiJoinFilter, __webpack_exports__serializeBulkPersist as serializeBulkPersist, __webpack_exports__serializePersistResult as serializePersistResult, __webpack_exports__serializeQueryOptions as serializeQueryOptions, __webpack_exports__splitSendableOptions as splitSendableOptions, __webpack_exports__toEntityShape as toEntityShape, __webpack_exports__withExecutedQueries as withExecutedQueries };
|
|
6645
6660
|
|
|
6646
6661
|
//# sourceMappingURL=index.js.map
|