@vercel/sdk 1.13.1 → 1.13.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 +45 -45
- package/bin/mcp-server.js.map +7 -7
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/logdrains.test.js +3 -1
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- 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/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +34 -34
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +14 -14
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +32 -32
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +12 -12
- package/esm/models/createdeploymentop.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__/edgeconfig.test.ts +6 -6
- package/src/__tests__/logdrains.test.ts +3 -1
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +11 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +18 -18
- package/src/models/createdeploymentop.ts +14 -14
- package/vercel-spec.json +41 -46
|
@@ -60,11 +60,11 @@ export const CancelDeploymentFramework = {
|
|
|
60
60
|
Xmcp: "xmcp",
|
|
61
61
|
};
|
|
62
62
|
export const CancelDeploymentDeploymentsStatus = {
|
|
63
|
-
Error: "error",
|
|
64
|
-
Timeout: "timeout",
|
|
65
63
|
Skipped: "skipped",
|
|
66
64
|
Pending: "pending",
|
|
67
65
|
Ready: "ready",
|
|
66
|
+
Error: "error",
|
|
67
|
+
Timeout: "timeout",
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* Must be `http` or `https`.
|
|
@@ -82,8 +82,8 @@ export const CancelDeploymentContentDispositionType = {
|
|
|
82
82
|
Attachment: "attachment",
|
|
83
83
|
};
|
|
84
84
|
export const CancelDeploymentDeploymentsReadyState = {
|
|
85
|
-
Error: "ERROR",
|
|
86
85
|
Building: "BUILDING",
|
|
86
|
+
Error: "ERROR",
|
|
87
87
|
Initializing: "INITIALIZING",
|
|
88
88
|
Ready: "READY",
|
|
89
89
|
};
|
|
@@ -232,12 +232,12 @@ export const CancelDeploymentPlan = {
|
|
|
232
232
|
Hobby: "hobby",
|
|
233
233
|
};
|
|
234
234
|
export const RoutesHandle = {
|
|
235
|
-
Filesystem: "filesystem",
|
|
236
235
|
Error: "error",
|
|
236
|
+
Filesystem: "filesystem",
|
|
237
237
|
Hit: "hit",
|
|
238
238
|
Miss: "miss",
|
|
239
|
-
Resource: "resource",
|
|
240
239
|
Rewrite: "rewrite",
|
|
240
|
+
Resource: "resource",
|
|
241
241
|
};
|
|
242
242
|
export const CancelDeploymentHasDeploymentsType = {
|
|
243
243
|
Header: "header",
|
|
@@ -273,22 +273,22 @@ export const CancelDeploymentGitRepoDeploymentsResponseType = {
|
|
|
273
273
|
Bitbucket: "bitbucket",
|
|
274
274
|
};
|
|
275
275
|
export const CancelDeploymentGitRepoDeploymentsResponseOwnerType = {
|
|
276
|
-
User: "user",
|
|
277
276
|
Team: "team",
|
|
277
|
+
User: "user",
|
|
278
278
|
};
|
|
279
279
|
export const CancelDeploymentGitRepoDeploymentsType = {
|
|
280
280
|
Github: "github",
|
|
281
281
|
};
|
|
282
282
|
export const CancelDeploymentGitRepoDeploymentsOwnerType = {
|
|
283
|
-
User: "user",
|
|
284
283
|
Team: "team",
|
|
284
|
+
User: "user",
|
|
285
285
|
};
|
|
286
286
|
export const CancelDeploymentGitRepoType = {
|
|
287
287
|
Gitlab: "gitlab",
|
|
288
288
|
};
|
|
289
289
|
export const CancelDeploymentGitRepoOwnerType = {
|
|
290
|
-
User: "user",
|
|
291
290
|
Team: "team",
|
|
291
|
+
User: "user",
|
|
292
292
|
};
|
|
293
293
|
/**
|
|
294
294
|
* 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.
|
|
@@ -299,12 +299,12 @@ export const MicrofrontendsMfeConfigUploadState = {
|
|
|
299
299
|
NoConfig: "no_config",
|
|
300
300
|
};
|
|
301
301
|
export const CancelDeploymentFunctionType = {
|
|
302
|
-
Standard: "standard",
|
|
303
302
|
Fluid: "fluid",
|
|
303
|
+
Standard: "standard",
|
|
304
304
|
};
|
|
305
305
|
export const CancelDeploymentFunctionMemoryType = {
|
|
306
|
-
StandardLegacy: "standard_legacy",
|
|
307
306
|
Standard: "standard",
|
|
307
|
+
StandardLegacy: "standard_legacy",
|
|
308
308
|
Performance: "performance",
|
|
309
309
|
};
|
|
310
310
|
export const CancelDeploymentState = {
|
|
@@ -816,8 +816,8 @@ export const CancelDeploymentLambdas$inboundSchema = z.object({
|
|
|
816
816
|
id: z.string(),
|
|
817
817
|
createdAt: z.number().optional(),
|
|
818
818
|
readyState: CancelDeploymentDeploymentsReadyState$inboundSchema.optional(),
|
|
819
|
-
readyStateAt: z.number().optional(),
|
|
820
819
|
entrypoint: z.nullable(z.string()).optional(),
|
|
820
|
+
readyStateAt: z.number().optional(),
|
|
821
821
|
output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)),
|
|
822
822
|
});
|
|
823
823
|
/** @internal */
|
|
@@ -825,8 +825,8 @@ export const CancelDeploymentLambdas$outboundSchema = z.object({
|
|
|
825
825
|
id: z.string(),
|
|
826
826
|
createdAt: z.number().optional(),
|
|
827
827
|
readyState: CancelDeploymentDeploymentsReadyState$outboundSchema.optional(),
|
|
828
|
-
readyStateAt: z.number().optional(),
|
|
829
828
|
entrypoint: z.nullable(z.string()).optional(),
|
|
829
|
+
readyStateAt: z.number().optional(),
|
|
830
830
|
output: z.array(z.lazy(() => CancelDeploymentOutput$outboundSchema)),
|
|
831
831
|
});
|
|
832
832
|
/**
|
|
@@ -865,15 +865,15 @@ export var CancelDeploymentStatus$;
|
|
|
865
865
|
export const CancelDeploymentTeam$inboundSchema = z.object({
|
|
866
866
|
id: z.string(),
|
|
867
867
|
name: z.string(),
|
|
868
|
-
slug: z.string(),
|
|
869
868
|
avatar: z.string().optional(),
|
|
869
|
+
slug: z.string(),
|
|
870
870
|
});
|
|
871
871
|
/** @internal */
|
|
872
872
|
export const CancelDeploymentTeam$outboundSchema = z.object({
|
|
873
873
|
id: z.string(),
|
|
874
874
|
name: z.string(),
|
|
875
|
-
slug: z.string(),
|
|
876
875
|
avatar: z.string().optional(),
|
|
876
|
+
slug: z.string(),
|
|
877
877
|
});
|
|
878
878
|
/**
|
|
879
879
|
* @internal
|