@glidevvr/storage-payload-types-pkg 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +15 -0
  2. package/payload-types.ts +2168 -0
@@ -0,0 +1,2168 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by Payload.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
6
+ * and re-run `payload generate:types` to regenerate this file.
7
+ */
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/Brisbane'
58
+ | 'Australia/Sydney'
59
+ | 'Pacific/Guam'
60
+ | 'Pacific/Noumea'
61
+ | 'Pacific/Auckland'
62
+ | 'Pacific/Fiji';
63
+
64
+ export interface Config {
65
+ auth: {
66
+ users: UserAuthOperations;
67
+ };
68
+ blocks: {};
69
+ collections: {
70
+ pages: Page;
71
+ media: Media;
72
+ users: User;
73
+ tenants: Tenant;
74
+ posts: Post;
75
+ categories: Category;
76
+ menus: Menu;
77
+ brands: Brand;
78
+ facilities: Facility;
79
+ markets: Market;
80
+ 'facility-features': FacilityFeature;
81
+ 'deletion-logs': DeletionLog;
82
+ redirects: Redirect;
83
+ forms: Form;
84
+ 'form-submissions': FormSubmission;
85
+ 'payload-locked-documents': PayloadLockedDocument;
86
+ 'payload-preferences': PayloadPreference;
87
+ 'payload-migrations': PayloadMigration;
88
+ };
89
+ collectionsJoins: {
90
+ tenants: {
91
+ users: 'users';
92
+ };
93
+ };
94
+ collectionsSelect: {
95
+ pages: PagesSelect<false> | PagesSelect<true>;
96
+ media: MediaSelect<false> | MediaSelect<true>;
97
+ users: UsersSelect<false> | UsersSelect<true>;
98
+ tenants: TenantsSelect<false> | TenantsSelect<true>;
99
+ posts: PostsSelect<false> | PostsSelect<true>;
100
+ categories: CategoriesSelect<false> | CategoriesSelect<true>;
101
+ menus: MenusSelect<false> | MenusSelect<true>;
102
+ brands: BrandsSelect<false> | BrandsSelect<true>;
103
+ facilities: FacilitiesSelect<false> | FacilitiesSelect<true>;
104
+ markets: MarketsSelect<false> | MarketsSelect<true>;
105
+ 'facility-features': FacilityFeaturesSelect<false> | FacilityFeaturesSelect<true>;
106
+ 'deletion-logs': DeletionLogsSelect<false> | DeletionLogsSelect<true>;
107
+ redirects: RedirectsSelect<false> | RedirectsSelect<true>;
108
+ forms: FormsSelect<false> | FormsSelect<true>;
109
+ 'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
110
+ 'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
111
+ 'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
112
+ 'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
113
+ };
114
+ db: {
115
+ defaultIDType: string;
116
+ };
117
+ globals: {};
118
+ globalsSelect: {};
119
+ locale: null;
120
+ user: User & {
121
+ collection: 'users';
122
+ };
123
+ jobs: {
124
+ tasks: unknown;
125
+ workflows: unknown;
126
+ };
127
+ }
128
+ export interface UserAuthOperations {
129
+ forgotPassword: {
130
+ email: string;
131
+ password: string;
132
+ };
133
+ login: {
134
+ email: string;
135
+ password: string;
136
+ };
137
+ registerFirstUser: {
138
+ email: string;
139
+ password: string;
140
+ };
141
+ unlock: {
142
+ email: string;
143
+ password: string;
144
+ };
145
+ }
146
+ /**
147
+ * This collection is for static website pages.
148
+ *
149
+ * This interface was referenced by `Config`'s JSON-Schema
150
+ * via the `definition` "pages".
151
+ */
152
+ export interface Page {
153
+ id: string;
154
+ tenant?: (string | null) | Tenant;
155
+ title: string;
156
+ layout: (
157
+ | CallToActionBlock
158
+ | ContentBlock
159
+ | MediaBlock
160
+ | ArchiveBlock
161
+ | FormBlock
162
+ | HomeTestimonialBlock
163
+ | RentalStepsBlock
164
+ | FeaturesGridBlock
165
+ | HomeHero
166
+ )[];
167
+ meta?: {
168
+ title?: string | null;
169
+ description?: string | null;
170
+ /**
171
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
172
+ */
173
+ indexable?: boolean | null;
174
+ };
175
+ slug: string;
176
+ slugLock?: boolean | null;
177
+ parent?: (string | null) | Page;
178
+ featuredImage?: (string | null) | Media;
179
+ createdBy?: string | null;
180
+ updatedBy?: string | null;
181
+ updatedAt: string;
182
+ createdAt: string;
183
+ _status?: ('draft' | 'published') | null;
184
+ }
185
+ /**
186
+ * This collection represents different partner organizations.
187
+ *
188
+ * This interface was referenced by `Config`'s JSON-Schema
189
+ * via the `definition` "tenants".
190
+ */
191
+ export interface Tenant {
192
+ id: string;
193
+ name: string;
194
+ users?: {
195
+ docs?: (string | User)[];
196
+ hasNextPage?: boolean;
197
+ totalDocs?: number;
198
+ };
199
+ /**
200
+ * If necessary, ensure the global brand colors are assigned on the default brand selected.
201
+ */
202
+ defaultBrand?: (string | null) | Brand;
203
+ /**
204
+ * The page for the All Locations page content. Routing will use this page's slug.
205
+ */
206
+ facilitySlug?: (string | null) | Page;
207
+ seApiKey?: string | null;
208
+ seApiPrivateKey?: string | null;
209
+ /**
210
+ * The Browser key is responsible for client side communications with the Google APIs, and should be restricted by domain.
211
+ */
212
+ googleApiBrowserKey?: string | null;
213
+ /**
214
+ * The Server key is responsible for server side communcations with the Google APIs, and may be restricted by IP addresss.
215
+ */
216
+ googleApiServerKey?: string | null;
217
+ /**
218
+ * The Google Tag Manager ID. This should include the "GTM-" prefix.
219
+ */
220
+ gtmId?: string | null;
221
+ /**
222
+ * Search engine visibility for the website. It is up to search engines to honor this request.
223
+ */
224
+ websiteNotIndexable?: boolean | null;
225
+ facebook?: string | null;
226
+ x?: string | null;
227
+ tiktok?: string | null;
228
+ instagram?: string | null;
229
+ youtube?: string | null;
230
+ linkedIn?: string | null;
231
+ yelp?: string | null;
232
+ createdBy?: string | null;
233
+ updatedBy?: string | null;
234
+ updatedAt: string;
235
+ createdAt: string;
236
+ }
237
+ /**
238
+ * This interface was referenced by `Config`'s JSON-Schema
239
+ * via the `definition` "users".
240
+ */
241
+ export interface User {
242
+ id: string;
243
+ /**
244
+ * Super Admin: Full system control. Partner Admin: Manages users within their Partner. User: Restricted access to Partner data.
245
+ */
246
+ role: 'user' | 'partner-admin' | 'api-user' | 'super-admin';
247
+ username: string;
248
+ firstName: string;
249
+ lastName: string;
250
+ tenants?:
251
+ | {
252
+ tenant: string | Tenant;
253
+ id?: string | null;
254
+ }[]
255
+ | null;
256
+ createdBy?: string | null;
257
+ updatedBy?: string | null;
258
+ updatedAt: string;
259
+ createdAt: string;
260
+ enableAPIKey?: boolean | null;
261
+ apiKey?: string | null;
262
+ apiKeyIndex?: string | null;
263
+ email: string;
264
+ resetPasswordToken?: string | null;
265
+ resetPasswordExpiration?: string | null;
266
+ salt?: string | null;
267
+ hash?: string | null;
268
+ loginAttempts?: number | null;
269
+ lockUntil?: string | null;
270
+ password?: string | null;
271
+ }
272
+ /**
273
+ * This interface was referenced by `Config`'s JSON-Schema
274
+ * via the `definition` "brands".
275
+ */
276
+ export interface Brand {
277
+ id: string;
278
+ tenant?: (string | null) | Tenant;
279
+ name: string;
280
+ isDefaultBrand?: boolean | null;
281
+ logo: string | Media;
282
+ /**
283
+ * Defaults to the header logo if not provided.
284
+ */
285
+ footerLogo?: (string | null) | Media;
286
+ /**
287
+ * Suggested image dimensions: 512 by 512 pixels.
288
+ */
289
+ favicon?: (string | null) | Media;
290
+ primaryColor: string;
291
+ primaryTextColor: string;
292
+ secondaryColor: string;
293
+ secondaryTextColor: string;
294
+ /**
295
+ * These global fields are displayed only for brands assigned as the default brand for a Partner.
296
+ */
297
+ global?: {
298
+ global?: {
299
+ bodyColor: string;
300
+ textColor: string;
301
+ neutralLightColor?: string | null;
302
+ neutralDarkColor?: string | null;
303
+ /**
304
+ * For a full list of fonts, see https://fonts.google.com/
305
+ */
306
+ headingFont?: string | null;
307
+ bodyFont?: string | null;
308
+ headingFontSize?: string | null;
309
+ /**
310
+ * The size of many elements will change in relation to this value.
311
+ */
312
+ bodyFontSize?: string | null;
313
+ /**
314
+ * Affects general layout components and sections.
315
+ */
316
+ layoutBorderRadius?: string | null;
317
+ /**
318
+ * Specifically affects button elements.
319
+ */
320
+ buttonBorderRadius?: string | null;
321
+ };
322
+ };
323
+ createdBy?: string | null;
324
+ updatedBy?: string | null;
325
+ updatedAt: string;
326
+ createdAt: string;
327
+ }
328
+ /**
329
+ * This interface was referenced by `Config`'s JSON-Schema
330
+ * via the `definition` "media".
331
+ */
332
+ export interface Media {
333
+ id: string;
334
+ tenant?: (string | null) | Tenant;
335
+ alt: string;
336
+ caption?: {
337
+ root: {
338
+ type: string;
339
+ children: {
340
+ type: string;
341
+ version: number;
342
+ [k: string]: unknown;
343
+ }[];
344
+ direction: ('ltr' | 'rtl') | null;
345
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
346
+ indent: number;
347
+ version: number;
348
+ };
349
+ [k: string]: unknown;
350
+ } | null;
351
+ createdBy?: string | null;
352
+ updatedBy?: string | null;
353
+ updatedAt: string;
354
+ createdAt: string;
355
+ url?: string | null;
356
+ thumbnailURL?: string | null;
357
+ filename?: string | null;
358
+ mimeType?: string | null;
359
+ filesize?: number | null;
360
+ width?: number | null;
361
+ height?: number | null;
362
+ focalX?: number | null;
363
+ focalY?: number | null;
364
+ sizes?: {
365
+ thumbnail?: {
366
+ url?: string | null;
367
+ width?: number | null;
368
+ height?: number | null;
369
+ mimeType?: string | null;
370
+ filesize?: number | null;
371
+ filename?: string | null;
372
+ };
373
+ medium?: {
374
+ url?: string | null;
375
+ width?: number | null;
376
+ height?: number | null;
377
+ mimeType?: string | null;
378
+ filesize?: number | null;
379
+ filename?: string | null;
380
+ };
381
+ hero?: {
382
+ url?: string | null;
383
+ width?: number | null;
384
+ height?: number | null;
385
+ mimeType?: string | null;
386
+ filesize?: number | null;
387
+ filename?: string | null;
388
+ };
389
+ };
390
+ }
391
+ /**
392
+ * This interface was referenced by `Config`'s JSON-Schema
393
+ * via the `definition` "CallToActionBlock".
394
+ */
395
+ export interface CallToActionBlock {
396
+ richText?: {
397
+ root: {
398
+ type: string;
399
+ children: {
400
+ type: string;
401
+ version: number;
402
+ [k: string]: unknown;
403
+ }[];
404
+ direction: ('ltr' | 'rtl') | null;
405
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
406
+ indent: number;
407
+ version: number;
408
+ };
409
+ [k: string]: unknown;
410
+ } | null;
411
+ links?:
412
+ | {
413
+ link: {
414
+ type?: ('reference' | 'custom') | null;
415
+ newTab?: boolean | null;
416
+ reference?:
417
+ | ({
418
+ relationTo: 'pages';
419
+ value: string | Page;
420
+ } | null)
421
+ | ({
422
+ relationTo: 'posts';
423
+ value: string | Post;
424
+ } | null)
425
+ | ({
426
+ relationTo: 'facilities';
427
+ value: string | Facility;
428
+ } | null)
429
+ | ({
430
+ relationTo: 'markets';
431
+ value: string | Market;
432
+ } | null)
433
+ | ({
434
+ relationTo: 'categories';
435
+ value: string | Category;
436
+ } | null);
437
+ url?: string | null;
438
+ label: string;
439
+ /**
440
+ * Choose how the link should be rendered.
441
+ */
442
+ appearance?: ('default' | 'outline') | null;
443
+ };
444
+ id?: string | null;
445
+ }[]
446
+ | null;
447
+ id?: string | null;
448
+ blockName?: string | null;
449
+ blockType: 'cta';
450
+ }
451
+ /**
452
+ * This collection is for static blog articles.
453
+ *
454
+ * This interface was referenced by `Config`'s JSON-Schema
455
+ * via the `definition` "posts".
456
+ */
457
+ export interface Post {
458
+ id: string;
459
+ tenant?: (string | null) | Tenant;
460
+ title: string;
461
+ content: {
462
+ root: {
463
+ type: string;
464
+ children: {
465
+ type: string;
466
+ version: number;
467
+ [k: string]: unknown;
468
+ }[];
469
+ direction: ('ltr' | 'rtl') | null;
470
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
471
+ indent: number;
472
+ version: number;
473
+ };
474
+ [k: string]: unknown;
475
+ };
476
+ relatedPosts?: (string | Post)[] | null;
477
+ categories?: (string | Category)[] | null;
478
+ meta?: {
479
+ title?: string | null;
480
+ description?: string | null;
481
+ /**
482
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
483
+ */
484
+ indexable?: boolean | null;
485
+ };
486
+ slug: string;
487
+ slugLock?: boolean | null;
488
+ author?: (string | null) | User;
489
+ publishedAt?: string | null;
490
+ featuredImage?: (string | null) | Media;
491
+ /**
492
+ * Defaults to the beginning of your post content if not entered.
493
+ */
494
+ excerpt?: string | null;
495
+ createdBy?: string | null;
496
+ updatedBy?: string | null;
497
+ updatedAt: string;
498
+ createdAt: string;
499
+ _status?: ('draft' | 'published') | null;
500
+ }
501
+ /**
502
+ * This interface was referenced by `Config`'s JSON-Schema
503
+ * via the `definition` "categories".
504
+ */
505
+ export interface Category {
506
+ id: string;
507
+ tenant?: (string | null) | Tenant;
508
+ title: string;
509
+ description?: string | null;
510
+ meta?: {
511
+ title?: string | null;
512
+ description?: string | null;
513
+ /**
514
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
515
+ */
516
+ indexable?: boolean | null;
517
+ };
518
+ slug: string;
519
+ slugLock?: boolean | null;
520
+ featuredImage?: (string | null) | Media;
521
+ createdBy?: string | null;
522
+ updatedBy?: string | null;
523
+ updatedAt: string;
524
+ createdAt: string;
525
+ }
526
+ /**
527
+ * This collection represents different facilities.
528
+ *
529
+ * This interface was referenced by `Config`'s JSON-Schema
530
+ * via the `definition` "facilities".
531
+ */
532
+ export interface Facility {
533
+ id: string;
534
+ tenant?: (string | null) | Tenant;
535
+ title: string;
536
+ seFacilityId?: number | null;
537
+ comingSoon?: boolean | null;
538
+ googlePlaceId?: string | null;
539
+ /**
540
+ * If unset, the branding will default to the company's default brand.
541
+ */
542
+ brandSelection?: (string | null) | Brand;
543
+ /**
544
+ * Select multiple features related to this facility.
545
+ */
546
+ facilityFeatures?: (string | FacilityFeature)[] | null;
547
+ facilityPaymentSystem?: ('default' | 'none' | 'provider' | 'storage_essentials') | null;
548
+ /**
549
+ * Notify customers about a promotion or holiday hours. Displays in a banner at the top of the page.
550
+ */
551
+ facilityNotice?: string | null;
552
+ /**
553
+ * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
554
+ */
555
+ facilityPromotion?: string | null;
556
+ /**
557
+ * The first image selected is displayed on market pages.
558
+ */
559
+ gallery?: (string | Media)[] | null;
560
+ contentTabs?:
561
+ | {
562
+ tabName: string;
563
+ tabContent?: {
564
+ root: {
565
+ type: string;
566
+ children: {
567
+ type: string;
568
+ version: number;
569
+ [k: string]: unknown;
570
+ }[];
571
+ direction: ('ltr' | 'rtl') | null;
572
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
573
+ indent: number;
574
+ version: number;
575
+ };
576
+ [k: string]: unknown;
577
+ } | null;
578
+ id?: string | null;
579
+ }[]
580
+ | null;
581
+ faq?:
582
+ | {
583
+ question?: string | null;
584
+ answer?: {
585
+ root: {
586
+ type: string;
587
+ children: {
588
+ type: string;
589
+ version: number;
590
+ [k: string]: unknown;
591
+ }[];
592
+ direction: ('ltr' | 'rtl') | null;
593
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
594
+ indent: number;
595
+ version: number;
596
+ };
597
+ [k: string]: unknown;
598
+ } | null;
599
+ id?: string | null;
600
+ }[]
601
+ | null;
602
+ meta?: {
603
+ title?: string | null;
604
+ description?: string | null;
605
+ /**
606
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
607
+ */
608
+ indexable?: boolean | null;
609
+ };
610
+ slug: string;
611
+ slugLock?: boolean | null;
612
+ parent?: (string | null) | Market;
613
+ createdBy?: string | null;
614
+ updatedBy?: string | null;
615
+ updatedAt: string;
616
+ createdAt: string;
617
+ _status?: ('draft' | 'published') | null;
618
+ }
619
+ /**
620
+ * This interface was referenced by `Config`'s JSON-Schema
621
+ * via the `definition` "facility-features".
622
+ */
623
+ export interface FacilityFeature {
624
+ id: string;
625
+ tenant?: (string | null) | Tenant;
626
+ featureName: string;
627
+ description?: string | null;
628
+ icon?: string | null;
629
+ slug: string;
630
+ slugLock?: boolean | null;
631
+ createdBy?: string | null;
632
+ updatedBy?: string | null;
633
+ updatedAt: string;
634
+ createdAt: string;
635
+ }
636
+ /**
637
+ * This collection represents different markets.
638
+ *
639
+ * This interface was referenced by `Config`'s JSON-Schema
640
+ * via the `definition` "markets".
641
+ */
642
+ export interface Market {
643
+ id: string;
644
+ tenant?: (string | null) | Tenant;
645
+ title: string;
646
+ marketType: 'state' | 'city' | 'amenity';
647
+ country: 'USA' | 'Canada';
648
+ state: string;
649
+ city?: string | null;
650
+ sort: 'facility_title' | 'state' | 'city' | 'starting_price';
651
+ customOrGeo: 'geo' | 'custom';
652
+ customFacilities?: (string | Facility)[] | null;
653
+ layout?: (CallToActionBlock | ContentBlock | MediaBlock | ArchiveBlock | FormBlock)[] | null;
654
+ meta?: {
655
+ title?: string | null;
656
+ description?: string | null;
657
+ /**
658
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
659
+ */
660
+ indexable?: boolean | null;
661
+ };
662
+ slug: string;
663
+ slugLock?: boolean | null;
664
+ parent?: (string | null) | Market;
665
+ createdBy?: string | null;
666
+ updatedBy?: string | null;
667
+ updatedAt: string;
668
+ createdAt: string;
669
+ _status?: ('draft' | 'published') | null;
670
+ }
671
+ /**
672
+ * This interface was referenced by `Config`'s JSON-Schema
673
+ * via the `definition` "ContentBlock".
674
+ */
675
+ export interface ContentBlock {
676
+ columns?:
677
+ | {
678
+ size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null;
679
+ richText?: {
680
+ root: {
681
+ type: string;
682
+ children: {
683
+ type: string;
684
+ version: number;
685
+ [k: string]: unknown;
686
+ }[];
687
+ direction: ('ltr' | 'rtl') | null;
688
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
689
+ indent: number;
690
+ version: number;
691
+ };
692
+ [k: string]: unknown;
693
+ } | null;
694
+ enableLink?: boolean | null;
695
+ link?: {
696
+ type?: ('reference' | 'custom') | null;
697
+ newTab?: boolean | null;
698
+ reference?:
699
+ | ({
700
+ relationTo: 'pages';
701
+ value: string | Page;
702
+ } | null)
703
+ | ({
704
+ relationTo: 'posts';
705
+ value: string | Post;
706
+ } | null)
707
+ | ({
708
+ relationTo: 'facilities';
709
+ value: string | Facility;
710
+ } | null)
711
+ | ({
712
+ relationTo: 'markets';
713
+ value: string | Market;
714
+ } | null)
715
+ | ({
716
+ relationTo: 'categories';
717
+ value: string | Category;
718
+ } | null);
719
+ url?: string | null;
720
+ label: string;
721
+ /**
722
+ * Choose how the link should be rendered.
723
+ */
724
+ appearance?: ('default' | 'outline') | null;
725
+ };
726
+ id?: string | null;
727
+ }[]
728
+ | null;
729
+ id?: string | null;
730
+ blockName?: string | null;
731
+ blockType: 'content';
732
+ }
733
+ /**
734
+ * This interface was referenced by `Config`'s JSON-Schema
735
+ * via the `definition` "MediaBlock".
736
+ */
737
+ export interface MediaBlock {
738
+ position?: ('default' | 'fullscreen') | null;
739
+ media: string | Media;
740
+ id?: string | null;
741
+ blockName?: string | null;
742
+ blockType: 'mediaBlock';
743
+ }
744
+ /**
745
+ * This interface was referenced by `Config`'s JSON-Schema
746
+ * via the `definition` "ArchiveBlock".
747
+ */
748
+ export interface ArchiveBlock {
749
+ introContent?: {
750
+ root: {
751
+ type: string;
752
+ children: {
753
+ type: string;
754
+ version: number;
755
+ [k: string]: unknown;
756
+ }[];
757
+ direction: ('ltr' | 'rtl') | null;
758
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
759
+ indent: number;
760
+ version: number;
761
+ };
762
+ [k: string]: unknown;
763
+ } | null;
764
+ populateBy?: ('collection' | 'selection') | null;
765
+ relationTo?: 'posts' | null;
766
+ categories?: (string | Category)[] | null;
767
+ limit?: number | null;
768
+ selectedDocs?:
769
+ | {
770
+ relationTo: 'posts';
771
+ value: string | Post;
772
+ }[]
773
+ | null;
774
+ id?: string | null;
775
+ blockName?: string | null;
776
+ blockType: 'archive';
777
+ }
778
+ /**
779
+ * This interface was referenced by `Config`'s JSON-Schema
780
+ * via the `definition` "FormBlock".
781
+ */
782
+ export interface FormBlock {
783
+ form: string | Form;
784
+ enableIntro?: boolean | null;
785
+ introContent?: {
786
+ root: {
787
+ type: string;
788
+ children: {
789
+ type: string;
790
+ version: number;
791
+ [k: string]: unknown;
792
+ }[];
793
+ direction: ('ltr' | 'rtl') | null;
794
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
795
+ indent: number;
796
+ version: number;
797
+ };
798
+ [k: string]: unknown;
799
+ } | null;
800
+ id?: string | null;
801
+ blockName?: string | null;
802
+ blockType: 'formBlock';
803
+ }
804
+ /**
805
+ * This interface was referenced by `Config`'s JSON-Schema
806
+ * via the `definition` "forms".
807
+ */
808
+ export interface Form {
809
+ id: string;
810
+ tenant?: (string | null) | Tenant;
811
+ title: string;
812
+ fields?:
813
+ | (
814
+ | {
815
+ name: string;
816
+ label?: string | null;
817
+ width?: number | null;
818
+ required?: boolean | null;
819
+ defaultValue?: boolean | null;
820
+ id?: string | null;
821
+ blockName?: string | null;
822
+ blockType: 'checkbox';
823
+ }
824
+ | {
825
+ name: string;
826
+ label?: string | null;
827
+ width?: number | null;
828
+ required?: boolean | null;
829
+ id?: string | null;
830
+ blockName?: string | null;
831
+ blockType: 'country';
832
+ }
833
+ | {
834
+ name?: string | null;
835
+ label?: string | null;
836
+ width?: number | null;
837
+ defaultValue?: string | null;
838
+ required?: boolean | null;
839
+ id?: string | null;
840
+ blockName?: string | null;
841
+ blockType: 'email';
842
+ }
843
+ | {
844
+ message?: {
845
+ root: {
846
+ type: string;
847
+ children: {
848
+ type: string;
849
+ version: number;
850
+ [k: string]: unknown;
851
+ }[];
852
+ direction: ('ltr' | 'rtl') | null;
853
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
854
+ indent: number;
855
+ version: number;
856
+ };
857
+ [k: string]: unknown;
858
+ } | null;
859
+ id?: string | null;
860
+ blockName?: string | null;
861
+ blockType: 'message';
862
+ }
863
+ | {
864
+ name: string;
865
+ label?: string | null;
866
+ width?: number | null;
867
+ defaultValue?: number | null;
868
+ required?: boolean | null;
869
+ id?: string | null;
870
+ blockName?: string | null;
871
+ blockType: 'number';
872
+ }
873
+ | {
874
+ name: string;
875
+ label?: string | null;
876
+ width?: number | null;
877
+ defaultValue?: string | null;
878
+ placeholder?: string | null;
879
+ options?:
880
+ | {
881
+ label: string;
882
+ value: string;
883
+ id?: string | null;
884
+ }[]
885
+ | null;
886
+ required?: boolean | null;
887
+ id?: string | null;
888
+ blockName?: string | null;
889
+ blockType: 'select';
890
+ }
891
+ | {
892
+ name: string;
893
+ label?: string | null;
894
+ width?: number | null;
895
+ required?: boolean | null;
896
+ id?: string | null;
897
+ blockName?: string | null;
898
+ blockType: 'state';
899
+ }
900
+ | {
901
+ name: string;
902
+ label?: string | null;
903
+ width?: number | null;
904
+ defaultValue?: string | null;
905
+ required?: boolean | null;
906
+ id?: string | null;
907
+ blockName?: string | null;
908
+ blockType: 'text';
909
+ }
910
+ | {
911
+ name: string;
912
+ label?: string | null;
913
+ width?: number | null;
914
+ defaultValue?: string | null;
915
+ required?: boolean | null;
916
+ id?: string | null;
917
+ blockName?: string | null;
918
+ blockType: 'textarea';
919
+ }
920
+ )[]
921
+ | null;
922
+ submitButtonLabel?: string | null;
923
+ /**
924
+ * Choose whether to display an on-page message or redirect to a different page after they submit the form.
925
+ */
926
+ confirmationType?: ('message' | 'redirect') | null;
927
+ confirmationMessage?: {
928
+ root: {
929
+ type: string;
930
+ children: {
931
+ type: string;
932
+ version: number;
933
+ [k: string]: unknown;
934
+ }[];
935
+ direction: ('ltr' | 'rtl') | null;
936
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
937
+ indent: number;
938
+ version: number;
939
+ };
940
+ [k: string]: unknown;
941
+ } | null;
942
+ redirect?: {
943
+ type?: ('reference' | 'custom') | null;
944
+ reference?:
945
+ | ({
946
+ relationTo: 'pages';
947
+ value: string | Page;
948
+ } | null)
949
+ | ({
950
+ relationTo: 'posts';
951
+ value: string | Post;
952
+ } | null)
953
+ | ({
954
+ relationTo: 'facilities';
955
+ value: string | Facility;
956
+ } | null)
957
+ | ({
958
+ relationTo: 'markets';
959
+ value: string | Market;
960
+ } | null);
961
+ url?: string | null;
962
+ };
963
+ /**
964
+ * 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.
965
+ */
966
+ emails?:
967
+ | {
968
+ emailTo?: string | null;
969
+ cc?: string | null;
970
+ bcc?: string | null;
971
+ replyTo?: string | null;
972
+ emailFrom?: string | null;
973
+ subject: string;
974
+ /**
975
+ * Enter the message that should be sent in this email.
976
+ */
977
+ message?: {
978
+ root: {
979
+ type: string;
980
+ children: {
981
+ type: string;
982
+ version: number;
983
+ [k: string]: unknown;
984
+ }[];
985
+ direction: ('ltr' | 'rtl') | null;
986
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
987
+ indent: number;
988
+ version: number;
989
+ };
990
+ [k: string]: unknown;
991
+ } | null;
992
+ id?: string | null;
993
+ }[]
994
+ | null;
995
+ createdBy?: string | null;
996
+ updatedBy?: string | null;
997
+ updatedAt: string;
998
+ createdAt: string;
999
+ }
1000
+ /**
1001
+ * This interface was referenced by `Config`'s JSON-Schema
1002
+ * via the `definition` "HomeTestimonialBlock".
1003
+ */
1004
+ export interface HomeTestimonialBlock {
1005
+ heading?: string | null;
1006
+ testimonialText?: string | null;
1007
+ author?: string | null;
1008
+ rating: number;
1009
+ topImage?: (string | null) | Media;
1010
+ middleImage?: (string | null) | Media;
1011
+ bottomImage?: (string | null) | Media;
1012
+ id?: string | null;
1013
+ blockName?: string | null;
1014
+ blockType: 'homeTestimonial';
1015
+ }
1016
+ /**
1017
+ * This interface was referenced by `Config`'s JSON-Schema
1018
+ * via the `definition` "RentalStepsBlock".
1019
+ */
1020
+ export interface RentalStepsBlock {
1021
+ heading?: string | null;
1022
+ steps?:
1023
+ | {
1024
+ icon?: string | null;
1025
+ stepText?: string | null;
1026
+ id?: string | null;
1027
+ }[]
1028
+ | null;
1029
+ id?: string | null;
1030
+ blockName?: string | null;
1031
+ blockType: 'rental-steps';
1032
+ }
1033
+ /**
1034
+ * This interface was referenced by `Config`'s JSON-Schema
1035
+ * via the `definition` "FeaturesGridBlock".
1036
+ */
1037
+ export interface FeaturesGridBlock {
1038
+ heading?: string | null;
1039
+ description?: {
1040
+ root: {
1041
+ type: string;
1042
+ children: {
1043
+ type: string;
1044
+ version: number;
1045
+ [k: string]: unknown;
1046
+ }[];
1047
+ direction: ('ltr' | 'rtl') | null;
1048
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1049
+ indent: number;
1050
+ version: number;
1051
+ };
1052
+ [k: string]: unknown;
1053
+ } | null;
1054
+ featuresGrid?:
1055
+ | {
1056
+ featureIcon?: string | null;
1057
+ featureName?: string | null;
1058
+ id?: string | null;
1059
+ }[]
1060
+ | null;
1061
+ buttonLink?: {
1062
+ type?: ('reference' | 'custom') | null;
1063
+ newTab?: boolean | null;
1064
+ reference?:
1065
+ | ({
1066
+ relationTo: 'pages';
1067
+ value: string | Page;
1068
+ } | null)
1069
+ | ({
1070
+ relationTo: 'posts';
1071
+ value: string | Post;
1072
+ } | null)
1073
+ | ({
1074
+ relationTo: 'facilities';
1075
+ value: string | Facility;
1076
+ } | null)
1077
+ | ({
1078
+ relationTo: 'markets';
1079
+ value: string | Market;
1080
+ } | null)
1081
+ | ({
1082
+ relationTo: 'categories';
1083
+ value: string | Category;
1084
+ } | null);
1085
+ url?: string | null;
1086
+ label?: string | null;
1087
+ };
1088
+ disclaimer?: {
1089
+ root: {
1090
+ type: string;
1091
+ children: {
1092
+ type: string;
1093
+ version: number;
1094
+ [k: string]: unknown;
1095
+ }[];
1096
+ direction: ('ltr' | 'rtl') | null;
1097
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1098
+ indent: number;
1099
+ version: number;
1100
+ };
1101
+ [k: string]: unknown;
1102
+ } | null;
1103
+ id?: string | null;
1104
+ blockName?: string | null;
1105
+ blockType: 'features-grid';
1106
+ }
1107
+ /**
1108
+ * This interface was referenced by `Config`'s JSON-Schema
1109
+ * via the `definition` "HomeHero".
1110
+ */
1111
+ export interface HomeHero {
1112
+ title?: string | null;
1113
+ subtitle?: string | null;
1114
+ backgroundImage?: (string | null) | Media;
1115
+ layoutMode?: ('half' | 'full') | null;
1116
+ fullImageContentAlign?: ('center' | 'right' | 'left') | null;
1117
+ halfImageContentSide?: ('right' | 'left') | null;
1118
+ searchLayout?: 'default' | null;
1119
+ id?: string | null;
1120
+ blockName?: string | null;
1121
+ blockType: 'homeHero';
1122
+ }
1123
+ /**
1124
+ * This interface was referenced by `Config`'s JSON-Schema
1125
+ * via the `definition` "menus".
1126
+ */
1127
+ export interface Menu {
1128
+ id: string;
1129
+ tenant?: (string | null) | Tenant;
1130
+ title: string;
1131
+ location?: ('main_menu' | 'footer_menu_1' | 'footer_menu_2' | 'footer_menu_3' | 'footer_menu_4') | null;
1132
+ columns?: number | null;
1133
+ navItems?:
1134
+ | {
1135
+ link: {
1136
+ type?: ('reference' | 'custom') | null;
1137
+ newTab?: boolean | null;
1138
+ reference?:
1139
+ | ({
1140
+ relationTo: 'pages';
1141
+ value: string | Page;
1142
+ } | null)
1143
+ | ({
1144
+ relationTo: 'posts';
1145
+ value: string | Post;
1146
+ } | null)
1147
+ | ({
1148
+ relationTo: 'facilities';
1149
+ value: string | Facility;
1150
+ } | null)
1151
+ | ({
1152
+ relationTo: 'markets';
1153
+ value: string | Market;
1154
+ } | null)
1155
+ | ({
1156
+ relationTo: 'categories';
1157
+ value: string | Category;
1158
+ } | null);
1159
+ url?: string | null;
1160
+ label: string;
1161
+ };
1162
+ navChildren?:
1163
+ | {
1164
+ link: {
1165
+ type?: ('reference' | 'custom') | null;
1166
+ newTab?: boolean | null;
1167
+ reference?:
1168
+ | ({
1169
+ relationTo: 'pages';
1170
+ value: string | Page;
1171
+ } | null)
1172
+ | ({
1173
+ relationTo: 'posts';
1174
+ value: string | Post;
1175
+ } | null)
1176
+ | ({
1177
+ relationTo: 'facilities';
1178
+ value: string | Facility;
1179
+ } | null)
1180
+ | ({
1181
+ relationTo: 'markets';
1182
+ value: string | Market;
1183
+ } | null)
1184
+ | ({
1185
+ relationTo: 'categories';
1186
+ value: string | Category;
1187
+ } | null);
1188
+ url?: string | null;
1189
+ label: string;
1190
+ };
1191
+ id?: string | null;
1192
+ }[]
1193
+ | null;
1194
+ id?: string | null;
1195
+ }[]
1196
+ | null;
1197
+ createdBy?: string | null;
1198
+ updatedBy?: string | null;
1199
+ updatedAt: string;
1200
+ createdAt: string;
1201
+ }
1202
+ /**
1203
+ * This interface was referenced by `Config`'s JSON-Schema
1204
+ * via the `definition` "deletion-logs".
1205
+ */
1206
+ export interface DeletionLog {
1207
+ id: string;
1208
+ tenant?: (string | null) | Tenant;
1209
+ collectionSlug: string;
1210
+ documentTitle?: string | null;
1211
+ documentId: string;
1212
+ deletedByName: string;
1213
+ deletedById: string;
1214
+ deletedOn: string;
1215
+ updatedAt: string;
1216
+ createdAt: string;
1217
+ }
1218
+ /**
1219
+ * This interface was referenced by `Config`'s JSON-Schema
1220
+ * via the `definition` "redirects".
1221
+ */
1222
+ export interface Redirect {
1223
+ id: string;
1224
+ tenant?: (string | null) | Tenant;
1225
+ from: string;
1226
+ /**
1227
+ * If the URL is an internal page, it should be entered without a domain, with a leading slash. If the URL is an external URL, it should be entered with the full domain including the protocol (https://).
1228
+ */
1229
+ to: string;
1230
+ type?: ('301' | '302') | null;
1231
+ createdBy?: string | null;
1232
+ updatedBy?: string | null;
1233
+ updatedAt: string;
1234
+ createdAt: string;
1235
+ }
1236
+ /**
1237
+ * This interface was referenced by `Config`'s JSON-Schema
1238
+ * via the `definition` "form-submissions".
1239
+ */
1240
+ export interface FormSubmission {
1241
+ id: string;
1242
+ form: string | Form;
1243
+ submissionData?:
1244
+ | {
1245
+ field: string;
1246
+ value: string;
1247
+ id?: string | null;
1248
+ }[]
1249
+ | null;
1250
+ tenant?: (string | null) | Tenant;
1251
+ updatedAt: string;
1252
+ createdAt: string;
1253
+ }
1254
+ /**
1255
+ * This interface was referenced by `Config`'s JSON-Schema
1256
+ * via the `definition` "payload-locked-documents".
1257
+ */
1258
+ export interface PayloadLockedDocument {
1259
+ id: string;
1260
+ document?:
1261
+ | ({
1262
+ relationTo: 'pages';
1263
+ value: string | Page;
1264
+ } | null)
1265
+ | ({
1266
+ relationTo: 'media';
1267
+ value: string | Media;
1268
+ } | null)
1269
+ | ({
1270
+ relationTo: 'users';
1271
+ value: string | User;
1272
+ } | null)
1273
+ | ({
1274
+ relationTo: 'tenants';
1275
+ value: string | Tenant;
1276
+ } | null)
1277
+ | ({
1278
+ relationTo: 'posts';
1279
+ value: string | Post;
1280
+ } | null)
1281
+ | ({
1282
+ relationTo: 'categories';
1283
+ value: string | Category;
1284
+ } | null)
1285
+ | ({
1286
+ relationTo: 'menus';
1287
+ value: string | Menu;
1288
+ } | null)
1289
+ | ({
1290
+ relationTo: 'brands';
1291
+ value: string | Brand;
1292
+ } | null)
1293
+ | ({
1294
+ relationTo: 'facilities';
1295
+ value: string | Facility;
1296
+ } | null)
1297
+ | ({
1298
+ relationTo: 'markets';
1299
+ value: string | Market;
1300
+ } | null)
1301
+ | ({
1302
+ relationTo: 'facility-features';
1303
+ value: string | FacilityFeature;
1304
+ } | null)
1305
+ | ({
1306
+ relationTo: 'deletion-logs';
1307
+ value: string | DeletionLog;
1308
+ } | null)
1309
+ | ({
1310
+ relationTo: 'redirects';
1311
+ value: string | Redirect;
1312
+ } | null)
1313
+ | ({
1314
+ relationTo: 'forms';
1315
+ value: string | Form;
1316
+ } | null)
1317
+ | ({
1318
+ relationTo: 'form-submissions';
1319
+ value: string | FormSubmission;
1320
+ } | null);
1321
+ globalSlug?: string | null;
1322
+ user: {
1323
+ relationTo: 'users';
1324
+ value: string | User;
1325
+ };
1326
+ updatedAt: string;
1327
+ createdAt: string;
1328
+ }
1329
+ /**
1330
+ * This interface was referenced by `Config`'s JSON-Schema
1331
+ * via the `definition` "payload-preferences".
1332
+ */
1333
+ export interface PayloadPreference {
1334
+ id: string;
1335
+ user: {
1336
+ relationTo: 'users';
1337
+ value: string | User;
1338
+ };
1339
+ key?: string | null;
1340
+ value?:
1341
+ | {
1342
+ [k: string]: unknown;
1343
+ }
1344
+ | unknown[]
1345
+ | string
1346
+ | number
1347
+ | boolean
1348
+ | null;
1349
+ updatedAt: string;
1350
+ createdAt: string;
1351
+ }
1352
+ /**
1353
+ * This interface was referenced by `Config`'s JSON-Schema
1354
+ * via the `definition` "payload-migrations".
1355
+ */
1356
+ export interface PayloadMigration {
1357
+ id: string;
1358
+ name?: string | null;
1359
+ batch?: number | null;
1360
+ updatedAt: string;
1361
+ createdAt: string;
1362
+ }
1363
+ /**
1364
+ * This interface was referenced by `Config`'s JSON-Schema
1365
+ * via the `definition` "pages_select".
1366
+ */
1367
+ export interface PagesSelect<T extends boolean = true> {
1368
+ tenant?: T;
1369
+ title?: T;
1370
+ layout?:
1371
+ | T
1372
+ | {
1373
+ cta?: T | CallToActionBlockSelect<T>;
1374
+ content?: T | ContentBlockSelect<T>;
1375
+ mediaBlock?: T | MediaBlockSelect<T>;
1376
+ archive?: T | ArchiveBlockSelect<T>;
1377
+ formBlock?: T | FormBlockSelect<T>;
1378
+ homeTestimonial?: T | HomeTestimonialBlockSelect<T>;
1379
+ 'rental-steps'?: T | RentalStepsBlockSelect<T>;
1380
+ 'features-grid'?: T | FeaturesGridBlockSelect<T>;
1381
+ homeHero?: T | HomeHeroSelect<T>;
1382
+ };
1383
+ meta?:
1384
+ | T
1385
+ | {
1386
+ title?: T;
1387
+ description?: T;
1388
+ indexable?: T;
1389
+ };
1390
+ slug?: T;
1391
+ slugLock?: T;
1392
+ parent?: T;
1393
+ featuredImage?: T;
1394
+ createdBy?: T;
1395
+ updatedBy?: T;
1396
+ updatedAt?: T;
1397
+ createdAt?: T;
1398
+ _status?: T;
1399
+ }
1400
+ /**
1401
+ * This interface was referenced by `Config`'s JSON-Schema
1402
+ * via the `definition` "CallToActionBlock_select".
1403
+ */
1404
+ export interface CallToActionBlockSelect<T extends boolean = true> {
1405
+ richText?: T;
1406
+ links?:
1407
+ | T
1408
+ | {
1409
+ link?:
1410
+ | T
1411
+ | {
1412
+ type?: T;
1413
+ newTab?: T;
1414
+ reference?: T;
1415
+ url?: T;
1416
+ label?: T;
1417
+ appearance?: T;
1418
+ };
1419
+ id?: T;
1420
+ };
1421
+ id?: T;
1422
+ blockName?: T;
1423
+ }
1424
+ /**
1425
+ * This interface was referenced by `Config`'s JSON-Schema
1426
+ * via the `definition` "ContentBlock_select".
1427
+ */
1428
+ export interface ContentBlockSelect<T extends boolean = true> {
1429
+ columns?:
1430
+ | T
1431
+ | {
1432
+ size?: T;
1433
+ richText?: T;
1434
+ enableLink?: T;
1435
+ link?:
1436
+ | T
1437
+ | {
1438
+ type?: T;
1439
+ newTab?: T;
1440
+ reference?: T;
1441
+ url?: T;
1442
+ label?: T;
1443
+ appearance?: T;
1444
+ };
1445
+ id?: T;
1446
+ };
1447
+ id?: T;
1448
+ blockName?: T;
1449
+ }
1450
+ /**
1451
+ * This interface was referenced by `Config`'s JSON-Schema
1452
+ * via the `definition` "MediaBlock_select".
1453
+ */
1454
+ export interface MediaBlockSelect<T extends boolean = true> {
1455
+ position?: T;
1456
+ media?: T;
1457
+ id?: T;
1458
+ blockName?: T;
1459
+ }
1460
+ /**
1461
+ * This interface was referenced by `Config`'s JSON-Schema
1462
+ * via the `definition` "ArchiveBlock_select".
1463
+ */
1464
+ export interface ArchiveBlockSelect<T extends boolean = true> {
1465
+ introContent?: T;
1466
+ populateBy?: T;
1467
+ relationTo?: T;
1468
+ categories?: T;
1469
+ limit?: T;
1470
+ selectedDocs?: T;
1471
+ id?: T;
1472
+ blockName?: T;
1473
+ }
1474
+ /**
1475
+ * This interface was referenced by `Config`'s JSON-Schema
1476
+ * via the `definition` "FormBlock_select".
1477
+ */
1478
+ export interface FormBlockSelect<T extends boolean = true> {
1479
+ form?: T;
1480
+ enableIntro?: T;
1481
+ introContent?: T;
1482
+ id?: T;
1483
+ blockName?: T;
1484
+ }
1485
+ /**
1486
+ * This interface was referenced by `Config`'s JSON-Schema
1487
+ * via the `definition` "HomeTestimonialBlock_select".
1488
+ */
1489
+ export interface HomeTestimonialBlockSelect<T extends boolean = true> {
1490
+ heading?: T;
1491
+ testimonialText?: T;
1492
+ author?: T;
1493
+ rating?: T;
1494
+ topImage?: T;
1495
+ middleImage?: T;
1496
+ bottomImage?: T;
1497
+ id?: T;
1498
+ blockName?: T;
1499
+ }
1500
+ /**
1501
+ * This interface was referenced by `Config`'s JSON-Schema
1502
+ * via the `definition` "RentalStepsBlock_select".
1503
+ */
1504
+ export interface RentalStepsBlockSelect<T extends boolean = true> {
1505
+ heading?: T;
1506
+ steps?:
1507
+ | T
1508
+ | {
1509
+ icon?: T;
1510
+ stepText?: T;
1511
+ id?: T;
1512
+ };
1513
+ id?: T;
1514
+ blockName?: T;
1515
+ }
1516
+ /**
1517
+ * This interface was referenced by `Config`'s JSON-Schema
1518
+ * via the `definition` "FeaturesGridBlock_select".
1519
+ */
1520
+ export interface FeaturesGridBlockSelect<T extends boolean = true> {
1521
+ heading?: T;
1522
+ description?: T;
1523
+ featuresGrid?:
1524
+ | T
1525
+ | {
1526
+ featureIcon?: T;
1527
+ featureName?: T;
1528
+ id?: T;
1529
+ };
1530
+ buttonLink?:
1531
+ | T
1532
+ | {
1533
+ type?: T;
1534
+ newTab?: T;
1535
+ reference?: T;
1536
+ url?: T;
1537
+ label?: T;
1538
+ };
1539
+ disclaimer?: T;
1540
+ id?: T;
1541
+ blockName?: T;
1542
+ }
1543
+ /**
1544
+ * This interface was referenced by `Config`'s JSON-Schema
1545
+ * via the `definition` "HomeHero_select".
1546
+ */
1547
+ export interface HomeHeroSelect<T extends boolean = true> {
1548
+ title?: T;
1549
+ subtitle?: T;
1550
+ backgroundImage?: T;
1551
+ layoutMode?: T;
1552
+ fullImageContentAlign?: T;
1553
+ halfImageContentSide?: T;
1554
+ searchLayout?: T;
1555
+ id?: T;
1556
+ blockName?: T;
1557
+ }
1558
+ /**
1559
+ * This interface was referenced by `Config`'s JSON-Schema
1560
+ * via the `definition` "media_select".
1561
+ */
1562
+ export interface MediaSelect<T extends boolean = true> {
1563
+ tenant?: T;
1564
+ alt?: T;
1565
+ caption?: T;
1566
+ createdBy?: T;
1567
+ updatedBy?: T;
1568
+ updatedAt?: T;
1569
+ createdAt?: T;
1570
+ url?: T;
1571
+ thumbnailURL?: T;
1572
+ filename?: T;
1573
+ mimeType?: T;
1574
+ filesize?: T;
1575
+ width?: T;
1576
+ height?: T;
1577
+ focalX?: T;
1578
+ focalY?: T;
1579
+ sizes?:
1580
+ | T
1581
+ | {
1582
+ thumbnail?:
1583
+ | T
1584
+ | {
1585
+ url?: T;
1586
+ width?: T;
1587
+ height?: T;
1588
+ mimeType?: T;
1589
+ filesize?: T;
1590
+ filename?: T;
1591
+ };
1592
+ medium?:
1593
+ | T
1594
+ | {
1595
+ url?: T;
1596
+ width?: T;
1597
+ height?: T;
1598
+ mimeType?: T;
1599
+ filesize?: T;
1600
+ filename?: T;
1601
+ };
1602
+ hero?:
1603
+ | T
1604
+ | {
1605
+ url?: T;
1606
+ width?: T;
1607
+ height?: T;
1608
+ mimeType?: T;
1609
+ filesize?: T;
1610
+ filename?: T;
1611
+ };
1612
+ };
1613
+ }
1614
+ /**
1615
+ * This interface was referenced by `Config`'s JSON-Schema
1616
+ * via the `definition` "users_select".
1617
+ */
1618
+ export interface UsersSelect<T extends boolean = true> {
1619
+ role?: T;
1620
+ username?: T;
1621
+ firstName?: T;
1622
+ lastName?: T;
1623
+ tenants?:
1624
+ | T
1625
+ | {
1626
+ tenant?: T;
1627
+ id?: T;
1628
+ };
1629
+ createdBy?: T;
1630
+ updatedBy?: T;
1631
+ updatedAt?: T;
1632
+ createdAt?: T;
1633
+ enableAPIKey?: T;
1634
+ apiKey?: T;
1635
+ apiKeyIndex?: T;
1636
+ email?: T;
1637
+ resetPasswordToken?: T;
1638
+ resetPasswordExpiration?: T;
1639
+ salt?: T;
1640
+ hash?: T;
1641
+ loginAttempts?: T;
1642
+ lockUntil?: T;
1643
+ }
1644
+ /**
1645
+ * This interface was referenced by `Config`'s JSON-Schema
1646
+ * via the `definition` "tenants_select".
1647
+ */
1648
+ export interface TenantsSelect<T extends boolean = true> {
1649
+ name?: T;
1650
+ users?: T;
1651
+ defaultBrand?: T;
1652
+ facilitySlug?: T;
1653
+ seApiKey?: T;
1654
+ seApiPrivateKey?: T;
1655
+ googleApiBrowserKey?: T;
1656
+ googleApiServerKey?: T;
1657
+ gtmId?: T;
1658
+ websiteNotIndexable?: T;
1659
+ facebook?: T;
1660
+ x?: T;
1661
+ tiktok?: T;
1662
+ instagram?: T;
1663
+ youtube?: T;
1664
+ linkedIn?: T;
1665
+ yelp?: T;
1666
+ createdBy?: T;
1667
+ updatedBy?: T;
1668
+ updatedAt?: T;
1669
+ createdAt?: T;
1670
+ }
1671
+ /**
1672
+ * This interface was referenced by `Config`'s JSON-Schema
1673
+ * via the `definition` "posts_select".
1674
+ */
1675
+ export interface PostsSelect<T extends boolean = true> {
1676
+ tenant?: T;
1677
+ title?: T;
1678
+ content?: T;
1679
+ relatedPosts?: T;
1680
+ categories?: T;
1681
+ meta?:
1682
+ | T
1683
+ | {
1684
+ title?: T;
1685
+ description?: T;
1686
+ indexable?: T;
1687
+ };
1688
+ slug?: T;
1689
+ slugLock?: T;
1690
+ author?: T;
1691
+ publishedAt?: T;
1692
+ featuredImage?: T;
1693
+ excerpt?: T;
1694
+ createdBy?: T;
1695
+ updatedBy?: T;
1696
+ updatedAt?: T;
1697
+ createdAt?: T;
1698
+ _status?: T;
1699
+ }
1700
+ /**
1701
+ * This interface was referenced by `Config`'s JSON-Schema
1702
+ * via the `definition` "categories_select".
1703
+ */
1704
+ export interface CategoriesSelect<T extends boolean = true> {
1705
+ tenant?: T;
1706
+ title?: T;
1707
+ description?: T;
1708
+ meta?:
1709
+ | T
1710
+ | {
1711
+ title?: T;
1712
+ description?: T;
1713
+ indexable?: T;
1714
+ };
1715
+ slug?: T;
1716
+ slugLock?: T;
1717
+ featuredImage?: T;
1718
+ createdBy?: T;
1719
+ updatedBy?: T;
1720
+ updatedAt?: T;
1721
+ createdAt?: T;
1722
+ }
1723
+ /**
1724
+ * This interface was referenced by `Config`'s JSON-Schema
1725
+ * via the `definition` "menus_select".
1726
+ */
1727
+ export interface MenusSelect<T extends boolean = true> {
1728
+ tenant?: T;
1729
+ title?: T;
1730
+ location?: T;
1731
+ columns?: T;
1732
+ navItems?:
1733
+ | T
1734
+ | {
1735
+ link?:
1736
+ | T
1737
+ | {
1738
+ type?: T;
1739
+ newTab?: T;
1740
+ reference?: T;
1741
+ url?: T;
1742
+ label?: T;
1743
+ };
1744
+ navChildren?:
1745
+ | T
1746
+ | {
1747
+ link?:
1748
+ | T
1749
+ | {
1750
+ type?: T;
1751
+ newTab?: T;
1752
+ reference?: T;
1753
+ url?: T;
1754
+ label?: T;
1755
+ };
1756
+ id?: T;
1757
+ };
1758
+ id?: T;
1759
+ };
1760
+ createdBy?: T;
1761
+ updatedBy?: T;
1762
+ updatedAt?: T;
1763
+ createdAt?: T;
1764
+ }
1765
+ /**
1766
+ * This interface was referenced by `Config`'s JSON-Schema
1767
+ * via the `definition` "brands_select".
1768
+ */
1769
+ export interface BrandsSelect<T extends boolean = true> {
1770
+ tenant?: T;
1771
+ name?: T;
1772
+ isDefaultBrand?: T;
1773
+ logo?: T;
1774
+ footerLogo?: T;
1775
+ favicon?: T;
1776
+ primaryColor?: T;
1777
+ primaryTextColor?: T;
1778
+ secondaryColor?: T;
1779
+ secondaryTextColor?: T;
1780
+ global?:
1781
+ | T
1782
+ | {
1783
+ global?:
1784
+ | T
1785
+ | {
1786
+ bodyColor?: T;
1787
+ textColor?: T;
1788
+ neutralLightColor?: T;
1789
+ neutralDarkColor?: T;
1790
+ headingFont?: T;
1791
+ bodyFont?: T;
1792
+ headingFontSize?: T;
1793
+ bodyFontSize?: T;
1794
+ layoutBorderRadius?: T;
1795
+ buttonBorderRadius?: T;
1796
+ };
1797
+ };
1798
+ createdBy?: T;
1799
+ updatedBy?: T;
1800
+ updatedAt?: T;
1801
+ createdAt?: T;
1802
+ }
1803
+ /**
1804
+ * This interface was referenced by `Config`'s JSON-Schema
1805
+ * via the `definition` "facilities_select".
1806
+ */
1807
+ export interface FacilitiesSelect<T extends boolean = true> {
1808
+ tenant?: T;
1809
+ title?: T;
1810
+ seFacilityId?: T;
1811
+ comingSoon?: T;
1812
+ googlePlaceId?: T;
1813
+ brandSelection?: T;
1814
+ facilityFeatures?: T;
1815
+ facilityPaymentSystem?: T;
1816
+ facilityNotice?: T;
1817
+ facilityPromotion?: T;
1818
+ gallery?: T;
1819
+ contentTabs?:
1820
+ | T
1821
+ | {
1822
+ tabName?: T;
1823
+ tabContent?: T;
1824
+ id?: T;
1825
+ };
1826
+ faq?:
1827
+ | T
1828
+ | {
1829
+ question?: T;
1830
+ answer?: T;
1831
+ id?: T;
1832
+ };
1833
+ meta?:
1834
+ | T
1835
+ | {
1836
+ title?: T;
1837
+ description?: T;
1838
+ indexable?: T;
1839
+ };
1840
+ slug?: T;
1841
+ slugLock?: T;
1842
+ parent?: T;
1843
+ createdBy?: T;
1844
+ updatedBy?: T;
1845
+ updatedAt?: T;
1846
+ createdAt?: T;
1847
+ _status?: T;
1848
+ }
1849
+ /**
1850
+ * This interface was referenced by `Config`'s JSON-Schema
1851
+ * via the `definition` "markets_select".
1852
+ */
1853
+ export interface MarketsSelect<T extends boolean = true> {
1854
+ tenant?: T;
1855
+ title?: T;
1856
+ marketType?: T;
1857
+ country?: T;
1858
+ state?: T;
1859
+ city?: T;
1860
+ sort?: T;
1861
+ customOrGeo?: T;
1862
+ customFacilities?: T;
1863
+ layout?:
1864
+ | T
1865
+ | {
1866
+ cta?: T | CallToActionBlockSelect<T>;
1867
+ content?: T | ContentBlockSelect<T>;
1868
+ mediaBlock?: T | MediaBlockSelect<T>;
1869
+ archive?: T | ArchiveBlockSelect<T>;
1870
+ formBlock?: T | FormBlockSelect<T>;
1871
+ };
1872
+ meta?:
1873
+ | T
1874
+ | {
1875
+ title?: T;
1876
+ description?: T;
1877
+ indexable?: T;
1878
+ };
1879
+ slug?: T;
1880
+ slugLock?: T;
1881
+ parent?: T;
1882
+ createdBy?: T;
1883
+ updatedBy?: T;
1884
+ updatedAt?: T;
1885
+ createdAt?: T;
1886
+ _status?: T;
1887
+ }
1888
+ /**
1889
+ * This interface was referenced by `Config`'s JSON-Schema
1890
+ * via the `definition` "facility-features_select".
1891
+ */
1892
+ export interface FacilityFeaturesSelect<T extends boolean = true> {
1893
+ tenant?: T;
1894
+ featureName?: T;
1895
+ description?: T;
1896
+ icon?: T;
1897
+ slug?: T;
1898
+ slugLock?: T;
1899
+ createdBy?: T;
1900
+ updatedBy?: T;
1901
+ updatedAt?: T;
1902
+ createdAt?: T;
1903
+ }
1904
+ /**
1905
+ * This interface was referenced by `Config`'s JSON-Schema
1906
+ * via the `definition` "deletion-logs_select".
1907
+ */
1908
+ export interface DeletionLogsSelect<T extends boolean = true> {
1909
+ tenant?: T;
1910
+ collectionSlug?: T;
1911
+ documentTitle?: T;
1912
+ documentId?: T;
1913
+ deletedByName?: T;
1914
+ deletedById?: T;
1915
+ deletedOn?: T;
1916
+ updatedAt?: T;
1917
+ createdAt?: T;
1918
+ }
1919
+ /**
1920
+ * This interface was referenced by `Config`'s JSON-Schema
1921
+ * via the `definition` "redirects_select".
1922
+ */
1923
+ export interface RedirectsSelect<T extends boolean = true> {
1924
+ tenant?: T;
1925
+ from?: T;
1926
+ to?: T;
1927
+ type?: T;
1928
+ createdBy?: T;
1929
+ updatedBy?: T;
1930
+ updatedAt?: T;
1931
+ createdAt?: T;
1932
+ }
1933
+ /**
1934
+ * This interface was referenced by `Config`'s JSON-Schema
1935
+ * via the `definition` "forms_select".
1936
+ */
1937
+ export interface FormsSelect<T extends boolean = true> {
1938
+ tenant?: T;
1939
+ title?: T;
1940
+ fields?:
1941
+ | T
1942
+ | {
1943
+ checkbox?:
1944
+ | T
1945
+ | {
1946
+ name?: T;
1947
+ label?: T;
1948
+ width?: T;
1949
+ required?: T;
1950
+ defaultValue?: T;
1951
+ id?: T;
1952
+ blockName?: T;
1953
+ };
1954
+ country?:
1955
+ | T
1956
+ | {
1957
+ name?: T;
1958
+ label?: T;
1959
+ width?: T;
1960
+ required?: T;
1961
+ id?: T;
1962
+ blockName?: T;
1963
+ };
1964
+ email?:
1965
+ | T
1966
+ | {
1967
+ name?: T;
1968
+ label?: T;
1969
+ width?: T;
1970
+ defaultValue?: T;
1971
+ required?: T;
1972
+ id?: T;
1973
+ blockName?: T;
1974
+ };
1975
+ message?:
1976
+ | T
1977
+ | {
1978
+ message?: T;
1979
+ id?: T;
1980
+ blockName?: T;
1981
+ };
1982
+ number?:
1983
+ | T
1984
+ | {
1985
+ name?: T;
1986
+ label?: T;
1987
+ width?: T;
1988
+ defaultValue?: T;
1989
+ required?: T;
1990
+ id?: T;
1991
+ blockName?: T;
1992
+ };
1993
+ select?:
1994
+ | T
1995
+ | {
1996
+ name?: T;
1997
+ label?: T;
1998
+ width?: T;
1999
+ defaultValue?: T;
2000
+ placeholder?: T;
2001
+ options?:
2002
+ | T
2003
+ | {
2004
+ label?: T;
2005
+ value?: T;
2006
+ id?: T;
2007
+ };
2008
+ required?: T;
2009
+ id?: T;
2010
+ blockName?: T;
2011
+ };
2012
+ state?:
2013
+ | T
2014
+ | {
2015
+ name?: T;
2016
+ label?: T;
2017
+ width?: T;
2018
+ required?: T;
2019
+ id?: T;
2020
+ blockName?: T;
2021
+ };
2022
+ text?:
2023
+ | T
2024
+ | {
2025
+ name?: T;
2026
+ label?: T;
2027
+ width?: T;
2028
+ defaultValue?: T;
2029
+ required?: T;
2030
+ id?: T;
2031
+ blockName?: T;
2032
+ };
2033
+ textarea?:
2034
+ | T
2035
+ | {
2036
+ name?: T;
2037
+ label?: T;
2038
+ width?: T;
2039
+ defaultValue?: T;
2040
+ required?: T;
2041
+ id?: T;
2042
+ blockName?: T;
2043
+ };
2044
+ };
2045
+ submitButtonLabel?: T;
2046
+ confirmationType?: T;
2047
+ confirmationMessage?: T;
2048
+ redirect?:
2049
+ | T
2050
+ | {
2051
+ type?: T;
2052
+ reference?: T;
2053
+ url?: T;
2054
+ };
2055
+ emails?:
2056
+ | T
2057
+ | {
2058
+ emailTo?: T;
2059
+ cc?: T;
2060
+ bcc?: T;
2061
+ replyTo?: T;
2062
+ emailFrom?: T;
2063
+ subject?: T;
2064
+ message?: T;
2065
+ id?: T;
2066
+ };
2067
+ createdBy?: T;
2068
+ updatedBy?: T;
2069
+ updatedAt?: T;
2070
+ createdAt?: T;
2071
+ }
2072
+ /**
2073
+ * This interface was referenced by `Config`'s JSON-Schema
2074
+ * via the `definition` "form-submissions_select".
2075
+ */
2076
+ export interface FormSubmissionsSelect<T extends boolean = true> {
2077
+ form?: T;
2078
+ submissionData?:
2079
+ | T
2080
+ | {
2081
+ field?: T;
2082
+ value?: T;
2083
+ id?: T;
2084
+ };
2085
+ tenant?: T;
2086
+ updatedAt?: T;
2087
+ createdAt?: T;
2088
+ }
2089
+ /**
2090
+ * This interface was referenced by `Config`'s JSON-Schema
2091
+ * via the `definition` "payload-locked-documents_select".
2092
+ */
2093
+ export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
2094
+ document?: T;
2095
+ globalSlug?: T;
2096
+ user?: T;
2097
+ updatedAt?: T;
2098
+ createdAt?: T;
2099
+ }
2100
+ /**
2101
+ * This interface was referenced by `Config`'s JSON-Schema
2102
+ * via the `definition` "payload-preferences_select".
2103
+ */
2104
+ export interface PayloadPreferencesSelect<T extends boolean = true> {
2105
+ user?: T;
2106
+ key?: T;
2107
+ value?: T;
2108
+ updatedAt?: T;
2109
+ createdAt?: T;
2110
+ }
2111
+ /**
2112
+ * This interface was referenced by `Config`'s JSON-Schema
2113
+ * via the `definition` "payload-migrations_select".
2114
+ */
2115
+ export interface PayloadMigrationsSelect<T extends boolean = true> {
2116
+ name?: T;
2117
+ batch?: T;
2118
+ updatedAt?: T;
2119
+ createdAt?: T;
2120
+ }
2121
+ /**
2122
+ * This interface was referenced by `Config`'s JSON-Schema
2123
+ * via the `definition` "BannerBlock".
2124
+ */
2125
+ export interface BannerBlock {
2126
+ style: 'info' | 'warning' | 'error' | 'success';
2127
+ content: {
2128
+ root: {
2129
+ type: string;
2130
+ children: {
2131
+ type: string;
2132
+ version: number;
2133
+ [k: string]: unknown;
2134
+ }[];
2135
+ direction: ('ltr' | 'rtl') | null;
2136
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2137
+ indent: number;
2138
+ version: number;
2139
+ };
2140
+ [k: string]: unknown;
2141
+ };
2142
+ id?: string | null;
2143
+ blockName?: string | null;
2144
+ blockType: 'banner';
2145
+ }
2146
+ /**
2147
+ * This interface was referenced by `Config`'s JSON-Schema
2148
+ * via the `definition` "CodeBlock".
2149
+ */
2150
+ export interface CodeBlock {
2151
+ language?: ('typescript' | 'javascript' | 'css') | null;
2152
+ code: string;
2153
+ id?: string | null;
2154
+ blockName?: string | null;
2155
+ blockType: 'code';
2156
+ }
2157
+ /**
2158
+ * This interface was referenced by `Config`'s JSON-Schema
2159
+ * via the `definition` "auth".
2160
+ */
2161
+ export interface Auth {
2162
+ [k: string]: unknown;
2163
+ }
2164
+
2165
+
2166
+ declare module 'payload' {
2167
+ export interface GeneratedTypes extends Config {}
2168
+ }