We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1239c50 commit 68f3febCopy full SHA for 68f3feb
src/payload-types.ts
@@ -144,6 +144,13 @@ export interface User {
144
hash?: string | null;
145
loginAttempts?: number | null;
146
lockUntil?: string | null;
147
+ sessions?:
148
+ | {
149
+ id: string;
150
+ createdAt?: string | null;
151
+ expiresAt: string;
152
+ }[]
153
+ | null;
154
password?: string | null;
155
}
156
/**
@@ -442,6 +449,13 @@ export interface UsersSelect<T extends boolean = true> {
442
449
hash?: T;
443
450
loginAttempts?: T;
444
451
lockUntil?: T;
452
453
+ | T
454
455
+ id?: T;
456
+ createdAt?: T;
457
+ expiresAt?: T;
458
+ };
445
459
446
460
447
461
* This interface was referenced by `Config`'s JSON-Schema
0 commit comments