feat: add bucket browser

This commit is contained in:
2024-08-19 02:28:25 +07:00
parent 934e0c409c
commit 93a1dce5f7
35 changed files with 770 additions and 137 deletions
+10
View File
@@ -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>;