mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
BREAKING: postgres + saas
This commit is contained in:
@@ -2,7 +2,6 @@ import { randomHexColor } from "@/lib/utils"
|
||||
import { z } from "zod"
|
||||
|
||||
export const settingsFormSchema = z.object({
|
||||
app_title: z.string().max(128).optional(),
|
||||
default_currency: z.string().max(5).optional(),
|
||||
default_type: z.string().optional(),
|
||||
default_category: z.string().optional(),
|
||||
|
||||
6
forms/users.ts
Normal file
6
forms/users.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { z } from "zod"
|
||||
|
||||
export const userFormSchema = z.object({
|
||||
name: z.string().max(128).optional(),
|
||||
avatar: z.string().optional(),
|
||||
})
|
||||
Reference in New Issue
Block a user