Variable sessionSchemaConst
sessionSchema: ZodObject<
{
accessToken: ZodString;
actorSystem: ZodString;
created: ZodEffects<
ZodObject<
{ type: ZodEnum<["Timestamp"]>; value: ZodNumber },
"strip",
ZodTypeAny,
{ type: "Timestamp"; value: number },
{ type: "Timestamp"; value: number },
>,
Timestamp,
{ type: "Timestamp"; value: number },
>;
fingerprint: ZodOptional<ZodString>;
idExpires: ZodEffects<
ZodObject<
{ type: ZodEnum<["Timestamp"]>; value: ZodNumber },
"strip",
ZodTypeAny,
{ type: "Timestamp"; value: number },
{ type: "Timestamp"; value: number },
>,
Timestamp,
{ type: "Timestamp"; value: number },
>;
idToken: ZodString;
persistentCookie: ZodOptional<ZodBoolean>;
refreshExpires: ZodEffects<
ZodObject<
{ type: ZodEnum<["Timestamp"]>; value: ZodNumber },
"strip",
ZodTypeAny,
{ type: "Timestamp"; value: number },
{ type: "Timestamp"; value: number },
>,
Timestamp,
{ type: "Timestamp"; value: number },
>;
refreshToken: ZodString;
role: ZodEnum<["STUDENT", "TEACHER", "ADMIN"]>;
uid: ZodBranded<ZodString, "UID">;
updated: ZodEffects<
ZodObject<
{ type: ZodEnum<["Timestamp"]>; value: ZodNumber },
"strip",
ZodTypeAny,
{ type: "Timestamp"; value: number },
{ type: "Timestamp"; value: number },
>,
Timestamp,
{ type: "Timestamp"; value: number },
>;
},
"strip",
ZodTypeAny,
{
accessToken: string;
actorSystem: string;
created: Timestamp;
fingerprint?: string;
idExpires: Timestamp;
idToken: string;
persistentCookie?: boolean;
refreshExpires: Timestamp;
refreshToken: string;
role: "STUDENT"
| "TEACHER"
| "ADMIN";
uid: string & BRAND<"UID">;
updated: Timestamp;
},
{
accessToken: string;
actorSystem: string;
created: { type: "Timestamp"; value: number };
fingerprint?: string;
idExpires: { type: "Timestamp"; value: number };
idToken: string;
persistentCookie?: boolean;
refreshExpires: { type: "Timestamp"; value: number };
refreshToken: string;
role: "STUDENT" | "TEACHER" | "ADMIN";
uid: string;
updated: { type: "Timestamp"; value: number };
},
> = ...