Queue Message Schemas
TypeScript interfaces for Cloudflare Queue messages.
Schemas Overview
4 queue types defined
Auto-generated
Generated from shared/src/types.ts. Run pnpm docs:gen to update.
VariantQueueMessage
typescript
interface VariantQueueMessage {
image_id: string;
owner: string;
album_slug: string;
filename: string;
variant: VariantPreset;
}| Field | Type | Description |
|---|---|---|
image_id | string | - |
owner | string | - |
album_slug | string | - |
filename | string | - |
variant | VariantPreset | - |
BackupQueueMessage
typescript
interface BackupQueueMessage {
image_id: string;
owner: string;
}| Field | Type | Description |
|---|---|---|
image_id | string | - |
owner | string | - |
CustomDomainQueueMessage
typescript
interface CustomDomainQueueMessage {
owner: string;
hostname: string;
}| Field | Type | Description |
|---|---|---|
owner | string | - |
hostname | string | - |
WebhookQueueMessage
typescript
interface WebhookQueueMessage {
webhook_id: string;
owner: string;
event_type: WebhookEvent;
payload: Record<string, unknown>;
triggered_at: string;
}| Field | Type | Description |
|---|---|---|
webhook_id | string | - |
owner | string | - |
event_type | WebhookEvent | - |
payload | Record<string, unknown> | - |
triggered_at | string | - |
Source: shared/src/types.ts