@glidevvr/storage-payload-types-pkg 1.0.337 → 1.0.339

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 +62 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.337",
3
+ "version": "1.0.339",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -429,6 +429,48 @@ export interface Tenant {
429
429
  * When checked, uses facility/company phone number automatically
430
430
  */
431
431
  useDefault?: boolean | null;
432
+ /**
433
+ * When checked, a page search bar is displayed in place of the left button. Typing filters site pages by title.
434
+ */
435
+ useSearchBar?: boolean | null;
436
+ /**
437
+ * Curated links shown under "Quick Links" when the search bar is focused, before the user types.
438
+ */
439
+ quickLinks?:
440
+ | {
441
+ link?: {
442
+ type?: ('reference' | 'custom') | null;
443
+ newTab?: boolean | null;
444
+ reference?:
445
+ | ({
446
+ relationTo: 'pages';
447
+ value: string | Page;
448
+ } | null)
449
+ | ({
450
+ relationTo: 'posts';
451
+ value: string | Post;
452
+ } | null)
453
+ | ({
454
+ relationTo: 'facilities';
455
+ value: string | Facility;
456
+ } | null)
457
+ | ({
458
+ relationTo: 'markets';
459
+ value: string | Market;
460
+ } | null)
461
+ | ({
462
+ relationTo: 'categories';
463
+ value: string | Category;
464
+ } | null);
465
+ url?: string | null;
466
+ };
467
+ /**
468
+ * Auto-fills with the linked document's title. Edit to override.
469
+ */
470
+ label?: string | null;
471
+ id?: string | null;
472
+ }[]
473
+ | null;
432
474
  /**
433
475
  * When checked, the left button will not be displayed
434
476
  */
@@ -491,6 +533,10 @@ export interface Tenant {
491
533
  * When checked, the right button will not be displayed
492
534
  */
493
535
  hideButton?: boolean | null;
536
+ /**
537
+ * When checked, this button stays visible in the mobile header as a person icon (for account-style links) instead of moving into the menu
538
+ */
539
+ showMobileIcon?: boolean | null;
494
540
  type?: ('reference' | 'custom') | null;
495
541
  newTab?: boolean | null;
496
542
  reference?:
@@ -4438,6 +4484,21 @@ export interface TenantsSelect<T extends boolean = true> {
4438
4484
  | T
4439
4485
  | {
4440
4486
  useDefault?: T;
4487
+ useSearchBar?: T;
4488
+ quickLinks?:
4489
+ | T
4490
+ | {
4491
+ link?:
4492
+ | T
4493
+ | {
4494
+ type?: T;
4495
+ newTab?: T;
4496
+ reference?: T;
4497
+ url?: T;
4498
+ };
4499
+ label?: T;
4500
+ id?: T;
4501
+ };
4441
4502
  hideButton?: T;
4442
4503
  type?: T;
4443
4504
  newTab?: T;
@@ -4452,6 +4513,7 @@ export interface TenantsSelect<T extends boolean = true> {
4452
4513
  | {
4453
4514
  useDefault?: T;
4454
4515
  hideButton?: T;
4516
+ showMobileIcon?: T;
4455
4517
  type?: T;
4456
4518
  newTab?: T;
4457
4519
  reference?: T;