@glidevvr/storage-payload-types-pkg 1.0.54 → 1.0.56
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.
- package/package.json +1 -1
- package/payload-types.ts +118 -157
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -312,10 +312,6 @@ export interface Tenant {
|
|
|
312
312
|
hasNextPage?: boolean;
|
|
313
313
|
totalDocs?: number;
|
|
314
314
|
};
|
|
315
|
-
/**
|
|
316
|
-
* If necessary, ensure the global brand colors are assigned on the default brand selected.
|
|
317
|
-
*/
|
|
318
|
-
defaultBrand?: (string | null) | Brand;
|
|
319
315
|
/**
|
|
320
316
|
* The page for the All Locations page content. Routing will use this page's slug.
|
|
321
317
|
*/
|
|
@@ -340,6 +336,19 @@ export interface Tenant {
|
|
|
340
336
|
* Search engine visibility for the website. It is up to search engines to honor this request.
|
|
341
337
|
*/
|
|
342
338
|
websiteNotIndexable?: boolean | null;
|
|
339
|
+
/**
|
|
340
|
+
* Determines the corporate site logos and brand colors.
|
|
341
|
+
*/
|
|
342
|
+
defaultBrand?: (string | null) | Brand;
|
|
343
|
+
/**
|
|
344
|
+
* Suggested image dimensions: 512 by 512 pixels. The image will be cropped to a square if it is not already.
|
|
345
|
+
*/
|
|
346
|
+
favicon?: (string | null) | Media;
|
|
347
|
+
bodyColor: string;
|
|
348
|
+
textColor: string;
|
|
349
|
+
neutralLightColor?: string | null;
|
|
350
|
+
neutralDarkColor?: string | null;
|
|
351
|
+
bodyFontSize?: string | null;
|
|
343
352
|
socialMedia?: SocialMedia;
|
|
344
353
|
/**
|
|
345
354
|
* Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
|
|
@@ -388,126 +397,6 @@ export interface User {
|
|
|
388
397
|
lockUntil?: string | null;
|
|
389
398
|
password?: string | null;
|
|
390
399
|
}
|
|
391
|
-
/**
|
|
392
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
393
|
-
* via the `definition` "brands".
|
|
394
|
-
*/
|
|
395
|
-
export interface Brand {
|
|
396
|
-
id: string;
|
|
397
|
-
tenant?: (string | null) | Tenant;
|
|
398
|
-
name: string;
|
|
399
|
-
isDefaultBrand?: boolean | null;
|
|
400
|
-
logo: string | Media;
|
|
401
|
-
/**
|
|
402
|
-
* Defaults to the header logo if not provided.
|
|
403
|
-
*/
|
|
404
|
-
footerLogo?: (string | null) | Media;
|
|
405
|
-
/**
|
|
406
|
-
* Suggested image dimensions: 512 by 512 pixels. The image will be cropped to a square if it is not already.
|
|
407
|
-
*/
|
|
408
|
-
favicon?: (string | null) | Media;
|
|
409
|
-
primaryColor: string;
|
|
410
|
-
secondaryColor: string;
|
|
411
|
-
/**
|
|
412
|
-
* These global fields are displayed only for brands assigned as the default brand for a Partner.
|
|
413
|
-
*/
|
|
414
|
-
global?: {
|
|
415
|
-
global?: {
|
|
416
|
-
bodyColor: string;
|
|
417
|
-
textColor: string;
|
|
418
|
-
neutralLightColor?: string | null;
|
|
419
|
-
neutralDarkColor?: string | null;
|
|
420
|
-
/**
|
|
421
|
-
* For a full list of fonts, see https://fonts.google.com/
|
|
422
|
-
*/
|
|
423
|
-
headingFont?: string | null;
|
|
424
|
-
bodyFont?: string | null;
|
|
425
|
-
headingFontSize?: string | null;
|
|
426
|
-
/**
|
|
427
|
-
* The size of many elements will change in relation to this value.
|
|
428
|
-
*/
|
|
429
|
-
bodyFontSize?: string | null;
|
|
430
|
-
/**
|
|
431
|
-
* Affects general layout components and sections.
|
|
432
|
-
*/
|
|
433
|
-
layoutBorderRadius?: string | null;
|
|
434
|
-
/**
|
|
435
|
-
* Specifically affects button elements.
|
|
436
|
-
*/
|
|
437
|
-
buttonBorderRadius?: string | null;
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
createdBy?: string | null;
|
|
441
|
-
updatedBy?: string | null;
|
|
442
|
-
updatedAt: string;
|
|
443
|
-
createdAt: string;
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
447
|
-
* via the `definition` "media".
|
|
448
|
-
*/
|
|
449
|
-
export interface Media {
|
|
450
|
-
id: string;
|
|
451
|
-
tenant?: (string | null) | Tenant;
|
|
452
|
-
/**
|
|
453
|
-
* Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
|
|
454
|
-
*/
|
|
455
|
-
alt: string;
|
|
456
|
-
caption?: {
|
|
457
|
-
root: {
|
|
458
|
-
type: string;
|
|
459
|
-
children: {
|
|
460
|
-
type: string;
|
|
461
|
-
version: number;
|
|
462
|
-
[k: string]: unknown;
|
|
463
|
-
}[];
|
|
464
|
-
direction: ('ltr' | 'rtl') | null;
|
|
465
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
466
|
-
indent: number;
|
|
467
|
-
version: number;
|
|
468
|
-
};
|
|
469
|
-
[k: string]: unknown;
|
|
470
|
-
} | null;
|
|
471
|
-
createdBy?: string | null;
|
|
472
|
-
updatedBy?: string | null;
|
|
473
|
-
updatedAt: string;
|
|
474
|
-
createdAt: string;
|
|
475
|
-
url?: string | null;
|
|
476
|
-
thumbnailURL?: string | null;
|
|
477
|
-
filename: string;
|
|
478
|
-
mimeType: string;
|
|
479
|
-
filesize: number;
|
|
480
|
-
width: number;
|
|
481
|
-
height: number;
|
|
482
|
-
focalX: number;
|
|
483
|
-
focalY: number;
|
|
484
|
-
sizes?: {
|
|
485
|
-
thumbnail?: {
|
|
486
|
-
url?: string | null;
|
|
487
|
-
width?: number | null;
|
|
488
|
-
height?: number | null;
|
|
489
|
-
mimeType?: string | null;
|
|
490
|
-
filesize?: number | null;
|
|
491
|
-
filename?: string | null;
|
|
492
|
-
};
|
|
493
|
-
medium?: {
|
|
494
|
-
url?: string | null;
|
|
495
|
-
width?: number | null;
|
|
496
|
-
height?: number | null;
|
|
497
|
-
mimeType?: string | null;
|
|
498
|
-
filesize?: number | null;
|
|
499
|
-
filename?: string | null;
|
|
500
|
-
};
|
|
501
|
-
hero?: {
|
|
502
|
-
url?: string | null;
|
|
503
|
-
width?: number | null;
|
|
504
|
-
height?: number | null;
|
|
505
|
-
mimeType?: string | null;
|
|
506
|
-
filesize?: number | null;
|
|
507
|
-
filename?: string | null;
|
|
508
|
-
};
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
400
|
/**
|
|
512
401
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
513
402
|
* via the `definition` "markets".
|
|
@@ -599,38 +488,38 @@ export interface Facility {
|
|
|
599
488
|
*/
|
|
600
489
|
gallery?: (string | Media)[] | null;
|
|
601
490
|
contentTabs?: ContentTabs;
|
|
602
|
-
unitTableSettings
|
|
491
|
+
unitTableSettings: {
|
|
603
492
|
selectedFacilities?: (string | Facility)[] | null;
|
|
604
|
-
tableLayout
|
|
605
|
-
buttonLayout
|
|
606
|
-
vacancyNotice
|
|
493
|
+
tableLayout: 'row';
|
|
494
|
+
buttonLayout: 'separate' | 'combined';
|
|
495
|
+
vacancyNotice: boolean;
|
|
607
496
|
/**
|
|
608
497
|
* At how many units left to show the urgency notice.
|
|
609
498
|
*/
|
|
610
499
|
vacancyThreshold?: number | null;
|
|
611
|
-
showAppliedPromoPrice
|
|
612
|
-
unavailableUnits
|
|
500
|
+
showAppliedPromoPrice: boolean;
|
|
501
|
+
unavailableUnits: boolean;
|
|
613
502
|
/**
|
|
614
503
|
* If a unit is unavailable, show nearby options.
|
|
615
504
|
*/
|
|
616
505
|
showNearbyUnits?: boolean | null;
|
|
617
|
-
disableRental
|
|
618
|
-
disableReservation
|
|
506
|
+
disableRental: boolean;
|
|
507
|
+
disableReservation: boolean;
|
|
619
508
|
/**
|
|
620
509
|
* A soft reservation does not remove a unit from inventory.
|
|
621
510
|
*/
|
|
622
|
-
disableSoftReservation
|
|
623
|
-
rentalAppLocation
|
|
511
|
+
disableSoftReservation: boolean;
|
|
512
|
+
rentalAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
|
|
624
513
|
/**
|
|
625
514
|
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
626
515
|
*/
|
|
627
516
|
rentalAppExternalUrl?: string | null;
|
|
628
|
-
reservationAppLocation
|
|
517
|
+
reservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
|
|
629
518
|
/**
|
|
630
519
|
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
631
520
|
*/
|
|
632
521
|
reservationAppExternalUrl?: string | null;
|
|
633
|
-
softReservationAppLocation
|
|
522
|
+
softReservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
|
|
634
523
|
/**
|
|
635
524
|
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
636
525
|
*/
|
|
@@ -713,6 +602,92 @@ export interface Facility {
|
|
|
713
602
|
createdAt: string;
|
|
714
603
|
_status?: ('draft' | 'published') | null;
|
|
715
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
607
|
+
* via the `definition` "brands".
|
|
608
|
+
*/
|
|
609
|
+
export interface Brand {
|
|
610
|
+
id: string;
|
|
611
|
+
tenant?: (string | null) | Tenant;
|
|
612
|
+
name: string;
|
|
613
|
+
logo: string | Media;
|
|
614
|
+
/**
|
|
615
|
+
* Defaults to the header logo if not provided.
|
|
616
|
+
*/
|
|
617
|
+
footerLogo?: (string | null) | Media;
|
|
618
|
+
primaryColor: string;
|
|
619
|
+
secondaryColor: string;
|
|
620
|
+
createdBy?: string | null;
|
|
621
|
+
updatedBy?: string | null;
|
|
622
|
+
updatedAt: string;
|
|
623
|
+
createdAt: string;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
627
|
+
* via the `definition` "media".
|
|
628
|
+
*/
|
|
629
|
+
export interface Media {
|
|
630
|
+
id: string;
|
|
631
|
+
tenant?: (string | null) | Tenant;
|
|
632
|
+
/**
|
|
633
|
+
* Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
|
|
634
|
+
*/
|
|
635
|
+
alt: string;
|
|
636
|
+
caption?: {
|
|
637
|
+
root: {
|
|
638
|
+
type: string;
|
|
639
|
+
children: {
|
|
640
|
+
type: string;
|
|
641
|
+
version: number;
|
|
642
|
+
[k: string]: unknown;
|
|
643
|
+
}[];
|
|
644
|
+
direction: ('ltr' | 'rtl') | null;
|
|
645
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
646
|
+
indent: number;
|
|
647
|
+
version: number;
|
|
648
|
+
};
|
|
649
|
+
[k: string]: unknown;
|
|
650
|
+
} | null;
|
|
651
|
+
createdBy?: string | null;
|
|
652
|
+
updatedBy?: string | null;
|
|
653
|
+
updatedAt: string;
|
|
654
|
+
createdAt: string;
|
|
655
|
+
url?: string | null;
|
|
656
|
+
thumbnailURL?: string | null;
|
|
657
|
+
filename: string;
|
|
658
|
+
mimeType: string;
|
|
659
|
+
filesize: number;
|
|
660
|
+
width: number;
|
|
661
|
+
height: number;
|
|
662
|
+
focalX: number;
|
|
663
|
+
focalY: number;
|
|
664
|
+
sizes?: {
|
|
665
|
+
thumbnail?: {
|
|
666
|
+
url?: string | null;
|
|
667
|
+
width?: number | null;
|
|
668
|
+
height?: number | null;
|
|
669
|
+
mimeType?: string | null;
|
|
670
|
+
filesize?: number | null;
|
|
671
|
+
filename?: string | null;
|
|
672
|
+
};
|
|
673
|
+
medium?: {
|
|
674
|
+
url?: string | null;
|
|
675
|
+
width?: number | null;
|
|
676
|
+
height?: number | null;
|
|
677
|
+
mimeType?: string | null;
|
|
678
|
+
filesize?: number | null;
|
|
679
|
+
filename?: string | null;
|
|
680
|
+
};
|
|
681
|
+
hero?: {
|
|
682
|
+
url?: string | null;
|
|
683
|
+
width?: number | null;
|
|
684
|
+
height?: number | null;
|
|
685
|
+
mimeType?: string | null;
|
|
686
|
+
filesize?: number | null;
|
|
687
|
+
filename?: string | null;
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
}
|
|
716
691
|
/**
|
|
717
692
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
718
693
|
* via the `definition` "facility-features".
|
|
@@ -2497,7 +2472,6 @@ export interface UsersSelect<T extends boolean = true> {
|
|
|
2497
2472
|
export interface TenantsSelect<T extends boolean = true> {
|
|
2498
2473
|
name?: T;
|
|
2499
2474
|
users?: T;
|
|
2500
|
-
defaultBrand?: T;
|
|
2501
2475
|
allFacilitiesPage?: T;
|
|
2502
2476
|
paymentSystem?: T;
|
|
2503
2477
|
seCompanyId?: T;
|
|
@@ -2507,6 +2481,13 @@ export interface TenantsSelect<T extends boolean = true> {
|
|
|
2507
2481
|
googleApiServerKey?: T;
|
|
2508
2482
|
gtmId?: T;
|
|
2509
2483
|
websiteNotIndexable?: T;
|
|
2484
|
+
defaultBrand?: T;
|
|
2485
|
+
favicon?: T;
|
|
2486
|
+
bodyColor?: T;
|
|
2487
|
+
textColor?: T;
|
|
2488
|
+
neutralLightColor?: T;
|
|
2489
|
+
neutralDarkColor?: T;
|
|
2490
|
+
bodyFontSize?: T;
|
|
2510
2491
|
socialMedia?: T | SocialMediaSelect<T>;
|
|
2511
2492
|
storageDefender?: T;
|
|
2512
2493
|
createdBy?: T;
|
|
@@ -2649,30 +2630,10 @@ export interface NavItemSelect<T extends boolean = true> {
|
|
|
2649
2630
|
export interface BrandsSelect<T extends boolean = true> {
|
|
2650
2631
|
tenant?: T;
|
|
2651
2632
|
name?: T;
|
|
2652
|
-
isDefaultBrand?: T;
|
|
2653
2633
|
logo?: T;
|
|
2654
2634
|
footerLogo?: T;
|
|
2655
|
-
favicon?: T;
|
|
2656
2635
|
primaryColor?: T;
|
|
2657
2636
|
secondaryColor?: T;
|
|
2658
|
-
global?:
|
|
2659
|
-
| T
|
|
2660
|
-
| {
|
|
2661
|
-
global?:
|
|
2662
|
-
| T
|
|
2663
|
-
| {
|
|
2664
|
-
bodyColor?: T;
|
|
2665
|
-
textColor?: T;
|
|
2666
|
-
neutralLightColor?: T;
|
|
2667
|
-
neutralDarkColor?: T;
|
|
2668
|
-
headingFont?: T;
|
|
2669
|
-
bodyFont?: T;
|
|
2670
|
-
headingFontSize?: T;
|
|
2671
|
-
bodyFontSize?: T;
|
|
2672
|
-
layoutBorderRadius?: T;
|
|
2673
|
-
buttonBorderRadius?: T;
|
|
2674
|
-
};
|
|
2675
|
-
};
|
|
2676
2637
|
createdBy?: T;
|
|
2677
2638
|
updatedBy?: T;
|
|
2678
2639
|
updatedAt?: T;
|