mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-11-06 00:55:43 +00:00
Initial Commit
This commit is contained in:
7
site/src/schemas/user-context-schema.ts
Normal file
7
site/src/schemas/user-context-schema.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const userContextSchema = z.object({
|
||||
isLoggedIn: z.boolean(),
|
||||
});
|
||||
|
||||
export type UserContextSchemaType = z.infer<typeof userContextSchema>;
|
||||
Reference in New Issue
Block a user