mirror of
https://github.com/khairul169/garage-webui.git
synced 2026-09-18 10:23:21 +07:00
feat: add bucket browser
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const createFolderSchema = z.object({
|
||||
name: z
|
||||
.string()
|
||||
.min(1, "Folder Name is required")
|
||||
.regex(/^[a-zA-Z0-9_-]+$/, "Folder Name invalid"),
|
||||
});
|
||||
|
||||
export type CreateFolderSchema = z.infer<typeof createFolderSchema>;
|
||||
Reference in New Issue
Block a user