@glidevvr/storage-payload-types-pkg 1.0.156 → 1.0.158

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 +32 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.156",
3
+ "version": "1.0.158",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -614,6 +614,9 @@ export interface Post {
614
614
  slug: string;
615
615
  author?: (string | null) | User;
616
616
  publishedAt?: string | null;
617
+ /**
618
+ * Images should have a horizontal aspect ratio and be at least 1280px wide.
619
+ */
617
620
  featuredImage?: (string | null) | Media;
618
621
  /**
619
622
  * Defaults to the beginning of your post content if not entered.
@@ -798,7 +801,7 @@ export interface Facility {
798
801
  facilityFeatures?: (string | FacilityFeature)[] | null;
799
802
  facilityPaymentSystem?: ('default' | 'none' | 'storage_essentials') | null;
800
803
  /**
801
- * The first image selected is displayed on market pages.
804
+ * The first image selected is displayed on market pages. For best results, use images with a 16:9 aspect ratio that are at least 1477x831 pixels wide.
802
805
  */
803
806
  gallery?: (string | Media)[] | null;
804
807
  contentTabs?: ContentTabs;
@@ -921,9 +924,12 @@ export interface Brand {
921
924
  id: string;
922
925
  tenant?: (string | null) | Tenant;
923
926
  name: string;
927
+ /**
928
+ * For best results, choose an image with a horizontal aspect ratio that's at least 200x52 pixels.
929
+ */
924
930
  logo: string | Media;
925
931
  /**
926
- * Defaults to the header logo if not provided.
932
+ * Defaults to the header logo if not provided. For best results, choose an image with a horizontal aspect ratio that's at least 200x53 pixels.
927
933
  */
928
934
  footerLogo?: (string | null) | Media;
929
935
  primaryColor: string;
@@ -1412,6 +1418,9 @@ export interface GalleryBlock {
1412
1418
  export interface HomeHero {
1413
1419
  title?: string | null;
1414
1420
  subtitle?: string | null;
1421
+ /**
1422
+ * Images should have a horizontal aspect ratio. Full size images should be at least 1920x960 pixels. Half size images should be at least 1280x731 pixels.
1423
+ */
1415
1424
  backgroundImage?: (string | null) | Media;
1416
1425
  layoutMode?: ('half' | 'full') | null;
1417
1426
  fullImageContentAlign?: ('center' | 'right' | 'left') | null;
@@ -1439,8 +1448,17 @@ export interface SingleTestimonialBlock {
1439
1448
  testimonialText?: string | null;
1440
1449
  author?: string | null;
1441
1450
  rating: number;
1451
+ /**
1452
+ * For best results, choose an image with a square aspect ratio that's at least 100x100 pixels and has a centered subject.
1453
+ */
1442
1454
  topImage?: (string | null) | Media;
1455
+ /**
1456
+ * For best results, choose an image with a square aspect ratio that's at least 200x200 pixels and has a centered subject.
1457
+ */
1443
1458
  middleImage?: (string | null) | Media;
1459
+ /**
1460
+ * For best results, choose an image with a square aspect ratio that's at least 100x100 pixels and has a centered subject.
1461
+ */
1444
1462
  bottomImage?: (string | null) | Media;
1445
1463
  buttonLink?: {
1446
1464
  type?: ('reference' | 'custom') | null;
@@ -1479,6 +1497,9 @@ export interface SingleTestimonialBlock {
1479
1497
  */
1480
1498
  export interface MediaBlock {
1481
1499
  mediaType?: ('image' | 'video') | null;
1500
+ /**
1501
+ * Images should have a horizontal aspect ratio and be at least 800x450 pixels.
1502
+ */
1482
1503
  image?: (string | null) | Media;
1483
1504
  /**
1484
1505
  * Paste any YouTube or Vimeo video URL (watch, embed, shorts, or share links)
@@ -1622,6 +1643,9 @@ export interface StorageDefenderBlock {
1622
1643
  heroSection?: {
1623
1644
  mainTitle?: string | null;
1624
1645
  heroTagline?: string | null;
1646
+ /**
1647
+ * Images should have a horizontal aspect ratio and be at least 1920x960 pixels.
1648
+ */
1625
1649
  heroBackgroundImage?: (string | null) | Media;
1626
1650
  };
1627
1651
  introSection?: {
@@ -1669,6 +1693,9 @@ export interface StorageDefenderBlock {
1669
1693
  label?: string | null;
1670
1694
  };
1671
1695
  disclaimer?: string | null;
1696
+ /**
1697
+ * Images should have a vertical aspect ratio and be at least 350x499 pixels.
1698
+ */
1672
1699
  disclaimerImage?: (string | null) | Media;
1673
1700
  };
1674
1701
  featuresSection?: {
@@ -1689,6 +1716,9 @@ export interface StorageDefenderBlock {
1689
1716
  | {
1690
1717
  title: string;
1691
1718
  description?: string | null;
1719
+ /**
1720
+ * Images should have a square aspect ratio and be at least 160x160 pixels.
1721
+ */
1692
1722
  image?: (string | null) | Media;
1693
1723
  id?: string | null;
1694
1724
  }[]