@mastra/mongodb 1.18.5-alpha.0 → 1.18.5-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.
@@ -3,7 +3,7 @@ name: mastra-mongodb
3
3
  description: Documentation for @mastra/mongodb. Use when working with @mastra/mongodb APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mongodb"
6
- version: "1.18.5-alpha.0"
6
+ version: "1.18.5-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.18.5-alpha.0",
2
+ "version": "1.18.5-alpha.1",
3
3
  "package": "@mastra/mongodb",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -10,7 +10,7 @@ let _mastra_core_agent = require("@mastra/core/agent");
10
10
  let _mastra_core_evals = require("@mastra/core/evals");
11
11
  let _mastra_core_storage_domains_skills = require("@mastra/core/storage/domains/skills");
12
12
  //#region package.json
13
- var version = "1.18.5-alpha.0";
13
+ var version = "1.18.5-alpha.1";
14
14
  //#endregion
15
15
  //#region src/vector/filter.ts
16
16
  /**
@@ -10897,6 +10897,7 @@ function docToDefinition(doc) {
10897
10897
  if (doc.metadata != null) def.metadata = doc.metadata;
10898
10898
  if (doc.stateSchema != null) def.stateSchema = doc.stateSchema;
10899
10899
  if (doc.requestContextSchema != null) def.requestContextSchema = doc.requestContextSchema;
10900
+ if (doc.schedule != null) def.schedule = doc.schedule;
10900
10901
  if (doc.authorId != null) def.authorId = doc.authorId;
10901
10902
  return def;
10902
10903
  }
@@ -10963,6 +10964,7 @@ var MongoDBWorkflowDefinitionsStore = class MongoDBWorkflowDefinitionsStore exte
10963
10964
  stateSchema: input.stateSchema ?? null,
10964
10965
  requestContextSchema: input.requestContextSchema ?? null,
10965
10966
  graph: input.graph,
10967
+ schedule: "schedule" in input ? input.schedule ?? null : null,
10966
10968
  status: "active",
10967
10969
  source: "storage",
10968
10970
  authorId: "authorId" in input ? input.authorId ?? null : null,
@@ -10989,6 +10991,7 @@ var MongoDBWorkflowDefinitionsStore = class MongoDBWorkflowDefinitionsStore exte
10989
10991
  if ("stateSchema" in input && input.stateSchema !== void 0) update.stateSchema = input.stateSchema;
10990
10992
  if ("requestContextSchema" in input && input.requestContextSchema !== void 0) update.requestContextSchema = input.requestContextSchema;
10991
10993
  if ("graph" in input && input.graph !== void 0) update.graph = input.graph;
10994
+ if ("schedule" in input && input.schedule !== void 0) update.schedule = input.schedule;
10992
10995
  if ("status" in input && input.status !== void 0) update.status = input.status;
10993
10996
  if ("authorId" in input && input.authorId !== void 0) update.authorId = input.authorId;
10994
10997
  await collection.updateOne({ id: input.id }, { $set: update });