@vercel/sdk 1.11.1 → 1.11.2
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/bin/mcp-server.js +1329 -1215
- package/bin/mcp-server.js.map +21 -21
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +12 -3
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +0 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +2 -2
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +6 -6
- package/esm/models/canceldeploymentop.js +2 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +41 -41
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +15 -15
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +273 -246
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +317 -296
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +162 -164
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +154 -156
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +6 -6
- package/esm/models/getdeploymentop.js +2 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomaintransferop.d.ts +99 -25
- package/esm/models/getdomaintransferop.d.ts.map +1 -1
- package/esm/models/getdomaintransferop.js +101 -25
- package/esm/models/getdomaintransferop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +0 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +0 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +12 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +4 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +0 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +0 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +0 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +0 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +0 -5
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +0 -4
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +960 -770
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1102 -974
- package/esm/models/userevent.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/domains.test.ts +12 -3
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/deploymentsUploadFile.ts +0 -5
- package/src/funcs/domainsGetDomainTransfer.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +4 -4
- package/src/models/createdeploymentop.ts +19 -19
- package/src/models/createintegrationstoredirectop.ts +543 -507
- package/src/models/createprojectop.ts +299 -303
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +4 -4
- package/src/models/getdomaintransferop.ts +203 -39
- package/src/models/getprojectsop.ts +0 -4
- package/src/models/patchteamop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +0 -4
- package/src/models/updateprojectop.ts +0 -4
- package/src/models/uploadfileop.ts +0 -9
- package/src/models/userevent.ts +2219 -1917
- package/vercel-spec.json +613 -503
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -107,9 +107,7 @@ test("Access Groups Update Access Group", async () => {
|
|
|
107
107
|
});
|
|
108
108
|
expect(result).toBeDefined();
|
|
109
109
|
expect(result).toEqual({
|
|
110
|
-
entitlements: [
|
|
111
|
-
"v0",
|
|
112
|
-
],
|
|
110
|
+
entitlements: [],
|
|
113
111
|
name: "my-access-group",
|
|
114
112
|
createdAt: "1588720733602",
|
|
115
113
|
teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50",
|
|
@@ -132,12 +132,21 @@ test("Domains Get Domain Config", async () => {
|
|
|
132
132
|
expect(result).toEqual({
|
|
133
133
|
configuredBy: "http",
|
|
134
134
|
acceptedChallenges: [
|
|
135
|
-
"
|
|
135
|
+
"dns-01",
|
|
136
136
|
],
|
|
137
|
-
recommendedIPv4: [
|
|
138
|
-
recommendedCNAME: [
|
|
137
|
+
recommendedIPv4: [
|
|
139
138
|
{
|
|
140
139
|
rank: 4375.87,
|
|
140
|
+
value: [
|
|
141
|
+
"<value 1>",
|
|
142
|
+
"<value 2>",
|
|
143
|
+
"<value 3>",
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
recommendedCNAME: [
|
|
148
|
+
{
|
|
149
|
+
rank: 3834.41,
|
|
141
150
|
value: "<value>",
|
|
142
151
|
},
|
|
143
152
|
],
|
|
@@ -362,8 +362,12 @@ test("Rolling Release Get Rolling Release Billing Status", async () => {
|
|
|
362
362
|
});
|
|
363
363
|
expect(result).toBeDefined();
|
|
364
364
|
expect(result).toEqual({
|
|
365
|
-
availableSlots:
|
|
366
|
-
reason: "
|
|
365
|
+
availableSlots: 7151.9,
|
|
366
|
+
reason: "no_available_slots",
|
|
367
367
|
message: "<value>",
|
|
368
|
+
enabledProjects: [
|
|
369
|
+
"<value 1>",
|
|
370
|
+
"<value 2>",
|
|
371
|
+
],
|
|
368
372
|
});
|
|
369
373
|
});
|
|
@@ -318,7 +318,17 @@ test("Security Get Bypass Ip", async () => {
|
|
|
318
318
|
});
|
|
319
319
|
expect(result).toBeDefined();
|
|
320
320
|
expect(result).toEqual({
|
|
321
|
-
result: [
|
|
321
|
+
result: [
|
|
322
|
+
{
|
|
323
|
+
ownerId: "<id>",
|
|
324
|
+
id: "<id>",
|
|
325
|
+
domain: "ill-fated-halt.com",
|
|
326
|
+
ip: "165.140.153.117",
|
|
327
|
+
createdAt: "1730327928522",
|
|
328
|
+
updatedAt: "1735622982324",
|
|
329
|
+
updatedAtHour: "<value>",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
322
332
|
});
|
|
323
333
|
});
|
|
324
334
|
|
|
@@ -117,11 +117,6 @@ async function $do(
|
|
|
117
117
|
payload["Content-Length"],
|
|
118
118
|
{ explode: false, charEncoding: "none" },
|
|
119
119
|
),
|
|
120
|
-
"x-internal-v0-token": encodeSimple(
|
|
121
|
-
"x-internal-v0-token",
|
|
122
|
-
payload["x-internal-v0-token"],
|
|
123
|
-
{ explode: false, charEncoding: "none" },
|
|
124
|
-
),
|
|
125
120
|
"x-now-digest": encodeSimple("x-now-digest", payload["x-now-digest"], {
|
|
126
121
|
explode: false,
|
|
127
122
|
charEncoding: "none",
|
|
@@ -157,7 +157,7 @@ async function $do(
|
|
|
157
157
|
|
|
158
158
|
const doResult = await client._do(req, {
|
|
159
159
|
context,
|
|
160
|
-
errorCodes: ["400", "401", "403", "4XX", "5XX"],
|
|
160
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
161
161
|
retryConfig: context.retryConfig,
|
|
162
162
|
retryCodes: context.retryCodes,
|
|
163
163
|
});
|
|
@@ -187,7 +187,7 @@ async function $do(
|
|
|
187
187
|
M.jsonErr(400, VercelBadRequestError$inboundSchema),
|
|
188
188
|
M.jsonErr(401, VercelForbiddenError$inboundSchema),
|
|
189
189
|
M.fail([403, "4XX"]),
|
|
190
|
-
M.fail("5XX"),
|
|
190
|
+
M.fail([500, "5XX"]),
|
|
191
191
|
)(response, req, { extraFields: responseFields });
|
|
192
192
|
if (!result.ok) {
|
|
193
193
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -169,7 +169,7 @@ async function $do(
|
|
|
169
169
|
|
|
170
170
|
const doResult = await client._do(req, {
|
|
171
171
|
context,
|
|
172
|
-
errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
|
|
172
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "5XX"],
|
|
173
173
|
retryConfig: context.retryConfig,
|
|
174
174
|
retryCodes: context.retryCodes,
|
|
175
175
|
});
|
|
@@ -200,7 +200,7 @@ async function $do(
|
|
|
200
200
|
M.jsonErr(400, VercelBadRequestError$inboundSchema),
|
|
201
201
|
M.jsonErr(401, VercelForbiddenError$inboundSchema),
|
|
202
202
|
M.jsonErr(404, VercelNotFoundError$inboundSchema),
|
|
203
|
-
M.fail([403, "4XX"]),
|
|
203
|
+
M.fail([403, 422, "4XX"]),
|
|
204
204
|
M.fail("5XX"),
|
|
205
205
|
)(response, req, { extraFields: responseFields });
|
|
206
206
|
if (!result.ok) {
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "1.11.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.11.
|
|
64
|
+
sdkVersion: "1.11.2",
|
|
65
|
+
genVersion: "2.707.0",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.11.2 2.707.0 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -1295,15 +1295,15 @@ export type MicrofrontendsApplications = {
|
|
|
1295
1295
|
};
|
|
1296
1296
|
|
|
1297
1297
|
/**
|
|
1298
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1298
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1299
1299
|
*/
|
|
1300
1300
|
export const MicrofrontendsMfeConfigUploadState = {
|
|
1301
|
-
Error: "error",
|
|
1302
1301
|
Success: "success",
|
|
1302
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1303
1303
|
NoConfig: "no_config",
|
|
1304
1304
|
} as const;
|
|
1305
1305
|
/**
|
|
1306
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1306
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1307
1307
|
*/
|
|
1308
1308
|
export type MicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
1309
1309
|
typeof MicrofrontendsMfeConfigUploadState
|
|
@@ -1316,7 +1316,7 @@ export type CancelDeploymentMicrofrontends2 = {
|
|
|
1316
1316
|
*/
|
|
1317
1317
|
applications?: { [k: string]: MicrofrontendsApplications } | undefined;
|
|
1318
1318
|
/**
|
|
1319
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1319
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1320
1320
|
*/
|
|
1321
1321
|
mfeConfigUploadState?: MicrofrontendsMfeConfigUploadState | undefined;
|
|
1322
1322
|
/**
|
|
@@ -528,11 +528,11 @@ export type CreateDeploymentProjectSettings = {
|
|
|
528
528
|
};
|
|
529
529
|
|
|
530
530
|
export const CreateDeploymentDeploymentsStatus = {
|
|
531
|
+
Error: "error",
|
|
532
|
+
Timeout: "timeout",
|
|
531
533
|
Skipped: "skipped",
|
|
532
534
|
Pending: "pending",
|
|
533
535
|
Ready: "ready",
|
|
534
|
-
Error: "error",
|
|
535
|
-
Timeout: "timeout",
|
|
536
536
|
} as const;
|
|
537
537
|
export type CreateDeploymentDeploymentsStatus = ClosedEnum<
|
|
538
538
|
typeof CreateDeploymentDeploymentsStatus
|
|
@@ -624,8 +624,8 @@ export type Creator = {
|
|
|
624
624
|
};
|
|
625
625
|
|
|
626
626
|
export const CreateDeploymentReadyState = {
|
|
627
|
-
Building: "BUILDING",
|
|
628
627
|
Error: "ERROR",
|
|
628
|
+
Building: "BUILDING",
|
|
629
629
|
Initializing: "INITIALIZING",
|
|
630
630
|
Ready: "READY",
|
|
631
631
|
} as const;
|
|
@@ -645,8 +645,8 @@ export type Lambdas = {
|
|
|
645
645
|
id: string;
|
|
646
646
|
createdAt?: number | undefined;
|
|
647
647
|
readyState?: CreateDeploymentReadyState | undefined;
|
|
648
|
-
entrypoint?: string | null | undefined;
|
|
649
648
|
readyStateAt?: number | undefined;
|
|
649
|
+
entrypoint?: string | null | undefined;
|
|
650
650
|
output: Array<CreateDeploymentOutput>;
|
|
651
651
|
};
|
|
652
652
|
|
|
@@ -1216,14 +1216,14 @@ export const CreateDeploymentPlan = {
|
|
|
1216
1216
|
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
|
|
1217
1217
|
|
|
1218
1218
|
export const FunctionType = {
|
|
1219
|
-
Fluid: "fluid",
|
|
1220
1219
|
Standard: "standard",
|
|
1220
|
+
Fluid: "fluid",
|
|
1221
1221
|
} as const;
|
|
1222
1222
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
1223
1223
|
|
|
1224
1224
|
export const FunctionMemoryType = {
|
|
1225
|
-
Standard: "standard",
|
|
1226
1225
|
StandardLegacy: "standard_legacy",
|
|
1226
|
+
Standard: "standard",
|
|
1227
1227
|
Performance: "performance",
|
|
1228
1228
|
} as const;
|
|
1229
1229
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -1308,12 +1308,12 @@ export type Routes3 = {
|
|
|
1308
1308
|
};
|
|
1309
1309
|
|
|
1310
1310
|
export const Handle = {
|
|
1311
|
-
Error: "error",
|
|
1312
1311
|
Filesystem: "filesystem",
|
|
1312
|
+
Error: "error",
|
|
1313
1313
|
Hit: "hit",
|
|
1314
1314
|
Miss: "miss",
|
|
1315
|
-
Rewrite: "rewrite",
|
|
1316
1315
|
Resource: "resource",
|
|
1316
|
+
Rewrite: "rewrite",
|
|
1317
1317
|
} as const;
|
|
1318
1318
|
export type Handle = ClosedEnum<typeof Handle>;
|
|
1319
1319
|
|
|
@@ -1476,8 +1476,8 @@ export const RoutesType = {
|
|
|
1476
1476
|
export type RoutesType = ClosedEnum<typeof RoutesType>;
|
|
1477
1477
|
|
|
1478
1478
|
export const CreateDeploymentRoutesOp = {
|
|
1479
|
-
Append: "append",
|
|
1480
1479
|
Set: "set",
|
|
1480
|
+
Append: "append",
|
|
1481
1481
|
Delete: "delete",
|
|
1482
1482
|
} as const;
|
|
1483
1483
|
export type CreateDeploymentRoutesOp = ClosedEnum<
|
|
@@ -1596,15 +1596,15 @@ export type CreateDeploymentMicrofrontendsApplications = {
|
|
|
1596
1596
|
};
|
|
1597
1597
|
|
|
1598
1598
|
/**
|
|
1599
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1599
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1600
1600
|
*/
|
|
1601
1601
|
export const MfeConfigUploadState = {
|
|
1602
|
-
Error: "error",
|
|
1603
1602
|
Success: "success",
|
|
1603
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1604
1604
|
NoConfig: "no_config",
|
|
1605
1605
|
} as const;
|
|
1606
1606
|
/**
|
|
1607
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1607
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1608
1608
|
*/
|
|
1609
1609
|
export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
|
|
1610
1610
|
|
|
@@ -1617,7 +1617,7 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1617
1617
|
| { [k: string]: CreateDeploymentMicrofrontendsApplications }
|
|
1618
1618
|
| undefined;
|
|
1619
1619
|
/**
|
|
1620
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1620
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1621
1621
|
*/
|
|
1622
1622
|
mfeConfigUploadState?: MfeConfigUploadState | undefined;
|
|
1623
1623
|
/**
|
|
@@ -1695,8 +1695,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
|
|
|
1695
1695
|
>;
|
|
1696
1696
|
|
|
1697
1697
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
1698
|
-
Team: "team",
|
|
1699
1698
|
User: "user",
|
|
1699
|
+
Team: "team",
|
|
1700
1700
|
} as const;
|
|
1701
1701
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
|
|
1702
1702
|
typeof CreateDeploymentGitRepoOwnerType
|
|
@@ -1723,8 +1723,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
|
|
|
1723
1723
|
>;
|
|
1724
1724
|
|
|
1725
1725
|
export const GitRepoOwnerType = {
|
|
1726
|
-
Team: "team",
|
|
1727
1726
|
User: "user",
|
|
1727
|
+
Team: "team",
|
|
1728
1728
|
} as const;
|
|
1729
1729
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1730
1730
|
|
|
@@ -1747,8 +1747,8 @@ export const GitRepoType = {
|
|
|
1747
1747
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1748
1748
|
|
|
1749
1749
|
export const OwnerType = {
|
|
1750
|
-
Team: "team",
|
|
1751
1750
|
User: "user",
|
|
1751
|
+
Team: "team",
|
|
1752
1752
|
} as const;
|
|
1753
1753
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1754
1754
|
|
|
@@ -3933,8 +3933,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
|
|
|
3933
3933
|
id: z.string(),
|
|
3934
3934
|
createdAt: z.number().optional(),
|
|
3935
3935
|
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
3936
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
3937
3936
|
readyStateAt: z.number().optional(),
|
|
3937
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
3938
3938
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
3939
3939
|
});
|
|
3940
3940
|
|
|
@@ -3943,8 +3943,8 @@ export type Lambdas$Outbound = {
|
|
|
3943
3943
|
id: string;
|
|
3944
3944
|
createdAt?: number | undefined;
|
|
3945
3945
|
readyState?: string | undefined;
|
|
3946
|
-
entrypoint?: string | null | undefined;
|
|
3947
3946
|
readyStateAt?: number | undefined;
|
|
3947
|
+
entrypoint?: string | null | undefined;
|
|
3948
3948
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
3949
3949
|
};
|
|
3950
3950
|
|
|
@@ -3957,8 +3957,8 @@ export const Lambdas$outboundSchema: z.ZodType<
|
|
|
3957
3957
|
id: z.string(),
|
|
3958
3958
|
createdAt: z.number().optional(),
|
|
3959
3959
|
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
3960
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
3961
3960
|
readyStateAt: z.number().optional(),
|
|
3961
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
3962
3962
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
3963
3963
|
});
|
|
3964
3964
|
|