MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / update

Function update

packages/trigger-sdk/src/v3/schedules/index.ts:68–79  ·  view source on GitHub ↗
(
  scheduleId: string,
  options: SchedulesAPI.UpdateScheduleOptions
)

Source from the content-addressed store, hash-verified

66 * @returns The updated schedule
67 */
68export function update(
69 scheduleId: string,
70 options: SchedulesAPI.UpdateScheduleOptions
71): ApiPromise<ScheduleObject> {
72 const apiClient = apiClientManager.client;
73
74 if (!apiClient) {
75 throw apiClientMissingError();
76 }
77
78 return apiClient.updateSchedule(scheduleId, options);
79}
80
81/**
82 * Deletes a schedule

Callers

nothing calls this directly

Calls 2

apiClientMissingErrorFunction · 0.90
updateScheduleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…