6
6
* and re-run `payload generate:types` to regenerate this file.
7
7
*/
8
8
9
+ /**
10
+ * Supported timezones in IANA format.
11
+ *
12
+ * This interface was referenced by `Config`'s JSON-Schema
13
+ * via the `definition` "supportedTimezones".
14
+ */
15
+ export type SupportedTimezones =
16
+ | "Pacific/Midway"
17
+ | "Pacific/Niue"
18
+ | "Pacific/Honolulu"
19
+ | "Pacific/Rarotonga"
20
+ | "America/Anchorage"
21
+ | "Pacific/Gambier"
22
+ | "America/Los_Angeles"
23
+ | "America/Tijuana"
24
+ | "America/Denver"
25
+ | "America/Phoenix"
26
+ | "America/Chicago"
27
+ | "America/Guatemala"
28
+ | "America/New_York"
29
+ | "America/Bogota"
30
+ | "America/Caracas"
31
+ | "America/Santiago"
32
+ | "America/Buenos_Aires"
33
+ | "America/Sao_Paulo"
34
+ | "Atlantic/South_Georgia"
35
+ | "Atlantic/Azores"
36
+ | "Atlantic/Cape_Verde"
37
+ | "Europe/London"
38
+ | "Europe/Berlin"
39
+ | "Africa/Lagos"
40
+ | "Europe/Athens"
41
+ | "Africa/Cairo"
42
+ | "Europe/Moscow"
43
+ | "Asia/Riyadh"
44
+ | "Asia/Dubai"
45
+ | "Asia/Baku"
46
+ | "Asia/Karachi"
47
+ | "Asia/Tashkent"
48
+ | "Asia/Calcutta"
49
+ | "Asia/Dhaka"
50
+ | "Asia/Almaty"
51
+ | "Asia/Jakarta"
52
+ | "Asia/Bangkok"
53
+ | "Asia/Shanghai"
54
+ | "Asia/Singapore"
55
+ | "Asia/Tokyo"
56
+ | "Asia/Seoul"
57
+ | "Australia/Sydney"
58
+ | "Pacific/Guam"
59
+ | "Pacific/Noumea"
60
+ | "Pacific/Auckland"
61
+ | "Pacific/Fiji" ;
62
+
9
63
export interface Config {
10
64
auth : {
11
65
users : UserAuthOperations ;
12
66
} ;
13
67
collections : {
14
68
users : User ;
15
- ' payload-locked-documents' : PayloadLockedDocument ;
16
- ' payload-preferences' : PayloadPreference ;
17
- ' payload-migrations' : PayloadMigration ;
69
+ " payload-locked-documents" : PayloadLockedDocument ;
70
+ " payload-preferences" : PayloadPreference ;
71
+ " payload-migrations" : PayloadMigration ;
18
72
} ;
19
73
collectionsJoins : { } ;
20
74
collectionsSelect : {
21
75
users : UsersSelect < false > | UsersSelect < true > ;
22
- 'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
23
- 'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
24
- 'payload-migrations' : PayloadMigrationsSelect < false > | PayloadMigrationsSelect < true > ;
76
+ "payload-locked-documents" :
77
+ | PayloadLockedDocumentsSelect < false >
78
+ | PayloadLockedDocumentsSelect < true > ;
79
+ "payload-preferences" :
80
+ | PayloadPreferencesSelect < false >
81
+ | PayloadPreferencesSelect < true > ;
82
+ "payload-migrations" :
83
+ | PayloadMigrationsSelect < false >
84
+ | PayloadMigrationsSelect < true > ;
25
85
} ;
26
86
db : {
27
87
defaultIDType : number ;
@@ -30,7 +90,7 @@ export interface Config {
30
90
globalsSelect : { } ;
31
91
locale : null ;
32
92
user : User & {
33
- collection : ' users' ;
93
+ collection : " users" ;
34
94
} ;
35
95
jobs : {
36
96
tasks : unknown ;
@@ -73,12 +133,12 @@ export interface User {
73
133
export interface PayloadLockedDocument {
74
134
id : number ;
75
135
document ?: {
76
- relationTo : ' users' ;
136
+ relationTo : " users" ;
77
137
value : number | User ;
78
138
} | null ;
79
139
globalSlug ?: string | null ;
80
140
user : {
81
- relationTo : ' users' ;
141
+ relationTo : " users" ;
82
142
value : number | User ;
83
143
} ;
84
144
updatedAt : string ;
@@ -91,7 +151,7 @@ export interface PayloadLockedDocument {
91
151
export interface PayloadPreference {
92
152
id : number ;
93
153
user : {
94
- relationTo : ' users' ;
154
+ relationTo : " users" ;
95
155
value : number | User ;
96
156
} ;
97
157
key ?: string | null ;
@@ -168,7 +228,6 @@ export interface Auth {
168
228
[ k : string ] : unknown ;
169
229
}
170
230
171
-
172
- declare module 'payload' {
231
+ declare module "payload" {
173
232
export interface GeneratedTypes extends Config { }
174
- }
233
+ }
0 commit comments