@@ -68,6 +68,7 @@ export interface Config {
68
68
'disable-local-strategy-password' : DisableLocalStrategyPasswordAuthOperations ;
69
69
'api-keys' : ApiKeyAuthOperations ;
70
70
'public-users' : PublicUserAuthOperations ;
71
+ 'api-keys-with-field-read-access' : ApiKeysWithFieldReadAccessAuthOperations ;
71
72
} ;
72
73
blocks : { } ;
73
74
collections : {
@@ -77,6 +78,7 @@ export interface Config {
77
78
'api-keys' : ApiKey ;
78
79
'public-users' : PublicUser ;
79
80
relationsCollection : RelationsCollection ;
81
+ 'api-keys-with-field-read-access' : ApiKeysWithFieldReadAccess ;
80
82
'payload-locked-documents' : PayloadLockedDocument ;
81
83
'payload-preferences' : PayloadPreference ;
82
84
'payload-migrations' : PayloadMigration ;
@@ -89,6 +91,7 @@ export interface Config {
89
91
'api-keys' : ApiKeysSelect < false > | ApiKeysSelect < true > ;
90
92
'public-users' : PublicUsersSelect < false > | PublicUsersSelect < true > ;
91
93
relationsCollection : RelationsCollectionSelect < false > | RelationsCollectionSelect < true > ;
94
+ 'api-keys-with-field-read-access' : ApiKeysWithFieldReadAccessSelect < false > | ApiKeysWithFieldReadAccessSelect < true > ;
92
95
'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
93
96
'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
94
97
'payload-migrations' : PayloadMigrationsSelect < false > | PayloadMigrationsSelect < true > ;
@@ -114,6 +117,9 @@ export interface Config {
114
117
} )
115
118
| ( PublicUser & {
116
119
collection : 'public-users' ;
120
+ } )
121
+ | ( ApiKeysWithFieldReadAccess & {
122
+ collection : 'api-keys-with-field-read-access' ;
117
123
} ) ;
118
124
jobs : {
119
125
tasks : unknown ;
@@ -210,6 +216,24 @@ export interface PublicUserAuthOperations {
210
216
password : string ;
211
217
} ;
212
218
}
219
+ export interface ApiKeysWithFieldReadAccessAuthOperations {
220
+ forgotPassword : {
221
+ email : string ;
222
+ password : string ;
223
+ } ;
224
+ login : {
225
+ email : string ;
226
+ password : string ;
227
+ } ;
228
+ registerFirstUser : {
229
+ email : string ;
230
+ password : string ;
231
+ } ;
232
+ unlock : {
233
+ email : string ;
234
+ password : string ;
235
+ } ;
236
+ }
213
237
/**
214
238
* This interface was referenced by `Config`'s JSON-Schema
215
239
* via the `definition` "users".
@@ -340,6 +364,18 @@ export interface RelationsCollection {
340
364
updatedAt : string ;
341
365
createdAt : string ;
342
366
}
367
+ /**
368
+ * This interface was referenced by `Config`'s JSON-Schema
369
+ * via the `definition` "api-keys-with-field-read-access".
370
+ */
371
+ export interface ApiKeysWithFieldReadAccess {
372
+ id : string ;
373
+ updatedAt : string ;
374
+ createdAt : string ;
375
+ enableAPIKey ?: boolean | null ;
376
+ apiKey ?: string | null ;
377
+ apiKeyIndex ?: string | null ;
378
+ }
343
379
/**
344
380
* This interface was referenced by `Config`'s JSON-Schema
345
381
* via the `definition` "payload-locked-documents".
@@ -370,6 +406,10 @@ export interface PayloadLockedDocument {
370
406
| ( {
371
407
relationTo : 'relationsCollection' ;
372
408
value : string | RelationsCollection ;
409
+ } | null )
410
+ | ( {
411
+ relationTo : 'api-keys-with-field-read-access' ;
412
+ value : string | ApiKeysWithFieldReadAccess ;
373
413
} | null ) ;
374
414
globalSlug ?: string | null ;
375
415
user :
@@ -392,6 +432,10 @@ export interface PayloadLockedDocument {
392
432
| {
393
433
relationTo : 'public-users' ;
394
434
value : string | PublicUser ;
435
+ }
436
+ | {
437
+ relationTo : 'api-keys-with-field-read-access' ;
438
+ value : string | ApiKeysWithFieldReadAccess ;
395
439
} ;
396
440
updatedAt : string ;
397
441
createdAt : string ;
@@ -422,6 +466,10 @@ export interface PayloadPreference {
422
466
| {
423
467
relationTo : 'public-users' ;
424
468
value : string | PublicUser ;
469
+ }
470
+ | {
471
+ relationTo : 'api-keys-with-field-read-access' ;
472
+ value : string | ApiKeysWithFieldReadAccess ;
425
473
} ;
426
474
key ?: string | null ;
427
475
value ?:
@@ -576,6 +624,17 @@ export interface RelationsCollectionSelect<T extends boolean = true> {
576
624
updatedAt ?: T ;
577
625
createdAt ?: T ;
578
626
}
627
+ /**
628
+ * This interface was referenced by `Config`'s JSON-Schema
629
+ * via the `definition` "api-keys-with-field-read-access_select".
630
+ */
631
+ export interface ApiKeysWithFieldReadAccessSelect < T extends boolean = true > {
632
+ updatedAt ?: T ;
633
+ createdAt ?: T ;
634
+ enableAPIKey ?: T ;
635
+ apiKey ?: T ;
636
+ apiKeyIndex ?: T ;
637
+ }
579
638
/**
580
639
* This interface was referenced by `Config`'s JSON-Schema
581
640
* via the `definition` "payload-locked-documents_select".
0 commit comments