mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
Working on dnd
This commit is contained in:
@@ -25,6 +25,7 @@ export const UpdateCategorySchema = z.object({
|
||||
icon: z.string().optional(),
|
||||
color: z.string().optional(),
|
||||
nameVisible: z.boolean().optional().default(false),
|
||||
grid: z.string().optional(),
|
||||
})
|
||||
export const UpdateCategorySchemaType = z.infer<typeof UpdateCategorySchema>
|
||||
|
||||
@@ -34,6 +35,7 @@ export interface CategoryType {
|
||||
icon: string
|
||||
color: string
|
||||
nameVisible: boolean
|
||||
grid: GridType
|
||||
}
|
||||
|
||||
// Tab
|
||||
@@ -79,6 +81,13 @@ export const UpdateUserSchema = z.object({
|
||||
})
|
||||
export const UpdateUserSchemaType = z.infer<typeof UpdateUserSchema>
|
||||
|
||||
export interface GridType {
|
||||
tabs: Array<{
|
||||
tabId: number
|
||||
orderId: number
|
||||
}>
|
||||
}
|
||||
|
||||
export interface OpenWeatherType {
|
||||
weather: Array<{
|
||||
main: string
|
||||
|
||||
Reference in New Issue
Block a user