@mastra/duckdb 1.3.0 → 1.3.1-alpha.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/CHANGELOG.md +6 -0
- package/dist/{chunk-37GBWD4M.js → chunk-4LIZE4MC.js} +23 -2
- package/dist/chunk-4LIZE4MC.js.map +1 -0
- package/dist/{chunk-S2AWBPTS.cjs → chunk-SMRZJTCI.cjs} +23 -2
- package/dist/chunk-SMRZJTCI.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +2 -2
- package/dist/index.cjs +6 -6
- package/dist/index.js +3 -3
- package/dist/{observability-7LL4LLXY.js → observability-MKVTGAKX.js} +4 -9
- package/dist/observability-MKVTGAKX.js.map +1 -0
- package/dist/{observability-2PJ44OVC.cjs → observability-ZLFGMOSM.cjs} +6 -11
- package/dist/observability-ZLFGMOSM.cjs.map +1 -0
- package/dist/storage/db/index.d.ts +10 -0
- package/dist/storage/db/index.d.ts.map +1 -1
- package/dist/storage/domains/observability/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-37GBWD4M.js.map +0 -1
- package/dist/chunk-S2AWBPTS.cjs.map +0 -1
- package/dist/observability-2PJ44OVC.cjs.map +0 -1
- package/dist/observability-7LL4LLXY.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSMRZJTCI_cjs = require('./chunk-SMRZJTCI.cjs');
|
|
4
4
|
var error = require('@mastra/core/error');
|
|
5
5
|
var storage = require('@mastra/core/storage');
|
|
6
6
|
var observability = require('@mastra/core/observability');
|
|
@@ -565,10 +565,10 @@ function buildPaginationClause(pagination) {
|
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
// src/storage/domains/observability/helpers.ts
|
|
568
|
-
var v =
|
|
568
|
+
var v = chunkSMRZJTCI_cjs.DuckDBConnection.sqlValue;
|
|
569
569
|
function jsonV(val) {
|
|
570
570
|
if (val === null || val === void 0) return "NULL";
|
|
571
|
-
return
|
|
571
|
+
return chunkSMRZJTCI_cjs.DuckDBConnection.sqlValue(JSON.stringify(val));
|
|
572
572
|
}
|
|
573
573
|
function toDate(val) {
|
|
574
574
|
if (val === null || val === void 0) {
|
|
@@ -2951,12 +2951,7 @@ var ObservabilityStorageDuckDB = class extends storage.ObservabilityStorage {
|
|
|
2951
2951
|
})
|
|
2952
2952
|
});
|
|
2953
2953
|
}
|
|
2954
|
-
|
|
2955
|
-
await this.db.execute(ddl);
|
|
2956
|
-
}
|
|
2957
|
-
for (const migration of ALL_MIGRATIONS) {
|
|
2958
|
-
await this.db.execute(migration);
|
|
2959
|
-
}
|
|
2954
|
+
await this.db.executeBatch([...ALL_DDL, ...ALL_MIGRATIONS]);
|
|
2960
2955
|
}
|
|
2961
2956
|
/**
|
|
2962
2957
|
* Manually migrate legacy signal tables to the signal-ID primary-key schema.
|
|
@@ -3126,5 +3121,5 @@ var ObservabilityStorageDuckDB = class extends storage.ObservabilityStorage {
|
|
|
3126
3121
|
};
|
|
3127
3122
|
|
|
3128
3123
|
exports.ObservabilityStorageDuckDB = ObservabilityStorageDuckDB;
|
|
3129
|
-
//# sourceMappingURL=observability-
|
|
3130
|
-
//# sourceMappingURL=observability-
|
|
3124
|
+
//# sourceMappingURL=observability-ZLFGMOSM.cjs.map
|
|
3125
|
+
//# sourceMappingURL=observability-ZLFGMOSM.cjs.map
|