mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-26 10:36:39 -05:00
feat: add support for refresh tokens in internal stores
This commit is contained in:
@@ -90,6 +90,11 @@ export const LoginSchema = z.object({
|
||||
});
|
||||
export type ApiAuthLoginRequest = z.infer<typeof LoginSchema>;
|
||||
|
||||
export const RefreshSchema = z.object({
|
||||
token: z.string()
|
||||
});
|
||||
export type ApiAuthRefreshRequest = z.infer<typeof RefreshSchema>;
|
||||
|
||||
export const RegisterSchema = z.object({
|
||||
email: z.email(),
|
||||
username: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user