File tree Expand file tree Collapse file tree 6 files changed +10
-24
lines changed
multiple-auth-collections/src
with-payload-local-strategy/src
payload-authjs/src/payload/collection/fields Expand file tree Collapse file tree 6 files changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,10 @@ export interface User {
123
123
image ?: string | null ;
124
124
accounts ?:
125
125
| {
126
- id ?: string | null ;
127
126
provider : string ;
128
127
providerAccountId : string ;
129
128
type : string ;
129
+ id ?: string | null ;
130
130
} [ ]
131
131
| null ;
132
132
updatedAt : string ;
@@ -197,10 +197,10 @@ export interface UsersSelect<T extends boolean = true> {
197
197
accounts ?:
198
198
| T
199
199
| {
200
- id ?: T ;
201
200
provider ?: T ;
202
201
providerAccountId ?: T ;
203
202
type ?: T ;
203
+ id ?: T ;
204
204
} ;
205
205
updatedAt ?: T ;
206
206
createdAt ?: T ;
Original file line number Diff line number Diff line change @@ -149,10 +149,10 @@ export interface Customer {
149
149
customerNumber : string ;
150
150
accounts ?:
151
151
| {
152
- id ?: string | null ;
153
152
provider : string ;
154
153
providerAccountId : string ;
155
154
type : string ;
155
+ id ?: string | null ;
156
156
} [ ]
157
157
| null ;
158
158
updatedAt : string ;
@@ -170,10 +170,10 @@ export interface Admin {
170
170
image ?: string | null ;
171
171
accounts ?:
172
172
| {
173
- id ?: string | null ;
174
173
provider : string ;
175
174
providerAccountId : string ;
176
175
type : string ;
176
+ id ?: string | null ;
177
177
} [ ]
178
178
| null ;
179
179
updatedAt : string ;
@@ -260,10 +260,10 @@ export interface CustomersSelect<T extends boolean = true> {
260
260
accounts ?:
261
261
| T
262
262
| {
263
- id ?: T ;
264
263
provider ?: T ;
265
264
providerAccountId ?: T ;
266
265
type ?: T ;
266
+ id ?: T ;
267
267
} ;
268
268
updatedAt ?: T ;
269
269
createdAt ?: T ;
@@ -281,10 +281,10 @@ export interface AdminsSelect<T extends boolean = true> {
281
281
accounts ?:
282
282
| T
283
283
| {
284
- id ?: T ;
285
284
provider ?: T ;
286
285
providerAccountId ?: T ;
287
286
type ?: T ;
287
+ id ?: T ;
288
288
} ;
289
289
updatedAt ?: T ;
290
290
createdAt ?: T ;
Original file line number Diff line number Diff line change @@ -122,10 +122,10 @@ export interface User {
122
122
image ?: string | null ;
123
123
accounts ?:
124
124
| {
125
- id ?: string | null ;
126
125
provider : string ;
127
126
providerAccountId : string ;
128
127
type : string ;
128
+ id ?: string | null ;
129
129
} [ ]
130
130
| null ;
131
131
updatedAt : string ;
@@ -206,10 +206,10 @@ export interface UsersSelect<T extends boolean = true> {
206
206
accounts ?:
207
207
| T
208
208
| {
209
- id ?: T ;
210
209
provider ?: T ;
211
210
providerAccountId ?: T ;
212
211
type ?: T ;
212
+ id ?: T ;
213
213
} ;
214
214
updatedAt ?: T ;
215
215
createdAt ?: T ;
Original file line number Diff line number Diff line change @@ -140,12 +140,12 @@ export interface User {
140
140
roles ?: string [ ] ;
141
141
accounts ?:
142
142
| {
143
- id ?: string | null ;
144
143
provider : string ;
145
144
providerAccountId : string ;
146
145
type : string ;
147
146
additionalAccountDatabaseField : string ;
148
147
createdAt : string ;
148
+ id ?: string | null ;
149
149
} [ ]
150
150
| null ;
151
151
currentAccount ?: {
@@ -263,12 +263,12 @@ export interface UsersSelect<T extends boolean = true> {
263
263
accounts ?:
264
264
| T
265
265
| {
266
- id ?: T ;
267
266
provider ?: T ;
268
267
providerAccountId ?: T ;
269
268
type ?: T ;
270
269
additionalAccountDatabaseField ?: T ;
271
270
createdAt ?: T ;
271
+ id ?: T ;
272
272
} ;
273
273
currentAccount ?:
274
274
| T
Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ export const accountsField: Field = {
9
9
name : "accounts" ,
10
10
type : "array" ,
11
11
fields : [
12
- {
13
- name : "id" ,
14
- type : "text" ,
15
- admin : {
16
- disabled : true ,
17
- } ,
18
- } ,
19
12
{
20
13
type : "row" ,
21
14
fields : [
Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ export const sessionsField: Field = {
9
9
name : "sessions" ,
10
10
type : "array" ,
11
11
fields : [
12
- {
13
- name : "id" ,
14
- type : "text" ,
15
- admin : {
16
- disabled : true ,
17
- } ,
18
- } ,
19
12
{
20
13
type : "row" ,
21
14
fields : [
You can’t perform that action at this time.
0 commit comments