Fully renamed socket to ttp

This commit is contained in:
Alois 2026-04-03 00:38:35 +02:00
commit 76ca664298
13 changed files with 55 additions and 42 deletions

View file

@ -32,10 +32,10 @@ export const failedUser = {
sub_level: 0,
user_id: 0,
username: "unknown",
} as z.infer<typeof socket.get_user_data.response>;
} as z.infer<typeof ttp.get_user_data.response>;
// Socket
export const socket = {
// TTP
export const ttp = {
identification: {
request: z
.object({
@ -162,7 +162,7 @@ export const socket = {
},
} satisfies Record<string, { request: z.ZodType; response: z.ZodType }>;
export type Socket = typeof socket;
export type TTP = typeof ttp;
// Storage
export interface Storage {