fix: make the override optional.
This commit is contained in:
parent
523e4febf5
commit
ed9d6c7c89
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "astro-uploader",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"description": "A uploader for uploading the Astro generated files through the S3 API.",
|
||||
"keywords": ["Astro", "S3", "withastro", "opendal"],
|
||||
"bugs": {
|
||||
|
@ -57,14 +57,14 @@ const S3Options = z
|
||||
path: z.string(),
|
||||
keep: z.boolean().optional(),
|
||||
recursive: z.boolean().optional(),
|
||||
override: z.boolean(),
|
||||
override: z.boolean().optional(),
|
||||
}),
|
||||
]),
|
||||
)
|
||||
.min(1),
|
||||
keep: z.boolean().default(false),
|
||||
recursive: z.boolean().default(true),
|
||||
override: z.boolean().default(false),
|
||||
keep: z.boolean().optional().default(false),
|
||||
recursive: z.boolean().optional().default(true),
|
||||
override: z.boolean().optional().default(false),
|
||||
region: z.string().min(1).default('auto'),
|
||||
endpoint: z.string().url().optional(),
|
||||
bucket: z.string().min(1),
|
||||
|
Loading…
Reference in New Issue
Block a user