@atproto/ozone
Version:
Backend service for moderating the Bluesky network.
18 lines (15 loc) • 321 B
text/typescript
import { ScheduledActionType } from '../api/util'
export type ExecutionSchedule =
| {
executeAt: Date
}
| {
executeAfter: Date
executeUntil?: Date
}
export type SchedulingParams = {
action: ScheduledActionType
eventData: unknown
did: string
createdBy: string
} & ExecutionSchedule