@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.cjs
CHANGED
|
@@ -3067,6 +3067,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3067
3067
|
executeJoin: () => (/* reexport */ executeJoin),
|
|
3068
3068
|
formatExplanation: () => (/* reexport */ formatExplanation),
|
|
3069
3069
|
serializePersistResult: () => (/* reexport */ serializePersistResult),
|
|
3070
|
+
mappedResultColumns: () => (/* reexport */ mappedResultColumns),
|
|
3070
3071
|
explainQuery: () => (/* reexport */ explainQuery),
|
|
3071
3072
|
cosineDistance: () => (/* reexport */ cosineDistance),
|
|
3072
3073
|
RetryDbPlugin: () => (/* reexport */ RetryDbPlugin),
|
|
@@ -3102,6 +3103,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3102
3103
|
deserializeQueryOptions: () => (/* reexport */ deserializeQueryOptions)
|
|
3103
3104
|
});
|
|
3104
3105
|
|
|
3106
|
+
;// CONCATENATED MODULE: ./src/plugins/resultShape.ts
|
|
3107
|
+
/**
|
|
3108
|
+
* The columns a `map` projection selects.
|
|
3109
|
+
*
|
|
3110
|
+
* Named by `sourceName`, which is what the statement actually emits; the rename to
|
|
3111
|
+
* `destinationName` happens in the translator, after the rows come back. A field with no
|
|
3112
|
+
* `property` is an expression.
|
|
3113
|
+
*/ const mappedResultColumns = (fields)=>fields.map((field)=>({
|
|
3114
|
+
name: field.sourceName,
|
|
3115
|
+
property: field.property ?? null
|
|
3116
|
+
}));
|
|
3117
|
+
|
|
3105
3118
|
;// CONCATENATED MODULE: ./src/plugins/translators/TranslatedArrayValue.ts
|
|
3106
3119
|
class TranslatedArrayValue {
|
|
3107
3120
|
value;
|
|
@@ -6610,6 +6623,7 @@ const DEFAULT_MAX_BATCH_SIZE = 100;
|
|
|
6610
6623
|
|
|
6611
6624
|
|
|
6612
6625
|
|
|
6626
|
+
|
|
6613
6627
|
})();
|
|
6614
6628
|
|
|
6615
6629
|
module.exports = __webpack_exports__;
|