Skip to content
42 linesCodeBlameRaw
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-projects",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 // Reached only through service bindings.
8 "workers_dev": false,
9 "placement": { "mode": "off" },
10 "d1_databases": [
11 {
12 "binding": "DB",
13 "database_name": "g1t-projects",
14 "database_id": "0af698be-2b60-4bd9-aa93-81e84828e991",
15 "migrations_dir": "migrations"
16 }
17 ],
18 "services": [
19 { "binding": "REPOS", "service": "g1t-repos" },
20 { "binding": "IDENTITY", "service": "g1t-identity" },
21 // Whether a project is a library: the packages its repository
22 // publishes, and whether Deployments are on (asked once; after that
23 // deployments says when it changes).
24 { "binding": "PACKAGES", "service": "g1t-packages" },
25 { "binding": "DEPLOYMENTS", "service": "g1t-deployments" },
26 // A screenshot of a production deployed elsewhere, asked for when its
27 // address is set or changed and when a production deployment is
28 // reported for it (src/index.ts).
29 { "binding": "SCREENSHOTS", "service": "g1t-og", "entrypoint": "Screenshots" }
30 ],
31 // Uploaded production images, under `production/<sha256>` in the same
32 // namespace as avatars, which the usercontent origin serves
33 // (src/production-image.ts).
34 "kv_namespaces": [{ "binding": "AVATARS", "id": "e627b571f07047e187c03e1fc2b3bbdd" }],
35 // A repository created is given its own project; a production
36 // deployment reported from elsewhere asks for its screenshot.
37 "queues": {
38 "consumers": [{ "queue": "g1t-events-projects", "max_batch_size": 20, "max_batch_timeout": 1, "max_retries": 3, "dead_letter_queue": "g1t-events-dlq" }]
39 },
40 // Logs of a tenth of requests: every repository page asks it.
41 "observability": { "enabled": true, "head_sampling_rate": 0.1 }
42}