@mastra/mongodb 1.23.1 → 1.24.0-alpha.1
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/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-storage-retention.md +15 -12
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/datasets/index.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { MessageList } from "@mastra/core/agent";
|
|
|
9
9
|
import { saveScorePayloadSchema } from "@mastra/core/evals";
|
|
10
10
|
import { skillSnapshotFieldValuesEqual } from "@mastra/core/storage/domains/skills";
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.
|
|
12
|
+
var version = "1.24.0-alpha.1";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/vector/filter.ts
|
|
15
15
|
/**
|
|
@@ -3210,6 +3210,7 @@ var MongoDBDatasetsStorage = class extends DatasetsStorage {
|
|
|
3210
3210
|
const { page, perPage: perPageInput } = args.pagination;
|
|
3211
3211
|
const collection = await this.getCollection(TABLE_DATASETS);
|
|
3212
3212
|
const filter = {};
|
|
3213
|
+
if (args.filters?.datasetIds !== void 0) filter.id = { $in: args.filters.datasetIds };
|
|
3213
3214
|
if (args.filters?.organizationId !== void 0) filter.organizationId = args.filters.organizationId;
|
|
3214
3215
|
if (args.filters?.projectId !== void 0) filter.projectId = args.filters.projectId;
|
|
3215
3216
|
if (args.filters?.candidateKey !== void 0) filter.candidateKey = args.filters.candidateKey;
|