@glidevvr/storage-payload-types-pkg 1.0.173 → 1.0.175

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 +147 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.173",
3
+ "version": "1.0.175",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -373,6 +373,122 @@ export interface Tenant {
373
373
  neutralLightColor?: string | null;
374
374
  neutralDarkColor?: string | null;
375
375
  bodyFontSize?: string | null;
376
+ leftButton?: {
377
+ /**
378
+ * When checked, uses facility/company phone number automatically
379
+ */
380
+ useDefault?: boolean | null;
381
+ /**
382
+ * When checked, the left button will not be displayed
383
+ */
384
+ hideButton?: boolean | null;
385
+ type?: ('reference' | 'custom') | null;
386
+ newTab?: boolean | null;
387
+ reference?:
388
+ | ({
389
+ relationTo: 'pages';
390
+ value: string | Page;
391
+ } | null)
392
+ | ({
393
+ relationTo: 'posts';
394
+ value: string | Post;
395
+ } | null)
396
+ | ({
397
+ relationTo: 'facilities';
398
+ value: string | Facility;
399
+ } | null)
400
+ | ({
401
+ relationTo: 'markets';
402
+ value: string | Market;
403
+ } | null)
404
+ | ({
405
+ relationTo: 'categories';
406
+ value: string | Category;
407
+ } | null);
408
+ url?: string | null;
409
+ label?: string | null;
410
+ /**
411
+ * Choose how the link should be rendered.
412
+ */
413
+ appearance?:
414
+ | (
415
+ | 'default'
416
+ | 'primary'
417
+ | 'primary-light'
418
+ | 'outline-primary'
419
+ | 'secondary'
420
+ | 'secondary-light'
421
+ | 'outline-secondary'
422
+ | 'destructive'
423
+ | 'link'
424
+ | 'white'
425
+ | 'ghost'
426
+ | 'gray'
427
+ )
428
+ | null;
429
+ /**
430
+ * Choose how the link should be aligned.
431
+ */
432
+ alignment?: ('left' | 'center' | 'right') | null;
433
+ };
434
+ rightButton?: {
435
+ /**
436
+ * When checked, uses default Pay Online button with payment system logic
437
+ */
438
+ useDefault?: boolean | null;
439
+ /**
440
+ * When checked, the right button will not be displayed
441
+ */
442
+ hideButton?: boolean | null;
443
+ type?: ('reference' | 'custom') | null;
444
+ newTab?: boolean | null;
445
+ reference?:
446
+ | ({
447
+ relationTo: 'pages';
448
+ value: string | Page;
449
+ } | null)
450
+ | ({
451
+ relationTo: 'posts';
452
+ value: string | Post;
453
+ } | null)
454
+ | ({
455
+ relationTo: 'facilities';
456
+ value: string | Facility;
457
+ } | null)
458
+ | ({
459
+ relationTo: 'markets';
460
+ value: string | Market;
461
+ } | null)
462
+ | ({
463
+ relationTo: 'categories';
464
+ value: string | Category;
465
+ } | null);
466
+ url?: string | null;
467
+ label?: string | null;
468
+ /**
469
+ * Choose how the link should be rendered.
470
+ */
471
+ appearance?:
472
+ | (
473
+ | 'default'
474
+ | 'primary'
475
+ | 'primary-light'
476
+ | 'outline-primary'
477
+ | 'secondary'
478
+ | 'secondary-light'
479
+ | 'outline-secondary'
480
+ | 'destructive'
481
+ | 'link'
482
+ | 'white'
483
+ | 'ghost'
484
+ | 'gray'
485
+ )
486
+ | null;
487
+ /**
488
+ * Choose how the link should be aligned.
489
+ */
490
+ alignment?: ('left' | 'center' | 'right') | null;
491
+ };
376
492
  socialMedia?: SocialMedia;
377
493
  /**
378
494
  * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
@@ -437,6 +553,10 @@ export interface Market {
437
553
  tenant?: (string | null) | Tenant;
438
554
  title: string;
439
555
  marketType: 'state' | 'city' | 'amenity' | 'allFacilities';
556
+ /**
557
+ * Advanced Unit Table Coming Soon
558
+ */
559
+ unitTableType?: ('basic' | 'advanced') | null;
440
560
  unitCategories?: string[];
441
561
  unitFeatures?: string[];
442
562
  facilityFeatures?: (string | FacilityFeature)[] | null;
@@ -2561,6 +2681,7 @@ export interface MarketsSelect<T extends boolean = true> {
2561
2681
  tenant?: T;
2562
2682
  title?: T;
2563
2683
  marketType?: T;
2684
+ unitTableType?: T;
2564
2685
  unitCategories?: T;
2565
2686
  unitFeatures?: T;
2566
2687
  facilityFeatures?: T;
@@ -2963,6 +3084,32 @@ export interface TenantsSelect<T extends boolean = true> {
2963
3084
  neutralLightColor?: T;
2964
3085
  neutralDarkColor?: T;
2965
3086
  bodyFontSize?: T;
3087
+ leftButton?:
3088
+ | T
3089
+ | {
3090
+ useDefault?: T;
3091
+ hideButton?: T;
3092
+ type?: T;
3093
+ newTab?: T;
3094
+ reference?: T;
3095
+ url?: T;
3096
+ label?: T;
3097
+ appearance?: T;
3098
+ alignment?: T;
3099
+ };
3100
+ rightButton?:
3101
+ | T
3102
+ | {
3103
+ useDefault?: T;
3104
+ hideButton?: T;
3105
+ type?: T;
3106
+ newTab?: T;
3107
+ reference?: T;
3108
+ url?: T;
3109
+ label?: T;
3110
+ appearance?: T;
3111
+ alignment?: T;
3112
+ };
2966
3113
  socialMedia?: T | SocialMediaSelect<T>;
2967
3114
  storageDefender?: T;
2968
3115
  createdBy?: T;