@mastra/convex 1.7.0 → 1.7.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.
@@ -3,7 +3,7 @@ name: mastra-convex
3
3
  description: Documentation for @mastra/convex. Use when working with @mastra/convex APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/convex"
6
- version: "1.7.0"
6
+ version: "1.7.1-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0",
2
+ "version": "1.7.1-alpha.0",
3
3
  "package": "@mastra/convex",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_server = require("./server-AGRJb6YG.cjs");
2
+ const require_server = require("./server-Beo8LSQH.cjs");
3
3
  const require_schema = require("./schema.cjs");
4
4
  let _mastra_core_cache = require("@mastra/core/cache");
5
5
  let _mastra_core_storage = require("@mastra/core/storage");
@@ -436,7 +436,7 @@ var ConvexDB = class extends _mastra_core_base.MastraBase {
436
436
  limit
437
437
  });
438
438
  }
439
- async updateScheduleNextFire({ id, expectedNextFireAt, newNextFireAt, lastFireAt, lastRunId }) {
439
+ async updateScheduleNextFire({ id, expectedNextFireAt, newNextFireAt, lastFireAt, lastRunId, newStatus }) {
440
440
  return this.client.callStorage({
441
441
  op: "updateScheduleNextFire",
442
442
  tableName: _mastra_core_storage.TABLE_SCHEDULES,
@@ -444,7 +444,8 @@ var ConvexDB = class extends _mastra_core_base.MastraBase {
444
444
  expectedNextFireAt,
445
445
  newNextFireAt,
446
446
  lastFireAt,
447
- lastRunId
447
+ lastRunId,
448
+ newStatus
448
449
  });
449
450
  }
450
451
  async updateSchedule({ id, patch }) {
@@ -1965,13 +1966,14 @@ var SchedulesConvex = class extends _mastra_core_storage.SchedulesStorage {
1965
1966
  patch: updates
1966
1967
  }));
1967
1968
  }
1968
- async updateScheduleNextFire(id, expectedNextFireAt, newNextFireAt, lastFireAt, lastRunId) {
1969
+ async updateScheduleNextFire(id, expectedNextFireAt, newNextFireAt, lastFireAt, lastRunId, newStatus) {
1969
1970
  return this.#db.updateScheduleNextFire({
1970
1971
  id,
1971
1972
  expectedNextFireAt,
1972
1973
  newNextFireAt,
1973
1974
  lastFireAt,
1974
- lastRunId
1975
+ lastRunId,
1976
+ newStatus
1975
1977
  });
1976
1978
  }
1977
1979
  async deleteSchedule(id) {