1
0
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:
2024-05-31 01:10:21 +02:00
parent 195a74d1e6
commit a4df323d7b
7 changed files with 100 additions and 60 deletions

View File

@ -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 };

View File

@ -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 };