create-payload-app 3.45.0-canary.2 → 3.45.0-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -128,6 +128,13 @@ export interface User {
|
|
128
128
|
hash?: string | null;
|
129
129
|
loginAttempts?: number | null;
|
130
130
|
lockUntil?: string | null;
|
131
|
+
sessions?:
|
132
|
+
| {
|
133
|
+
id: string;
|
134
|
+
createdAt?: string | null;
|
135
|
+
expiresAt: string;
|
136
|
+
}[]
|
137
|
+
| null;
|
131
138
|
password?: string | null;
|
132
139
|
}
|
133
140
|
/**
|
@@ -220,6 +227,13 @@ export interface UsersSelect<T extends boolean = true> {
|
|
220
227
|
hash?: T;
|
221
228
|
loginAttempts?: T;
|
222
229
|
lockUntil?: T;
|
230
|
+
sessions?:
|
231
|
+
| T
|
232
|
+
| {
|
233
|
+
id?: T;
|
234
|
+
createdAt?: T;
|
235
|
+
expiresAt?: T;
|
236
|
+
};
|
223
237
|
}
|
224
238
|
/**
|
225
239
|
* This interface was referenced by `Config`'s JSON-Schema
|