@@ -25,6 +25,9 @@ export interface Config {
25
25
'categories-join-restricted' : CategoriesJoinRestricted ;
26
26
'restricted-posts' : RestrictedPost ;
27
27
'collection-restricted' : CollectionRestricted ;
28
+ 'depth-joins-1' : DepthJoins1 ;
29
+ 'depth-joins-2' : DepthJoins2 ;
30
+ 'depth-joins-3' : DepthJoins3 ;
28
31
users : User ;
29
32
'payload-locked-documents' : PayloadLockedDocument ;
30
33
'payload-preferences' : PayloadPreference ;
@@ -66,6 +69,12 @@ export interface Config {
66
69
'categories-join-restricted' : {
67
70
collectionRestrictedJoin : 'collection-restricted' ;
68
71
} ;
72
+ 'depth-joins-1' : {
73
+ joins : 'depth-joins-3' ;
74
+ } ;
75
+ 'depth-joins-2' : {
76
+ joins : 'depth-joins-1' ;
77
+ } ;
69
78
} ;
70
79
collectionsSelect : {
71
80
posts : PostsSelect < false > | PostsSelect < true > ;
@@ -82,6 +91,9 @@ export interface Config {
82
91
'categories-join-restricted' : CategoriesJoinRestrictedSelect < false > | CategoriesJoinRestrictedSelect < true > ;
83
92
'restricted-posts' : RestrictedPostsSelect < false > | RestrictedPostsSelect < true > ;
84
93
'collection-restricted' : CollectionRestrictedSelect < false > | CollectionRestrictedSelect < true > ;
94
+ 'depth-joins-1' : DepthJoins1Select < false > | DepthJoins1Select < true > ;
95
+ 'depth-joins-2' : DepthJoins2Select < false > | DepthJoins2Select < true > ;
96
+ 'depth-joins-3' : DepthJoins3Select < false > | DepthJoins3Select < true > ;
85
97
users : UsersSelect < false > | UsersSelect < true > ;
86
98
'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
87
99
'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
@@ -451,6 +463,43 @@ export interface RestrictedPost {
451
463
updatedAt : string ;
452
464
createdAt : string ;
453
465
}
466
+ /**
467
+ * This interface was referenced by `Config`'s JSON-Schema
468
+ * via the `definition` "depth-joins-1".
469
+ */
470
+ export interface DepthJoins1 {
471
+ id : string ;
472
+ rel ?: ( string | null ) | DepthJoins2 ;
473
+ joins ?: {
474
+ docs ?: ( string | DepthJoins3 ) [ ] | null ;
475
+ hasNextPage ?: boolean | null ;
476
+ } | null ;
477
+ updatedAt : string ;
478
+ createdAt : string ;
479
+ }
480
+ /**
481
+ * This interface was referenced by `Config`'s JSON-Schema
482
+ * via the `definition` "depth-joins-2".
483
+ */
484
+ export interface DepthJoins2 {
485
+ id : string ;
486
+ joins ?: {
487
+ docs ?: ( string | DepthJoins1 ) [ ] | null ;
488
+ hasNextPage ?: boolean | null ;
489
+ } | null ;
490
+ updatedAt : string ;
491
+ createdAt : string ;
492
+ }
493
+ /**
494
+ * This interface was referenced by `Config`'s JSON-Schema
495
+ * via the `definition` "depth-joins-3".
496
+ */
497
+ export interface DepthJoins3 {
498
+ id : string ;
499
+ rel ?: ( string | null ) | DepthJoins1 ;
500
+ updatedAt : string ;
501
+ createdAt : string ;
502
+ }
454
503
/**
455
504
* This interface was referenced by `Config`'s JSON-Schema
456
505
* via the `definition` "payload-locked-documents".
@@ -514,6 +563,18 @@ export interface PayloadLockedDocument {
514
563
relationTo : 'collection-restricted' ;
515
564
value : string | CollectionRestricted ;
516
565
} | null )
566
+ | ( {
567
+ relationTo : 'depth-joins-1' ;
568
+ value : string | DepthJoins1 ;
569
+ } | null )
570
+ | ( {
571
+ relationTo : 'depth-joins-2' ;
572
+ value : string | DepthJoins2 ;
573
+ } | null )
574
+ | ( {
575
+ relationTo : 'depth-joins-3' ;
576
+ value : string | DepthJoins3 ;
577
+ } | null )
517
578
| ( {
518
579
relationTo : 'users' ;
519
580
value : string | User ;
@@ -761,6 +822,34 @@ export interface CollectionRestrictedSelect<T extends boolean = true> {
761
822
updatedAt ?: T ;
762
823
createdAt ?: T ;
763
824
}
825
+ /**
826
+ * This interface was referenced by `Config`'s JSON-Schema
827
+ * via the `definition` "depth-joins-1_select".
828
+ */
829
+ export interface DepthJoins1Select < T extends boolean = true > {
830
+ rel ?: T ;
831
+ joins ?: T ;
832
+ updatedAt ?: T ;
833
+ createdAt ?: T ;
834
+ }
835
+ /**
836
+ * This interface was referenced by `Config`'s JSON-Schema
837
+ * via the `definition` "depth-joins-2_select".
838
+ */
839
+ export interface DepthJoins2Select < T extends boolean = true > {
840
+ joins ?: T ;
841
+ updatedAt ?: T ;
842
+ createdAt ?: T ;
843
+ }
844
+ /**
845
+ * This interface was referenced by `Config`'s JSON-Schema
846
+ * via the `definition` "depth-joins-3_select".
847
+ */
848
+ export interface DepthJoins3Select < T extends boolean = true > {
849
+ rel ?: T ;
850
+ updatedAt ?: T ;
851
+ createdAt ?: T ;
852
+ }
764
853
/**
765
854
* This interface was referenced by `Config`'s JSON-Schema
766
855
* via the `definition` "users_select".
0 commit comments