@mastra/mongodb 1.18.5-alpha.0 → 1.18.5-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.
- package/README.md +13 -158
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflow-definitions/index.d.ts.map +1 -1
- package/package.json +3 -3
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.18.5-alpha.
|
|
12
|
+
var version = "1.18.5-alpha.2";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/vector/filter.ts
|
|
15
15
|
/**
|
|
@@ -10896,6 +10896,7 @@ function docToDefinition(doc) {
|
|
|
10896
10896
|
if (doc.metadata != null) def.metadata = doc.metadata;
|
|
10897
10897
|
if (doc.stateSchema != null) def.stateSchema = doc.stateSchema;
|
|
10898
10898
|
if (doc.requestContextSchema != null) def.requestContextSchema = doc.requestContextSchema;
|
|
10899
|
+
if (doc.schedule != null) def.schedule = doc.schedule;
|
|
10899
10900
|
if (doc.authorId != null) def.authorId = doc.authorId;
|
|
10900
10901
|
return def;
|
|
10901
10902
|
}
|
|
@@ -10962,6 +10963,7 @@ var MongoDBWorkflowDefinitionsStore = class MongoDBWorkflowDefinitionsStore exte
|
|
|
10962
10963
|
stateSchema: input.stateSchema ?? null,
|
|
10963
10964
|
requestContextSchema: input.requestContextSchema ?? null,
|
|
10964
10965
|
graph: input.graph,
|
|
10966
|
+
schedule: "schedule" in input ? input.schedule ?? null : null,
|
|
10965
10967
|
status: "active",
|
|
10966
10968
|
source: "storage",
|
|
10967
10969
|
authorId: "authorId" in input ? input.authorId ?? null : null,
|
|
@@ -10988,6 +10990,7 @@ var MongoDBWorkflowDefinitionsStore = class MongoDBWorkflowDefinitionsStore exte
|
|
|
10988
10990
|
if ("stateSchema" in input && input.stateSchema !== void 0) update.stateSchema = input.stateSchema;
|
|
10989
10991
|
if ("requestContextSchema" in input && input.requestContextSchema !== void 0) update.requestContextSchema = input.requestContextSchema;
|
|
10990
10992
|
if ("graph" in input && input.graph !== void 0) update.graph = input.graph;
|
|
10993
|
+
if ("schedule" in input && input.schedule !== void 0) update.schedule = input.schedule;
|
|
10991
10994
|
if ("status" in input && input.status !== void 0) update.status = input.status;
|
|
10992
10995
|
if ("authorId" in input && input.authorId !== void 0) update.authorId = input.authorId;
|
|
10993
10996
|
await collection.updateOne({ id: input.id }, { $set: update });
|