@glidevvr/storage-payload-types-pkg 1.0.62 → 1.0.63

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 +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -584,6 +584,10 @@ export interface Post {
584
584
  export interface Media {
585
585
  id: string;
586
586
  tenant?: (string | null) | Tenant;
587
+ /**
588
+ * Check this if this image will be used as a hero image. Hero images can be up to 300KB (preferably under 150KB), while regular images are optimized to 100KB or less.
589
+ */
590
+ isHeroImage?: boolean | null;
587
591
  /**
588
592
  * Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
589
593
  */
@@ -2398,6 +2402,7 @@ export interface StorageDefenderBlockSelect<T extends boolean = true> {
2398
2402
  */
2399
2403
  export interface MediaSelect<T extends boolean = true> {
2400
2404
  tenant?: T;
2405
+ isHeroImage?: T;
2401
2406
  alt?: T;
2402
2407
  caption?: T;
2403
2408
  createdBy?: T;