@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 17 lines 419 Bytes
Raw
1 import * as Cloudflare from "@alchemy.run/cloudflare";
2
3 /** Background jobs: fetch a link's page and store its preview. */
4 export const Jobs = Cloudflare.Queues.Queue("Jobs");
5
6 export interface UnfurlJob {
7 code: string;
8 url: string;
9 }
10
11 /** Click events, recorded off the redirect's hot path. */
12 export const Clicks = Cloudflare.Queues.Queue("Clicks");
13
14 export interface ClickEvent {
15 code: string;
16 at: number;
17 }