@glidevvr/storage-payload-types-pkg 1.0.205 → 1.0.206
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 +73 -1
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -757,7 +757,7 @@ export interface Media {
|
|
|
757
757
|
id: string;
|
|
758
758
|
tenant?: (string | null) | Tenant;
|
|
759
759
|
/**
|
|
760
|
-
* 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.
|
|
760
|
+
* 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. Note: The system generates responsive sizes (thumbnail: 150px, small: 320px, medium: 500px, large: 1024px, hero: 1920px) but will only create sizes smaller than your original image - it will not upscale.
|
|
761
761
|
*/
|
|
762
762
|
isHeroImage?: boolean | null;
|
|
763
763
|
/**
|
|
@@ -801,6 +801,14 @@ export interface Media {
|
|
|
801
801
|
filesize?: number | null;
|
|
802
802
|
filename?: string | null;
|
|
803
803
|
};
|
|
804
|
+
small?: {
|
|
805
|
+
url?: string | null;
|
|
806
|
+
width?: number | null;
|
|
807
|
+
height?: number | null;
|
|
808
|
+
mimeType?: string | null;
|
|
809
|
+
filesize?: number | null;
|
|
810
|
+
filename?: string | null;
|
|
811
|
+
};
|
|
804
812
|
medium?: {
|
|
805
813
|
url?: string | null;
|
|
806
814
|
width?: number | null;
|
|
@@ -809,6 +817,30 @@ export interface Media {
|
|
|
809
817
|
filesize?: number | null;
|
|
810
818
|
filename?: string | null;
|
|
811
819
|
};
|
|
820
|
+
large?: {
|
|
821
|
+
url?: string | null;
|
|
822
|
+
width?: number | null;
|
|
823
|
+
height?: number | null;
|
|
824
|
+
mimeType?: string | null;
|
|
825
|
+
filesize?: number | null;
|
|
826
|
+
filename?: string | null;
|
|
827
|
+
};
|
|
828
|
+
'x-large'?: {
|
|
829
|
+
url?: string | null;
|
|
830
|
+
width?: number | null;
|
|
831
|
+
height?: number | null;
|
|
832
|
+
mimeType?: string | null;
|
|
833
|
+
filesize?: number | null;
|
|
834
|
+
filename?: string | null;
|
|
835
|
+
};
|
|
836
|
+
'2x-large'?: {
|
|
837
|
+
url?: string | null;
|
|
838
|
+
width?: number | null;
|
|
839
|
+
height?: number | null;
|
|
840
|
+
mimeType?: string | null;
|
|
841
|
+
filesize?: number | null;
|
|
842
|
+
filename?: string | null;
|
|
843
|
+
};
|
|
812
844
|
hero?: {
|
|
813
845
|
url?: string | null;
|
|
814
846
|
width?: number | null;
|
|
@@ -2837,6 +2869,16 @@ export interface MediaSelect<T extends boolean = true> {
|
|
|
2837
2869
|
filesize?: T;
|
|
2838
2870
|
filename?: T;
|
|
2839
2871
|
};
|
|
2872
|
+
small?:
|
|
2873
|
+
| T
|
|
2874
|
+
| {
|
|
2875
|
+
url?: T;
|
|
2876
|
+
width?: T;
|
|
2877
|
+
height?: T;
|
|
2878
|
+
mimeType?: T;
|
|
2879
|
+
filesize?: T;
|
|
2880
|
+
filename?: T;
|
|
2881
|
+
};
|
|
2840
2882
|
medium?:
|
|
2841
2883
|
| T
|
|
2842
2884
|
| {
|
|
@@ -2847,6 +2889,36 @@ export interface MediaSelect<T extends boolean = true> {
|
|
|
2847
2889
|
filesize?: T;
|
|
2848
2890
|
filename?: T;
|
|
2849
2891
|
};
|
|
2892
|
+
large?:
|
|
2893
|
+
| T
|
|
2894
|
+
| {
|
|
2895
|
+
url?: T;
|
|
2896
|
+
width?: T;
|
|
2897
|
+
height?: T;
|
|
2898
|
+
mimeType?: T;
|
|
2899
|
+
filesize?: T;
|
|
2900
|
+
filename?: T;
|
|
2901
|
+
};
|
|
2902
|
+
'x-large'?:
|
|
2903
|
+
| T
|
|
2904
|
+
| {
|
|
2905
|
+
url?: T;
|
|
2906
|
+
width?: T;
|
|
2907
|
+
height?: T;
|
|
2908
|
+
mimeType?: T;
|
|
2909
|
+
filesize?: T;
|
|
2910
|
+
filename?: T;
|
|
2911
|
+
};
|
|
2912
|
+
'2x-large'?:
|
|
2913
|
+
| T
|
|
2914
|
+
| {
|
|
2915
|
+
url?: T;
|
|
2916
|
+
width?: T;
|
|
2917
|
+
height?: T;
|
|
2918
|
+
mimeType?: T;
|
|
2919
|
+
filesize?: T;
|
|
2920
|
+
filename?: T;
|
|
2921
|
+
};
|
|
2850
2922
|
hero?:
|
|
2851
2923
|
| T
|
|
2852
2924
|
| {
|