Anchorage API reference
    Preparing search index...

    The storage subset the facade reads/writes (a subset of D1SchedulesStorage).

    interface ScheduleFacadeStore {
        "[FENCED_SCHEDULE_STORAGE]"?: FencedScheduleMutationCapability;
        createOwnedSchedule(
            schedule: AuthorizedSchedule,
            owner: ResourceOwner,
            maxSchedules: number,
            context?: MutationEpochContext,
        ): Promise<Schedule | null>;
        deleteOwnedSchedule(
            id: string,
            context?: MutationEpochContext,
        ): Promise<"pending" | "deleted">;
        getSchedule(id: string): Promise<Schedule | null>;
        listSchedules(filter?: ScheduleFilter): Promise<Schedule[]>;
        listTriggers(
            scheduleId: string,
            opts?: ScheduleTriggerListOptions,
        ): Promise<ScheduleTrigger[]>;
        updateSchedule(
            id: string,
            patch: ScheduleUpdate,
            context?: MutationEpochContext,
        ): Promise<Schedule>;
    }
    Index

    Properties

    "[FENCED_SCHEDULE_STORAGE]"?: FencedScheduleMutationCapability

    Methods

    • Parameters

      • scheduleId: string
      • Optionalopts: ScheduleTriggerListOptions

      Returns Promise<ScheduleTrigger[]>