@distilled.cloud/cloudflare 0.6.1 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
package/lib/services/pages.d.ts
CHANGED
|
@@ -54,30 +54,40 @@ export interface GetProjectResponse {
|
|
|
54
54
|
envVars: Record<string, unknown> | null;
|
|
55
55
|
environment: "preview" | "production";
|
|
56
56
|
isSkipped: boolean;
|
|
57
|
-
latestStage:
|
|
57
|
+
latestStage: {
|
|
58
|
+
endedOn: string | null;
|
|
59
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
60
|
+
startedOn: string | null;
|
|
61
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
62
|
+
};
|
|
58
63
|
modifiedOn: string;
|
|
59
64
|
projectId: string;
|
|
60
65
|
projectName: string;
|
|
61
66
|
shortId: string;
|
|
62
67
|
source: {
|
|
63
68
|
config: {
|
|
64
|
-
deploymentsEnabled
|
|
65
|
-
owner
|
|
66
|
-
ownerId
|
|
67
|
-
pathExcludes
|
|
68
|
-
pathIncludes
|
|
69
|
-
prCommentsEnabled
|
|
70
|
-
previewBranchExcludes
|
|
71
|
-
previewBranchIncludes
|
|
72
|
-
previewDeploymentSetting
|
|
73
|
-
productionBranch
|
|
74
|
-
productionDeploymentsEnabled
|
|
75
|
-
repoId
|
|
76
|
-
repoName
|
|
69
|
+
deploymentsEnabled: boolean;
|
|
70
|
+
owner: string;
|
|
71
|
+
ownerId: string;
|
|
72
|
+
pathExcludes: string[];
|
|
73
|
+
pathIncludes: string[];
|
|
74
|
+
prCommentsEnabled: boolean;
|
|
75
|
+
previewBranchExcludes: string[];
|
|
76
|
+
previewBranchIncludes: string[];
|
|
77
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
78
|
+
productionBranch: string;
|
|
79
|
+
productionDeploymentsEnabled: boolean;
|
|
80
|
+
repoId: string;
|
|
81
|
+
repoName: string;
|
|
77
82
|
};
|
|
78
83
|
type: "github" | "gitlab";
|
|
79
84
|
};
|
|
80
|
-
stages:
|
|
85
|
+
stages: {
|
|
86
|
+
endedOn: string | null;
|
|
87
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
88
|
+
startedOn: string | null;
|
|
89
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
90
|
+
}[];
|
|
81
91
|
url: string;
|
|
82
92
|
usesFunctions?: boolean | null;
|
|
83
93
|
} | null;
|
|
@@ -86,17 +96,18 @@ export interface GetProjectResponse {
|
|
|
86
96
|
/** Configs for deployments in a project. */
|
|
87
97
|
deploymentConfigs: {
|
|
88
98
|
preview: {
|
|
99
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
100
|
+
buildImageMajorVersion: number;
|
|
101
|
+
compatibilityDate: string;
|
|
102
|
+
compatibilityFlags: string[];
|
|
103
|
+
envVars: Record<string, unknown> | null;
|
|
104
|
+
failOpen: boolean;
|
|
105
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
89
106
|
aiBindings?: Record<string, unknown> | null;
|
|
90
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
91
107
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
92
108
|
browsers?: Record<string, unknown> | null;
|
|
93
|
-
buildImageMajorVersion?: number | null;
|
|
94
|
-
compatibilityDate?: string | null;
|
|
95
|
-
compatibilityFlags?: string[] | null;
|
|
96
109
|
d1Databases?: Record<string, unknown> | null;
|
|
97
110
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
98
|
-
envVars?: Record<string, unknown> | null;
|
|
99
|
-
failOpen?: boolean | null;
|
|
100
111
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
101
112
|
kvNamespaces?: Record<string, unknown> | null;
|
|
102
113
|
limits?: {
|
|
@@ -109,22 +120,22 @@ export interface GetProjectResponse {
|
|
|
109
120
|
queueProducers?: Record<string, unknown> | null;
|
|
110
121
|
r2Buckets?: Record<string, unknown> | null;
|
|
111
122
|
services?: Record<string, unknown> | null;
|
|
112
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
113
123
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
114
124
|
wranglerConfigHash?: string | null;
|
|
115
125
|
};
|
|
116
126
|
production: {
|
|
127
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
128
|
+
buildImageMajorVersion: number;
|
|
129
|
+
compatibilityDate: string;
|
|
130
|
+
compatibilityFlags: string[];
|
|
131
|
+
envVars: Record<string, unknown> | null;
|
|
132
|
+
failOpen: boolean;
|
|
133
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
117
134
|
aiBindings?: Record<string, unknown> | null;
|
|
118
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
119
135
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
120
136
|
browsers?: Record<string, unknown> | null;
|
|
121
|
-
buildImageMajorVersion?: number | null;
|
|
122
|
-
compatibilityDate?: string | null;
|
|
123
|
-
compatibilityFlags?: string[] | null;
|
|
124
137
|
d1Databases?: Record<string, unknown> | null;
|
|
125
138
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
126
|
-
envVars?: Record<string, unknown> | null;
|
|
127
|
-
failOpen?: boolean | null;
|
|
128
139
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
129
140
|
kvNamespaces?: Record<string, unknown> | null;
|
|
130
141
|
limits?: {
|
|
@@ -137,7 +148,6 @@ export interface GetProjectResponse {
|
|
|
137
148
|
queueProducers?: Record<string, unknown> | null;
|
|
138
149
|
r2Buckets?: Record<string, unknown> | null;
|
|
139
150
|
services?: Record<string, unknown> | null;
|
|
140
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
141
151
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
142
152
|
wranglerConfigHash?: string | null;
|
|
143
153
|
};
|
|
@@ -171,30 +181,40 @@ export interface GetProjectResponse {
|
|
|
171
181
|
envVars: Record<string, unknown> | null;
|
|
172
182
|
environment: "preview" | "production";
|
|
173
183
|
isSkipped: boolean;
|
|
174
|
-
latestStage:
|
|
184
|
+
latestStage: {
|
|
185
|
+
endedOn: string | null;
|
|
186
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
187
|
+
startedOn: string | null;
|
|
188
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
189
|
+
};
|
|
175
190
|
modifiedOn: string;
|
|
176
191
|
projectId: string;
|
|
177
192
|
projectName: string;
|
|
178
193
|
shortId: string;
|
|
179
194
|
source: {
|
|
180
195
|
config: {
|
|
181
|
-
deploymentsEnabled
|
|
182
|
-
owner
|
|
183
|
-
ownerId
|
|
184
|
-
pathExcludes
|
|
185
|
-
pathIncludes
|
|
186
|
-
prCommentsEnabled
|
|
187
|
-
previewBranchExcludes
|
|
188
|
-
previewBranchIncludes
|
|
189
|
-
previewDeploymentSetting
|
|
190
|
-
productionBranch
|
|
191
|
-
productionDeploymentsEnabled
|
|
192
|
-
repoId
|
|
193
|
-
repoName
|
|
196
|
+
deploymentsEnabled: boolean;
|
|
197
|
+
owner: string;
|
|
198
|
+
ownerId: string;
|
|
199
|
+
pathExcludes: string[];
|
|
200
|
+
pathIncludes: string[];
|
|
201
|
+
prCommentsEnabled: boolean;
|
|
202
|
+
previewBranchExcludes: string[];
|
|
203
|
+
previewBranchIncludes: string[];
|
|
204
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
205
|
+
productionBranch: string;
|
|
206
|
+
productionDeploymentsEnabled: boolean;
|
|
207
|
+
repoId: string;
|
|
208
|
+
repoName: string;
|
|
194
209
|
};
|
|
195
210
|
type: "github" | "gitlab";
|
|
196
211
|
};
|
|
197
|
-
stages:
|
|
212
|
+
stages: {
|
|
213
|
+
endedOn: string | null;
|
|
214
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
215
|
+
startedOn: string | null;
|
|
216
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
217
|
+
}[];
|
|
198
218
|
url: string;
|
|
199
219
|
usesFunctions?: boolean | null;
|
|
200
220
|
} | null;
|
|
@@ -222,19 +242,19 @@ export interface GetProjectResponse {
|
|
|
222
242
|
/** Configs for the project source control. */
|
|
223
243
|
source?: {
|
|
224
244
|
config: {
|
|
225
|
-
deploymentsEnabled
|
|
226
|
-
owner
|
|
227
|
-
ownerId
|
|
228
|
-
pathExcludes
|
|
229
|
-
pathIncludes
|
|
230
|
-
prCommentsEnabled
|
|
231
|
-
previewBranchExcludes
|
|
232
|
-
previewBranchIncludes
|
|
233
|
-
previewDeploymentSetting
|
|
234
|
-
productionBranch
|
|
235
|
-
productionDeploymentsEnabled
|
|
236
|
-
repoId
|
|
237
|
-
repoName
|
|
245
|
+
deploymentsEnabled: boolean;
|
|
246
|
+
owner: string;
|
|
247
|
+
ownerId: string;
|
|
248
|
+
pathExcludes: string[];
|
|
249
|
+
pathIncludes: string[];
|
|
250
|
+
prCommentsEnabled: boolean;
|
|
251
|
+
previewBranchExcludes: string[];
|
|
252
|
+
previewBranchIncludes: string[];
|
|
253
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
254
|
+
productionBranch: string;
|
|
255
|
+
productionDeploymentsEnabled: boolean;
|
|
256
|
+
repoId: string;
|
|
257
|
+
repoName: string;
|
|
238
258
|
};
|
|
239
259
|
type: "github" | "gitlab";
|
|
240
260
|
} | null;
|
|
@@ -276,47 +296,58 @@ export interface ListProjectsResponse {
|
|
|
276
296
|
envVars: Record<string, unknown> | null;
|
|
277
297
|
environment: "preview" | "production";
|
|
278
298
|
isSkipped: boolean;
|
|
279
|
-
latestStage:
|
|
299
|
+
latestStage: {
|
|
300
|
+
endedOn: string | null;
|
|
301
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
302
|
+
startedOn: string | null;
|
|
303
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
304
|
+
};
|
|
280
305
|
modifiedOn: string;
|
|
281
306
|
projectId: string;
|
|
282
307
|
projectName: string;
|
|
283
308
|
shortId: string;
|
|
284
309
|
source: {
|
|
285
310
|
config: {
|
|
286
|
-
deploymentsEnabled
|
|
287
|
-
owner
|
|
288
|
-
ownerId
|
|
289
|
-
pathExcludes
|
|
290
|
-
pathIncludes
|
|
291
|
-
prCommentsEnabled
|
|
292
|
-
previewBranchExcludes
|
|
293
|
-
previewBranchIncludes
|
|
294
|
-
previewDeploymentSetting
|
|
295
|
-
productionBranch
|
|
296
|
-
productionDeploymentsEnabled
|
|
297
|
-
repoId
|
|
298
|
-
repoName
|
|
311
|
+
deploymentsEnabled: boolean;
|
|
312
|
+
owner: string;
|
|
313
|
+
ownerId: string;
|
|
314
|
+
pathExcludes: string[];
|
|
315
|
+
pathIncludes: string[];
|
|
316
|
+
prCommentsEnabled: boolean;
|
|
317
|
+
previewBranchExcludes: string[];
|
|
318
|
+
previewBranchIncludes: string[];
|
|
319
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
320
|
+
productionBranch: string;
|
|
321
|
+
productionDeploymentsEnabled: boolean;
|
|
322
|
+
repoId: string;
|
|
323
|
+
repoName: string;
|
|
299
324
|
};
|
|
300
325
|
type: "github" | "gitlab";
|
|
301
326
|
};
|
|
302
|
-
stages:
|
|
327
|
+
stages: {
|
|
328
|
+
endedOn: string | null;
|
|
329
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
330
|
+
startedOn: string | null;
|
|
331
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
332
|
+
}[];
|
|
303
333
|
url: string;
|
|
304
334
|
usesFunctions?: boolean | null;
|
|
305
335
|
} | null;
|
|
306
336
|
createdOn: string;
|
|
307
337
|
deploymentConfigs: {
|
|
308
338
|
preview: {
|
|
339
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
340
|
+
buildImageMajorVersion: number;
|
|
341
|
+
compatibilityDate: string;
|
|
342
|
+
compatibilityFlags: string[];
|
|
343
|
+
envVars: Record<string, unknown> | null;
|
|
344
|
+
failOpen: boolean;
|
|
345
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
309
346
|
aiBindings?: Record<string, unknown> | null;
|
|
310
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
311
347
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
312
348
|
browsers?: Record<string, unknown> | null;
|
|
313
|
-
buildImageMajorVersion?: number | null;
|
|
314
|
-
compatibilityDate?: string | null;
|
|
315
|
-
compatibilityFlags?: string[] | null;
|
|
316
349
|
d1Databases?: Record<string, unknown> | null;
|
|
317
350
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
318
|
-
envVars?: Record<string, unknown> | null;
|
|
319
|
-
failOpen?: boolean | null;
|
|
320
351
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
321
352
|
kvNamespaces?: Record<string, unknown> | null;
|
|
322
353
|
limits?: {
|
|
@@ -329,22 +360,22 @@ export interface ListProjectsResponse {
|
|
|
329
360
|
queueProducers?: Record<string, unknown> | null;
|
|
330
361
|
r2Buckets?: Record<string, unknown> | null;
|
|
331
362
|
services?: Record<string, unknown> | null;
|
|
332
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
333
363
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
334
364
|
wranglerConfigHash?: string | null;
|
|
335
365
|
};
|
|
336
366
|
production: {
|
|
367
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
368
|
+
buildImageMajorVersion: number;
|
|
369
|
+
compatibilityDate: string;
|
|
370
|
+
compatibilityFlags: string[];
|
|
371
|
+
envVars: Record<string, unknown> | null;
|
|
372
|
+
failOpen: boolean;
|
|
373
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
337
374
|
aiBindings?: Record<string, unknown> | null;
|
|
338
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
339
375
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
340
376
|
browsers?: Record<string, unknown> | null;
|
|
341
|
-
buildImageMajorVersion?: number | null;
|
|
342
|
-
compatibilityDate?: string | null;
|
|
343
|
-
compatibilityFlags?: string[] | null;
|
|
344
377
|
d1Databases?: Record<string, unknown> | null;
|
|
345
378
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
346
|
-
envVars?: Record<string, unknown> | null;
|
|
347
|
-
failOpen?: boolean | null;
|
|
348
379
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
349
380
|
kvNamespaces?: Record<string, unknown> | null;
|
|
350
381
|
limits?: {
|
|
@@ -357,7 +388,6 @@ export interface ListProjectsResponse {
|
|
|
357
388
|
queueProducers?: Record<string, unknown> | null;
|
|
358
389
|
r2Buckets?: Record<string, unknown> | null;
|
|
359
390
|
services?: Record<string, unknown> | null;
|
|
360
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
361
391
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
362
392
|
wranglerConfigHash?: string | null;
|
|
363
393
|
};
|
|
@@ -388,30 +418,40 @@ export interface ListProjectsResponse {
|
|
|
388
418
|
envVars: Record<string, unknown> | null;
|
|
389
419
|
environment: "preview" | "production";
|
|
390
420
|
isSkipped: boolean;
|
|
391
|
-
latestStage:
|
|
421
|
+
latestStage: {
|
|
422
|
+
endedOn: string | null;
|
|
423
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
424
|
+
startedOn: string | null;
|
|
425
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
426
|
+
};
|
|
392
427
|
modifiedOn: string;
|
|
393
428
|
projectId: string;
|
|
394
429
|
projectName: string;
|
|
395
430
|
shortId: string;
|
|
396
431
|
source: {
|
|
397
432
|
config: {
|
|
398
|
-
deploymentsEnabled
|
|
399
|
-
owner
|
|
400
|
-
ownerId
|
|
401
|
-
pathExcludes
|
|
402
|
-
pathIncludes
|
|
403
|
-
prCommentsEnabled
|
|
404
|
-
previewBranchExcludes
|
|
405
|
-
previewBranchIncludes
|
|
406
|
-
previewDeploymentSetting
|
|
407
|
-
productionBranch
|
|
408
|
-
productionDeploymentsEnabled
|
|
409
|
-
repoId
|
|
410
|
-
repoName
|
|
433
|
+
deploymentsEnabled: boolean;
|
|
434
|
+
owner: string;
|
|
435
|
+
ownerId: string;
|
|
436
|
+
pathExcludes: string[];
|
|
437
|
+
pathIncludes: string[];
|
|
438
|
+
prCommentsEnabled: boolean;
|
|
439
|
+
previewBranchExcludes: string[];
|
|
440
|
+
previewBranchIncludes: string[];
|
|
441
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
442
|
+
productionBranch: string;
|
|
443
|
+
productionDeploymentsEnabled: boolean;
|
|
444
|
+
repoId: string;
|
|
445
|
+
repoName: string;
|
|
411
446
|
};
|
|
412
447
|
type: "github" | "gitlab";
|
|
413
448
|
};
|
|
414
|
-
stages:
|
|
449
|
+
stages: {
|
|
450
|
+
endedOn: string | null;
|
|
451
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
452
|
+
startedOn: string | null;
|
|
453
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
454
|
+
}[];
|
|
415
455
|
url: string;
|
|
416
456
|
usesFunctions?: boolean | null;
|
|
417
457
|
} | null;
|
|
@@ -431,19 +471,19 @@ export interface ListProjectsResponse {
|
|
|
431
471
|
domains?: string[] | null;
|
|
432
472
|
source?: {
|
|
433
473
|
config: {
|
|
434
|
-
deploymentsEnabled
|
|
435
|
-
owner
|
|
436
|
-
ownerId
|
|
437
|
-
pathExcludes
|
|
438
|
-
pathIncludes
|
|
439
|
-
prCommentsEnabled
|
|
440
|
-
previewBranchExcludes
|
|
441
|
-
previewBranchIncludes
|
|
442
|
-
previewDeploymentSetting
|
|
443
|
-
productionBranch
|
|
444
|
-
productionDeploymentsEnabled
|
|
445
|
-
repoId
|
|
446
|
-
repoName
|
|
474
|
+
deploymentsEnabled: boolean;
|
|
475
|
+
owner: string;
|
|
476
|
+
ownerId: string;
|
|
477
|
+
pathExcludes: string[];
|
|
478
|
+
pathIncludes: string[];
|
|
479
|
+
prCommentsEnabled: boolean;
|
|
480
|
+
previewBranchExcludes: string[];
|
|
481
|
+
previewBranchIncludes: string[];
|
|
482
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
483
|
+
productionBranch: string;
|
|
484
|
+
productionDeploymentsEnabled: boolean;
|
|
485
|
+
repoId: string;
|
|
486
|
+
repoName: string;
|
|
447
487
|
};
|
|
448
488
|
type: "github" | "gitlab";
|
|
449
489
|
} | null;
|
|
@@ -486,47 +526,58 @@ export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequ
|
|
|
486
526
|
envVars: Record<string, unknown> | null;
|
|
487
527
|
environment: "preview" | "production";
|
|
488
528
|
isSkipped: boolean;
|
|
489
|
-
latestStage:
|
|
529
|
+
latestStage: {
|
|
530
|
+
endedOn: string | null;
|
|
531
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
532
|
+
startedOn: string | null;
|
|
533
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
534
|
+
};
|
|
490
535
|
modifiedOn: string;
|
|
491
536
|
projectId: string;
|
|
492
537
|
projectName: string;
|
|
493
538
|
shortId: string;
|
|
494
539
|
source: {
|
|
495
540
|
config: {
|
|
496
|
-
deploymentsEnabled
|
|
497
|
-
owner
|
|
498
|
-
ownerId
|
|
499
|
-
pathExcludes
|
|
500
|
-
pathIncludes
|
|
501
|
-
prCommentsEnabled
|
|
502
|
-
previewBranchExcludes
|
|
503
|
-
previewBranchIncludes
|
|
504
|
-
previewDeploymentSetting
|
|
505
|
-
productionBranch
|
|
506
|
-
productionDeploymentsEnabled
|
|
507
|
-
repoId
|
|
508
|
-
repoName
|
|
541
|
+
deploymentsEnabled: boolean;
|
|
542
|
+
owner: string;
|
|
543
|
+
ownerId: string;
|
|
544
|
+
pathExcludes: string[];
|
|
545
|
+
pathIncludes: string[];
|
|
546
|
+
prCommentsEnabled: boolean;
|
|
547
|
+
previewBranchExcludes: string[];
|
|
548
|
+
previewBranchIncludes: string[];
|
|
549
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
550
|
+
productionBranch: string;
|
|
551
|
+
productionDeploymentsEnabled: boolean;
|
|
552
|
+
repoId: string;
|
|
553
|
+
repoName: string;
|
|
509
554
|
};
|
|
510
555
|
type: "github" | "gitlab";
|
|
511
556
|
};
|
|
512
|
-
stages:
|
|
557
|
+
stages: {
|
|
558
|
+
endedOn: string | null;
|
|
559
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
560
|
+
startedOn: string | null;
|
|
561
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
562
|
+
}[];
|
|
513
563
|
url: string;
|
|
514
564
|
usesFunctions?: boolean | null;
|
|
515
565
|
} | null;
|
|
516
566
|
createdOn: string;
|
|
517
567
|
deploymentConfigs: {
|
|
518
568
|
preview: {
|
|
569
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
570
|
+
buildImageMajorVersion: number;
|
|
571
|
+
compatibilityDate: string;
|
|
572
|
+
compatibilityFlags: string[];
|
|
573
|
+
envVars: Record<string, unknown> | null;
|
|
574
|
+
failOpen: boolean;
|
|
575
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
519
576
|
aiBindings?: Record<string, unknown> | null;
|
|
520
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
521
577
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
522
578
|
browsers?: Record<string, unknown> | null;
|
|
523
|
-
buildImageMajorVersion?: number | null;
|
|
524
|
-
compatibilityDate?: string | null;
|
|
525
|
-
compatibilityFlags?: string[] | null;
|
|
526
579
|
d1Databases?: Record<string, unknown> | null;
|
|
527
580
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
528
|
-
envVars?: Record<string, unknown> | null;
|
|
529
|
-
failOpen?: boolean | null;
|
|
530
581
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
531
582
|
kvNamespaces?: Record<string, unknown> | null;
|
|
532
583
|
limits?: {
|
|
@@ -539,22 +590,22 @@ export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequ
|
|
|
539
590
|
queueProducers?: Record<string, unknown> | null;
|
|
540
591
|
r2Buckets?: Record<string, unknown> | null;
|
|
541
592
|
services?: Record<string, unknown> | null;
|
|
542
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
543
593
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
544
594
|
wranglerConfigHash?: string | null;
|
|
545
595
|
};
|
|
546
596
|
production: {
|
|
597
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
598
|
+
buildImageMajorVersion: number;
|
|
599
|
+
compatibilityDate: string;
|
|
600
|
+
compatibilityFlags: string[];
|
|
601
|
+
envVars: Record<string, unknown> | null;
|
|
602
|
+
failOpen: boolean;
|
|
603
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
547
604
|
aiBindings?: Record<string, unknown> | null;
|
|
548
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
549
605
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
550
606
|
browsers?: Record<string, unknown> | null;
|
|
551
|
-
buildImageMajorVersion?: number | null;
|
|
552
|
-
compatibilityDate?: string | null;
|
|
553
|
-
compatibilityFlags?: string[] | null;
|
|
554
607
|
d1Databases?: Record<string, unknown> | null;
|
|
555
608
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
556
|
-
envVars?: Record<string, unknown> | null;
|
|
557
|
-
failOpen?: boolean | null;
|
|
558
609
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
559
610
|
kvNamespaces?: Record<string, unknown> | null;
|
|
560
611
|
limits?: {
|
|
@@ -567,7 +618,6 @@ export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequ
|
|
|
567
618
|
queueProducers?: Record<string, unknown> | null;
|
|
568
619
|
r2Buckets?: Record<string, unknown> | null;
|
|
569
620
|
services?: Record<string, unknown> | null;
|
|
570
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
571
621
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
572
622
|
wranglerConfigHash?: string | null;
|
|
573
623
|
};
|
|
@@ -598,30 +648,40 @@ export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequ
|
|
|
598
648
|
envVars: Record<string, unknown> | null;
|
|
599
649
|
environment: "preview" | "production";
|
|
600
650
|
isSkipped: boolean;
|
|
601
|
-
latestStage:
|
|
651
|
+
latestStage: {
|
|
652
|
+
endedOn: string | null;
|
|
653
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
654
|
+
startedOn: string | null;
|
|
655
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
656
|
+
};
|
|
602
657
|
modifiedOn: string;
|
|
603
658
|
projectId: string;
|
|
604
659
|
projectName: string;
|
|
605
660
|
shortId: string;
|
|
606
661
|
source: {
|
|
607
662
|
config: {
|
|
608
|
-
deploymentsEnabled
|
|
609
|
-
owner
|
|
610
|
-
ownerId
|
|
611
|
-
pathExcludes
|
|
612
|
-
pathIncludes
|
|
613
|
-
prCommentsEnabled
|
|
614
|
-
previewBranchExcludes
|
|
615
|
-
previewBranchIncludes
|
|
616
|
-
previewDeploymentSetting
|
|
617
|
-
productionBranch
|
|
618
|
-
productionDeploymentsEnabled
|
|
619
|
-
repoId
|
|
620
|
-
repoName
|
|
663
|
+
deploymentsEnabled: boolean;
|
|
664
|
+
owner: string;
|
|
665
|
+
ownerId: string;
|
|
666
|
+
pathExcludes: string[];
|
|
667
|
+
pathIncludes: string[];
|
|
668
|
+
prCommentsEnabled: boolean;
|
|
669
|
+
previewBranchExcludes: string[];
|
|
670
|
+
previewBranchIncludes: string[];
|
|
671
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
672
|
+
productionBranch: string;
|
|
673
|
+
productionDeploymentsEnabled: boolean;
|
|
674
|
+
repoId: string;
|
|
675
|
+
repoName: string;
|
|
621
676
|
};
|
|
622
677
|
type: "github" | "gitlab";
|
|
623
678
|
};
|
|
624
|
-
stages:
|
|
679
|
+
stages: {
|
|
680
|
+
endedOn: string | null;
|
|
681
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
682
|
+
startedOn: string | null;
|
|
683
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
684
|
+
}[];
|
|
625
685
|
url: string;
|
|
626
686
|
usesFunctions?: boolean | null;
|
|
627
687
|
} | null;
|
|
@@ -641,19 +701,19 @@ export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequ
|
|
|
641
701
|
domains?: string[] | null;
|
|
642
702
|
source?: {
|
|
643
703
|
config: {
|
|
644
|
-
deploymentsEnabled
|
|
645
|
-
owner
|
|
646
|
-
ownerId
|
|
647
|
-
pathExcludes
|
|
648
|
-
pathIncludes
|
|
649
|
-
prCommentsEnabled
|
|
650
|
-
previewBranchExcludes
|
|
651
|
-
previewBranchIncludes
|
|
652
|
-
previewDeploymentSetting
|
|
653
|
-
productionBranch
|
|
654
|
-
productionDeploymentsEnabled
|
|
655
|
-
repoId
|
|
656
|
-
repoName
|
|
704
|
+
deploymentsEnabled: boolean;
|
|
705
|
+
owner: string;
|
|
706
|
+
ownerId: string;
|
|
707
|
+
pathExcludes: string[];
|
|
708
|
+
pathIncludes: string[];
|
|
709
|
+
prCommentsEnabled: boolean;
|
|
710
|
+
previewBranchExcludes: string[];
|
|
711
|
+
previewBranchIncludes: string[];
|
|
712
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
713
|
+
productionBranch: string;
|
|
714
|
+
productionDeploymentsEnabled: boolean;
|
|
715
|
+
repoId: string;
|
|
716
|
+
repoName: string;
|
|
657
717
|
};
|
|
658
718
|
type: "github" | "gitlab";
|
|
659
719
|
} | null;
|
|
@@ -784,30 +844,40 @@ export interface CreateProjectResponse {
|
|
|
784
844
|
envVars: Record<string, unknown> | null;
|
|
785
845
|
environment: "preview" | "production";
|
|
786
846
|
isSkipped: boolean;
|
|
787
|
-
latestStage:
|
|
847
|
+
latestStage: {
|
|
848
|
+
endedOn: string | null;
|
|
849
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
850
|
+
startedOn: string | null;
|
|
851
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
852
|
+
};
|
|
788
853
|
modifiedOn: string;
|
|
789
854
|
projectId: string;
|
|
790
855
|
projectName: string;
|
|
791
856
|
shortId: string;
|
|
792
857
|
source: {
|
|
793
858
|
config: {
|
|
794
|
-
deploymentsEnabled
|
|
795
|
-
owner
|
|
796
|
-
ownerId
|
|
797
|
-
pathExcludes
|
|
798
|
-
pathIncludes
|
|
799
|
-
prCommentsEnabled
|
|
800
|
-
previewBranchExcludes
|
|
801
|
-
previewBranchIncludes
|
|
802
|
-
previewDeploymentSetting
|
|
803
|
-
productionBranch
|
|
804
|
-
productionDeploymentsEnabled
|
|
805
|
-
repoId
|
|
806
|
-
repoName
|
|
859
|
+
deploymentsEnabled: boolean;
|
|
860
|
+
owner: string;
|
|
861
|
+
ownerId: string;
|
|
862
|
+
pathExcludes: string[];
|
|
863
|
+
pathIncludes: string[];
|
|
864
|
+
prCommentsEnabled: boolean;
|
|
865
|
+
previewBranchExcludes: string[];
|
|
866
|
+
previewBranchIncludes: string[];
|
|
867
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
868
|
+
productionBranch: string;
|
|
869
|
+
productionDeploymentsEnabled: boolean;
|
|
870
|
+
repoId: string;
|
|
871
|
+
repoName: string;
|
|
807
872
|
};
|
|
808
873
|
type: "github" | "gitlab";
|
|
809
874
|
};
|
|
810
|
-
stages:
|
|
875
|
+
stages: {
|
|
876
|
+
endedOn: string | null;
|
|
877
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
878
|
+
startedOn: string | null;
|
|
879
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
880
|
+
}[];
|
|
811
881
|
url: string;
|
|
812
882
|
usesFunctions?: boolean | null;
|
|
813
883
|
} | null;
|
|
@@ -816,17 +886,18 @@ export interface CreateProjectResponse {
|
|
|
816
886
|
/** Configs for deployments in a project. */
|
|
817
887
|
deploymentConfigs: {
|
|
818
888
|
preview: {
|
|
889
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
890
|
+
buildImageMajorVersion: number;
|
|
891
|
+
compatibilityDate: string;
|
|
892
|
+
compatibilityFlags: string[];
|
|
893
|
+
envVars: Record<string, unknown> | null;
|
|
894
|
+
failOpen: boolean;
|
|
895
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
819
896
|
aiBindings?: Record<string, unknown> | null;
|
|
820
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
821
897
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
822
898
|
browsers?: Record<string, unknown> | null;
|
|
823
|
-
buildImageMajorVersion?: number | null;
|
|
824
|
-
compatibilityDate?: string | null;
|
|
825
|
-
compatibilityFlags?: string[] | null;
|
|
826
899
|
d1Databases?: Record<string, unknown> | null;
|
|
827
900
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
828
|
-
envVars?: Record<string, unknown> | null;
|
|
829
|
-
failOpen?: boolean | null;
|
|
830
901
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
831
902
|
kvNamespaces?: Record<string, unknown> | null;
|
|
832
903
|
limits?: {
|
|
@@ -839,22 +910,22 @@ export interface CreateProjectResponse {
|
|
|
839
910
|
queueProducers?: Record<string, unknown> | null;
|
|
840
911
|
r2Buckets?: Record<string, unknown> | null;
|
|
841
912
|
services?: Record<string, unknown> | null;
|
|
842
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
843
913
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
844
914
|
wranglerConfigHash?: string | null;
|
|
845
915
|
};
|
|
846
916
|
production: {
|
|
917
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
918
|
+
buildImageMajorVersion: number;
|
|
919
|
+
compatibilityDate: string;
|
|
920
|
+
compatibilityFlags: string[];
|
|
921
|
+
envVars: Record<string, unknown> | null;
|
|
922
|
+
failOpen: boolean;
|
|
923
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
847
924
|
aiBindings?: Record<string, unknown> | null;
|
|
848
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
849
925
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
850
926
|
browsers?: Record<string, unknown> | null;
|
|
851
|
-
buildImageMajorVersion?: number | null;
|
|
852
|
-
compatibilityDate?: string | null;
|
|
853
|
-
compatibilityFlags?: string[] | null;
|
|
854
927
|
d1Databases?: Record<string, unknown> | null;
|
|
855
928
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
856
|
-
envVars?: Record<string, unknown> | null;
|
|
857
|
-
failOpen?: boolean | null;
|
|
858
929
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
859
930
|
kvNamespaces?: Record<string, unknown> | null;
|
|
860
931
|
limits?: {
|
|
@@ -867,7 +938,6 @@ export interface CreateProjectResponse {
|
|
|
867
938
|
queueProducers?: Record<string, unknown> | null;
|
|
868
939
|
r2Buckets?: Record<string, unknown> | null;
|
|
869
940
|
services?: Record<string, unknown> | null;
|
|
870
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
871
941
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
872
942
|
wranglerConfigHash?: string | null;
|
|
873
943
|
};
|
|
@@ -901,30 +971,40 @@ export interface CreateProjectResponse {
|
|
|
901
971
|
envVars: Record<string, unknown> | null;
|
|
902
972
|
environment: "preview" | "production";
|
|
903
973
|
isSkipped: boolean;
|
|
904
|
-
latestStage:
|
|
974
|
+
latestStage: {
|
|
975
|
+
endedOn: string | null;
|
|
976
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
977
|
+
startedOn: string | null;
|
|
978
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
979
|
+
};
|
|
905
980
|
modifiedOn: string;
|
|
906
981
|
projectId: string;
|
|
907
982
|
projectName: string;
|
|
908
983
|
shortId: string;
|
|
909
984
|
source: {
|
|
910
985
|
config: {
|
|
911
|
-
deploymentsEnabled
|
|
912
|
-
owner
|
|
913
|
-
ownerId
|
|
914
|
-
pathExcludes
|
|
915
|
-
pathIncludes
|
|
916
|
-
prCommentsEnabled
|
|
917
|
-
previewBranchExcludes
|
|
918
|
-
previewBranchIncludes
|
|
919
|
-
previewDeploymentSetting
|
|
920
|
-
productionBranch
|
|
921
|
-
productionDeploymentsEnabled
|
|
922
|
-
repoId
|
|
923
|
-
repoName
|
|
986
|
+
deploymentsEnabled: boolean;
|
|
987
|
+
owner: string;
|
|
988
|
+
ownerId: string;
|
|
989
|
+
pathExcludes: string[];
|
|
990
|
+
pathIncludes: string[];
|
|
991
|
+
prCommentsEnabled: boolean;
|
|
992
|
+
previewBranchExcludes: string[];
|
|
993
|
+
previewBranchIncludes: string[];
|
|
994
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
995
|
+
productionBranch: string;
|
|
996
|
+
productionDeploymentsEnabled: boolean;
|
|
997
|
+
repoId: string;
|
|
998
|
+
repoName: string;
|
|
924
999
|
};
|
|
925
1000
|
type: "github" | "gitlab";
|
|
926
1001
|
};
|
|
927
|
-
stages:
|
|
1002
|
+
stages: {
|
|
1003
|
+
endedOn: string | null;
|
|
1004
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1005
|
+
startedOn: string | null;
|
|
1006
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1007
|
+
}[];
|
|
928
1008
|
url: string;
|
|
929
1009
|
usesFunctions?: boolean | null;
|
|
930
1010
|
} | null;
|
|
@@ -952,19 +1032,19 @@ export interface CreateProjectResponse {
|
|
|
952
1032
|
/** Configs for the project source control. */
|
|
953
1033
|
source?: {
|
|
954
1034
|
config: {
|
|
955
|
-
deploymentsEnabled
|
|
956
|
-
owner
|
|
957
|
-
ownerId
|
|
958
|
-
pathExcludes
|
|
959
|
-
pathIncludes
|
|
960
|
-
prCommentsEnabled
|
|
961
|
-
previewBranchExcludes
|
|
962
|
-
previewBranchIncludes
|
|
963
|
-
previewDeploymentSetting
|
|
964
|
-
productionBranch
|
|
965
|
-
productionDeploymentsEnabled
|
|
966
|
-
repoId
|
|
967
|
-
repoName
|
|
1035
|
+
deploymentsEnabled: boolean;
|
|
1036
|
+
owner: string;
|
|
1037
|
+
ownerId: string;
|
|
1038
|
+
pathExcludes: string[];
|
|
1039
|
+
pathIncludes: string[];
|
|
1040
|
+
prCommentsEnabled: boolean;
|
|
1041
|
+
previewBranchExcludes: string[];
|
|
1042
|
+
previewBranchIncludes: string[];
|
|
1043
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1044
|
+
productionBranch: string;
|
|
1045
|
+
productionDeploymentsEnabled: boolean;
|
|
1046
|
+
repoId: string;
|
|
1047
|
+
repoName: string;
|
|
968
1048
|
};
|
|
969
1049
|
type: "github" | "gitlab";
|
|
970
1050
|
} | null;
|
|
@@ -1099,30 +1179,40 @@ export interface PatchProjectResponse {
|
|
|
1099
1179
|
envVars: Record<string, unknown> | null;
|
|
1100
1180
|
environment: "preview" | "production";
|
|
1101
1181
|
isSkipped: boolean;
|
|
1102
|
-
latestStage:
|
|
1182
|
+
latestStage: {
|
|
1183
|
+
endedOn: string | null;
|
|
1184
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1185
|
+
startedOn: string | null;
|
|
1186
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1187
|
+
};
|
|
1103
1188
|
modifiedOn: string;
|
|
1104
1189
|
projectId: string;
|
|
1105
1190
|
projectName: string;
|
|
1106
1191
|
shortId: string;
|
|
1107
1192
|
source: {
|
|
1108
1193
|
config: {
|
|
1109
|
-
deploymentsEnabled
|
|
1110
|
-
owner
|
|
1111
|
-
ownerId
|
|
1112
|
-
pathExcludes
|
|
1113
|
-
pathIncludes
|
|
1114
|
-
prCommentsEnabled
|
|
1115
|
-
previewBranchExcludes
|
|
1116
|
-
previewBranchIncludes
|
|
1117
|
-
previewDeploymentSetting
|
|
1118
|
-
productionBranch
|
|
1119
|
-
productionDeploymentsEnabled
|
|
1120
|
-
repoId
|
|
1121
|
-
repoName
|
|
1194
|
+
deploymentsEnabled: boolean;
|
|
1195
|
+
owner: string;
|
|
1196
|
+
ownerId: string;
|
|
1197
|
+
pathExcludes: string[];
|
|
1198
|
+
pathIncludes: string[];
|
|
1199
|
+
prCommentsEnabled: boolean;
|
|
1200
|
+
previewBranchExcludes: string[];
|
|
1201
|
+
previewBranchIncludes: string[];
|
|
1202
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1203
|
+
productionBranch: string;
|
|
1204
|
+
productionDeploymentsEnabled: boolean;
|
|
1205
|
+
repoId: string;
|
|
1206
|
+
repoName: string;
|
|
1122
1207
|
};
|
|
1123
1208
|
type: "github" | "gitlab";
|
|
1124
1209
|
};
|
|
1125
|
-
stages:
|
|
1210
|
+
stages: {
|
|
1211
|
+
endedOn: string | null;
|
|
1212
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1213
|
+
startedOn: string | null;
|
|
1214
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1215
|
+
}[];
|
|
1126
1216
|
url: string;
|
|
1127
1217
|
usesFunctions?: boolean | null;
|
|
1128
1218
|
} | null;
|
|
@@ -1131,17 +1221,18 @@ export interface PatchProjectResponse {
|
|
|
1131
1221
|
/** Configs for deployments in a project. */
|
|
1132
1222
|
deploymentConfigs: {
|
|
1133
1223
|
preview: {
|
|
1224
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
1225
|
+
buildImageMajorVersion: number;
|
|
1226
|
+
compatibilityDate: string;
|
|
1227
|
+
compatibilityFlags: string[];
|
|
1228
|
+
envVars: Record<string, unknown> | null;
|
|
1229
|
+
failOpen: boolean;
|
|
1230
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
1134
1231
|
aiBindings?: Record<string, unknown> | null;
|
|
1135
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1136
1232
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1137
1233
|
browsers?: Record<string, unknown> | null;
|
|
1138
|
-
buildImageMajorVersion?: number | null;
|
|
1139
|
-
compatibilityDate?: string | null;
|
|
1140
|
-
compatibilityFlags?: string[] | null;
|
|
1141
1234
|
d1Databases?: Record<string, unknown> | null;
|
|
1142
1235
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1143
|
-
envVars?: Record<string, unknown> | null;
|
|
1144
|
-
failOpen?: boolean | null;
|
|
1145
1236
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1146
1237
|
kvNamespaces?: Record<string, unknown> | null;
|
|
1147
1238
|
limits?: {
|
|
@@ -1154,22 +1245,22 @@ export interface PatchProjectResponse {
|
|
|
1154
1245
|
queueProducers?: Record<string, unknown> | null;
|
|
1155
1246
|
r2Buckets?: Record<string, unknown> | null;
|
|
1156
1247
|
services?: Record<string, unknown> | null;
|
|
1157
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1158
1248
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
1159
1249
|
wranglerConfigHash?: string | null;
|
|
1160
1250
|
};
|
|
1161
1251
|
production: {
|
|
1252
|
+
alwaysUseLatestCompatibilityDate: boolean;
|
|
1253
|
+
buildImageMajorVersion: number;
|
|
1254
|
+
compatibilityDate: string;
|
|
1255
|
+
compatibilityFlags: string[];
|
|
1256
|
+
envVars: Record<string, unknown> | null;
|
|
1257
|
+
failOpen: boolean;
|
|
1258
|
+
usageModel: "standard" | "bundled" | "unbound";
|
|
1162
1259
|
aiBindings?: Record<string, unknown> | null;
|
|
1163
|
-
alwaysUseLatestCompatibilityDate?: boolean | null;
|
|
1164
1260
|
analyticsEngineDatasets?: Record<string, unknown> | null;
|
|
1165
1261
|
browsers?: Record<string, unknown> | null;
|
|
1166
|
-
buildImageMajorVersion?: number | null;
|
|
1167
|
-
compatibilityDate?: string | null;
|
|
1168
|
-
compatibilityFlags?: string[] | null;
|
|
1169
1262
|
d1Databases?: Record<string, unknown> | null;
|
|
1170
1263
|
durableObjectNamespaces?: Record<string, unknown> | null;
|
|
1171
|
-
envVars?: Record<string, unknown> | null;
|
|
1172
|
-
failOpen?: boolean | null;
|
|
1173
1264
|
hyperdriveBindings?: Record<string, unknown> | null;
|
|
1174
1265
|
kvNamespaces?: Record<string, unknown> | null;
|
|
1175
1266
|
limits?: {
|
|
@@ -1182,7 +1273,6 @@ export interface PatchProjectResponse {
|
|
|
1182
1273
|
queueProducers?: Record<string, unknown> | null;
|
|
1183
1274
|
r2Buckets?: Record<string, unknown> | null;
|
|
1184
1275
|
services?: Record<string, unknown> | null;
|
|
1185
|
-
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1186
1276
|
vectorizeBindings?: Record<string, unknown> | null;
|
|
1187
1277
|
wranglerConfigHash?: string | null;
|
|
1188
1278
|
};
|
|
@@ -1216,30 +1306,40 @@ export interface PatchProjectResponse {
|
|
|
1216
1306
|
envVars: Record<string, unknown> | null;
|
|
1217
1307
|
environment: "preview" | "production";
|
|
1218
1308
|
isSkipped: boolean;
|
|
1219
|
-
latestStage:
|
|
1309
|
+
latestStage: {
|
|
1310
|
+
endedOn: string | null;
|
|
1311
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1312
|
+
startedOn: string | null;
|
|
1313
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1314
|
+
};
|
|
1220
1315
|
modifiedOn: string;
|
|
1221
1316
|
projectId: string;
|
|
1222
1317
|
projectName: string;
|
|
1223
1318
|
shortId: string;
|
|
1224
1319
|
source: {
|
|
1225
1320
|
config: {
|
|
1226
|
-
deploymentsEnabled
|
|
1227
|
-
owner
|
|
1228
|
-
ownerId
|
|
1229
|
-
pathExcludes
|
|
1230
|
-
pathIncludes
|
|
1231
|
-
prCommentsEnabled
|
|
1232
|
-
previewBranchExcludes
|
|
1233
|
-
previewBranchIncludes
|
|
1234
|
-
previewDeploymentSetting
|
|
1235
|
-
productionBranch
|
|
1236
|
-
productionDeploymentsEnabled
|
|
1237
|
-
repoId
|
|
1238
|
-
repoName
|
|
1321
|
+
deploymentsEnabled: boolean;
|
|
1322
|
+
owner: string;
|
|
1323
|
+
ownerId: string;
|
|
1324
|
+
pathExcludes: string[];
|
|
1325
|
+
pathIncludes: string[];
|
|
1326
|
+
prCommentsEnabled: boolean;
|
|
1327
|
+
previewBranchExcludes: string[];
|
|
1328
|
+
previewBranchIncludes: string[];
|
|
1329
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1330
|
+
productionBranch: string;
|
|
1331
|
+
productionDeploymentsEnabled: boolean;
|
|
1332
|
+
repoId: string;
|
|
1333
|
+
repoName: string;
|
|
1239
1334
|
};
|
|
1240
1335
|
type: "github" | "gitlab";
|
|
1241
1336
|
};
|
|
1242
|
-
stages:
|
|
1337
|
+
stages: {
|
|
1338
|
+
endedOn: string | null;
|
|
1339
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1340
|
+
startedOn: string | null;
|
|
1341
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1342
|
+
}[];
|
|
1243
1343
|
url: string;
|
|
1244
1344
|
usesFunctions?: boolean | null;
|
|
1245
1345
|
} | null;
|
|
@@ -1267,19 +1367,19 @@ export interface PatchProjectResponse {
|
|
|
1267
1367
|
/** Configs for the project source control. */
|
|
1268
1368
|
source?: {
|
|
1269
1369
|
config: {
|
|
1270
|
-
deploymentsEnabled
|
|
1271
|
-
owner
|
|
1272
|
-
ownerId
|
|
1273
|
-
pathExcludes
|
|
1274
|
-
pathIncludes
|
|
1275
|
-
prCommentsEnabled
|
|
1276
|
-
previewBranchExcludes
|
|
1277
|
-
previewBranchIncludes
|
|
1278
|
-
previewDeploymentSetting
|
|
1279
|
-
productionBranch
|
|
1280
|
-
productionDeploymentsEnabled
|
|
1281
|
-
repoId
|
|
1282
|
-
repoName
|
|
1370
|
+
deploymentsEnabled: boolean;
|
|
1371
|
+
owner: string;
|
|
1372
|
+
ownerId: string;
|
|
1373
|
+
pathExcludes: string[];
|
|
1374
|
+
pathIncludes: string[];
|
|
1375
|
+
prCommentsEnabled: boolean;
|
|
1376
|
+
previewBranchExcludes: string[];
|
|
1377
|
+
previewBranchIncludes: string[];
|
|
1378
|
+
previewDeploymentSetting: "all" | "none" | "custom";
|
|
1379
|
+
productionBranch: string;
|
|
1380
|
+
productionDeploymentsEnabled: boolean;
|
|
1381
|
+
repoId: string;
|
|
1382
|
+
repoName: string;
|
|
1283
1383
|
};
|
|
1284
1384
|
type: "github" | "gitlab";
|
|
1285
1385
|
} | null;
|
|
@@ -1339,7 +1439,12 @@ export interface GetProjectDeploymentResponse {
|
|
|
1339
1439
|
/** If the deployment has been skipped. */
|
|
1340
1440
|
isSkipped: boolean;
|
|
1341
1441
|
/** The status of the deployment. */
|
|
1342
|
-
latestStage:
|
|
1442
|
+
latestStage: {
|
|
1443
|
+
endedOn: string | null;
|
|
1444
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1445
|
+
startedOn: string | null;
|
|
1446
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1447
|
+
};
|
|
1343
1448
|
/** When the deployment was last modified. */
|
|
1344
1449
|
modifiedOn: string;
|
|
1345
1450
|
/** Id of the project. */
|
|
@@ -1368,7 +1473,12 @@ export interface GetProjectDeploymentResponse {
|
|
|
1368
1473
|
type: "github" | "gitlab";
|
|
1369
1474
|
};
|
|
1370
1475
|
/** List of past stages. */
|
|
1371
|
-
stages:
|
|
1476
|
+
stages: {
|
|
1477
|
+
endedOn: string | null;
|
|
1478
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1479
|
+
startedOn: string | null;
|
|
1480
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1481
|
+
}[];
|
|
1372
1482
|
/** The live URL to view this deployment. */
|
|
1373
1483
|
url: string;
|
|
1374
1484
|
/** Whether the deployment uses functions. */
|
|
@@ -1410,7 +1520,12 @@ export interface ListProjectDeploymentsResponse {
|
|
|
1410
1520
|
envVars: Record<string, unknown> | null;
|
|
1411
1521
|
environment: "preview" | "production";
|
|
1412
1522
|
isSkipped: boolean;
|
|
1413
|
-
latestStage:
|
|
1523
|
+
latestStage: {
|
|
1524
|
+
endedOn: string | null;
|
|
1525
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1526
|
+
startedOn: string | null;
|
|
1527
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1528
|
+
};
|
|
1414
1529
|
modifiedOn: string;
|
|
1415
1530
|
projectId: string;
|
|
1416
1531
|
projectName: string;
|
|
@@ -1433,7 +1548,12 @@ export interface ListProjectDeploymentsResponse {
|
|
|
1433
1548
|
};
|
|
1434
1549
|
type: "github" | "gitlab";
|
|
1435
1550
|
};
|
|
1436
|
-
stages:
|
|
1551
|
+
stages: {
|
|
1552
|
+
endedOn: string | null;
|
|
1553
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1554
|
+
startedOn: string | null;
|
|
1555
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1556
|
+
}[];
|
|
1437
1557
|
url: string;
|
|
1438
1558
|
usesFunctions?: boolean | null;
|
|
1439
1559
|
}[];
|
|
@@ -1472,7 +1592,12 @@ export declare const listProjectDeployments: API.PaginatedOperationMethod<ListPr
|
|
|
1472
1592
|
envVars: Record<string, unknown> | null;
|
|
1473
1593
|
environment: "preview" | "production";
|
|
1474
1594
|
isSkipped: boolean;
|
|
1475
|
-
latestStage:
|
|
1595
|
+
latestStage: {
|
|
1596
|
+
endedOn: string | null;
|
|
1597
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1598
|
+
startedOn: string | null;
|
|
1599
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1600
|
+
};
|
|
1476
1601
|
modifiedOn: string;
|
|
1477
1602
|
projectId: string;
|
|
1478
1603
|
projectName: string;
|
|
@@ -1495,7 +1620,12 @@ export declare const listProjectDeployments: API.PaginatedOperationMethod<ListPr
|
|
|
1495
1620
|
};
|
|
1496
1621
|
type: "github" | "gitlab";
|
|
1497
1622
|
};
|
|
1498
|
-
stages:
|
|
1623
|
+
stages: {
|
|
1624
|
+
endedOn: string | null;
|
|
1625
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1626
|
+
startedOn: string | null;
|
|
1627
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1628
|
+
}[];
|
|
1499
1629
|
url: string;
|
|
1500
1630
|
usesFunctions?: boolean | null;
|
|
1501
1631
|
}, ListProjectDeploymentsError, Credentials | HttpClient.HttpClient>;
|
|
@@ -1565,7 +1695,12 @@ export interface CreateProjectDeploymentResponse {
|
|
|
1565
1695
|
/** If the deployment has been skipped. */
|
|
1566
1696
|
isSkipped: boolean;
|
|
1567
1697
|
/** The status of the deployment. */
|
|
1568
|
-
latestStage:
|
|
1698
|
+
latestStage: {
|
|
1699
|
+
endedOn: string | null;
|
|
1700
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1701
|
+
startedOn: string | null;
|
|
1702
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1703
|
+
};
|
|
1569
1704
|
/** When the deployment was last modified. */
|
|
1570
1705
|
modifiedOn: string;
|
|
1571
1706
|
/** Id of the project. */
|
|
@@ -1594,7 +1729,12 @@ export interface CreateProjectDeploymentResponse {
|
|
|
1594
1729
|
type: "github" | "gitlab";
|
|
1595
1730
|
};
|
|
1596
1731
|
/** List of past stages. */
|
|
1597
|
-
stages:
|
|
1732
|
+
stages: {
|
|
1733
|
+
endedOn: string | null;
|
|
1734
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1735
|
+
startedOn: string | null;
|
|
1736
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1737
|
+
}[];
|
|
1598
1738
|
/** The live URL to view this deployment. */
|
|
1599
1739
|
url: string;
|
|
1600
1740
|
/** Whether the deployment uses functions. */
|
|
@@ -1654,7 +1794,12 @@ export interface RetryProjectDeploymentResponse {
|
|
|
1654
1794
|
/** If the deployment has been skipped. */
|
|
1655
1795
|
isSkipped: boolean;
|
|
1656
1796
|
/** The status of the deployment. */
|
|
1657
|
-
latestStage:
|
|
1797
|
+
latestStage: {
|
|
1798
|
+
endedOn: string | null;
|
|
1799
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1800
|
+
startedOn: string | null;
|
|
1801
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1802
|
+
};
|
|
1658
1803
|
/** When the deployment was last modified. */
|
|
1659
1804
|
modifiedOn: string;
|
|
1660
1805
|
/** Id of the project. */
|
|
@@ -1683,7 +1828,12 @@ export interface RetryProjectDeploymentResponse {
|
|
|
1683
1828
|
type: "github" | "gitlab";
|
|
1684
1829
|
};
|
|
1685
1830
|
/** List of past stages. */
|
|
1686
|
-
stages:
|
|
1831
|
+
stages: {
|
|
1832
|
+
endedOn: string | null;
|
|
1833
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1834
|
+
startedOn: string | null;
|
|
1835
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1836
|
+
}[];
|
|
1687
1837
|
/** The live URL to view this deployment. */
|
|
1688
1838
|
url: string;
|
|
1689
1839
|
/** Whether the deployment uses functions. */
|
|
@@ -1732,7 +1882,12 @@ export interface RollbackProjectDeploymentResponse {
|
|
|
1732
1882
|
/** If the deployment has been skipped. */
|
|
1733
1883
|
isSkipped: boolean;
|
|
1734
1884
|
/** The status of the deployment. */
|
|
1735
|
-
latestStage:
|
|
1885
|
+
latestStage: {
|
|
1886
|
+
endedOn: string | null;
|
|
1887
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1888
|
+
startedOn: string | null;
|
|
1889
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1890
|
+
};
|
|
1736
1891
|
/** When the deployment was last modified. */
|
|
1737
1892
|
modifiedOn: string;
|
|
1738
1893
|
/** Id of the project. */
|
|
@@ -1761,7 +1916,12 @@ export interface RollbackProjectDeploymentResponse {
|
|
|
1761
1916
|
type: "github" | "gitlab";
|
|
1762
1917
|
};
|
|
1763
1918
|
/** List of past stages. */
|
|
1764
|
-
stages:
|
|
1919
|
+
stages: {
|
|
1920
|
+
endedOn: string | null;
|
|
1921
|
+
name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
|
|
1922
|
+
startedOn: string | null;
|
|
1923
|
+
status: "success" | "idle" | "active" | "failure" | "canceled";
|
|
1924
|
+
}[];
|
|
1765
1925
|
/** The live URL to view this deployment. */
|
|
1766
1926
|
url: string;
|
|
1767
1927
|
/** Whether the deployment uses functions. */
|