@@ -35,6 +35,7 @@ export interface Config {
35
35
} ;
36
36
collections : {
37
37
cv : Cv ;
38
+ users : User ;
38
39
skill : Skill ;
39
40
skillGroup : SkillGroup ;
40
41
langs : Lang ;
@@ -43,14 +44,14 @@ export interface Config {
43
44
project : Project ;
44
45
media : Media ;
45
46
organisations : Organisation ;
46
- users : User ;
47
47
'payload-locked-documents' : PayloadLockedDocument ;
48
48
'payload-preferences' : PayloadPreference ;
49
49
'payload-migrations' : PayloadMigration ;
50
50
} ;
51
51
collectionsJoins : { } ;
52
52
collectionsSelect : {
53
53
cv : CvSelect < false > | CvSelect < true > ;
54
+ users : UsersSelect < false > | UsersSelect < true > ;
54
55
skill : SkillSelect < false > | SkillSelect < true > ;
55
56
skillGroup : SkillGroupSelect < false > | SkillGroupSelect < true > ;
56
57
langs : LangsSelect < false > | LangsSelect < true > ;
@@ -59,7 +60,6 @@ export interface Config {
59
60
project : ProjectSelect < false > | ProjectSelect < true > ;
60
61
media : MediaSelect < false > | MediaSelect < true > ;
61
62
organisations : OrganisationsSelect < false > | OrganisationsSelect < true > ;
62
- users : UsersSelect < false > | UsersSelect < true > ;
63
63
'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
64
64
'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
65
65
'payload-migrations' : PayloadMigrationsSelect < false > | PayloadMigrationsSelect < true > ;
@@ -399,6 +399,7 @@ export interface Media {
399
399
organisation ?: ( number | null ) | Organisation ;
400
400
createdBy ?: ( number | null ) | User ;
401
401
updatedBy ?: ( number | null ) | User ;
402
+ prefix ?: string | null ;
402
403
updatedAt : string ;
403
404
createdAt : string ;
404
405
url ?: string | null ;
@@ -461,7 +462,6 @@ export interface User {
461
462
roles ?: ( 'admin' | 'user' ) [ ] | null ;
462
463
organisations ?: UserOrganisations ;
463
464
selectedOrganisation ?: ( number | null ) | Organisation ;
464
- sub ?: string | null ;
465
465
updatedAt : string ;
466
466
createdAt : string ;
467
467
email : string ;
@@ -613,6 +613,10 @@ export interface PayloadLockedDocument {
613
613
relationTo : 'cv' ;
614
614
value : number | Cv ;
615
615
} | null )
616
+ | ( {
617
+ relationTo : 'users' ;
618
+ value : number | User ;
619
+ } | null )
616
620
| ( {
617
621
relationTo : 'skill' ;
618
622
value : number | Skill ;
@@ -644,10 +648,6 @@ export interface PayloadLockedDocument {
644
648
| ( {
645
649
relationTo : 'organisations' ;
646
650
value : number | Organisation ;
647
- } | null )
648
- | ( {
649
- relationTo : 'users' ;
650
- value : number | User ;
651
651
} | null ) ;
652
652
globalSlug ?: string | null ;
653
653
user : {
@@ -812,6 +812,35 @@ export interface SocialLinksSelect<T extends boolean = true> {
812
812
url ?: T ;
813
813
id ?: T ;
814
814
}
815
+ /**
816
+ * This interface was referenced by `Config`'s JSON-Schema
817
+ * via the `definition` "users_select".
818
+ */
819
+ export interface UsersSelect < T extends boolean = true > {
820
+ firstName ?: T ;
821
+ lastName ?: T ;
822
+ roles ?: T ;
823
+ organisations ?: T | UserOrganisationsSelect < T > ;
824
+ selectedOrganisation ?: T ;
825
+ updatedAt ?: T ;
826
+ createdAt ?: T ;
827
+ email ?: T ;
828
+ resetPasswordToken ?: T ;
829
+ resetPasswordExpiration ?: T ;
830
+ salt ?: T ;
831
+ hash ?: T ;
832
+ loginAttempts ?: T ;
833
+ lockUntil ?: T ;
834
+ }
835
+ /**
836
+ * This interface was referenced by `Config`'s JSON-Schema
837
+ * via the `definition` "UserOrganisations_select".
838
+ */
839
+ export interface UserOrganisationsSelect < T extends boolean = true > {
840
+ organisation ?: T ;
841
+ roles ?: T ;
842
+ id ?: T ;
843
+ }
815
844
/**
816
845
* This interface was referenced by `Config`'s JSON-Schema
817
846
* via the `definition` "skill_select".
@@ -898,6 +927,7 @@ export interface MediaSelect<T extends boolean = true> {
898
927
organisation ?: T ;
899
928
createdBy ?: T ;
900
929
updatedBy ?: T ;
930
+ prefix ?: T ;
901
931
updatedAt ?: T ;
902
932
createdAt ?: T ;
903
933
url ?: T ;
@@ -956,36 +986,6 @@ export interface OrganisationsSelect<T extends boolean = true> {
956
986
updatedAt ?: T ;
957
987
createdAt ?: T ;
958
988
}
959
- /**
960
- * This interface was referenced by `Config`'s JSON-Schema
961
- * via the `definition` "users_select".
962
- */
963
- export interface UsersSelect < T extends boolean = true > {
964
- firstName ?: T ;
965
- lastName ?: T ;
966
- roles ?: T ;
967
- organisations ?: T | UserOrganisationsSelect < T > ;
968
- selectedOrganisation ?: T ;
969
- sub ?: T ;
970
- updatedAt ?: T ;
971
- createdAt ?: T ;
972
- email ?: T ;
973
- resetPasswordToken ?: T ;
974
- resetPasswordExpiration ?: T ;
975
- salt ?: T ;
976
- hash ?: T ;
977
- loginAttempts ?: T ;
978
- lockUntil ?: T ;
979
- }
980
- /**
981
- * This interface was referenced by `Config`'s JSON-Schema
982
- * via the `definition` "UserOrganisations_select".
983
- */
984
- export interface UserOrganisationsSelect < T extends boolean = true > {
985
- organisation ?: T ;
986
- roles ?: T ;
987
- id ?: T ;
988
- }
989
989
/**
990
990
* This interface was referenced by `Config`'s JSON-Schema
991
991
* via the `definition` "payload-locked-documents_select".
0 commit comments