forked from noxious/client
npm update, removed player store and merged it with socket store, worked on character creation & selection (partially works)
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
import { z } from "zod";
|
||||
|
||||
const CharacterObject = z.object({
|
||||
name: z.string(),
|
||||
});
|
||||
|
||||
type TCharacter = z.infer<typeof CharacterObject>;
|
||||
|
||||
export { CharacterObject, type TCharacter };
|
@ -1,9 +0,0 @@
|
||||
import { z } from "zod";
|
||||
|
||||
const UserObject = z.object({
|
||||
username: z.string(),
|
||||
});
|
||||
|
||||
type TUser = z.infer<typeof UserObject>;
|
||||
|
||||
export { UserObject, type TUser };
|
Reference in New Issue
Block a user