@glidevvr/storage-payload-types-pkg 1.0.32 → 1.0.33

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 +25 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -292,7 +292,6 @@ export interface Page {
292
292
  title: string;
293
293
  layout: (
294
294
  | ArchiveBlock
295
- | BreadcrumbsBlock
296
295
  | CallToActionBlock
297
296
  | ContentBlock
298
297
  | FaqBlock
@@ -560,7 +559,6 @@ export interface Market {
560
559
  layout?:
561
560
  | (
562
561
  | ArchiveBlock
563
- | BreadcrumbsBlock
564
562
  | CallToActionBlock
565
563
  | ContentBlock
566
564
  | FaqBlock
@@ -630,14 +628,6 @@ export interface Facility {
630
628
  */
631
629
  facilityFeatures?: (string | FacilityFeature)[] | null;
632
630
  facilityPaymentSystem?: ('default' | 'none' | 'provider' | 'storage_essentials') | null;
633
- /**
634
- * Notify customers about a promotion or holiday hours. Displays in a banner at the top of the page.
635
- */
636
- facilityNotice?: string | null;
637
- /**
638
- * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
639
- */
640
- facilityPromotion?: string | null;
641
631
  /**
642
632
  * The first image selected is displayed on market pages.
643
633
  */
@@ -712,6 +702,28 @@ export interface Facility {
712
702
  groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
713
703
  };
714
704
  faq?: Faqs;
705
+ /**
706
+ * Notify customers about a promotion or announcement. Displays in a square block at the top of the page.
707
+ */
708
+ facilityNotice?: {
709
+ root: {
710
+ type: string;
711
+ children: {
712
+ type: string;
713
+ version: number;
714
+ [k: string]: unknown;
715
+ }[];
716
+ direction: ('ltr' | 'rtl') | null;
717
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
718
+ indent: number;
719
+ version: number;
720
+ };
721
+ [k: string]: unknown;
722
+ } | null;
723
+ /**
724
+ * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
725
+ */
726
+ marketNotice?: string | null;
715
727
  meta?: {
716
728
  title?: string | null;
717
729
  description?: string | null;
@@ -821,7 +833,7 @@ export interface ContentTabs {
821
833
  };
822
834
  map?: {
823
835
  /**
824
- * This content, like directions, is displayed below the map.
836
+ * This content, like directions to the facility, is displayed below the map.
825
837
  */
826
838
  content?: {
827
839
  root: {
@@ -971,15 +983,6 @@ export interface Post {
971
983
  createdAt: string;
972
984
  _status?: ('draft' | 'published') | null;
973
985
  }
974
- /**
975
- * This interface was referenced by `Config`'s JSON-Schema
976
- * via the `definition` "BreadcrumbsBlock".
977
- */
978
- export interface BreadcrumbsBlock {
979
- id?: string | null;
980
- blockName?: string | null;
981
- blockType: 'breadcrumbs';
982
- }
983
986
  /**
984
987
  * This interface was referenced by `Config`'s JSON-Schema
985
988
  * via the `definition` "CallToActionBlock".
@@ -1840,7 +1843,6 @@ export interface PagesSelect<T extends boolean = true> {
1840
1843
  | T
1841
1844
  | {
1842
1845
  archive?: T | ArchiveBlockSelect<T>;
1843
- breadcrumbs?: T | BreadcrumbsBlockSelect<T>;
1844
1846
  cta?: T | CallToActionBlockSelect<T>;
1845
1847
  content?: T | ContentBlockSelect<T>;
1846
1848
  faq?: T | FaqBlockSelect<T>;
@@ -1896,14 +1898,6 @@ export interface ArchiveBlockSelect<T extends boolean = true> {
1896
1898
  id?: T;
1897
1899
  blockName?: T;
1898
1900
  }
1899
- /**
1900
- * This interface was referenced by `Config`'s JSON-Schema
1901
- * via the `definition` "BreadcrumbsBlock_select".
1902
- */
1903
- export interface BreadcrumbsBlockSelect<T extends boolean = true> {
1904
- id?: T;
1905
- blockName?: T;
1906
- }
1907
1901
  /**
1908
1902
  * This interface was referenced by `Config`'s JSON-Schema
1909
1903
  * via the `definition` "CallToActionBlock_select".
@@ -2426,8 +2420,6 @@ export interface FacilitiesSelect<T extends boolean = true> {
2426
2420
  brandSelection?: T;
2427
2421
  facilityFeatures?: T;
2428
2422
  facilityPaymentSystem?: T;
2429
- facilityNotice?: T;
2430
- facilityPromotion?: T;
2431
2423
  gallery?: T;
2432
2424
  contentTabs?: T | ContentTabsSelect<T>;
2433
2425
  unitTableSettings?:
@@ -2456,6 +2448,8 @@ export interface FacilitiesSelect<T extends boolean = true> {
2456
2448
  groupBy?: T;
2457
2449
  };
2458
2450
  faq?: T | FaqsSelect<T>;
2451
+ facilityNotice?: T;
2452
+ marketNotice?: T;
2459
2453
  meta?:
2460
2454
  | T
2461
2455
  | {
@@ -2524,7 +2518,6 @@ export interface MarketsSelect<T extends boolean = true> {
2524
2518
  | T
2525
2519
  | {
2526
2520
  archive?: T | ArchiveBlockSelect<T>;
2527
- breadcrumbs?: T | BreadcrumbsBlockSelect<T>;
2528
2521
  cta?: T | CallToActionBlockSelect<T>;
2529
2522
  content?: T | ContentBlockSelect<T>;
2530
2523
  faq?: T | FaqBlockSelect<T>;