@mastra/mongodb 0.0.2-alpha.1 → 0.0.2-alpha.2

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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/mongodb@0.0.2-alpha.1 build /home/runner/work/mastra/mastra/stores/mongodb
2
+ > @mastra/mongodb@0.0.2-alpha.2 build /home/runner/work/mastra/mastra/stores/mongodb
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 6626ms
9
+ TSC ⚡️ Build success in 8226ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.2
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/mongodb/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.2
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/mongodb/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 9373ms
16
+ DTS ⚡️ Build success in 9773ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- ESM dist/index.js 12.39 KB
21
- ESM ⚡️ Build success in 696ms
22
- CJS dist/index.cjs 12.43 KB
23
- CJS ⚡️ Build success in 696ms
20
+ CJS dist/index.cjs 12.33 KB
21
+ CJS ⚡️ Build success in 633ms
22
+ ESM dist/index.js 12.29 KB
23
+ ESM ⚡️ Build success in 634ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @mastra/mongodb
2
2
 
3
+ ## 0.0.2-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c4c6f04: added and updated docs for mongodb
8
+ - Updated dependencies [6262bd5]
9
+ - @mastra/core@0.9.1-alpha.3
10
+
3
11
  ## 0.0.2-alpha.1
4
12
 
5
13
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -10,10 +10,8 @@ var MongoDBFilterTranslator = class extends filter.BaseFilterTranslator {
10
10
  getSupportedOperators() {
11
11
  return {
12
12
  ...filter.BaseFilterTranslator.DEFAULT_OPERATORS,
13
- array: ["$all", "$in", "$nin"],
14
- logical: ["$and", "$or", "$not", "$nor"],
15
13
  regex: ["$regex"],
16
- custom: ["$size", "$elemMatch"]
14
+ custom: ["$size"]
17
15
  };
18
16
  }
19
17
  translate(filter) {
package/dist/index.js CHANGED
@@ -8,10 +8,8 @@ var MongoDBFilterTranslator = class extends BaseFilterTranslator {
8
8
  getSupportedOperators() {
9
9
  return {
10
10
  ...BaseFilterTranslator.DEFAULT_OPERATORS,
11
- array: ["$all", "$in", "$nin"],
12
- logical: ["$and", "$or", "$not", "$nor"],
13
11
  regex: ["$regex"],
14
- custom: ["$size", "$elemMatch"]
12
+ custom: ["$size"]
15
13
  };
16
14
  }
17
15
  translate(filter) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mongodb",
3
- "version": "0.0.2-alpha.1",
3
+ "version": "0.0.2-alpha.2",
4
4
  "description": "MongoDB provider for Mastra - includes vector store capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "cloudflare": "^4.1.0",
24
24
  "mongodb": "^6.15.0",
25
25
  "uuid": "^11.1.0",
26
- "@mastra/core": "^0.9.1-alpha.2"
26
+ "@mastra/core": "^0.9.1-alpha.3"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.52.1",
@@ -10,10 +10,8 @@ export class MongoDBFilterTranslator extends BaseFilterTranslator {
10
10
  protected override getSupportedOperators(): OperatorSupport {
11
11
  return {
12
12
  ...BaseFilterTranslator.DEFAULT_OPERATORS,
13
- array: ['$all', '$in', '$nin'],
14
- logical: ['$and', '$or', '$not', '$nor'],
15
13
  regex: ['$regex'],
16
- custom: ['$size', '$elemMatch'],
14
+ custom: ['$size'],
17
15
  };
18
16
  }
19
17