-
Notifications
You must be signed in to change notification settings - Fork 0
/
bindings.d.ts
52 lines (45 loc) · 1.12 KB
/
bindings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
type Service = 'R2:DFW' | 'R2:LHR' | 'DO' | 'KV' | 'NONE'
type Colo = string
type BucketSource = 'DFW' | 'LHR' | string
type Operation = string
interface Bindings {
// BUCKET_AMS: R2Bucket
// BUCKET_ARN: R2Bucket
// BUCKET_ATL: R2Bucket
// BUCKET_CDG: R2Bucket
// BUCKET_DEN: R2Bucket
BUCKET_DFW: R2Bucket
// BUCKET_EWR: R2Bucket
// BUCKET_FRA: R2Bucket
// BUCKET_HKG: R2Bucket
// BUCKET_IAD: R2Bucket
// BUCKET_KIX: R2Bucket
// BUCKET_LAX: R2Bucket
BUCKET_LHR: R2Bucket
// BUCKET_MAD: R2Bucket
// BUCKET_MIA: R2Bucket
// BUCKET_MRS: R2Bucket
// BUCKET_MXP: R2Bucket
// BUCKET_NRT: R2Bucket
// BUCKET_ORD: R2Bucket
// BUCKET_PRG: R2Bucket
// BUCKET_SEA: R2Bucket
// BUCKET_SIN: R2Bucket
// BUCKET_SJC: R2Bucket
// BUCKET_TPE: R2Bucket
// BUCKET_VIE: R2Bucket
OperationsManager: DurableObjectNamespace
LatencyAnalytics: {
writeDataPoint: (point: {
blobs: ['R2', BucketSource, Colo, Operation, `${number}`, string]
doubles: [number]
}) => void
}
ErrorAnalytics: {
writeDataPoint: (point: {
blobs: [Service, Colo, Operation, string, string]
doubles: [1]
}) => void
}
LB_POOL_ID: string
}