@glidevvr/storage-payload-types-pkg 1.0.348 → 1.0.350

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 +1 -1
  2. package/payload-types.ts +95 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.348",
3
+ "version": "1.0.350",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -428,6 +428,82 @@ export interface Tenant {
428
428
  * Layout for the site footer. Layout 2 shows footer menus 2-4 with the brand info top-right and the Locations menu (footer menu 1) in balanced columns below; sections collapse into dropdowns on mobile.
429
429
  */
430
430
  footerLayout?: ('layout-1' | 'layout-2') | null;
431
+ /**
432
+ * Show a configurable band directly above the footer.
433
+ */
434
+ enablePreFooter?: boolean | null;
435
+ preFooter?: {
436
+ backgroundColor?:
437
+ | (
438
+ | 'primary'
439
+ | 'primary-light'
440
+ | 'secondary'
441
+ | 'secondary-light'
442
+ | 'tertiary'
443
+ | 'tertiary-light'
444
+ | 'neutral-light'
445
+ | 'neutral-dark'
446
+ )
447
+ | null;
448
+ contentType?: ('text-and-button' | 'badges') | null;
449
+ /**
450
+ * Use {{tenantName}} to insert the organization name dynamically.
451
+ */
452
+ text?: string | null;
453
+ button?: {
454
+ type?: ('reference' | 'custom') | null;
455
+ newTab?: boolean | null;
456
+ reference?:
457
+ | ({
458
+ relationTo: 'pages';
459
+ value: string | Page;
460
+ } | null)
461
+ | ({
462
+ relationTo: 'posts';
463
+ value: string | Post;
464
+ } | null)
465
+ | ({
466
+ relationTo: 'facilities';
467
+ value: string | Facility;
468
+ } | null)
469
+ | ({
470
+ relationTo: 'markets';
471
+ value: string | Market;
472
+ } | null)
473
+ | ({
474
+ relationTo: 'categories';
475
+ value: string | Category;
476
+ } | null);
477
+ url?: string | null;
478
+ label?: string | null;
479
+ /**
480
+ * Choose how the link should be rendered.
481
+ */
482
+ appearance?:
483
+ | (
484
+ | 'default'
485
+ | 'primary'
486
+ | 'primary-light'
487
+ | 'outline-primary'
488
+ | 'secondary'
489
+ | 'secondary-light'
490
+ | 'outline-secondary'
491
+ | 'tertiary'
492
+ | 'tertiary-light'
493
+ | 'outline-tertiary'
494
+ | 'destructive'
495
+ | 'link'
496
+ | 'white'
497
+ | 'ghost'
498
+ | 'gray'
499
+ )
500
+ | null;
501
+ };
502
+ /**
503
+ * Up to 10 badge images. Images only.
504
+ */
505
+ badges?: (string | Media)[] | null;
506
+ };
431
507
  leftButton?: {
432
508
  /**
433
509
  * When checked, uses facility/company phone number automatically
@@ -4485,6 +4561,25 @@ export interface TenantsSelect<T extends boolean = true> {
4485
4561
  facilityPageLayout?: T;
4486
4562
  marketPageLayout?: T;
4487
4563
  footerLayout?: T;
4564
+ enablePreFooter?: T;
4565
+ preFooter?:
4566
+ | T
4567
+ | {
4568
+ backgroundColor?: T;
4569
+ contentType?: T;
4570
+ text?: T;
4571
+ button?:
4572
+ | T
4573
+ | {
4574
+ type?: T;
4575
+ newTab?: T;
4576
+ reference?: T;
4577
+ url?: T;
4578
+ label?: T;
4579
+ appearance?: T;
4580
+ };
4581
+ badges?: T;
4582
+ };
4488
4583
  leftButton?:
4489
4584
  | T
4490
4585
  | {