feat: add new auth_request flow for logging in with comfy deploy
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const APIKeyBodyRequest = z.object({
|
||||
user_id: z.string().optional(),
|
||||
org_id: z.string().optional(),
|
||||
user_id: z.string().optional().nullable(),
|
||||
org_id: z.string().optional().nullable(),
|
||||
iat: z.number(),
|
||||
exp: z.number().optional(),
|
||||
});
|
||||
|
||||
export type APIKeyUserType = z.infer<typeof APIKeyBodyRequest>;
|
||||
|
||||
Reference in New Issue
Block a user