@01.software/sdk 0.1.0-dev.260211.a92d27b → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2904 @@
1
+ /**
2
+ * This file was automatically generated by Payload.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
4
+ * and re-run `payload generate:types` to regenerate this file.
5
+ */
6
+ /**
7
+ * Supported timezones in IANA format.
8
+ *
9
+ * This interface was referenced by `Config`'s JSON-Schema
10
+ * via the `definition` "supportedTimezones".
11
+ */
12
+ type SupportedTimezones = 'Pacific/Midway' | 'Pacific/Niue' | 'Pacific/Honolulu' | 'Pacific/Rarotonga' | 'America/Anchorage' | 'Pacific/Gambier' | 'America/Los_Angeles' | 'America/Tijuana' | 'America/Denver' | 'America/Phoenix' | 'America/Chicago' | 'America/Guatemala' | 'America/New_York' | 'America/Bogota' | 'America/Caracas' | 'America/Santiago' | 'America/Buenos_Aires' | 'America/Sao_Paulo' | 'Atlantic/South_Georgia' | 'Atlantic/Azores' | 'Atlantic/Cape_Verde' | 'Europe/London' | 'Europe/Berlin' | 'Africa/Lagos' | 'Europe/Athens' | 'Africa/Cairo' | 'Europe/Moscow' | 'Asia/Riyadh' | 'Asia/Dubai' | 'Asia/Baku' | 'Asia/Karachi' | 'Asia/Tashkent' | 'Asia/Calcutta' | 'Asia/Dhaka' | 'Asia/Almaty' | 'Asia/Jakarta' | 'Asia/Bangkok' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Asia/Seoul' | 'Australia/Brisbane' | 'Australia/Sydney' | 'Pacific/Guam' | 'Pacific/Noumea' | 'Pacific/Auckland' | 'Pacific/Fiji';
13
+ interface Config {
14
+ auth: {
15
+ users: UserAuthOperations;
16
+ };
17
+ blocks: {
18
+ Player: PlayerBlock;
19
+ Iframe: IframeBlock;
20
+ Code: CodeBlock;
21
+ };
22
+ collections: {
23
+ users: User;
24
+ media: Media;
25
+ audiences: Audience;
26
+ 'email-logs': EmailLog;
27
+ tenants: Tenant;
28
+ 'tenant-metadata': TenantMetadatum;
29
+ 'tenant-logos': TenantLogo;
30
+ 'tenant-og-images': TenantOgImage;
31
+ 'api-usage': ApiUsage;
32
+ products: Product;
33
+ 'product-variants': ProductVariant;
34
+ 'product-options': ProductOption;
35
+ 'product-categories': ProductCategory;
36
+ 'product-tags': ProductTag;
37
+ 'product-images': ProductImage;
38
+ brands: Brand;
39
+ 'brand-logos': BrandLogo;
40
+ orders: Order;
41
+ 'order-products': OrderProduct;
42
+ returns: Return;
43
+ 'return-products': ReturnProduct;
44
+ transactions: Transaction;
45
+ posts: Post;
46
+ 'post-categories': PostCategory;
47
+ 'post-tags': PostTag;
48
+ 'post-images': PostImage;
49
+ authors: Author;
50
+ documents: Document;
51
+ 'document-categories': DocumentCategory;
52
+ 'document-images': DocumentImage;
53
+ playlists: Playlist;
54
+ 'playlist-images': PlaylistImage;
55
+ musics: Music;
56
+ galleries: Gallery;
57
+ 'gallery-images': GalleryImage;
58
+ forms: Form;
59
+ 'form-submissions': FormSubmission;
60
+ 'payload-kv': PayloadKv;
61
+ 'payload-locked-documents': PayloadLockedDocument;
62
+ 'payload-preferences': PayloadPreference;
63
+ 'payload-migrations': PayloadMigration;
64
+ };
65
+ collectionsJoins: {
66
+ products: {
67
+ variants: 'product-variants';
68
+ options: 'product-options';
69
+ };
70
+ 'product-variants': {
71
+ productOptions: 'product-options';
72
+ };
73
+ orders: {
74
+ products: 'order-products';
75
+ transactions: 'transactions';
76
+ returns: 'returns';
77
+ };
78
+ returns: {
79
+ returnProducts: 'return-products';
80
+ };
81
+ authors: {
82
+ posts: 'posts';
83
+ };
84
+ playlists: {
85
+ musics: 'musics';
86
+ };
87
+ };
88
+ collectionsSelect: {
89
+ users: UsersSelect<false> | UsersSelect<true>;
90
+ media: MediaSelect<false> | MediaSelect<true>;
91
+ audiences: AudiencesSelect<false> | AudiencesSelect<true>;
92
+ 'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
93
+ tenants: TenantsSelect<false> | TenantsSelect<true>;
94
+ 'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
95
+ 'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
96
+ 'tenant-og-images': TenantOgImagesSelect<false> | TenantOgImagesSelect<true>;
97
+ 'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
98
+ products: ProductsSelect<false> | ProductsSelect<true>;
99
+ 'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
100
+ 'product-options': ProductOptionsSelect<false> | ProductOptionsSelect<true>;
101
+ 'product-categories': ProductCategoriesSelect<false> | ProductCategoriesSelect<true>;
102
+ 'product-tags': ProductTagsSelect<false> | ProductTagsSelect<true>;
103
+ 'product-images': ProductImagesSelect<false> | ProductImagesSelect<true>;
104
+ brands: BrandsSelect<false> | BrandsSelect<true>;
105
+ 'brand-logos': BrandLogosSelect<false> | BrandLogosSelect<true>;
106
+ orders: OrdersSelect<false> | OrdersSelect<true>;
107
+ 'order-products': OrderProductsSelect<false> | OrderProductsSelect<true>;
108
+ returns: ReturnsSelect<false> | ReturnsSelect<true>;
109
+ 'return-products': ReturnProductsSelect<false> | ReturnProductsSelect<true>;
110
+ transactions: TransactionsSelect<false> | TransactionsSelect<true>;
111
+ posts: PostsSelect<false> | PostsSelect<true>;
112
+ 'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
113
+ 'post-tags': PostTagsSelect<false> | PostTagsSelect<true>;
114
+ 'post-images': PostImagesSelect<false> | PostImagesSelect<true>;
115
+ authors: AuthorsSelect<false> | AuthorsSelect<true>;
116
+ documents: DocumentsSelect<false> | DocumentsSelect<true>;
117
+ 'document-categories': DocumentCategoriesSelect<false> | DocumentCategoriesSelect<true>;
118
+ 'document-images': DocumentImagesSelect<false> | DocumentImagesSelect<true>;
119
+ playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
120
+ 'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
121
+ musics: MusicsSelect<false> | MusicsSelect<true>;
122
+ galleries: GalleriesSelect<false> | GalleriesSelect<true>;
123
+ 'gallery-images': GalleryImagesSelect<false> | GalleryImagesSelect<true>;
124
+ forms: FormsSelect<false> | FormsSelect<true>;
125
+ 'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
126
+ 'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
127
+ 'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
128
+ 'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
129
+ 'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
130
+ };
131
+ db: {
132
+ defaultIDType: number;
133
+ };
134
+ fallbackLocale: null;
135
+ globals: {};
136
+ globalsSelect: {};
137
+ locale: null;
138
+ user: User & {
139
+ collection: 'users';
140
+ };
141
+ jobs: {
142
+ tasks: unknown;
143
+ workflows: unknown;
144
+ };
145
+ }
146
+ interface UserAuthOperations {
147
+ forgotPassword: {
148
+ email: string;
149
+ password: string;
150
+ };
151
+ login: {
152
+ email: string;
153
+ password: string;
154
+ };
155
+ registerFirstUser: {
156
+ email: string;
157
+ password: string;
158
+ };
159
+ unlock: {
160
+ email: string;
161
+ password: string;
162
+ };
163
+ }
164
+ /**
165
+ * This interface was referenced by `Config`'s JSON-Schema
166
+ * via the `definition` "PlayerBlock".
167
+ */
168
+ interface PlayerBlock {
169
+ url: string;
170
+ width?: number | null;
171
+ height?: number | null;
172
+ id?: string | null;
173
+ blockName?: string | null;
174
+ blockType: 'Player';
175
+ }
176
+ /**
177
+ * This interface was referenced by `Config`'s JSON-Schema
178
+ * via the `definition` "IframeBlock".
179
+ */
180
+ interface IframeBlock {
181
+ url: string;
182
+ width?: number | null;
183
+ height?: number | null;
184
+ id?: string | null;
185
+ blockName?: string | null;
186
+ blockType: 'Iframe';
187
+ }
188
+ /**
189
+ * This interface was referenced by `Config`'s JSON-Schema
190
+ * via the `definition` "CodeBlock".
191
+ */
192
+ interface CodeBlock {
193
+ language?: ('typescript' | 'javascript' | 'tsx' | 'python' | 'html' | 'css' | 'json' | 'bash' | 'sql' | 'graphql' | 'yaml' | 'markdown' | 'go' | 'rust' | 'java' | 'plaintext') | null;
194
+ code: string;
195
+ id?: string | null;
196
+ blockName?: string | null;
197
+ blockType: 'Code';
198
+ }
199
+ /**
200
+ * This interface was referenced by `Config`'s JSON-Schema
201
+ * via the `definition` "users".
202
+ */
203
+ interface User {
204
+ id: number;
205
+ roles: ('super-admin' | 'user' | 'customer')[];
206
+ tenants?: {
207
+ tenant: number | Tenant;
208
+ roles: ('tenant-admin' | 'tenant-viewer')[];
209
+ id?: string | null;
210
+ }[] | null;
211
+ emailPreferences?: {
212
+ usageAlerts?: boolean | null;
213
+ };
214
+ updatedAt: string;
215
+ createdAt: string;
216
+ email: string;
217
+ resetPasswordToken?: string | null;
218
+ resetPasswordExpiration?: string | null;
219
+ salt?: string | null;
220
+ hash?: string | null;
221
+ _verified?: boolean | null;
222
+ _verificationToken?: string | null;
223
+ loginAttempts?: number | null;
224
+ lockUntil?: string | null;
225
+ sessions?: {
226
+ id: string;
227
+ createdAt?: string | null;
228
+ expiresAt: string;
229
+ }[] | null;
230
+ password?: string | null;
231
+ }
232
+ /**
233
+ * This interface was referenced by `Config`'s JSON-Schema
234
+ * via the `definition` "tenants".
235
+ */
236
+ interface Tenant {
237
+ id: number;
238
+ name: string;
239
+ domain?: string | null;
240
+ features?: ('ecommerce' | 'playlists' | 'links' | 'forms' | 'galleries' | 'posts' | 'documents')[] | null;
241
+ plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
242
+ clientKey: string;
243
+ secretKeys?: {
244
+ name: string;
245
+ value?: string | null;
246
+ id?: string | null;
247
+ }[] | null;
248
+ /**
249
+ * The URL to send webhooks to.
250
+ */
251
+ webhookUrl?: string | null;
252
+ updatedAt: string;
253
+ createdAt: string;
254
+ }
255
+ /**
256
+ * This interface was referenced by `Config`'s JSON-Schema
257
+ * via the `definition` "media".
258
+ */
259
+ interface Media {
260
+ id: number;
261
+ tenant?: (number | null) | Tenant;
262
+ alt?: string | null;
263
+ caption?: string | null;
264
+ /**
265
+ * Photographer or source attribution
266
+ */
267
+ credit?: string | null;
268
+ prefix?: string | null;
269
+ updatedAt: string;
270
+ createdAt: string;
271
+ url?: string | null;
272
+ thumbnailURL?: string | null;
273
+ filename?: string | null;
274
+ mimeType?: string | null;
275
+ filesize?: number | null;
276
+ width?: number | null;
277
+ height?: number | null;
278
+ focalX?: number | null;
279
+ focalY?: number | null;
280
+ }
281
+ /**
282
+ * This interface was referenced by `Config`'s JSON-Schema
283
+ * via the `definition` "audiences".
284
+ */
285
+ interface Audience {
286
+ id: number;
287
+ email: string;
288
+ firstName?: string | null;
289
+ lastName?: string | null;
290
+ status: 'subscribed' | 'unsubscribed';
291
+ source: 'newsletter' | 'manual';
292
+ subscribedAt?: string | null;
293
+ unsubscribedAt?: string | null;
294
+ /**
295
+ * Resend Contact ID (auto-synced)
296
+ */
297
+ resendContactId?: string | null;
298
+ updatedAt: string;
299
+ createdAt: string;
300
+ }
301
+ /**
302
+ * This interface was referenced by `Config`'s JSON-Schema
303
+ * via the `definition` "email-logs".
304
+ */
305
+ interface EmailLog {
306
+ id: number;
307
+ to: string;
308
+ from?: string | null;
309
+ subject: string;
310
+ type: 'usage-alert' | 'verification' | 'password-reset' | 'newsletter' | 'other';
311
+ status: 'sent' | 'failed';
312
+ sentAt: string;
313
+ error?: string | null;
314
+ updatedAt: string;
315
+ createdAt: string;
316
+ }
317
+ /**
318
+ * This interface was referenced by `Config`'s JSON-Schema
319
+ * via the `definition` "tenant-metadata".
320
+ */
321
+ interface TenantMetadatum {
322
+ id: number;
323
+ tenant?: (number | null) | Tenant;
324
+ siteInfo?: {
325
+ /**
326
+ * Site title (used in browser tab and SEO)
327
+ */
328
+ title?: string | null;
329
+ /**
330
+ * Site description (used for SEO and social media)
331
+ */
332
+ description?: string | null;
333
+ /**
334
+ * Comma-separated keywords for SEO
335
+ */
336
+ keywords?: string | null;
337
+ /**
338
+ * Site author or company name
339
+ */
340
+ author?: string | null;
341
+ /**
342
+ * Full site URL (e.g., https://example.com)
343
+ */
344
+ siteUrl?: string | null;
345
+ };
346
+ branding?: {
347
+ /**
348
+ * Primary logo
349
+ */
350
+ logo?: (number | null) | BrandLogo;
351
+ /**
352
+ * Logo for dark mode (optional)
353
+ */
354
+ logoDark?: (number | null) | BrandLogo;
355
+ /**
356
+ * Logo mark / Icon (optional)
357
+ */
358
+ logomark?: (number | null) | BrandLogo;
359
+ /**
360
+ * Favicon (will be resized automatically)
361
+ */
362
+ favicon?: (number | null) | BrandLogo;
363
+ /**
364
+ * Theme color for mobile browsers (hex color)
365
+ */
366
+ themeColor?: string | null;
367
+ };
368
+ openGraph?: {
369
+ /**
370
+ * Open Graph title (falls back to site title)
371
+ */
372
+ ogTitle?: string | null;
373
+ /**
374
+ * Open Graph description (falls back to site description)
375
+ */
376
+ ogDescription?: string | null;
377
+ /**
378
+ * Open Graph image (1200x630 recommended)
379
+ */
380
+ ogImage?: (number | null) | TenantOgImage;
381
+ /**
382
+ * Open Graph type
383
+ */
384
+ ogType?: ('website' | 'article' | 'product' | 'profile') | null;
385
+ /**
386
+ * Open Graph locale (e.g., ko_KR, en_US)
387
+ */
388
+ ogLocale?: string | null;
389
+ };
390
+ twitter?: {
391
+ /**
392
+ * Twitter card type
393
+ */
394
+ twitterCard?: ('summary' | 'summary_large_image' | 'app' | 'player') | null;
395
+ /**
396
+ * Twitter username for the site (e.g., @yoursite)
397
+ */
398
+ twitterSite?: string | null;
399
+ /**
400
+ * Twitter username for the content creator (e.g., @author)
401
+ */
402
+ twitterCreator?: string | null;
403
+ /**
404
+ * Twitter title (falls back to OG title or site title)
405
+ */
406
+ twitterTitle?: string | null;
407
+ /**
408
+ * Twitter description (falls back to OG or site description)
409
+ */
410
+ twitterDescription?: string | null;
411
+ /**
412
+ * Twitter card image (falls back to OG image)
413
+ */
414
+ twitterImage?: (number | null) | TenantOgImage;
415
+ };
416
+ seo?: {
417
+ /**
418
+ * Robots meta tag (e.g., "index, follow" or "noindex, nofollow")
419
+ */
420
+ robots?: string | null;
421
+ /**
422
+ * Google Site Verification code
423
+ */
424
+ googleSiteVerification?: string | null;
425
+ /**
426
+ * Bing Site Verification code
427
+ */
428
+ bingSiteVerification?: string | null;
429
+ /**
430
+ * Naver Site Verification code
431
+ */
432
+ naverSiteVerification?: string | null;
433
+ /**
434
+ * Canonical URL (if different from site URL)
435
+ */
436
+ canonicalUrl?: string | null;
437
+ };
438
+ pwa?: {
439
+ /**
440
+ * Short name for PWA (12 characters max)
441
+ */
442
+ shortName?: string | null;
443
+ /**
444
+ * Background color for PWA splash screen
445
+ */
446
+ backgroundColor?: string | null;
447
+ /**
448
+ * PWA display mode
449
+ */
450
+ display?: ('fullscreen' | 'standalone' | 'minimal-ui' | 'browser') | null;
451
+ };
452
+ analytics?: {
453
+ /**
454
+ * Google Analytics ID (e.g., G-XXXXXXXXXX)
455
+ */
456
+ googleAnalyticsId?: string | null;
457
+ /**
458
+ * Google Tag Manager ID (e.g., GTM-XXXXXXX)
459
+ */
460
+ googleTagManagerId?: string | null;
461
+ /**
462
+ * Facebook Pixel ID
463
+ */
464
+ facebookPixelId?: string | null;
465
+ /**
466
+ * LinkedIn Partner ID
467
+ */
468
+ linkedInPartnerId?: string | null;
469
+ };
470
+ updatedAt: string;
471
+ createdAt: string;
472
+ }
473
+ /**
474
+ * This interface was referenced by `Config`'s JSON-Schema
475
+ * via the `definition` "brand-logos".
476
+ */
477
+ interface BrandLogo {
478
+ id: number;
479
+ tenant?: (number | null) | Tenant;
480
+ alt?: string | null;
481
+ lqip?: string | null;
482
+ palette?: {
483
+ vibrant?: string | null;
484
+ muted?: string | null;
485
+ darkVibrant?: string | null;
486
+ darkMuted?: string | null;
487
+ lightVibrant?: string | null;
488
+ lightMuted?: string | null;
489
+ };
490
+ prefix?: string | null;
491
+ updatedAt: string;
492
+ createdAt: string;
493
+ url?: string | null;
494
+ thumbnailURL?: string | null;
495
+ filename?: string | null;
496
+ mimeType?: string | null;
497
+ filesize?: number | null;
498
+ width?: number | null;
499
+ height?: number | null;
500
+ focalX?: number | null;
501
+ focalY?: number | null;
502
+ sizes?: {
503
+ '16'?: {
504
+ url?: string | null;
505
+ width?: number | null;
506
+ height?: number | null;
507
+ mimeType?: string | null;
508
+ filesize?: number | null;
509
+ filename?: string | null;
510
+ };
511
+ '32'?: {
512
+ url?: string | null;
513
+ width?: number | null;
514
+ height?: number | null;
515
+ mimeType?: string | null;
516
+ filesize?: number | null;
517
+ filename?: string | null;
518
+ };
519
+ '64'?: {
520
+ url?: string | null;
521
+ width?: number | null;
522
+ height?: number | null;
523
+ mimeType?: string | null;
524
+ filesize?: number | null;
525
+ filename?: string | null;
526
+ };
527
+ '128'?: {
528
+ url?: string | null;
529
+ width?: number | null;
530
+ height?: number | null;
531
+ mimeType?: string | null;
532
+ filesize?: number | null;
533
+ filename?: string | null;
534
+ };
535
+ '180'?: {
536
+ url?: string | null;
537
+ width?: number | null;
538
+ height?: number | null;
539
+ mimeType?: string | null;
540
+ filesize?: number | null;
541
+ filename?: string | null;
542
+ };
543
+ '192'?: {
544
+ url?: string | null;
545
+ width?: number | null;
546
+ height?: number | null;
547
+ mimeType?: string | null;
548
+ filesize?: number | null;
549
+ filename?: string | null;
550
+ };
551
+ '512'?: {
552
+ url?: string | null;
553
+ width?: number | null;
554
+ height?: number | null;
555
+ mimeType?: string | null;
556
+ filesize?: number | null;
557
+ filename?: string | null;
558
+ };
559
+ };
560
+ }
561
+ /**
562
+ * This interface was referenced by `Config`'s JSON-Schema
563
+ * via the `definition` "tenant-og-images".
564
+ */
565
+ interface TenantOgImage {
566
+ id: number;
567
+ tenant?: (number | null) | Tenant;
568
+ alt?: string | null;
569
+ lqip?: string | null;
570
+ palette?: {
571
+ vibrant?: string | null;
572
+ muted?: string | null;
573
+ darkVibrant?: string | null;
574
+ darkMuted?: string | null;
575
+ lightVibrant?: string | null;
576
+ lightMuted?: string | null;
577
+ };
578
+ prefix?: string | null;
579
+ updatedAt: string;
580
+ createdAt: string;
581
+ url?: string | null;
582
+ thumbnailURL?: string | null;
583
+ filename?: string | null;
584
+ mimeType?: string | null;
585
+ filesize?: number | null;
586
+ width?: number | null;
587
+ height?: number | null;
588
+ focalX?: number | null;
589
+ focalY?: number | null;
590
+ }
591
+ /**
592
+ * This interface was referenced by `Config`'s JSON-Schema
593
+ * via the `definition` "tenant-logos".
594
+ */
595
+ interface TenantLogo {
596
+ id: number;
597
+ tenant?: (number | null) | Tenant;
598
+ alt?: string | null;
599
+ lqip?: string | null;
600
+ palette?: {
601
+ vibrant?: string | null;
602
+ muted?: string | null;
603
+ darkVibrant?: string | null;
604
+ darkMuted?: string | null;
605
+ lightVibrant?: string | null;
606
+ lightMuted?: string | null;
607
+ };
608
+ prefix?: string | null;
609
+ updatedAt: string;
610
+ createdAt: string;
611
+ url?: string | null;
612
+ thumbnailURL?: string | null;
613
+ filename?: string | null;
614
+ mimeType?: string | null;
615
+ filesize?: number | null;
616
+ width?: number | null;
617
+ height?: number | null;
618
+ focalX?: number | null;
619
+ focalY?: number | null;
620
+ }
621
+ /**
622
+ * This interface was referenced by `Config`'s JSON-Schema
623
+ * via the `definition` "api-usage".
624
+ */
625
+ interface ApiUsage {
626
+ id: number;
627
+ tenant?: (number | null) | Tenant;
628
+ /**
629
+ * YYYY-MM format
630
+ */
631
+ month: string;
632
+ count: number;
633
+ plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
634
+ /**
635
+ * -1 means unlimited
636
+ */
637
+ limit: number;
638
+ /**
639
+ * Storage usage in bytes
640
+ */
641
+ storageUsed?: number | null;
642
+ /**
643
+ * Storage limit in bytes (-1 means unlimited)
644
+ */
645
+ storageLimit?: number | null;
646
+ /**
647
+ * Total document count across all tenant-scoped collections
648
+ */
649
+ totalDocuments?: number | null;
650
+ updatedAt: string;
651
+ createdAt: string;
652
+ }
653
+ /**
654
+ * This interface was referenced by `Config`'s JSON-Schema
655
+ * via the `definition` "products".
656
+ */
657
+ interface Product {
658
+ id: number;
659
+ _order?: string | null;
660
+ tenant?: (number | null) | Tenant;
661
+ title: string;
662
+ subtitle?: string | null;
663
+ /**
664
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
665
+ */
666
+ generateSlug?: boolean | null;
667
+ slug?: string | null;
668
+ /**
669
+ * Stock Keeping Unit
670
+ */
671
+ sku?: string | null;
672
+ status?: ('draft' | 'published' | 'archived') | null;
673
+ isSoldOut?: boolean | null;
674
+ thumbnail?: (number | null) | ProductImage;
675
+ images?: (number | ProductImage)[] | null;
676
+ description?: {
677
+ root: {
678
+ type: string;
679
+ children: {
680
+ type: any;
681
+ version: number;
682
+ [k: string]: unknown;
683
+ }[];
684
+ direction: ('ltr' | 'rtl') | null;
685
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
686
+ indent: number;
687
+ version: number;
688
+ };
689
+ [k: string]: unknown;
690
+ } | null;
691
+ price: number;
692
+ /**
693
+ * Original price before discount
694
+ */
695
+ compareAtPrice?: number | null;
696
+ categories?: (number | ProductCategory)[] | null;
697
+ tags?: (number | ProductTag)[] | null;
698
+ brand?: (number | null) | Brand;
699
+ variants?: {
700
+ docs?: (number | ProductVariant)[];
701
+ hasNextPage?: boolean;
702
+ totalDocs?: number;
703
+ };
704
+ options?: {
705
+ docs?: (number | ProductOption)[];
706
+ hasNextPage?: boolean;
707
+ totalDocs?: number;
708
+ };
709
+ updatedAt: string;
710
+ createdAt: string;
711
+ }
712
+ /**
713
+ * This interface was referenced by `Config`'s JSON-Schema
714
+ * via the `definition` "product-images".
715
+ */
716
+ interface ProductImage {
717
+ id: number;
718
+ tenant?: (number | null) | Tenant;
719
+ alt?: string | null;
720
+ lqip?: string | null;
721
+ palette?: {
722
+ vibrant?: string | null;
723
+ muted?: string | null;
724
+ darkVibrant?: string | null;
725
+ darkMuted?: string | null;
726
+ lightVibrant?: string | null;
727
+ lightMuted?: string | null;
728
+ };
729
+ prefix?: string | null;
730
+ updatedAt: string;
731
+ createdAt: string;
732
+ url?: string | null;
733
+ thumbnailURL?: string | null;
734
+ filename?: string | null;
735
+ mimeType?: string | null;
736
+ filesize?: number | null;
737
+ width?: number | null;
738
+ height?: number | null;
739
+ focalX?: number | null;
740
+ focalY?: number | null;
741
+ sizes?: {
742
+ '512'?: {
743
+ url?: string | null;
744
+ width?: number | null;
745
+ height?: number | null;
746
+ mimeType?: string | null;
747
+ filesize?: number | null;
748
+ filename?: string | null;
749
+ };
750
+ '1024'?: {
751
+ url?: string | null;
752
+ width?: number | null;
753
+ height?: number | null;
754
+ mimeType?: string | null;
755
+ filesize?: number | null;
756
+ filename?: string | null;
757
+ };
758
+ };
759
+ }
760
+ /**
761
+ * This interface was referenced by `Config`'s JSON-Schema
762
+ * via the `definition` "product-categories".
763
+ */
764
+ interface ProductCategory {
765
+ id: number;
766
+ _order?: string | null;
767
+ tenant?: (number | null) | Tenant;
768
+ title: string;
769
+ /**
770
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
771
+ */
772
+ generateSlug?: boolean | null;
773
+ slug?: string | null;
774
+ description?: string | null;
775
+ image?: (number | null) | ProductImage;
776
+ parent?: (number | null) | ProductCategory;
777
+ updatedAt: string;
778
+ createdAt: string;
779
+ }
780
+ /**
781
+ * This interface was referenced by `Config`'s JSON-Schema
782
+ * via the `definition` "product-tags".
783
+ */
784
+ interface ProductTag {
785
+ id: number;
786
+ _order?: string | null;
787
+ tenant?: (number | null) | Tenant;
788
+ title: string;
789
+ /**
790
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
791
+ */
792
+ generateSlug?: boolean | null;
793
+ slug?: string | null;
794
+ description?: string | null;
795
+ updatedAt: string;
796
+ createdAt: string;
797
+ }
798
+ /**
799
+ * This interface was referenced by `Config`'s JSON-Schema
800
+ * via the `definition` "brands".
801
+ */
802
+ interface Brand {
803
+ id: number;
804
+ _order?: string | null;
805
+ tenant?: (number | null) | Tenant;
806
+ name: string;
807
+ /**
808
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
809
+ */
810
+ generateSlug?: boolean | null;
811
+ slug?: string | null;
812
+ /**
813
+ * Primary brand logo
814
+ */
815
+ logo?: (number | null) | BrandLogo;
816
+ /**
817
+ * Logo for dark mode (optional)
818
+ */
819
+ logoDark?: (number | null) | BrandLogo;
820
+ /**
821
+ * Logo mark / Icon (optional)
822
+ */
823
+ logomark?: (number | null) | BrandLogo;
824
+ description?: string | null;
825
+ /**
826
+ * Brand official website URL
827
+ */
828
+ website?: string | null;
829
+ updatedAt: string;
830
+ createdAt: string;
831
+ }
832
+ /**
833
+ * This interface was referenced by `Config`'s JSON-Schema
834
+ * via the `definition` "product-variants".
835
+ */
836
+ interface ProductVariant {
837
+ id: number;
838
+ _order?: string | null;
839
+ '_product-variants_variants_order'?: string | null;
840
+ tenant?: (number | null) | Tenant;
841
+ product: number | Product;
842
+ title: string;
843
+ /**
844
+ * Variant-specific SKU
845
+ */
846
+ sku?: string | null;
847
+ /**
848
+ * Override price (uses product price if empty)
849
+ */
850
+ price?: number | null;
851
+ images?: (number | ProductImage)[] | null;
852
+ productOptions?: {
853
+ docs?: (number | ProductOption)[];
854
+ hasNextPage?: boolean;
855
+ totalDocs?: number;
856
+ };
857
+ updatedAt: string;
858
+ createdAt: string;
859
+ }
860
+ /**
861
+ * This interface was referenced by `Config`'s JSON-Schema
862
+ * via the `definition` "product-options".
863
+ */
864
+ interface ProductOption {
865
+ id: number;
866
+ _order?: string | null;
867
+ '_product-options_productOptions_order'?: string | null;
868
+ '_product-options_options_order'?: string | null;
869
+ tenant?: (number | null) | Tenant;
870
+ product: number | Product;
871
+ variant?: (number | null) | ProductVariant;
872
+ title?: string | null;
873
+ /**
874
+ * Option-specific SKU
875
+ */
876
+ sku?: string | null;
877
+ stock: number;
878
+ /**
879
+ * Price adjustment (add/subtract from base price)
880
+ */
881
+ priceAdjustment?: number | null;
882
+ updatedAt: string;
883
+ createdAt: string;
884
+ }
885
+ /**
886
+ * This interface was referenced by `Config`'s JSON-Schema
887
+ * via the `definition` "orders".
888
+ */
889
+ interface Order {
890
+ id: number;
891
+ tenant?: (number | null) | Tenant;
892
+ orderNumber: string;
893
+ status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
894
+ customer?: {
895
+ name?: string | null;
896
+ email?: string | null;
897
+ phone?: string | null;
898
+ };
899
+ totalAmount?: number | null;
900
+ shippingCarrier?: ('cj' | 'hanjin' | 'lotte' | 'epost' | 'logen' | 'other') | null;
901
+ trackingNumber?: string | null;
902
+ /**
903
+ * Internal notes (not visible to customers)
904
+ */
905
+ notes?: string | null;
906
+ shippingAddress?: {
907
+ recipientName?: string | null;
908
+ phone?: string | null;
909
+ postalCode?: string | null;
910
+ address1?: string | null;
911
+ address2?: string | null;
912
+ deliveryMessage?: string | null;
913
+ };
914
+ products?: {
915
+ docs?: (number | OrderProduct)[];
916
+ hasNextPage?: boolean;
917
+ totalDocs?: number;
918
+ };
919
+ transactions?: {
920
+ docs?: (number | Transaction)[];
921
+ hasNextPage?: boolean;
922
+ totalDocs?: number;
923
+ };
924
+ returns?: {
925
+ docs?: (number | Return)[];
926
+ hasNextPage?: boolean;
927
+ totalDocs?: number;
928
+ };
929
+ updatedAt: string;
930
+ createdAt: string;
931
+ }
932
+ /**
933
+ * This interface was referenced by `Config`'s JSON-Schema
934
+ * via the `definition` "order-products".
935
+ */
936
+ interface OrderProduct {
937
+ id: number;
938
+ tenant?: (number | null) | Tenant;
939
+ order: number | Order;
940
+ product: number | Product;
941
+ variant?: (number | null) | ProductVariant;
942
+ option?: (number | null) | ProductOption;
943
+ quantity: number;
944
+ /**
945
+ * Price per unit at time of order
946
+ */
947
+ unitPrice: number;
948
+ /**
949
+ * unitPrice * quantity
950
+ */
951
+ totalPrice: number;
952
+ title?: string | null;
953
+ updatedAt: string;
954
+ createdAt: string;
955
+ }
956
+ /**
957
+ * This interface was referenced by `Config`'s JSON-Schema
958
+ * via the `definition` "transactions".
959
+ */
960
+ interface Transaction {
961
+ id: number;
962
+ tenant?: (number | null) | Tenant;
963
+ status: 'pending' | 'paid' | 'failed' | 'canceled';
964
+ order: number | Order;
965
+ paymentId?: string | null;
966
+ paymentMethod?: string | null;
967
+ receiptUrl?: string | null;
968
+ totalAmount?: number | null;
969
+ updatedAt: string;
970
+ createdAt: string;
971
+ }
972
+ /**
973
+ * This interface was referenced by `Config`'s JSON-Schema
974
+ * via the `definition` "returns".
975
+ */
976
+ interface Return {
977
+ id: number;
978
+ tenant?: (number | null) | Tenant;
979
+ order: number | Order;
980
+ status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
981
+ reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
982
+ /**
983
+ * Detailed return reason
984
+ */
985
+ reasonDetail?: string | null;
986
+ returnProducts?: {
987
+ docs?: (number | ReturnProduct)[];
988
+ hasNextPage?: boolean;
989
+ totalDocs?: number;
990
+ };
991
+ refundAmount: number;
992
+ updatedAt: string;
993
+ createdAt: string;
994
+ }
995
+ /**
996
+ * This interface was referenced by `Config`'s JSON-Schema
997
+ * via the `definition` "return-products".
998
+ */
999
+ interface ReturnProduct {
1000
+ id: number;
1001
+ tenant?: (number | null) | Tenant;
1002
+ return: number | Return;
1003
+ order: number | Order;
1004
+ status: 'requested' | 'processing' | 'approved' | 'rejected';
1005
+ orderProduct: number | OrderProduct;
1006
+ product: number | Product;
1007
+ variant: number | ProductVariant;
1008
+ option: number | ProductOption;
1009
+ quantity: number;
1010
+ title?: string | null;
1011
+ updatedAt: string;
1012
+ createdAt: string;
1013
+ }
1014
+ /**
1015
+ * This interface was referenced by `Config`'s JSON-Schema
1016
+ * via the `definition` "posts".
1017
+ */
1018
+ interface Post {
1019
+ id: number;
1020
+ _order?: string | null;
1021
+ tenant?: (number | null) | Tenant;
1022
+ thumbnail?: (number | null) | PostImage;
1023
+ title: string;
1024
+ subtitle?: string | null;
1025
+ /**
1026
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1027
+ */
1028
+ generateSlug?: boolean | null;
1029
+ slug?: string | null;
1030
+ author?: (number | null) | Author;
1031
+ /**
1032
+ * Brief summary for listing pages
1033
+ */
1034
+ excerpt?: string | null;
1035
+ publishedAt?: string | null;
1036
+ categories?: (number | PostCategory)[] | null;
1037
+ tags?: (number | PostTag)[] | null;
1038
+ content?: {
1039
+ root: {
1040
+ type: string;
1041
+ children: {
1042
+ type: any;
1043
+ version: number;
1044
+ [k: string]: unknown;
1045
+ }[];
1046
+ direction: ('ltr' | 'rtl') | null;
1047
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1048
+ indent: number;
1049
+ version: number;
1050
+ };
1051
+ [k: string]: unknown;
1052
+ } | null;
1053
+ updatedAt: string;
1054
+ createdAt: string;
1055
+ _status?: ('draft' | 'published') | null;
1056
+ }
1057
+ /**
1058
+ * This interface was referenced by `Config`'s JSON-Schema
1059
+ * via the `definition` "post-images".
1060
+ */
1061
+ interface PostImage {
1062
+ id: number;
1063
+ tenant?: (number | null) | Tenant;
1064
+ alt?: string | null;
1065
+ lqip?: string | null;
1066
+ palette?: {
1067
+ vibrant?: string | null;
1068
+ muted?: string | null;
1069
+ darkVibrant?: string | null;
1070
+ darkMuted?: string | null;
1071
+ lightVibrant?: string | null;
1072
+ lightMuted?: string | null;
1073
+ };
1074
+ prefix?: string | null;
1075
+ updatedAt: string;
1076
+ createdAt: string;
1077
+ url?: string | null;
1078
+ thumbnailURL?: string | null;
1079
+ filename?: string | null;
1080
+ mimeType?: string | null;
1081
+ filesize?: number | null;
1082
+ width?: number | null;
1083
+ height?: number | null;
1084
+ focalX?: number | null;
1085
+ focalY?: number | null;
1086
+ sizes?: {
1087
+ '512'?: {
1088
+ url?: string | null;
1089
+ width?: number | null;
1090
+ height?: number | null;
1091
+ mimeType?: string | null;
1092
+ filesize?: number | null;
1093
+ filename?: string | null;
1094
+ };
1095
+ '1024'?: {
1096
+ url?: string | null;
1097
+ width?: number | null;
1098
+ height?: number | null;
1099
+ mimeType?: string | null;
1100
+ filesize?: number | null;
1101
+ filename?: string | null;
1102
+ };
1103
+ };
1104
+ }
1105
+ /**
1106
+ * This interface was referenced by `Config`'s JSON-Schema
1107
+ * via the `definition` "authors".
1108
+ */
1109
+ interface Author {
1110
+ id: number;
1111
+ _order?: string | null;
1112
+ tenant?: (number | null) | Tenant;
1113
+ name: string;
1114
+ /**
1115
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1116
+ */
1117
+ generateSlug?: boolean | null;
1118
+ slug?: string | null;
1119
+ avatar?: (number | null) | PostImage;
1120
+ bio?: string | null;
1121
+ posts?: {
1122
+ docs?: (number | Post)[];
1123
+ hasNextPage?: boolean;
1124
+ totalDocs?: number;
1125
+ };
1126
+ updatedAt: string;
1127
+ createdAt: string;
1128
+ }
1129
+ /**
1130
+ * This interface was referenced by `Config`'s JSON-Schema
1131
+ * via the `definition` "post-categories".
1132
+ */
1133
+ interface PostCategory {
1134
+ id: number;
1135
+ _order?: string | null;
1136
+ tenant?: (number | null) | Tenant;
1137
+ title: string;
1138
+ /**
1139
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1140
+ */
1141
+ generateSlug?: boolean | null;
1142
+ slug?: string | null;
1143
+ description?: string | null;
1144
+ parent?: (number | null) | PostCategory;
1145
+ updatedAt: string;
1146
+ createdAt: string;
1147
+ }
1148
+ /**
1149
+ * This interface was referenced by `Config`'s JSON-Schema
1150
+ * via the `definition` "post-tags".
1151
+ */
1152
+ interface PostTag {
1153
+ id: number;
1154
+ _order?: string | null;
1155
+ tenant?: (number | null) | Tenant;
1156
+ title: string;
1157
+ /**
1158
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1159
+ */
1160
+ generateSlug?: boolean | null;
1161
+ slug?: string | null;
1162
+ description?: string | null;
1163
+ updatedAt: string;
1164
+ createdAt: string;
1165
+ }
1166
+ /**
1167
+ * This interface was referenced by `Config`'s JSON-Schema
1168
+ * via the `definition` "documents".
1169
+ */
1170
+ interface Document {
1171
+ id: number;
1172
+ _order?: string | null;
1173
+ tenant?: (number | null) | Tenant;
1174
+ title: string;
1175
+ /**
1176
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1177
+ */
1178
+ generateSlug?: boolean | null;
1179
+ slug?: string | null;
1180
+ type: 'terms_of_service' | 'privacy_policy' | 'guide' | 'notice' | 'legal_notice' | 'refund_policy' | 'other';
1181
+ /**
1182
+ * Document version (e.g. 1.0, 1.1, 2.0)
1183
+ */
1184
+ version: string;
1185
+ /**
1186
+ * Effective date
1187
+ */
1188
+ effectiveDate?: string | null;
1189
+ /**
1190
+ * Expiry date (optional)
1191
+ */
1192
+ expiryDate?: string | null;
1193
+ summary?: string | null;
1194
+ content: {
1195
+ root: {
1196
+ type: string;
1197
+ children: {
1198
+ type: any;
1199
+ version: number;
1200
+ [k: string]: unknown;
1201
+ }[];
1202
+ direction: ('ltr' | 'rtl') | null;
1203
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1204
+ indent: number;
1205
+ version: number;
1206
+ };
1207
+ [k: string]: unknown;
1208
+ };
1209
+ category?: (number | null) | DocumentCategory;
1210
+ /**
1211
+ * Tags for search (e.g. GDPR, CCPA)
1212
+ */
1213
+ tags?: {
1214
+ tag?: string | null;
1215
+ id?: string | null;
1216
+ }[] | null;
1217
+ /**
1218
+ * Document that requires user agreement
1219
+ */
1220
+ isRequired?: boolean | null;
1221
+ /**
1222
+ * Changelog (differences from previous version)
1223
+ */
1224
+ changeLog?: string | null;
1225
+ updatedAt: string;
1226
+ createdAt: string;
1227
+ _status?: ('draft' | 'published') | null;
1228
+ }
1229
+ /**
1230
+ * This interface was referenced by `Config`'s JSON-Schema
1231
+ * via the `definition` "document-categories".
1232
+ */
1233
+ interface DocumentCategory {
1234
+ id: number;
1235
+ _order?: string | null;
1236
+ tenant?: (number | null) | Tenant;
1237
+ title: string;
1238
+ /**
1239
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1240
+ */
1241
+ generateSlug?: boolean | null;
1242
+ slug?: string | null;
1243
+ description?: string | null;
1244
+ updatedAt: string;
1245
+ createdAt: string;
1246
+ }
1247
+ /**
1248
+ * This interface was referenced by `Config`'s JSON-Schema
1249
+ * via the `definition` "document-images".
1250
+ */
1251
+ interface DocumentImage {
1252
+ id: number;
1253
+ tenant?: (number | null) | Tenant;
1254
+ alt?: string | null;
1255
+ lqip?: string | null;
1256
+ palette?: {
1257
+ vibrant?: string | null;
1258
+ muted?: string | null;
1259
+ darkVibrant?: string | null;
1260
+ darkMuted?: string | null;
1261
+ lightVibrant?: string | null;
1262
+ lightMuted?: string | null;
1263
+ };
1264
+ prefix?: string | null;
1265
+ updatedAt: string;
1266
+ createdAt: string;
1267
+ url?: string | null;
1268
+ thumbnailURL?: string | null;
1269
+ filename?: string | null;
1270
+ mimeType?: string | null;
1271
+ filesize?: number | null;
1272
+ width?: number | null;
1273
+ height?: number | null;
1274
+ focalX?: number | null;
1275
+ focalY?: number | null;
1276
+ sizes?: {
1277
+ '512'?: {
1278
+ url?: string | null;
1279
+ width?: number | null;
1280
+ height?: number | null;
1281
+ mimeType?: string | null;
1282
+ filesize?: number | null;
1283
+ filename?: string | null;
1284
+ };
1285
+ '1024'?: {
1286
+ url?: string | null;
1287
+ width?: number | null;
1288
+ height?: number | null;
1289
+ mimeType?: string | null;
1290
+ filesize?: number | null;
1291
+ filename?: string | null;
1292
+ };
1293
+ };
1294
+ }
1295
+ /**
1296
+ * This interface was referenced by `Config`'s JSON-Schema
1297
+ * via the `definition` "playlists".
1298
+ */
1299
+ interface Playlist {
1300
+ id: number;
1301
+ tenant?: (number | null) | Tenant;
1302
+ image?: (number | null) | PlaylistImage;
1303
+ title: string;
1304
+ /**
1305
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1306
+ */
1307
+ generateSlug?: boolean | null;
1308
+ slug?: string | null;
1309
+ description?: string | null;
1310
+ musics?: {
1311
+ docs?: (number | Music)[];
1312
+ hasNextPage?: boolean;
1313
+ totalDocs?: number;
1314
+ };
1315
+ updatedAt: string;
1316
+ createdAt: string;
1317
+ }
1318
+ /**
1319
+ * This interface was referenced by `Config`'s JSON-Schema
1320
+ * via the `definition` "playlist-images".
1321
+ */
1322
+ interface PlaylistImage {
1323
+ id: number;
1324
+ tenant?: (number | null) | Tenant;
1325
+ alt?: string | null;
1326
+ lqip?: string | null;
1327
+ palette?: {
1328
+ vibrant?: string | null;
1329
+ muted?: string | null;
1330
+ darkVibrant?: string | null;
1331
+ darkMuted?: string | null;
1332
+ lightVibrant?: string | null;
1333
+ lightMuted?: string | null;
1334
+ };
1335
+ prefix?: string | null;
1336
+ updatedAt: string;
1337
+ createdAt: string;
1338
+ url?: string | null;
1339
+ thumbnailURL?: string | null;
1340
+ filename?: string | null;
1341
+ mimeType?: string | null;
1342
+ filesize?: number | null;
1343
+ width?: number | null;
1344
+ height?: number | null;
1345
+ focalX?: number | null;
1346
+ focalY?: number | null;
1347
+ sizes?: {
1348
+ '512'?: {
1349
+ url?: string | null;
1350
+ width?: number | null;
1351
+ height?: number | null;
1352
+ mimeType?: string | null;
1353
+ filesize?: number | null;
1354
+ filename?: string | null;
1355
+ };
1356
+ '1024'?: {
1357
+ url?: string | null;
1358
+ width?: number | null;
1359
+ height?: number | null;
1360
+ mimeType?: string | null;
1361
+ filesize?: number | null;
1362
+ filename?: string | null;
1363
+ };
1364
+ };
1365
+ }
1366
+ /**
1367
+ * This interface was referenced by `Config`'s JSON-Schema
1368
+ * via the `definition` "musics".
1369
+ */
1370
+ interface Music {
1371
+ id: number;
1372
+ _musics_musics_order?: string | null;
1373
+ tenant?: (number | null) | Tenant;
1374
+ playlist: number | Playlist;
1375
+ url: string;
1376
+ /**
1377
+ * Auto-filled from YouTube
1378
+ */
1379
+ title: string;
1380
+ /**
1381
+ * Auto-filled from YouTube channel
1382
+ */
1383
+ artist?: string | null;
1384
+ /**
1385
+ * Duration in seconds (auto-filled from YouTube)
1386
+ */
1387
+ duration?: number | null;
1388
+ isValid?: boolean | null;
1389
+ updatedAt: string;
1390
+ createdAt: string;
1391
+ }
1392
+ /**
1393
+ * This interface was referenced by `Config`'s JSON-Schema
1394
+ * via the `definition` "galleries".
1395
+ */
1396
+ interface Gallery {
1397
+ id: number;
1398
+ _order?: string | null;
1399
+ tenant?: (number | null) | Tenant;
1400
+ thumbnail?: (number | null) | GalleryImage;
1401
+ title: string;
1402
+ /**
1403
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1404
+ */
1405
+ generateSlug?: boolean | null;
1406
+ slug?: string | null;
1407
+ description?: string | null;
1408
+ images: (number | GalleryImage)[];
1409
+ updatedAt: string;
1410
+ createdAt: string;
1411
+ }
1412
+ /**
1413
+ * This interface was referenced by `Config`'s JSON-Schema
1414
+ * via the `definition` "gallery-images".
1415
+ */
1416
+ interface GalleryImage {
1417
+ id: number;
1418
+ tenant?: (number | null) | Tenant;
1419
+ alt?: string | null;
1420
+ lqip?: string | null;
1421
+ palette?: {
1422
+ vibrant?: string | null;
1423
+ muted?: string | null;
1424
+ darkVibrant?: string | null;
1425
+ darkMuted?: string | null;
1426
+ lightVibrant?: string | null;
1427
+ lightMuted?: string | null;
1428
+ };
1429
+ prefix?: string | null;
1430
+ updatedAt: string;
1431
+ createdAt: string;
1432
+ url?: string | null;
1433
+ thumbnailURL?: string | null;
1434
+ filename?: string | null;
1435
+ mimeType?: string | null;
1436
+ filesize?: number | null;
1437
+ width?: number | null;
1438
+ height?: number | null;
1439
+ focalX?: number | null;
1440
+ focalY?: number | null;
1441
+ sizes?: {
1442
+ '512'?: {
1443
+ url?: string | null;
1444
+ width?: number | null;
1445
+ height?: number | null;
1446
+ mimeType?: string | null;
1447
+ filesize?: number | null;
1448
+ filename?: string | null;
1449
+ };
1450
+ '1024'?: {
1451
+ url?: string | null;
1452
+ width?: number | null;
1453
+ height?: number | null;
1454
+ mimeType?: string | null;
1455
+ filesize?: number | null;
1456
+ filename?: string | null;
1457
+ };
1458
+ };
1459
+ }
1460
+ /**
1461
+ * This interface was referenced by `Config`'s JSON-Schema
1462
+ * via the `definition` "forms".
1463
+ */
1464
+ interface Form {
1465
+ id: number;
1466
+ tenant?: (number | null) | Tenant;
1467
+ title: string;
1468
+ description?: string | null;
1469
+ status: 'active' | 'inactive';
1470
+ /**
1471
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1472
+ */
1473
+ generateSlug?: boolean | null;
1474
+ slug?: string | null;
1475
+ fields?: ({
1476
+ name: string;
1477
+ label?: string | null;
1478
+ width?: number | null;
1479
+ required?: boolean | null;
1480
+ defaultValue?: boolean | null;
1481
+ id?: string | null;
1482
+ blockName?: string | null;
1483
+ blockType: 'checkbox';
1484
+ } | {
1485
+ name: string;
1486
+ label?: string | null;
1487
+ width?: number | null;
1488
+ required?: boolean | null;
1489
+ id?: string | null;
1490
+ blockName?: string | null;
1491
+ blockType: 'country';
1492
+ } | {
1493
+ name: string;
1494
+ label?: string | null;
1495
+ width?: number | null;
1496
+ required?: boolean | null;
1497
+ id?: string | null;
1498
+ blockName?: string | null;
1499
+ blockType: 'email';
1500
+ } | {
1501
+ message?: {
1502
+ root: {
1503
+ type: string;
1504
+ children: {
1505
+ type: any;
1506
+ version: number;
1507
+ [k: string]: unknown;
1508
+ }[];
1509
+ direction: ('ltr' | 'rtl') | null;
1510
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1511
+ indent: number;
1512
+ version: number;
1513
+ };
1514
+ [k: string]: unknown;
1515
+ } | null;
1516
+ id?: string | null;
1517
+ blockName?: string | null;
1518
+ blockType: 'message';
1519
+ } | {
1520
+ name: string;
1521
+ label?: string | null;
1522
+ width?: number | null;
1523
+ defaultValue?: number | null;
1524
+ required?: boolean | null;
1525
+ id?: string | null;
1526
+ blockName?: string | null;
1527
+ blockType: 'number';
1528
+ } | {
1529
+ name: string;
1530
+ label?: string | null;
1531
+ width?: number | null;
1532
+ defaultValue?: string | null;
1533
+ placeholder?: string | null;
1534
+ options?: {
1535
+ label: string;
1536
+ value: string;
1537
+ id?: string | null;
1538
+ }[] | null;
1539
+ required?: boolean | null;
1540
+ id?: string | null;
1541
+ blockName?: string | null;
1542
+ blockType: 'select';
1543
+ } | {
1544
+ name: string;
1545
+ label?: string | null;
1546
+ width?: number | null;
1547
+ required?: boolean | null;
1548
+ id?: string | null;
1549
+ blockName?: string | null;
1550
+ blockType: 'state';
1551
+ } | {
1552
+ name: string;
1553
+ label?: string | null;
1554
+ width?: number | null;
1555
+ defaultValue?: string | null;
1556
+ required?: boolean | null;
1557
+ placeholder?: string | null;
1558
+ id?: string | null;
1559
+ blockName?: string | null;
1560
+ blockType: 'text';
1561
+ } | {
1562
+ name: string;
1563
+ label?: string | null;
1564
+ width?: number | null;
1565
+ defaultValue?: string | null;
1566
+ required?: boolean | null;
1567
+ id?: string | null;
1568
+ blockName?: string | null;
1569
+ blockType: 'textarea';
1570
+ })[] | null;
1571
+ submitButtonLabel?: string | null;
1572
+ /**
1573
+ * Choose whether to display an on-page message or redirect to a different page after they submit the form.
1574
+ */
1575
+ confirmationType?: ('message' | 'redirect') | null;
1576
+ confirmationMessage?: {
1577
+ root: {
1578
+ type: string;
1579
+ children: {
1580
+ type: any;
1581
+ version: number;
1582
+ [k: string]: unknown;
1583
+ }[];
1584
+ direction: ('ltr' | 'rtl') | null;
1585
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1586
+ indent: number;
1587
+ version: number;
1588
+ };
1589
+ [k: string]: unknown;
1590
+ } | null;
1591
+ redirect?: {
1592
+ url: string;
1593
+ };
1594
+ /**
1595
+ * Send custom emails when the form submits. Use comma separated lists to send the same email to multiple recipients. To reference a value from this form, wrap that field's name with double curly brackets, i.e. {{firstName}}. You can use a wildcard {{*}} to output all data and {{*:table}} to format it as an HTML table in the email.
1596
+ */
1597
+ emails?: {
1598
+ emailTo?: string | null;
1599
+ cc?: string | null;
1600
+ bcc?: string | null;
1601
+ replyTo?: string | null;
1602
+ emailFrom?: string | null;
1603
+ subject: string;
1604
+ /**
1605
+ * Enter the message that should be sent in this email.
1606
+ */
1607
+ message?: {
1608
+ root: {
1609
+ type: string;
1610
+ children: {
1611
+ type: any;
1612
+ version: number;
1613
+ [k: string]: unknown;
1614
+ }[];
1615
+ direction: ('ltr' | 'rtl') | null;
1616
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1617
+ indent: number;
1618
+ version: number;
1619
+ };
1620
+ [k: string]: unknown;
1621
+ } | null;
1622
+ id?: string | null;
1623
+ }[] | null;
1624
+ updatedAt: string;
1625
+ createdAt: string;
1626
+ }
1627
+ /**
1628
+ * This interface was referenced by `Config`'s JSON-Schema
1629
+ * via the `definition` "form-submissions".
1630
+ */
1631
+ interface FormSubmission {
1632
+ id: number;
1633
+ tenant?: (number | null) | Tenant;
1634
+ form: number | Form;
1635
+ submissionData?: {
1636
+ field: string;
1637
+ value: string;
1638
+ id?: string | null;
1639
+ }[] | null;
1640
+ updatedAt: string;
1641
+ createdAt: string;
1642
+ }
1643
+ /**
1644
+ * This interface was referenced by `Config`'s JSON-Schema
1645
+ * via the `definition` "payload-kv".
1646
+ */
1647
+ interface PayloadKv {
1648
+ id: number;
1649
+ key: string;
1650
+ data: {
1651
+ [k: string]: unknown;
1652
+ } | unknown[] | string | number | boolean | null;
1653
+ }
1654
+ /**
1655
+ * This interface was referenced by `Config`'s JSON-Schema
1656
+ * via the `definition` "payload-locked-documents".
1657
+ */
1658
+ interface PayloadLockedDocument {
1659
+ id: number;
1660
+ document?: ({
1661
+ relationTo: 'users';
1662
+ value: number | User;
1663
+ } | null) | ({
1664
+ relationTo: 'media';
1665
+ value: number | Media;
1666
+ } | null) | ({
1667
+ relationTo: 'audiences';
1668
+ value: number | Audience;
1669
+ } | null) | ({
1670
+ relationTo: 'email-logs';
1671
+ value: number | EmailLog;
1672
+ } | null) | ({
1673
+ relationTo: 'tenants';
1674
+ value: number | Tenant;
1675
+ } | null) | ({
1676
+ relationTo: 'tenant-metadata';
1677
+ value: number | TenantMetadatum;
1678
+ } | null) | ({
1679
+ relationTo: 'tenant-logos';
1680
+ value: number | TenantLogo;
1681
+ } | null) | ({
1682
+ relationTo: 'tenant-og-images';
1683
+ value: number | TenantOgImage;
1684
+ } | null) | ({
1685
+ relationTo: 'api-usage';
1686
+ value: number | ApiUsage;
1687
+ } | null) | ({
1688
+ relationTo: 'products';
1689
+ value: number | Product;
1690
+ } | null) | ({
1691
+ relationTo: 'product-variants';
1692
+ value: number | ProductVariant;
1693
+ } | null) | ({
1694
+ relationTo: 'product-options';
1695
+ value: number | ProductOption;
1696
+ } | null) | ({
1697
+ relationTo: 'product-categories';
1698
+ value: number | ProductCategory;
1699
+ } | null) | ({
1700
+ relationTo: 'product-tags';
1701
+ value: number | ProductTag;
1702
+ } | null) | ({
1703
+ relationTo: 'product-images';
1704
+ value: number | ProductImage;
1705
+ } | null) | ({
1706
+ relationTo: 'brands';
1707
+ value: number | Brand;
1708
+ } | null) | ({
1709
+ relationTo: 'brand-logos';
1710
+ value: number | BrandLogo;
1711
+ } | null) | ({
1712
+ relationTo: 'orders';
1713
+ value: number | Order;
1714
+ } | null) | ({
1715
+ relationTo: 'order-products';
1716
+ value: number | OrderProduct;
1717
+ } | null) | ({
1718
+ relationTo: 'returns';
1719
+ value: number | Return;
1720
+ } | null) | ({
1721
+ relationTo: 'return-products';
1722
+ value: number | ReturnProduct;
1723
+ } | null) | ({
1724
+ relationTo: 'transactions';
1725
+ value: number | Transaction;
1726
+ } | null) | ({
1727
+ relationTo: 'posts';
1728
+ value: number | Post;
1729
+ } | null) | ({
1730
+ relationTo: 'post-categories';
1731
+ value: number | PostCategory;
1732
+ } | null) | ({
1733
+ relationTo: 'post-tags';
1734
+ value: number | PostTag;
1735
+ } | null) | ({
1736
+ relationTo: 'post-images';
1737
+ value: number | PostImage;
1738
+ } | null) | ({
1739
+ relationTo: 'authors';
1740
+ value: number | Author;
1741
+ } | null) | ({
1742
+ relationTo: 'documents';
1743
+ value: number | Document;
1744
+ } | null) | ({
1745
+ relationTo: 'document-categories';
1746
+ value: number | DocumentCategory;
1747
+ } | null) | ({
1748
+ relationTo: 'document-images';
1749
+ value: number | DocumentImage;
1750
+ } | null) | ({
1751
+ relationTo: 'playlists';
1752
+ value: number | Playlist;
1753
+ } | null) | ({
1754
+ relationTo: 'playlist-images';
1755
+ value: number | PlaylistImage;
1756
+ } | null) | ({
1757
+ relationTo: 'musics';
1758
+ value: number | Music;
1759
+ } | null) | ({
1760
+ relationTo: 'galleries';
1761
+ value: number | Gallery;
1762
+ } | null) | ({
1763
+ relationTo: 'gallery-images';
1764
+ value: number | GalleryImage;
1765
+ } | null) | ({
1766
+ relationTo: 'forms';
1767
+ value: number | Form;
1768
+ } | null) | ({
1769
+ relationTo: 'form-submissions';
1770
+ value: number | FormSubmission;
1771
+ } | null);
1772
+ globalSlug?: string | null;
1773
+ user: {
1774
+ relationTo: 'users';
1775
+ value: number | User;
1776
+ };
1777
+ updatedAt: string;
1778
+ createdAt: string;
1779
+ }
1780
+ /**
1781
+ * This interface was referenced by `Config`'s JSON-Schema
1782
+ * via the `definition` "payload-preferences".
1783
+ */
1784
+ interface PayloadPreference {
1785
+ id: number;
1786
+ user: {
1787
+ relationTo: 'users';
1788
+ value: number | User;
1789
+ };
1790
+ key?: string | null;
1791
+ value?: {
1792
+ [k: string]: unknown;
1793
+ } | unknown[] | string | number | boolean | null;
1794
+ updatedAt: string;
1795
+ createdAt: string;
1796
+ }
1797
+ /**
1798
+ * This interface was referenced by `Config`'s JSON-Schema
1799
+ * via the `definition` "payload-migrations".
1800
+ */
1801
+ interface PayloadMigration {
1802
+ id: number;
1803
+ name?: string | null;
1804
+ batch?: number | null;
1805
+ updatedAt: string;
1806
+ createdAt: string;
1807
+ }
1808
+ /**
1809
+ * This interface was referenced by `Config`'s JSON-Schema
1810
+ * via the `definition` "users_select".
1811
+ */
1812
+ interface UsersSelect<T extends boolean = true> {
1813
+ roles?: T;
1814
+ tenants?: T | {
1815
+ tenant?: T;
1816
+ roles?: T;
1817
+ id?: T;
1818
+ };
1819
+ emailPreferences?: T | {
1820
+ usageAlerts?: T;
1821
+ };
1822
+ updatedAt?: T;
1823
+ createdAt?: T;
1824
+ email?: T;
1825
+ resetPasswordToken?: T;
1826
+ resetPasswordExpiration?: T;
1827
+ salt?: T;
1828
+ hash?: T;
1829
+ _verified?: T;
1830
+ _verificationToken?: T;
1831
+ loginAttempts?: T;
1832
+ lockUntil?: T;
1833
+ sessions?: T | {
1834
+ id?: T;
1835
+ createdAt?: T;
1836
+ expiresAt?: T;
1837
+ };
1838
+ }
1839
+ /**
1840
+ * This interface was referenced by `Config`'s JSON-Schema
1841
+ * via the `definition` "media_select".
1842
+ */
1843
+ interface MediaSelect<T extends boolean = true> {
1844
+ tenant?: T;
1845
+ alt?: T;
1846
+ caption?: T;
1847
+ credit?: T;
1848
+ prefix?: T;
1849
+ updatedAt?: T;
1850
+ createdAt?: T;
1851
+ url?: T;
1852
+ thumbnailURL?: T;
1853
+ filename?: T;
1854
+ mimeType?: T;
1855
+ filesize?: T;
1856
+ width?: T;
1857
+ height?: T;
1858
+ focalX?: T;
1859
+ focalY?: T;
1860
+ }
1861
+ /**
1862
+ * This interface was referenced by `Config`'s JSON-Schema
1863
+ * via the `definition` "audiences_select".
1864
+ */
1865
+ interface AudiencesSelect<T extends boolean = true> {
1866
+ email?: T;
1867
+ firstName?: T;
1868
+ lastName?: T;
1869
+ status?: T;
1870
+ source?: T;
1871
+ subscribedAt?: T;
1872
+ unsubscribedAt?: T;
1873
+ resendContactId?: T;
1874
+ updatedAt?: T;
1875
+ createdAt?: T;
1876
+ }
1877
+ /**
1878
+ * This interface was referenced by `Config`'s JSON-Schema
1879
+ * via the `definition` "email-logs_select".
1880
+ */
1881
+ interface EmailLogsSelect<T extends boolean = true> {
1882
+ to?: T;
1883
+ from?: T;
1884
+ subject?: T;
1885
+ type?: T;
1886
+ status?: T;
1887
+ sentAt?: T;
1888
+ error?: T;
1889
+ updatedAt?: T;
1890
+ createdAt?: T;
1891
+ }
1892
+ /**
1893
+ * This interface was referenced by `Config`'s JSON-Schema
1894
+ * via the `definition` "tenants_select".
1895
+ */
1896
+ interface TenantsSelect<T extends boolean = true> {
1897
+ name?: T;
1898
+ domain?: T;
1899
+ features?: T;
1900
+ plan?: T;
1901
+ clientKey?: T;
1902
+ secretKeys?: T | {
1903
+ name?: T;
1904
+ value?: T;
1905
+ id?: T;
1906
+ };
1907
+ webhookUrl?: T;
1908
+ updatedAt?: T;
1909
+ createdAt?: T;
1910
+ }
1911
+ /**
1912
+ * This interface was referenced by `Config`'s JSON-Schema
1913
+ * via the `definition` "tenant-metadata_select".
1914
+ */
1915
+ interface TenantMetadataSelect<T extends boolean = true> {
1916
+ tenant?: T;
1917
+ siteInfo?: T | {
1918
+ title?: T;
1919
+ description?: T;
1920
+ keywords?: T;
1921
+ author?: T;
1922
+ siteUrl?: T;
1923
+ };
1924
+ branding?: T | {
1925
+ logo?: T;
1926
+ logoDark?: T;
1927
+ logomark?: T;
1928
+ favicon?: T;
1929
+ themeColor?: T;
1930
+ };
1931
+ openGraph?: T | {
1932
+ ogTitle?: T;
1933
+ ogDescription?: T;
1934
+ ogImage?: T;
1935
+ ogType?: T;
1936
+ ogLocale?: T;
1937
+ };
1938
+ twitter?: T | {
1939
+ twitterCard?: T;
1940
+ twitterSite?: T;
1941
+ twitterCreator?: T;
1942
+ twitterTitle?: T;
1943
+ twitterDescription?: T;
1944
+ twitterImage?: T;
1945
+ };
1946
+ seo?: T | {
1947
+ robots?: T;
1948
+ googleSiteVerification?: T;
1949
+ bingSiteVerification?: T;
1950
+ naverSiteVerification?: T;
1951
+ canonicalUrl?: T;
1952
+ };
1953
+ pwa?: T | {
1954
+ shortName?: T;
1955
+ backgroundColor?: T;
1956
+ display?: T;
1957
+ };
1958
+ analytics?: T | {
1959
+ googleAnalyticsId?: T;
1960
+ googleTagManagerId?: T;
1961
+ facebookPixelId?: T;
1962
+ linkedInPartnerId?: T;
1963
+ };
1964
+ updatedAt?: T;
1965
+ createdAt?: T;
1966
+ }
1967
+ /**
1968
+ * This interface was referenced by `Config`'s JSON-Schema
1969
+ * via the `definition` "tenant-logos_select".
1970
+ */
1971
+ interface TenantLogosSelect<T extends boolean = true> {
1972
+ tenant?: T;
1973
+ alt?: T;
1974
+ lqip?: T;
1975
+ palette?: T | {
1976
+ vibrant?: T;
1977
+ muted?: T;
1978
+ darkVibrant?: T;
1979
+ darkMuted?: T;
1980
+ lightVibrant?: T;
1981
+ lightMuted?: T;
1982
+ };
1983
+ prefix?: T;
1984
+ updatedAt?: T;
1985
+ createdAt?: T;
1986
+ url?: T;
1987
+ thumbnailURL?: T;
1988
+ filename?: T;
1989
+ mimeType?: T;
1990
+ filesize?: T;
1991
+ width?: T;
1992
+ height?: T;
1993
+ focalX?: T;
1994
+ focalY?: T;
1995
+ }
1996
+ /**
1997
+ * This interface was referenced by `Config`'s JSON-Schema
1998
+ * via the `definition` "tenant-og-images_select".
1999
+ */
2000
+ interface TenantOgImagesSelect<T extends boolean = true> {
2001
+ tenant?: T;
2002
+ alt?: T;
2003
+ lqip?: T;
2004
+ palette?: T | {
2005
+ vibrant?: T;
2006
+ muted?: T;
2007
+ darkVibrant?: T;
2008
+ darkMuted?: T;
2009
+ lightVibrant?: T;
2010
+ lightMuted?: T;
2011
+ };
2012
+ prefix?: T;
2013
+ updatedAt?: T;
2014
+ createdAt?: T;
2015
+ url?: T;
2016
+ thumbnailURL?: T;
2017
+ filename?: T;
2018
+ mimeType?: T;
2019
+ filesize?: T;
2020
+ width?: T;
2021
+ height?: T;
2022
+ focalX?: T;
2023
+ focalY?: T;
2024
+ }
2025
+ /**
2026
+ * This interface was referenced by `Config`'s JSON-Schema
2027
+ * via the `definition` "api-usage_select".
2028
+ */
2029
+ interface ApiUsageSelect<T extends boolean = true> {
2030
+ tenant?: T;
2031
+ month?: T;
2032
+ count?: T;
2033
+ plan?: T;
2034
+ limit?: T;
2035
+ storageUsed?: T;
2036
+ storageLimit?: T;
2037
+ totalDocuments?: T;
2038
+ updatedAt?: T;
2039
+ createdAt?: T;
2040
+ }
2041
+ /**
2042
+ * This interface was referenced by `Config`'s JSON-Schema
2043
+ * via the `definition` "products_select".
2044
+ */
2045
+ interface ProductsSelect<T extends boolean = true> {
2046
+ _order?: T;
2047
+ tenant?: T;
2048
+ title?: T;
2049
+ subtitle?: T;
2050
+ generateSlug?: T;
2051
+ slug?: T;
2052
+ sku?: T;
2053
+ status?: T;
2054
+ isSoldOut?: T;
2055
+ thumbnail?: T;
2056
+ images?: T;
2057
+ description?: T;
2058
+ price?: T;
2059
+ compareAtPrice?: T;
2060
+ categories?: T;
2061
+ tags?: T;
2062
+ brand?: T;
2063
+ variants?: T;
2064
+ options?: T;
2065
+ updatedAt?: T;
2066
+ createdAt?: T;
2067
+ }
2068
+ /**
2069
+ * This interface was referenced by `Config`'s JSON-Schema
2070
+ * via the `definition` "product-variants_select".
2071
+ */
2072
+ interface ProductVariantsSelect<T extends boolean = true> {
2073
+ _order?: T;
2074
+ '_product-variants_variants_order'?: T;
2075
+ tenant?: T;
2076
+ product?: T;
2077
+ title?: T;
2078
+ sku?: T;
2079
+ price?: T;
2080
+ images?: T;
2081
+ productOptions?: T;
2082
+ updatedAt?: T;
2083
+ createdAt?: T;
2084
+ }
2085
+ /**
2086
+ * This interface was referenced by `Config`'s JSON-Schema
2087
+ * via the `definition` "product-options_select".
2088
+ */
2089
+ interface ProductOptionsSelect<T extends boolean = true> {
2090
+ _order?: T;
2091
+ '_product-options_productOptions_order'?: T;
2092
+ '_product-options_options_order'?: T;
2093
+ tenant?: T;
2094
+ product?: T;
2095
+ variant?: T;
2096
+ title?: T;
2097
+ sku?: T;
2098
+ stock?: T;
2099
+ priceAdjustment?: T;
2100
+ updatedAt?: T;
2101
+ createdAt?: T;
2102
+ }
2103
+ /**
2104
+ * This interface was referenced by `Config`'s JSON-Schema
2105
+ * via the `definition` "product-categories_select".
2106
+ */
2107
+ interface ProductCategoriesSelect<T extends boolean = true> {
2108
+ _order?: T;
2109
+ tenant?: T;
2110
+ title?: T;
2111
+ generateSlug?: T;
2112
+ slug?: T;
2113
+ description?: T;
2114
+ image?: T;
2115
+ parent?: T;
2116
+ updatedAt?: T;
2117
+ createdAt?: T;
2118
+ }
2119
+ /**
2120
+ * This interface was referenced by `Config`'s JSON-Schema
2121
+ * via the `definition` "product-tags_select".
2122
+ */
2123
+ interface ProductTagsSelect<T extends boolean = true> {
2124
+ _order?: T;
2125
+ tenant?: T;
2126
+ title?: T;
2127
+ generateSlug?: T;
2128
+ slug?: T;
2129
+ description?: T;
2130
+ updatedAt?: T;
2131
+ createdAt?: T;
2132
+ }
2133
+ /**
2134
+ * This interface was referenced by `Config`'s JSON-Schema
2135
+ * via the `definition` "product-images_select".
2136
+ */
2137
+ interface ProductImagesSelect<T extends boolean = true> {
2138
+ tenant?: T;
2139
+ alt?: T;
2140
+ lqip?: T;
2141
+ palette?: T | {
2142
+ vibrant?: T;
2143
+ muted?: T;
2144
+ darkVibrant?: T;
2145
+ darkMuted?: T;
2146
+ lightVibrant?: T;
2147
+ lightMuted?: T;
2148
+ };
2149
+ prefix?: T;
2150
+ updatedAt?: T;
2151
+ createdAt?: T;
2152
+ url?: T;
2153
+ thumbnailURL?: T;
2154
+ filename?: T;
2155
+ mimeType?: T;
2156
+ filesize?: T;
2157
+ width?: T;
2158
+ height?: T;
2159
+ focalX?: T;
2160
+ focalY?: T;
2161
+ sizes?: T | {
2162
+ '512'?: T | {
2163
+ url?: T;
2164
+ width?: T;
2165
+ height?: T;
2166
+ mimeType?: T;
2167
+ filesize?: T;
2168
+ filename?: T;
2169
+ };
2170
+ '1024'?: T | {
2171
+ url?: T;
2172
+ width?: T;
2173
+ height?: T;
2174
+ mimeType?: T;
2175
+ filesize?: T;
2176
+ filename?: T;
2177
+ };
2178
+ };
2179
+ }
2180
+ /**
2181
+ * This interface was referenced by `Config`'s JSON-Schema
2182
+ * via the `definition` "brands_select".
2183
+ */
2184
+ interface BrandsSelect<T extends boolean = true> {
2185
+ _order?: T;
2186
+ tenant?: T;
2187
+ name?: T;
2188
+ generateSlug?: T;
2189
+ slug?: T;
2190
+ logo?: T;
2191
+ logoDark?: T;
2192
+ logomark?: T;
2193
+ description?: T;
2194
+ website?: T;
2195
+ updatedAt?: T;
2196
+ createdAt?: T;
2197
+ }
2198
+ /**
2199
+ * This interface was referenced by `Config`'s JSON-Schema
2200
+ * via the `definition` "brand-logos_select".
2201
+ */
2202
+ interface BrandLogosSelect<T extends boolean = true> {
2203
+ tenant?: T;
2204
+ alt?: T;
2205
+ lqip?: T;
2206
+ palette?: T | {
2207
+ vibrant?: T;
2208
+ muted?: T;
2209
+ darkVibrant?: T;
2210
+ darkMuted?: T;
2211
+ lightVibrant?: T;
2212
+ lightMuted?: T;
2213
+ };
2214
+ prefix?: T;
2215
+ updatedAt?: T;
2216
+ createdAt?: T;
2217
+ url?: T;
2218
+ thumbnailURL?: T;
2219
+ filename?: T;
2220
+ mimeType?: T;
2221
+ filesize?: T;
2222
+ width?: T;
2223
+ height?: T;
2224
+ focalX?: T;
2225
+ focalY?: T;
2226
+ sizes?: T | {
2227
+ '16'?: T | {
2228
+ url?: T;
2229
+ width?: T;
2230
+ height?: T;
2231
+ mimeType?: T;
2232
+ filesize?: T;
2233
+ filename?: T;
2234
+ };
2235
+ '32'?: T | {
2236
+ url?: T;
2237
+ width?: T;
2238
+ height?: T;
2239
+ mimeType?: T;
2240
+ filesize?: T;
2241
+ filename?: T;
2242
+ };
2243
+ '64'?: T | {
2244
+ url?: T;
2245
+ width?: T;
2246
+ height?: T;
2247
+ mimeType?: T;
2248
+ filesize?: T;
2249
+ filename?: T;
2250
+ };
2251
+ '128'?: T | {
2252
+ url?: T;
2253
+ width?: T;
2254
+ height?: T;
2255
+ mimeType?: T;
2256
+ filesize?: T;
2257
+ filename?: T;
2258
+ };
2259
+ '180'?: T | {
2260
+ url?: T;
2261
+ width?: T;
2262
+ height?: T;
2263
+ mimeType?: T;
2264
+ filesize?: T;
2265
+ filename?: T;
2266
+ };
2267
+ '192'?: T | {
2268
+ url?: T;
2269
+ width?: T;
2270
+ height?: T;
2271
+ mimeType?: T;
2272
+ filesize?: T;
2273
+ filename?: T;
2274
+ };
2275
+ '512'?: T | {
2276
+ url?: T;
2277
+ width?: T;
2278
+ height?: T;
2279
+ mimeType?: T;
2280
+ filesize?: T;
2281
+ filename?: T;
2282
+ };
2283
+ };
2284
+ }
2285
+ /**
2286
+ * This interface was referenced by `Config`'s JSON-Schema
2287
+ * via the `definition` "orders_select".
2288
+ */
2289
+ interface OrdersSelect<T extends boolean = true> {
2290
+ tenant?: T;
2291
+ orderNumber?: T;
2292
+ status?: T;
2293
+ customer?: T | {
2294
+ name?: T;
2295
+ email?: T;
2296
+ phone?: T;
2297
+ };
2298
+ totalAmount?: T;
2299
+ shippingCarrier?: T;
2300
+ trackingNumber?: T;
2301
+ notes?: T;
2302
+ shippingAddress?: T | {
2303
+ recipientName?: T;
2304
+ phone?: T;
2305
+ postalCode?: T;
2306
+ address1?: T;
2307
+ address2?: T;
2308
+ deliveryMessage?: T;
2309
+ };
2310
+ products?: T;
2311
+ transactions?: T;
2312
+ returns?: T;
2313
+ updatedAt?: T;
2314
+ createdAt?: T;
2315
+ }
2316
+ /**
2317
+ * This interface was referenced by `Config`'s JSON-Schema
2318
+ * via the `definition` "order-products_select".
2319
+ */
2320
+ interface OrderProductsSelect<T extends boolean = true> {
2321
+ tenant?: T;
2322
+ order?: T;
2323
+ product?: T;
2324
+ variant?: T;
2325
+ option?: T;
2326
+ quantity?: T;
2327
+ unitPrice?: T;
2328
+ totalPrice?: T;
2329
+ title?: T;
2330
+ updatedAt?: T;
2331
+ createdAt?: T;
2332
+ }
2333
+ /**
2334
+ * This interface was referenced by `Config`'s JSON-Schema
2335
+ * via the `definition` "returns_select".
2336
+ */
2337
+ interface ReturnsSelect<T extends boolean = true> {
2338
+ tenant?: T;
2339
+ order?: T;
2340
+ status?: T;
2341
+ reason?: T;
2342
+ reasonDetail?: T;
2343
+ returnProducts?: T;
2344
+ refundAmount?: T;
2345
+ updatedAt?: T;
2346
+ createdAt?: T;
2347
+ }
2348
+ /**
2349
+ * This interface was referenced by `Config`'s JSON-Schema
2350
+ * via the `definition` "return-products_select".
2351
+ */
2352
+ interface ReturnProductsSelect<T extends boolean = true> {
2353
+ tenant?: T;
2354
+ return?: T;
2355
+ order?: T;
2356
+ status?: T;
2357
+ orderProduct?: T;
2358
+ product?: T;
2359
+ variant?: T;
2360
+ option?: T;
2361
+ quantity?: T;
2362
+ title?: T;
2363
+ updatedAt?: T;
2364
+ createdAt?: T;
2365
+ }
2366
+ /**
2367
+ * This interface was referenced by `Config`'s JSON-Schema
2368
+ * via the `definition` "transactions_select".
2369
+ */
2370
+ interface TransactionsSelect<T extends boolean = true> {
2371
+ tenant?: T;
2372
+ status?: T;
2373
+ order?: T;
2374
+ paymentId?: T;
2375
+ paymentMethod?: T;
2376
+ receiptUrl?: T;
2377
+ totalAmount?: T;
2378
+ updatedAt?: T;
2379
+ createdAt?: T;
2380
+ }
2381
+ /**
2382
+ * This interface was referenced by `Config`'s JSON-Schema
2383
+ * via the `definition` "posts_select".
2384
+ */
2385
+ interface PostsSelect<T extends boolean = true> {
2386
+ _order?: T;
2387
+ tenant?: T;
2388
+ thumbnail?: T;
2389
+ title?: T;
2390
+ subtitle?: T;
2391
+ generateSlug?: T;
2392
+ slug?: T;
2393
+ author?: T;
2394
+ excerpt?: T;
2395
+ publishedAt?: T;
2396
+ categories?: T;
2397
+ tags?: T;
2398
+ content?: T;
2399
+ updatedAt?: T;
2400
+ createdAt?: T;
2401
+ _status?: T;
2402
+ }
2403
+ /**
2404
+ * This interface was referenced by `Config`'s JSON-Schema
2405
+ * via the `definition` "post-categories_select".
2406
+ */
2407
+ interface PostCategoriesSelect<T extends boolean = true> {
2408
+ _order?: T;
2409
+ tenant?: T;
2410
+ title?: T;
2411
+ generateSlug?: T;
2412
+ slug?: T;
2413
+ description?: T;
2414
+ parent?: T;
2415
+ updatedAt?: T;
2416
+ createdAt?: T;
2417
+ }
2418
+ /**
2419
+ * This interface was referenced by `Config`'s JSON-Schema
2420
+ * via the `definition` "post-tags_select".
2421
+ */
2422
+ interface PostTagsSelect<T extends boolean = true> {
2423
+ _order?: T;
2424
+ tenant?: T;
2425
+ title?: T;
2426
+ generateSlug?: T;
2427
+ slug?: T;
2428
+ description?: T;
2429
+ updatedAt?: T;
2430
+ createdAt?: T;
2431
+ }
2432
+ /**
2433
+ * This interface was referenced by `Config`'s JSON-Schema
2434
+ * via the `definition` "post-images_select".
2435
+ */
2436
+ interface PostImagesSelect<T extends boolean = true> {
2437
+ tenant?: T;
2438
+ alt?: T;
2439
+ lqip?: T;
2440
+ palette?: T | {
2441
+ vibrant?: T;
2442
+ muted?: T;
2443
+ darkVibrant?: T;
2444
+ darkMuted?: T;
2445
+ lightVibrant?: T;
2446
+ lightMuted?: T;
2447
+ };
2448
+ prefix?: T;
2449
+ updatedAt?: T;
2450
+ createdAt?: T;
2451
+ url?: T;
2452
+ thumbnailURL?: T;
2453
+ filename?: T;
2454
+ mimeType?: T;
2455
+ filesize?: T;
2456
+ width?: T;
2457
+ height?: T;
2458
+ focalX?: T;
2459
+ focalY?: T;
2460
+ sizes?: T | {
2461
+ '512'?: T | {
2462
+ url?: T;
2463
+ width?: T;
2464
+ height?: T;
2465
+ mimeType?: T;
2466
+ filesize?: T;
2467
+ filename?: T;
2468
+ };
2469
+ '1024'?: T | {
2470
+ url?: T;
2471
+ width?: T;
2472
+ height?: T;
2473
+ mimeType?: T;
2474
+ filesize?: T;
2475
+ filename?: T;
2476
+ };
2477
+ };
2478
+ }
2479
+ /**
2480
+ * This interface was referenced by `Config`'s JSON-Schema
2481
+ * via the `definition` "authors_select".
2482
+ */
2483
+ interface AuthorsSelect<T extends boolean = true> {
2484
+ _order?: T;
2485
+ tenant?: T;
2486
+ name?: T;
2487
+ generateSlug?: T;
2488
+ slug?: T;
2489
+ avatar?: T;
2490
+ bio?: T;
2491
+ posts?: T;
2492
+ updatedAt?: T;
2493
+ createdAt?: T;
2494
+ }
2495
+ /**
2496
+ * This interface was referenced by `Config`'s JSON-Schema
2497
+ * via the `definition` "documents_select".
2498
+ */
2499
+ interface DocumentsSelect<T extends boolean = true> {
2500
+ _order?: T;
2501
+ tenant?: T;
2502
+ title?: T;
2503
+ generateSlug?: T;
2504
+ slug?: T;
2505
+ type?: T;
2506
+ version?: T;
2507
+ effectiveDate?: T;
2508
+ expiryDate?: T;
2509
+ summary?: T;
2510
+ content?: T;
2511
+ category?: T;
2512
+ tags?: T | {
2513
+ tag?: T;
2514
+ id?: T;
2515
+ };
2516
+ isRequired?: T;
2517
+ changeLog?: T;
2518
+ updatedAt?: T;
2519
+ createdAt?: T;
2520
+ _status?: T;
2521
+ }
2522
+ /**
2523
+ * This interface was referenced by `Config`'s JSON-Schema
2524
+ * via the `definition` "document-categories_select".
2525
+ */
2526
+ interface DocumentCategoriesSelect<T extends boolean = true> {
2527
+ _order?: T;
2528
+ tenant?: T;
2529
+ title?: T;
2530
+ generateSlug?: T;
2531
+ slug?: T;
2532
+ description?: T;
2533
+ updatedAt?: T;
2534
+ createdAt?: T;
2535
+ }
2536
+ /**
2537
+ * This interface was referenced by `Config`'s JSON-Schema
2538
+ * via the `definition` "document-images_select".
2539
+ */
2540
+ interface DocumentImagesSelect<T extends boolean = true> {
2541
+ tenant?: T;
2542
+ alt?: T;
2543
+ lqip?: T;
2544
+ palette?: T | {
2545
+ vibrant?: T;
2546
+ muted?: T;
2547
+ darkVibrant?: T;
2548
+ darkMuted?: T;
2549
+ lightVibrant?: T;
2550
+ lightMuted?: T;
2551
+ };
2552
+ prefix?: T;
2553
+ updatedAt?: T;
2554
+ createdAt?: T;
2555
+ url?: T;
2556
+ thumbnailURL?: T;
2557
+ filename?: T;
2558
+ mimeType?: T;
2559
+ filesize?: T;
2560
+ width?: T;
2561
+ height?: T;
2562
+ focalX?: T;
2563
+ focalY?: T;
2564
+ sizes?: T | {
2565
+ '512'?: T | {
2566
+ url?: T;
2567
+ width?: T;
2568
+ height?: T;
2569
+ mimeType?: T;
2570
+ filesize?: T;
2571
+ filename?: T;
2572
+ };
2573
+ '1024'?: T | {
2574
+ url?: T;
2575
+ width?: T;
2576
+ height?: T;
2577
+ mimeType?: T;
2578
+ filesize?: T;
2579
+ filename?: T;
2580
+ };
2581
+ };
2582
+ }
2583
+ /**
2584
+ * This interface was referenced by `Config`'s JSON-Schema
2585
+ * via the `definition` "playlists_select".
2586
+ */
2587
+ interface PlaylistsSelect<T extends boolean = true> {
2588
+ tenant?: T;
2589
+ image?: T;
2590
+ title?: T;
2591
+ generateSlug?: T;
2592
+ slug?: T;
2593
+ description?: T;
2594
+ musics?: T;
2595
+ updatedAt?: T;
2596
+ createdAt?: T;
2597
+ }
2598
+ /**
2599
+ * This interface was referenced by `Config`'s JSON-Schema
2600
+ * via the `definition` "playlist-images_select".
2601
+ */
2602
+ interface PlaylistImagesSelect<T extends boolean = true> {
2603
+ tenant?: T;
2604
+ alt?: T;
2605
+ lqip?: T;
2606
+ palette?: T | {
2607
+ vibrant?: T;
2608
+ muted?: T;
2609
+ darkVibrant?: T;
2610
+ darkMuted?: T;
2611
+ lightVibrant?: T;
2612
+ lightMuted?: T;
2613
+ };
2614
+ prefix?: T;
2615
+ updatedAt?: T;
2616
+ createdAt?: T;
2617
+ url?: T;
2618
+ thumbnailURL?: T;
2619
+ filename?: T;
2620
+ mimeType?: T;
2621
+ filesize?: T;
2622
+ width?: T;
2623
+ height?: T;
2624
+ focalX?: T;
2625
+ focalY?: T;
2626
+ sizes?: T | {
2627
+ '512'?: T | {
2628
+ url?: T;
2629
+ width?: T;
2630
+ height?: T;
2631
+ mimeType?: T;
2632
+ filesize?: T;
2633
+ filename?: T;
2634
+ };
2635
+ '1024'?: T | {
2636
+ url?: T;
2637
+ width?: T;
2638
+ height?: T;
2639
+ mimeType?: T;
2640
+ filesize?: T;
2641
+ filename?: T;
2642
+ };
2643
+ };
2644
+ }
2645
+ /**
2646
+ * This interface was referenced by `Config`'s JSON-Schema
2647
+ * via the `definition` "musics_select".
2648
+ */
2649
+ interface MusicsSelect<T extends boolean = true> {
2650
+ _musics_musics_order?: T;
2651
+ tenant?: T;
2652
+ playlist?: T;
2653
+ url?: T;
2654
+ title?: T;
2655
+ artist?: T;
2656
+ duration?: T;
2657
+ isValid?: T;
2658
+ updatedAt?: T;
2659
+ createdAt?: T;
2660
+ }
2661
+ /**
2662
+ * This interface was referenced by `Config`'s JSON-Schema
2663
+ * via the `definition` "galleries_select".
2664
+ */
2665
+ interface GalleriesSelect<T extends boolean = true> {
2666
+ _order?: T;
2667
+ tenant?: T;
2668
+ thumbnail?: T;
2669
+ title?: T;
2670
+ generateSlug?: T;
2671
+ slug?: T;
2672
+ description?: T;
2673
+ images?: T;
2674
+ updatedAt?: T;
2675
+ createdAt?: T;
2676
+ }
2677
+ /**
2678
+ * This interface was referenced by `Config`'s JSON-Schema
2679
+ * via the `definition` "gallery-images_select".
2680
+ */
2681
+ interface GalleryImagesSelect<T extends boolean = true> {
2682
+ tenant?: T;
2683
+ alt?: T;
2684
+ lqip?: T;
2685
+ palette?: T | {
2686
+ vibrant?: T;
2687
+ muted?: T;
2688
+ darkVibrant?: T;
2689
+ darkMuted?: T;
2690
+ lightVibrant?: T;
2691
+ lightMuted?: T;
2692
+ };
2693
+ prefix?: T;
2694
+ updatedAt?: T;
2695
+ createdAt?: T;
2696
+ url?: T;
2697
+ thumbnailURL?: T;
2698
+ filename?: T;
2699
+ mimeType?: T;
2700
+ filesize?: T;
2701
+ width?: T;
2702
+ height?: T;
2703
+ focalX?: T;
2704
+ focalY?: T;
2705
+ sizes?: T | {
2706
+ '512'?: T | {
2707
+ url?: T;
2708
+ width?: T;
2709
+ height?: T;
2710
+ mimeType?: T;
2711
+ filesize?: T;
2712
+ filename?: T;
2713
+ };
2714
+ '1024'?: T | {
2715
+ url?: T;
2716
+ width?: T;
2717
+ height?: T;
2718
+ mimeType?: T;
2719
+ filesize?: T;
2720
+ filename?: T;
2721
+ };
2722
+ };
2723
+ }
2724
+ /**
2725
+ * This interface was referenced by `Config`'s JSON-Schema
2726
+ * via the `definition` "forms_select".
2727
+ */
2728
+ interface FormsSelect<T extends boolean = true> {
2729
+ tenant?: T;
2730
+ title?: T;
2731
+ description?: T;
2732
+ status?: T;
2733
+ generateSlug?: T;
2734
+ slug?: T;
2735
+ fields?: T | {
2736
+ checkbox?: T | {
2737
+ name?: T;
2738
+ label?: T;
2739
+ width?: T;
2740
+ required?: T;
2741
+ defaultValue?: T;
2742
+ id?: T;
2743
+ blockName?: T;
2744
+ };
2745
+ country?: T | {
2746
+ name?: T;
2747
+ label?: T;
2748
+ width?: T;
2749
+ required?: T;
2750
+ id?: T;
2751
+ blockName?: T;
2752
+ };
2753
+ email?: T | {
2754
+ name?: T;
2755
+ label?: T;
2756
+ width?: T;
2757
+ required?: T;
2758
+ id?: T;
2759
+ blockName?: T;
2760
+ };
2761
+ message?: T | {
2762
+ message?: T;
2763
+ id?: T;
2764
+ blockName?: T;
2765
+ };
2766
+ number?: T | {
2767
+ name?: T;
2768
+ label?: T;
2769
+ width?: T;
2770
+ defaultValue?: T;
2771
+ required?: T;
2772
+ id?: T;
2773
+ blockName?: T;
2774
+ };
2775
+ select?: T | {
2776
+ name?: T;
2777
+ label?: T;
2778
+ width?: T;
2779
+ defaultValue?: T;
2780
+ placeholder?: T;
2781
+ options?: T | {
2782
+ label?: T;
2783
+ value?: T;
2784
+ id?: T;
2785
+ };
2786
+ required?: T;
2787
+ id?: T;
2788
+ blockName?: T;
2789
+ };
2790
+ state?: T | {
2791
+ name?: T;
2792
+ label?: T;
2793
+ width?: T;
2794
+ required?: T;
2795
+ id?: T;
2796
+ blockName?: T;
2797
+ };
2798
+ text?: T | {
2799
+ name?: T;
2800
+ label?: T;
2801
+ width?: T;
2802
+ defaultValue?: T;
2803
+ required?: T;
2804
+ placeholder?: T;
2805
+ id?: T;
2806
+ blockName?: T;
2807
+ };
2808
+ textarea?: T | {
2809
+ name?: T;
2810
+ label?: T;
2811
+ width?: T;
2812
+ defaultValue?: T;
2813
+ required?: T;
2814
+ id?: T;
2815
+ blockName?: T;
2816
+ };
2817
+ };
2818
+ submitButtonLabel?: T;
2819
+ confirmationType?: T;
2820
+ confirmationMessage?: T;
2821
+ redirect?: T | {
2822
+ url?: T;
2823
+ };
2824
+ emails?: T | {
2825
+ emailTo?: T;
2826
+ cc?: T;
2827
+ bcc?: T;
2828
+ replyTo?: T;
2829
+ emailFrom?: T;
2830
+ subject?: T;
2831
+ message?: T;
2832
+ id?: T;
2833
+ };
2834
+ updatedAt?: T;
2835
+ createdAt?: T;
2836
+ }
2837
+ /**
2838
+ * This interface was referenced by `Config`'s JSON-Schema
2839
+ * via the `definition` "form-submissions_select".
2840
+ */
2841
+ interface FormSubmissionsSelect<T extends boolean = true> {
2842
+ tenant?: T;
2843
+ form?: T;
2844
+ submissionData?: T | {
2845
+ field?: T;
2846
+ value?: T;
2847
+ id?: T;
2848
+ };
2849
+ updatedAt?: T;
2850
+ createdAt?: T;
2851
+ }
2852
+ /**
2853
+ * This interface was referenced by `Config`'s JSON-Schema
2854
+ * via the `definition` "payload-kv_select".
2855
+ */
2856
+ interface PayloadKvSelect<T extends boolean = true> {
2857
+ key?: T;
2858
+ data?: T;
2859
+ }
2860
+ /**
2861
+ * This interface was referenced by `Config`'s JSON-Schema
2862
+ * via the `definition` "payload-locked-documents_select".
2863
+ */
2864
+ interface PayloadLockedDocumentsSelect<T extends boolean = true> {
2865
+ document?: T;
2866
+ globalSlug?: T;
2867
+ user?: T;
2868
+ updatedAt?: T;
2869
+ createdAt?: T;
2870
+ }
2871
+ /**
2872
+ * This interface was referenced by `Config`'s JSON-Schema
2873
+ * via the `definition` "payload-preferences_select".
2874
+ */
2875
+ interface PayloadPreferencesSelect<T extends boolean = true> {
2876
+ user?: T;
2877
+ key?: T;
2878
+ value?: T;
2879
+ updatedAt?: T;
2880
+ createdAt?: T;
2881
+ }
2882
+ /**
2883
+ * This interface was referenced by `Config`'s JSON-Schema
2884
+ * via the `definition` "payload-migrations_select".
2885
+ */
2886
+ interface PayloadMigrationsSelect<T extends boolean = true> {
2887
+ name?: T;
2888
+ batch?: T;
2889
+ updatedAt?: T;
2890
+ createdAt?: T;
2891
+ }
2892
+ /**
2893
+ * This interface was referenced by `Config`'s JSON-Schema
2894
+ * via the `definition` "auth".
2895
+ */
2896
+ interface Auth {
2897
+ [k: string]: unknown;
2898
+ }
2899
+ declare module 'payload' {
2900
+ interface GeneratedTypes extends Config {
2901
+ }
2902
+ }
2903
+
2904
+ export type { TenantLogosSelect as $, Audience as A, BrandLogo as B, Config as C, Document as D, EmailLog as E, GalleryImage as F, Gallery as G, Form as H, IframeBlock as I, FormSubmission as J, PayloadKv as K, PayloadLockedDocument as L, Media as M, PayloadPreference as N, Order as O, ProductOption as P, PayloadMigration as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, UsersSelect as V, MediaSelect as W, AudiencesSelect as X, EmailLogsSelect as Y, TenantsSelect as Z, TenantMetadataSelect as _, OrderProduct as a, TenantOgImagesSelect as a0, ApiUsageSelect as a1, ProductsSelect as a2, ProductVariantsSelect as a3, ProductOptionsSelect as a4, ProductCategoriesSelect as a5, ProductTagsSelect as a6, ProductImagesSelect as a7, BrandsSelect as a8, BrandLogosSelect as a9, OrdersSelect as aa, OrderProductsSelect as ab, ReturnsSelect as ac, ReturnProductsSelect as ad, TransactionsSelect as ae, PostsSelect as af, PostCategoriesSelect as ag, PostTagsSelect as ah, PostImagesSelect as ai, AuthorsSelect as aj, DocumentsSelect as ak, DocumentCategoriesSelect as al, DocumentImagesSelect as am, PlaylistsSelect as an, PlaylistImagesSelect as ao, MusicsSelect as ap, GalleriesSelect as aq, GalleryImagesSelect as ar, FormsSelect as as, FormSubmissionsSelect as at, PayloadKvSelect as au, PayloadLockedDocumentsSelect as av, PayloadPreferencesSelect as aw, PayloadMigrationsSelect as ax, Auth as ay, PlayerBlock as b, CodeBlock as c, User as d, Tenant as e, TenantMetadatum as f, TenantOgImage as g, TenantLogo as h, ApiUsage as i, Product as j, ProductImage as k, ProductCategory as l, ProductTag as m, Brand as n, ProductVariant as o, ReturnProduct as p, Post as q, PostImage as r, Author as s, PostCategory as t, PostTag as u, DocumentCategory as v, DocumentImage as w, Playlist as x, PlaylistImage as y, Music as z };