@glidevvr/storage-payload-types-pkg 1.0.31 → 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 +27 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.31",
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
@@ -356,6 +355,7 @@ export interface Tenant {
356
355
  * The page for the All Locations page content. Routing will use this page's slug.
357
356
  */
358
357
  allFacilitiesPage?: (string | null) | Market;
358
+ paymentSystem?: ('provider' | 'storage_essentials') | null;
359
359
  seCompanyId?: number | null;
360
360
  seApiKey?: string | null;
361
361
  seApiPrivateKey?: string | null;
@@ -559,7 +559,6 @@ export interface Market {
559
559
  layout?:
560
560
  | (
561
561
  | ArchiveBlock
562
- | BreadcrumbsBlock
563
562
  | CallToActionBlock
564
563
  | ContentBlock
565
564
  | FaqBlock
@@ -629,14 +628,6 @@ export interface Facility {
629
628
  */
630
629
  facilityFeatures?: (string | FacilityFeature)[] | null;
631
630
  facilityPaymentSystem?: ('default' | 'none' | 'provider' | 'storage_essentials') | null;
632
- /**
633
- * Notify customers about a promotion or holiday hours. Displays in a banner at the top of the page.
634
- */
635
- facilityNotice?: string | null;
636
- /**
637
- * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
638
- */
639
- facilityPromotion?: string | null;
640
631
  /**
641
632
  * The first image selected is displayed on market pages.
642
633
  */
@@ -711,6 +702,28 @@ export interface Facility {
711
702
  groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
712
703
  };
713
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;
714
727
  meta?: {
715
728
  title?: string | null;
716
729
  description?: string | null;
@@ -820,7 +833,7 @@ export interface ContentTabs {
820
833
  };
821
834
  map?: {
822
835
  /**
823
- * This content, like directions, is displayed below the map.
836
+ * This content, like directions to the facility, is displayed below the map.
824
837
  */
825
838
  content?: {
826
839
  root: {
@@ -970,15 +983,6 @@ export interface Post {
970
983
  createdAt: string;
971
984
  _status?: ('draft' | 'published') | null;
972
985
  }
973
- /**
974
- * This interface was referenced by `Config`'s JSON-Schema
975
- * via the `definition` "BreadcrumbsBlock".
976
- */
977
- export interface BreadcrumbsBlock {
978
- id?: string | null;
979
- blockName?: string | null;
980
- blockType: 'breadcrumbs';
981
- }
982
986
  /**
983
987
  * This interface was referenced by `Config`'s JSON-Schema
984
988
  * via the `definition` "CallToActionBlock".
@@ -1839,7 +1843,6 @@ export interface PagesSelect<T extends boolean = true> {
1839
1843
  | T
1840
1844
  | {
1841
1845
  archive?: T | ArchiveBlockSelect<T>;
1842
- breadcrumbs?: T | BreadcrumbsBlockSelect<T>;
1843
1846
  cta?: T | CallToActionBlockSelect<T>;
1844
1847
  content?: T | ContentBlockSelect<T>;
1845
1848
  faq?: T | FaqBlockSelect<T>;
@@ -1895,14 +1898,6 @@ export interface ArchiveBlockSelect<T extends boolean = true> {
1895
1898
  id?: T;
1896
1899
  blockName?: T;
1897
1900
  }
1898
- /**
1899
- * This interface was referenced by `Config`'s JSON-Schema
1900
- * via the `definition` "BreadcrumbsBlock_select".
1901
- */
1902
- export interface BreadcrumbsBlockSelect<T extends boolean = true> {
1903
- id?: T;
1904
- blockName?: T;
1905
- }
1906
1901
  /**
1907
1902
  * This interface was referenced by `Config`'s JSON-Schema
1908
1903
  * via the `definition` "CallToActionBlock_select".
@@ -2232,6 +2227,7 @@ export interface TenantsSelect<T extends boolean = true> {
2232
2227
  users?: T;
2233
2228
  defaultBrand?: T;
2234
2229
  allFacilitiesPage?: T;
2230
+ paymentSystem?: T;
2235
2231
  seCompanyId?: T;
2236
2232
  seApiKey?: T;
2237
2233
  seApiPrivateKey?: T;
@@ -2424,8 +2420,6 @@ export interface FacilitiesSelect<T extends boolean = true> {
2424
2420
  brandSelection?: T;
2425
2421
  facilityFeatures?: T;
2426
2422
  facilityPaymentSystem?: T;
2427
- facilityNotice?: T;
2428
- facilityPromotion?: T;
2429
2423
  gallery?: T;
2430
2424
  contentTabs?: T | ContentTabsSelect<T>;
2431
2425
  unitTableSettings?:
@@ -2454,6 +2448,8 @@ export interface FacilitiesSelect<T extends boolean = true> {
2454
2448
  groupBy?: T;
2455
2449
  };
2456
2450
  faq?: T | FaqsSelect<T>;
2451
+ facilityNotice?: T;
2452
+ marketNotice?: T;
2457
2453
  meta?:
2458
2454
  | T
2459
2455
  | {
@@ -2522,7 +2518,6 @@ export interface MarketsSelect<T extends boolean = true> {
2522
2518
  | T
2523
2519
  | {
2524
2520
  archive?: T | ArchiveBlockSelect<T>;
2525
- breadcrumbs?: T | BreadcrumbsBlockSelect<T>;
2526
2521
  cta?: T | CallToActionBlockSelect<T>;
2527
2522
  content?: T | ContentBlockSelect<T>;
2528
2523
  faq?: T | FaqBlockSelect<T>;