style: clean up code with prettier and eslint
This commit is contained in:
1 parent
60278b9e71
commit
fb8e77bb68
378 files changed
+22407
-20689
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import { z } from 'zod'
|
||||
import { z } from "zod";
|
||||
|
||||
export const updateRoomSchema = z.object({
|
||||
name: z.string().min(1).max(60).optional(),
|
||||
description: z.string().max(512).optional(),
|
||||
state: z.enum(['open', 'locked', 'password', 'invisible']).optional(),
|
||||
state: z.enum(["open", "locked", "password", "invisible"]).optional(),
|
||||
usersMax: z.number().int().min(1).max(100).optional(),
|
||||
})
|
||||
});
|
||||
|
||||
export type UpdateRoomInput = z.infer<typeof updateRoomSchema>
|
||||
export type UpdateRoomInput = z.infer<typeof updateRoomSchema>;
|
||||
Reference in new issue
Block a user