vercel 54.14.1 → 54.14.5
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/dist/chunks/{add-INSQH24S.js → add-5Z2AAQMM.js} +6 -6
- package/dist/chunks/{chunk-YQPAAXUU.js → chunk-25XEQWUS.js} +1 -1
- package/dist/chunks/{chunk-MKB32SJZ.js → chunk-2GOVUIMY.js} +1 -1
- package/dist/chunks/{chunk-TVBXGFEL.js → chunk-2N7NBUQX.js} +1 -1
- package/dist/chunks/{chunk-5QKYBWW2.js → chunk-45S2Y3TD.js} +1 -1
- package/dist/chunks/{chunk-FMN3NXRC.js → chunk-56AJHIQC.js} +1 -1
- package/dist/chunks/{chunk-467YGYFK.js → chunk-6ABEFMPX.js} +1 -1
- package/dist/chunks/{chunk-74VEZPM6.js → chunk-6H2YVMJJ.js} +2 -2
- package/dist/chunks/{chunk-F4WXNECT.js → chunk-6R3YPU76.js} +257 -32
- package/dist/chunks/{chunk-UPI3OHBK.js → chunk-AWD3IGXU.js} +2 -2
- package/dist/chunks/chunk-BRQ6PX3U.js +593 -0
- package/dist/chunks/{chunk-IQQJHYW4.js → chunk-DPS62LHL.js} +2 -2
- package/dist/chunks/{chunk-NMGGBH7K.js → chunk-EBIX223X.js} +2 -11
- package/dist/chunks/{chunk-DAKMPPIS.js → chunk-ETVOM3IR.js} +1 -1
- package/dist/chunks/{chunk-WFRHKZFI.js → chunk-IB56QKCM.js} +1 -1
- package/dist/chunks/{chunk-ZTPOJE63.js → chunk-IJJOI63T.js} +1 -1
- package/dist/chunks/{chunk-P6VIXOWO.js → chunk-IXTKPQYW.js} +5 -5
- package/dist/chunks/{chunk-F6SCQ6XU.js → chunk-JLLN34XF.js} +92 -34
- package/dist/chunks/{chunk-4WQGP4Z4.js → chunk-KSSRTKN4.js} +9 -7
- package/dist/chunks/{chunk-4NDOMD3E.js → chunk-LYCSVJIX.js} +1 -1
- package/dist/chunks/{chunk-J4LCBXF2.js → chunk-MOVGWTDQ.js} +9 -19
- package/dist/chunks/{chunk-6IQZVQV6.js → chunk-MYWLF3BZ.js} +18 -0
- package/dist/chunks/{chunk-JFWE5ORG.js → chunk-P4KQ3FJ4.js} +1 -0
- package/dist/chunks/{chunk-UJ3ZCBUA.js → chunk-PSG6ZBGQ.js} +2 -2
- package/dist/chunks/{chunk-L7U3Z7E4.js → chunk-PXJA4KXE.js} +2 -2
- package/dist/chunks/{chunk-FKNOCLZU.js → chunk-R5MIXAJF.js} +2 -2
- package/dist/chunks/{chunk-NGRSQRSN.js → chunk-SGPBULVT.js} +1 -1
- package/dist/chunks/{chunk-RM4XGGZO.js → chunk-TSENBD7C.js} +2 -2
- package/dist/chunks/{chunk-O4C4A7HM.js → chunk-VKRW77HH.js} +1 -1
- package/dist/chunks/{chunk-UEFCAT3N.js → chunk-X23JL3ZL.js} +2 -2
- package/dist/chunks/{chunk-ZRJQY3VK.js → chunk-YE3C5CUX.js} +2 -2
- package/dist/chunks/{chunk-XLLAD5DR.js → chunk-YIAUEFUY.js} +212 -788
- package/dist/chunks/{chunk-P2AMQX7F.js → chunk-ZR4XADWC.js} +16 -4
- package/dist/chunks/{compile-vercel-config-VPPGDFKL.js → compile-vercel-config-UMUHH55E.js} +2 -2
- package/dist/chunks/{delete-O3EHQHYD.js → delete-NO2U3UGV.js} +4 -4
- package/dist/chunks/{disable-GJDQC34I.js → disable-AGDDHVKZ.js} +4 -4
- package/dist/chunks/{discard-UZT23XN2.js → discard-Q5HML52L.js} +4 -4
- package/dist/chunks/{edit-PEQIROSE.js → edit-HSHJAKHM.js} +5 -5
- package/dist/chunks/{enable-ACNEAJ5S.js → enable-YMJAXOGA.js} +4 -4
- package/dist/chunks/{export-ZICIQKHJ.js → export-RCACOTPE.js} +4 -4
- package/dist/chunks/{inspect-PUFF7LND.js → inspect-OJHOQHD2.js} +6 -6
- package/dist/chunks/{list-L2UFHHQ7.js → list-LLUDMAWA.js} +7 -7
- package/dist/chunks/{list-FWUV4NO4.js → list-R7V2P6TM.js} +4 -4
- package/dist/chunks/{ls-6HVFGIQS.js → ls-KAI6V7SU.js} +6 -6
- package/dist/chunks/{publish-HKTAQMYG.js → publish-KCYVRDAT.js} +4 -4
- package/dist/chunks/{query-VQ5HDMFO.js → query-MBJLAQRX.js} +5 -5
- package/dist/chunks/{reorder-CVMW6VL7.js → reorder-C5BJWFJM.js} +4 -4
- package/dist/chunks/{restore-32NXH4EH.js → restore-F63NO7XP.js} +4 -4
- package/dist/chunks/{rm-7TPDWMJZ.js → rm-HT7YO3JX.js} +6 -6
- package/dist/chunks/{rule-inspect-PQORU3SU.js → rule-inspect-IHEUI5JT.js} +6 -6
- package/dist/chunks/{rules-VIITOYFN.js → rules-ZUBTVSNC.js} +6 -6
- package/dist/chunks/{schema-AECGMSF5.js → schema-VAQSZY2H.js} +6 -6
- package/dist/chunks/{types-P6JKZFEY.js → types-3R7HKP57.js} +3 -3
- package/dist/chunks/{update-J4QCT3GS.js → update-BS5FBLIP.js} +6 -6
- package/dist/commands/build/index.js +56 -32
- package/dist/commands/deploy/index.js +21 -20
- package/dist/commands/dev/index.js +244 -142
- package/dist/commands/dev/next-dev-websocket-shim-preload.cjs +190 -0
- package/dist/commands/env/index.js +18 -16
- package/dist/commands/link/index.js +17 -24
- package/dist/commands/list/index.js +7 -7
- package/dist/commands-bulk.js +658 -121
- package/dist/help.js +1 -1
- package/dist/index.js +19 -19
- package/dist/version.mjs +1 -1
- package/package.json +12 -12
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2GOVUIMY.js";
|
|
13
|
+
import "./chunk-PXJA4KXE.js";
|
|
14
14
|
import "./chunk-D7MGZH35.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
17
17
|
} from "./chunk-XPKWKPWA.js";
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SGPBULVT.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-LJ5WXXG6.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-25XEQWUS.js";
|
|
25
|
+
import "./chunk-YIAUEFUY.js";
|
|
26
26
|
import "./chunk-HIYWSGI7.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
38
38
|
import {
|
|
39
39
|
isAPIError,
|
|
40
40
|
packageName
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
isVercelTomlEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YIAUEFUY.js";
|
|
11
11
|
import {
|
|
12
12
|
parseArguments
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
14
14
|
import {
|
|
15
15
|
ConflictingConfigFiles,
|
|
16
16
|
DeprecatedNowJson,
|
|
@@ -6,39 +6,41 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
metricsCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YE3C5CUX.js";
|
|
10
10
|
import {
|
|
11
11
|
routesCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IB56QKCM.js";
|
|
13
13
|
import {
|
|
14
14
|
alertsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DPS62LHL.js";
|
|
16
16
|
import {
|
|
17
17
|
devCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VKRW77HH.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-56AJHIQC.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IJJOI63T.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PSG6ZBGQ.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YIAUEFUY.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
|
+
deploymentOption,
|
|
34
35
|
forceOption,
|
|
35
36
|
formatOption,
|
|
36
37
|
jsonOption,
|
|
37
38
|
limitOption,
|
|
38
39
|
nextOption,
|
|
39
40
|
projectOption,
|
|
41
|
+
protectionBypassOption,
|
|
40
42
|
yesOption
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
42
44
|
import {
|
|
43
45
|
packageName
|
|
44
46
|
} from "./chunk-LN6B7ZI3.js";
|
|
@@ -2193,22 +2195,8 @@ var curlCommand = {
|
|
|
2193
2195
|
...yesOption,
|
|
2194
2196
|
description: "Skip confirmation when linking is required (e.g. in non-interactive mode)"
|
|
2195
2197
|
},
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
shorthand: null,
|
|
2199
|
-
type: String,
|
|
2200
|
-
deprecated: false,
|
|
2201
|
-
description: "The deployment ID or URL to target",
|
|
2202
|
-
argument: "ID|URL"
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
name: "protection-bypass",
|
|
2206
|
-
shorthand: null,
|
|
2207
|
-
type: String,
|
|
2208
|
-
deprecated: false,
|
|
2209
|
-
description: "Protection bypass secret for accessing protected deployments",
|
|
2210
|
-
argument: "SECRET"
|
|
2211
|
-
},
|
|
2198
|
+
deploymentOption,
|
|
2199
|
+
protectionBypassOption,
|
|
2212
2200
|
{
|
|
2213
2201
|
name: "trace",
|
|
2214
2202
|
shorthand: null,
|
|
@@ -4510,9 +4498,6 @@ var flagsCommand = {
|
|
|
4510
4498
|
name: "flags",
|
|
4511
4499
|
aliases: [],
|
|
4512
4500
|
description: "Manage feature flags for a Vercel project",
|
|
4513
|
-
// Hidden during initial rollout. Will be unhidden once the feature is
|
|
4514
|
-
// generally available and public documentation is published.
|
|
4515
|
-
hidden: true,
|
|
4516
4501
|
arguments: [],
|
|
4517
4502
|
subcommands: [
|
|
4518
4503
|
listSubcommand10,
|
|
@@ -8081,12 +8066,47 @@ var getSubcommand2 = {
|
|
|
8081
8066
|
}
|
|
8082
8067
|
]
|
|
8083
8068
|
};
|
|
8069
|
+
var createSubcommand5 = {
|
|
8070
|
+
name: "create",
|
|
8071
|
+
aliases: [],
|
|
8072
|
+
description: "Capture a session trace for a request (alias for `vercel curl --trace`).",
|
|
8073
|
+
arguments: [{ name: "path", required: true }],
|
|
8074
|
+
options: [
|
|
8075
|
+
deploymentOption,
|
|
8076
|
+
protectionBypassOption,
|
|
8077
|
+
{
|
|
8078
|
+
name: "json",
|
|
8079
|
+
shorthand: null,
|
|
8080
|
+
type: Boolean,
|
|
8081
|
+
deprecated: false,
|
|
8082
|
+
description: "Emit { response, requestId } as JSON on stdout"
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
...yesOption,
|
|
8086
|
+
description: "Skip the production confirmation prompt (e.g. in non-interactive mode)"
|
|
8087
|
+
}
|
|
8088
|
+
],
|
|
8089
|
+
examples: [
|
|
8090
|
+
{
|
|
8091
|
+
name: "Capture a session trace for a request",
|
|
8092
|
+
value: `${packageName} traces create /api/hello`
|
|
8093
|
+
},
|
|
8094
|
+
{
|
|
8095
|
+
name: "Target a specific deployment",
|
|
8096
|
+
value: `${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`
|
|
8097
|
+
},
|
|
8098
|
+
{
|
|
8099
|
+
name: "Pass curl flags after the separator",
|
|
8100
|
+
value: `${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`
|
|
8101
|
+
}
|
|
8102
|
+
]
|
|
8103
|
+
};
|
|
8084
8104
|
var tracesCommand = {
|
|
8085
8105
|
name: "traces",
|
|
8086
8106
|
aliases: [],
|
|
8087
8107
|
description: "Fetch traces captured for a Vercel project.",
|
|
8088
8108
|
arguments: [{ name: "requestId", required: false }],
|
|
8089
|
-
subcommands: [getSubcommand2],
|
|
8109
|
+
subcommands: [getSubcommand2, createSubcommand5],
|
|
8090
8110
|
options: [],
|
|
8091
8111
|
examples: [
|
|
8092
8112
|
{
|
|
@@ -8096,6 +8116,10 @@ var tracesCommand = {
|
|
|
8096
8116
|
{
|
|
8097
8117
|
name: "Print the raw trace JSON",
|
|
8098
8118
|
value: `${packageName} traces get req_1234567890 --json`
|
|
8119
|
+
},
|
|
8120
|
+
{
|
|
8121
|
+
name: "Capture a session trace for a request",
|
|
8122
|
+
value: `${packageName} traces create /api/hello`
|
|
8099
8123
|
}
|
|
8100
8124
|
]
|
|
8101
8125
|
};
|
|
@@ -8464,6 +8488,202 @@ var getSubcommand3 = {
|
|
|
8464
8488
|
],
|
|
8465
8489
|
examples: []
|
|
8466
8490
|
};
|
|
8491
|
+
var signedTokenSubcommand = {
|
|
8492
|
+
name: "signed-token",
|
|
8493
|
+
aliases: [],
|
|
8494
|
+
description: "Issue a short-lived signed token for Blob operations",
|
|
8495
|
+
arguments: [],
|
|
8496
|
+
options: [
|
|
8497
|
+
{
|
|
8498
|
+
name: "pathname",
|
|
8499
|
+
shorthand: "p",
|
|
8500
|
+
type: String,
|
|
8501
|
+
deprecated: false,
|
|
8502
|
+
description: 'Pathname scope for the token. Defaults to "*" when omitted',
|
|
8503
|
+
argument: "STRING"
|
|
8504
|
+
},
|
|
8505
|
+
{
|
|
8506
|
+
name: "operation",
|
|
8507
|
+
shorthand: "o",
|
|
8508
|
+
type: [String],
|
|
8509
|
+
deprecated: false,
|
|
8510
|
+
description: "Allowed operation(s): get, head, put, delete (repeatable)",
|
|
8511
|
+
argument: "OPERATION",
|
|
8512
|
+
choices: ["get", "head", "put", "delete"]
|
|
8513
|
+
},
|
|
8514
|
+
{
|
|
8515
|
+
name: "valid-until",
|
|
8516
|
+
shorthand: null,
|
|
8517
|
+
type: Number,
|
|
8518
|
+
deprecated: false,
|
|
8519
|
+
description: "Absolute expiration time as Unix timestamp in milliseconds (mutually exclusive with --valid-for)",
|
|
8520
|
+
argument: "TIMESTAMP_MS"
|
|
8521
|
+
},
|
|
8522
|
+
{
|
|
8523
|
+
name: "valid-for",
|
|
8524
|
+
shorthand: null,
|
|
8525
|
+
type: String,
|
|
8526
|
+
deprecated: false,
|
|
8527
|
+
description: "Relative duration before expiration (for example: 15m, 1h, 7d; mutually exclusive with --valid-until)",
|
|
8528
|
+
argument: "DURATION"
|
|
8529
|
+
},
|
|
8530
|
+
{
|
|
8531
|
+
name: "allowed-content-type",
|
|
8532
|
+
shorthand: null,
|
|
8533
|
+
type: [String],
|
|
8534
|
+
deprecated: false,
|
|
8535
|
+
description: "Allowed content type(s) for put operations (repeatable, supports wildcards)",
|
|
8536
|
+
argument: "MIME_TYPE"
|
|
8537
|
+
},
|
|
8538
|
+
{
|
|
8539
|
+
name: "maximum-size-in-bytes",
|
|
8540
|
+
shorthand: null,
|
|
8541
|
+
type: Number,
|
|
8542
|
+
deprecated: false,
|
|
8543
|
+
description: "Maximum upload size in bytes for put operations (max: 5TB)",
|
|
8544
|
+
argument: "BYTES"
|
|
8545
|
+
},
|
|
8546
|
+
{
|
|
8547
|
+
name: "json",
|
|
8548
|
+
shorthand: null,
|
|
8549
|
+
type: Boolean,
|
|
8550
|
+
deprecated: false,
|
|
8551
|
+
description: "Output signed token payload as JSON"
|
|
8552
|
+
}
|
|
8553
|
+
],
|
|
8554
|
+
examples: [
|
|
8555
|
+
{
|
|
8556
|
+
name: "Issue a signed token for reads",
|
|
8557
|
+
value: "vercel blob signed-token --pathname media/photo.jpg --operation get"
|
|
8558
|
+
},
|
|
8559
|
+
{
|
|
8560
|
+
name: "Issue a signed token for uploads with constraints",
|
|
8561
|
+
value: "vercel blob signed-token --pathname uploads/* --operation put --allowed-content-type image/* --maximum-size-in-bytes 10485760"
|
|
8562
|
+
}
|
|
8563
|
+
]
|
|
8564
|
+
};
|
|
8565
|
+
var presignSubcommand = {
|
|
8566
|
+
name: "presign",
|
|
8567
|
+
aliases: [],
|
|
8568
|
+
description: "Generate a presigned URL for Blob operations",
|
|
8569
|
+
arguments: [
|
|
8570
|
+
{
|
|
8571
|
+
name: "pathname",
|
|
8572
|
+
required: true
|
|
8573
|
+
}
|
|
8574
|
+
],
|
|
8575
|
+
options: [
|
|
8576
|
+
accessOption,
|
|
8577
|
+
{
|
|
8578
|
+
name: "operation",
|
|
8579
|
+
shorthand: "o",
|
|
8580
|
+
type: String,
|
|
8581
|
+
deprecated: false,
|
|
8582
|
+
description: "Operation for the presigned URL: get, head, put, or delete (default: get)",
|
|
8583
|
+
argument: "OPERATION",
|
|
8584
|
+
choices: ["get", "head", "put", "delete"]
|
|
8585
|
+
},
|
|
8586
|
+
{
|
|
8587
|
+
name: "delegation-token",
|
|
8588
|
+
shorthand: null,
|
|
8589
|
+
type: String,
|
|
8590
|
+
deprecated: false,
|
|
8591
|
+
description: "Delegation token from `vercel blob signed-token` (must be used with --client-signing-token)",
|
|
8592
|
+
argument: "STRING"
|
|
8593
|
+
},
|
|
8594
|
+
{
|
|
8595
|
+
name: "client-signing-token",
|
|
8596
|
+
shorthand: null,
|
|
8597
|
+
type: String,
|
|
8598
|
+
deprecated: false,
|
|
8599
|
+
description: "Signing secret/token from `vercel blob signed-token` (must be used with --delegation-token)",
|
|
8600
|
+
argument: "STRING"
|
|
8601
|
+
},
|
|
8602
|
+
{
|
|
8603
|
+
name: "valid-until",
|
|
8604
|
+
shorthand: null,
|
|
8605
|
+
type: Number,
|
|
8606
|
+
deprecated: false,
|
|
8607
|
+
description: "Absolute expiration time as Unix timestamp in milliseconds (mutually exclusive with --valid-for)",
|
|
8608
|
+
argument: "TIMESTAMP_MS"
|
|
8609
|
+
},
|
|
8610
|
+
{
|
|
8611
|
+
name: "valid-for",
|
|
8612
|
+
shorthand: null,
|
|
8613
|
+
type: String,
|
|
8614
|
+
deprecated: false,
|
|
8615
|
+
description: "Relative duration before expiration (for example: 15m, 1h, 7d; mutually exclusive with --valid-until)",
|
|
8616
|
+
argument: "DURATION"
|
|
8617
|
+
},
|
|
8618
|
+
{
|
|
8619
|
+
name: "if-match",
|
|
8620
|
+
shorthand: null,
|
|
8621
|
+
type: String,
|
|
8622
|
+
deprecated: false,
|
|
8623
|
+
description: "If-Match constraint for put or delete operations",
|
|
8624
|
+
argument: "STRING"
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
name: "allow-overwrite",
|
|
8628
|
+
shorthand: null,
|
|
8629
|
+
type: Boolean,
|
|
8630
|
+
deprecated: false,
|
|
8631
|
+
description: "Allow overwriting existing blobs (put only)"
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
name: "add-random-suffix",
|
|
8635
|
+
shorthand: null,
|
|
8636
|
+
type: Boolean,
|
|
8637
|
+
deprecated: false,
|
|
8638
|
+
description: "Add a random suffix to the pathname (put only)"
|
|
8639
|
+
},
|
|
8640
|
+
{
|
|
8641
|
+
name: "cache-control-max-age",
|
|
8642
|
+
shorthand: null,
|
|
8643
|
+
type: Number,
|
|
8644
|
+
deprecated: false,
|
|
8645
|
+
description: "Cache-Control max-age in seconds (put only)",
|
|
8646
|
+
argument: "SECONDS"
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
name: "allowed-content-type",
|
|
8650
|
+
shorthand: null,
|
|
8651
|
+
type: [String],
|
|
8652
|
+
deprecated: false,
|
|
8653
|
+
description: "Allowed content type(s) for uploads (put only, repeatable)",
|
|
8654
|
+
argument: "MIME_TYPE"
|
|
8655
|
+
},
|
|
8656
|
+
{
|
|
8657
|
+
name: "maximum-size-in-bytes",
|
|
8658
|
+
shorthand: null,
|
|
8659
|
+
type: Number,
|
|
8660
|
+
deprecated: false,
|
|
8661
|
+
description: "Maximum upload size in bytes (put only, max: 5TB)",
|
|
8662
|
+
argument: "BYTES"
|
|
8663
|
+
},
|
|
8664
|
+
{
|
|
8665
|
+
name: "json",
|
|
8666
|
+
shorthand: null,
|
|
8667
|
+
type: Boolean,
|
|
8668
|
+
deprecated: false,
|
|
8669
|
+
description: "Output presign result as JSON"
|
|
8670
|
+
}
|
|
8671
|
+
],
|
|
8672
|
+
examples: [
|
|
8673
|
+
{
|
|
8674
|
+
name: "Generate a presigned GET URL",
|
|
8675
|
+
value: "vercel blob presign media/photo.jpg --access public"
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
name: "Generate a presigned PUT URL with upload constraints",
|
|
8679
|
+
value: "vercel blob presign uploads/image.jpg --access private --operation put --allowed-content-type image/* --maximum-size-in-bytes 10485760"
|
|
8680
|
+
},
|
|
8681
|
+
{
|
|
8682
|
+
name: "Generate a presigned URL from existing signed-token output",
|
|
8683
|
+
value: "vercel blob presign uploads/image.jpg --access private --operation put --delegation-token <delegationToken> --client-signing-token <clientSigningToken>"
|
|
8684
|
+
}
|
|
8685
|
+
]
|
|
8686
|
+
};
|
|
8467
8687
|
var createStoreSubcommand = {
|
|
8468
8688
|
name: "create-store",
|
|
8469
8689
|
aliases: [],
|
|
@@ -8586,6 +8806,8 @@ var blobCommand = {
|
|
|
8586
8806
|
getSubcommand3,
|
|
8587
8807
|
delSubcommand,
|
|
8588
8808
|
copySubcommand,
|
|
8809
|
+
signedTokenSubcommand,
|
|
8810
|
+
presignSubcommand,
|
|
8589
8811
|
createStoreSubcommand,
|
|
8590
8812
|
deleteStoreSubcommand,
|
|
8591
8813
|
getStoreInfoSubcommand,
|
|
@@ -8649,7 +8871,7 @@ var getSubcommand4 = {
|
|
|
8649
8871
|
options: [formatOption],
|
|
8650
8872
|
examples: []
|
|
8651
8873
|
};
|
|
8652
|
-
var
|
|
8874
|
+
var createSubcommand6 = {
|
|
8653
8875
|
name: "create",
|
|
8654
8876
|
aliases: ["add"],
|
|
8655
8877
|
description: "Create a new webhook",
|
|
@@ -8710,7 +8932,7 @@ var webhooksCommand = {
|
|
|
8710
8932
|
subcommands: [
|
|
8711
8933
|
listSubcommand18,
|
|
8712
8934
|
getSubcommand4,
|
|
8713
|
-
|
|
8935
|
+
createSubcommand6,
|
|
8714
8936
|
removeSubcommand15
|
|
8715
8937
|
],
|
|
8716
8938
|
options: [],
|
|
@@ -9046,6 +9268,7 @@ export {
|
|
|
9046
9268
|
disableSubcommand3,
|
|
9047
9269
|
telemetryCommand,
|
|
9048
9270
|
getSubcommand2,
|
|
9271
|
+
createSubcommand5,
|
|
9049
9272
|
tracesCommand,
|
|
9050
9273
|
upgradeCommand,
|
|
9051
9274
|
usageCommand,
|
|
@@ -9055,6 +9278,8 @@ export {
|
|
|
9055
9278
|
delSubcommand,
|
|
9056
9279
|
copySubcommand,
|
|
9057
9280
|
getSubcommand3,
|
|
9281
|
+
signedTokenSubcommand,
|
|
9282
|
+
presignSubcommand,
|
|
9058
9283
|
createStoreSubcommand,
|
|
9059
9284
|
deleteStoreSubcommand,
|
|
9060
9285
|
emptyStoreSubcommand,
|
|
@@ -9063,7 +9288,7 @@ export {
|
|
|
9063
9288
|
blobCommand,
|
|
9064
9289
|
listSubcommand18,
|
|
9065
9290
|
getSubcommand4,
|
|
9066
|
-
|
|
9291
|
+
createSubcommand6,
|
|
9067
9292
|
removeSubcommand15,
|
|
9068
9293
|
webhooksCommand,
|
|
9069
9294
|
getCommandAliases,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
noBorderChars,
|
|
12
12
|
require_cli_table3
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LYCSVJIX.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCommandOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
17
17
|
import {
|
|
18
18
|
require_source
|
|
19
19
|
} from "./chunk-S7KYDPEM.js";
|