@@ -22,7 +22,7 @@ export interface Config {
22
22
'payload-migrations' : PayloadMigration ;
23
23
} ;
24
24
db : {
25
- defaultIDType : string ;
25
+ defaultIDType : number ;
26
26
} ;
27
27
globals : { } ;
28
28
locale : 'en' | 'es' ;
@@ -53,15 +53,15 @@ export interface UserAuthOperations {
53
53
* via the `definition` "posts".
54
54
*/
55
55
export interface Post {
56
- id : string ;
56
+ id : number ;
57
57
title ?: string | null ;
58
- upload ?: ( string | null ) | Upload ;
59
- category ?: ( string | null ) | Category ;
60
- categories ?: ( string | Category ) [ ] | null ;
61
- categoriesLocalized ?: ( string | Category ) [ ] | null ;
58
+ upload ?: ( number | null ) | Upload ;
59
+ category ?: ( number | null ) | Category ;
60
+ categories ?: ( number | Category ) [ ] | null ;
61
+ categoriesLocalized ?: ( number | Category ) [ ] | null ;
62
62
group ?: {
63
- category ?: ( string | null ) | Category ;
64
- camelCaseCategory ?: ( string | null ) | Category ;
63
+ category ?: ( number | null ) | Category ;
64
+ camelCaseCategory ?: ( number | null ) | Category ;
65
65
} ;
66
66
updatedAt : string ;
67
67
createdAt : string ;
@@ -71,9 +71,9 @@ export interface Post {
71
71
* via the `definition` "uploads".
72
72
*/
73
73
export interface Upload {
74
- id : string ;
74
+ id : number ;
75
75
relatedPosts ?: {
76
- docs ?: ( string | Post ) [ ] | null ;
76
+ docs ?: ( number | Post ) [ ] | null ;
77
77
hasNextPage ?: boolean | null ;
78
78
} | null ;
79
79
updatedAt : string ;
@@ -93,27 +93,27 @@ export interface Upload {
93
93
* via the `definition` "categories".
94
94
*/
95
95
export interface Category {
96
- id : string ;
96
+ id : number ;
97
97
name ?: string | null ;
98
98
relatedPosts ?: {
99
- docs ?: ( string | Post ) [ ] | null ;
99
+ docs ?: ( number | Post ) [ ] | null ;
100
100
hasNextPage ?: boolean | null ;
101
101
} | null ;
102
102
hasManyPosts ?: {
103
- docs ?: ( string | Post ) [ ] | null ;
103
+ docs ?: ( number | Post ) [ ] | null ;
104
104
hasNextPage ?: boolean | null ;
105
105
} | null ;
106
106
hasManyPostsLocalized ?: {
107
- docs ?: ( string | Post ) [ ] | null ;
107
+ docs ?: ( number | Post ) [ ] | null ;
108
108
hasNextPage ?: boolean | null ;
109
109
} | null ;
110
110
group ?: {
111
111
relatedPosts ?: {
112
- docs ?: ( string | Post ) [ ] | null ;
112
+ docs ?: ( number | Post ) [ ] | null ;
113
113
hasNextPage ?: boolean | null ;
114
114
} | null ;
115
115
camelCasePosts ?: {
116
- docs ?: ( string | Post ) [ ] | null ;
116
+ docs ?: ( number | Post ) [ ] | null ;
117
117
hasNextPage ?: boolean | null ;
118
118
} | null ;
119
119
} ;
@@ -125,9 +125,9 @@ export interface Category {
125
125
* via the `definition` "localized-posts".
126
126
*/
127
127
export interface LocalizedPost {
128
- id : string ;
128
+ id : number ;
129
129
title ?: string | null ;
130
- category ?: ( string | null ) | LocalizedCategory ;
130
+ category ?: ( number | null ) | LocalizedCategory ;
131
131
updatedAt : string ;
132
132
createdAt : string ;
133
133
}
@@ -136,10 +136,10 @@ export interface LocalizedPost {
136
136
* via the `definition` "localized-categories".
137
137
*/
138
138
export interface LocalizedCategory {
139
- id : string ;
139
+ id : number ;
140
140
name ?: string | null ;
141
141
relatedPosts ?: {
142
- docs ?: ( string | LocalizedPost ) [ ] | null ;
142
+ docs ?: ( number | LocalizedPost ) [ ] | null ;
143
143
hasNextPage ?: boolean | null ;
144
144
} | null ;
145
145
updatedAt : string ;
@@ -150,7 +150,7 @@ export interface LocalizedCategory {
150
150
* via the `definition` "users".
151
151
*/
152
152
export interface User {
153
- id : string ;
153
+ id : number ;
154
154
updatedAt : string ;
155
155
createdAt : string ;
156
156
email : string ;
@@ -167,36 +167,36 @@ export interface User {
167
167
* via the `definition` "payload-locked-documents".
168
168
*/
169
169
export interface PayloadLockedDocument {
170
- id : string ;
170
+ id : number ;
171
171
document ?:
172
172
| ( {
173
173
relationTo : 'posts' ;
174
- value : string | Post ;
174
+ value : number | Post ;
175
175
} | null )
176
176
| ( {
177
177
relationTo : 'categories' ;
178
- value : string | Category ;
178
+ value : number | Category ;
179
179
} | null )
180
180
| ( {
181
181
relationTo : 'uploads' ;
182
- value : string | Upload ;
182
+ value : number | Upload ;
183
183
} | null )
184
184
| ( {
185
185
relationTo : 'localized-posts' ;
186
- value : string | LocalizedPost ;
186
+ value : number | LocalizedPost ;
187
187
} | null )
188
188
| ( {
189
189
relationTo : 'localized-categories' ;
190
- value : string | LocalizedCategory ;
190
+ value : number | LocalizedCategory ;
191
191
} | null )
192
192
| ( {
193
193
relationTo : 'users' ;
194
- value : string | User ;
194
+ value : number | User ;
195
195
} | null ) ;
196
196
globalSlug ?: string | null ;
197
197
user : {
198
198
relationTo : 'users' ;
199
- value : string | User ;
199
+ value : number | User ;
200
200
} ;
201
201
updatedAt : string ;
202
202
createdAt : string ;
@@ -206,10 +206,10 @@ export interface PayloadLockedDocument {
206
206
* via the `definition` "payload-preferences".
207
207
*/
208
208
export interface PayloadPreference {
209
- id : string ;
209
+ id : number ;
210
210
user : {
211
211
relationTo : 'users' ;
212
- value : string | User ;
212
+ value : number | User ;
213
213
} ;
214
214
key ?: string | null ;
215
215
value ?:
@@ -229,7 +229,7 @@ export interface PayloadPreference {
229
229
* via the `definition` "payload-migrations".
230
230
*/
231
231
export interface PayloadMigration {
232
- id : string ;
232
+ id : number ;
233
233
name ?: string | null ;
234
234
batch ?: number | null ;
235
235
updatedAt : string ;
0 commit comments