@glidevvr/storage-payload-types-pkg 1.0.205 → 1.0.207

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 +79 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.205",
3
+ "version": "1.0.207",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -326,6 +326,10 @@ export interface Tenant {
326
326
  * This notice will be displayed on all pages of the website.
327
327
  */
328
328
  siteWideNotice?: string | null;
329
+ /**
330
+ * Search radius in miles from the geographic center of the entered zip code or city/state. Facilities within the searched city or zip code will always be returned, even if outside this radius.
331
+ */
332
+ searchRadius: '10' | '15' | '20' | '25' | '30';
329
333
  /**
330
334
  * The environment of the VaporTable, TenantPay, Rental Funnel, and Storage Essentials API (facilities, hours, categories, etc.)
331
335
  */
@@ -333,7 +337,7 @@ export interface Tenant {
333
337
  seCompanyId: number;
334
338
  seApiKey?: string | null;
335
339
  /**
336
- * The Browser key is responsible for client side communications with the Google APIs, and should be restricted by domain.
340
+ * The Browser key is responsible for client side communications with the Google APIs, and should be restricted by domain. Required APIs: Maps JavaScript API (for facility maps and location search) and Geocoding API (for location search).
337
341
  */
338
342
  googleApiBrowserKey?: string | null;
339
343
  /**
@@ -757,7 +761,7 @@ export interface Media {
757
761
  id: string;
758
762
  tenant?: (string | null) | Tenant;
759
763
  /**
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.
764
+ * 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
765
  */
762
766
  isHeroImage?: boolean | null;
763
767
  /**
@@ -801,6 +805,14 @@ export interface Media {
801
805
  filesize?: number | null;
802
806
  filename?: string | null;
803
807
  };
808
+ small?: {
809
+ url?: string | null;
810
+ width?: number | null;
811
+ height?: number | null;
812
+ mimeType?: string | null;
813
+ filesize?: number | null;
814
+ filename?: string | null;
815
+ };
804
816
  medium?: {
805
817
  url?: string | null;
806
818
  width?: number | null;
@@ -809,6 +821,30 @@ export interface Media {
809
821
  filesize?: number | null;
810
822
  filename?: string | null;
811
823
  };
824
+ large?: {
825
+ url?: string | null;
826
+ width?: number | null;
827
+ height?: number | null;
828
+ mimeType?: string | null;
829
+ filesize?: number | null;
830
+ filename?: string | null;
831
+ };
832
+ 'x-large'?: {
833
+ url?: string | null;
834
+ width?: number | null;
835
+ height?: number | null;
836
+ mimeType?: string | null;
837
+ filesize?: number | null;
838
+ filename?: string | null;
839
+ };
840
+ '2x-large'?: {
841
+ url?: string | null;
842
+ width?: number | null;
843
+ height?: number | null;
844
+ mimeType?: string | null;
845
+ filesize?: number | null;
846
+ filename?: string | null;
847
+ };
812
848
  hero?: {
813
849
  url?: string | null;
814
850
  width?: number | null;
@@ -2837,6 +2873,16 @@ export interface MediaSelect<T extends boolean = true> {
2837
2873
  filesize?: T;
2838
2874
  filename?: T;
2839
2875
  };
2876
+ small?:
2877
+ | T
2878
+ | {
2879
+ url?: T;
2880
+ width?: T;
2881
+ height?: T;
2882
+ mimeType?: T;
2883
+ filesize?: T;
2884
+ filename?: T;
2885
+ };
2840
2886
  medium?:
2841
2887
  | T
2842
2888
  | {
@@ -2847,6 +2893,36 @@ export interface MediaSelect<T extends boolean = true> {
2847
2893
  filesize?: T;
2848
2894
  filename?: T;
2849
2895
  };
2896
+ large?:
2897
+ | T
2898
+ | {
2899
+ url?: T;
2900
+ width?: T;
2901
+ height?: T;
2902
+ mimeType?: T;
2903
+ filesize?: T;
2904
+ filename?: T;
2905
+ };
2906
+ 'x-large'?:
2907
+ | T
2908
+ | {
2909
+ url?: T;
2910
+ width?: T;
2911
+ height?: T;
2912
+ mimeType?: T;
2913
+ filesize?: T;
2914
+ filename?: T;
2915
+ };
2916
+ '2x-large'?:
2917
+ | T
2918
+ | {
2919
+ url?: T;
2920
+ width?: T;
2921
+ height?: T;
2922
+ mimeType?: T;
2923
+ filesize?: T;
2924
+ filename?: T;
2925
+ };
2850
2926
  hero?:
2851
2927
  | T
2852
2928
  | {
@@ -3087,6 +3163,7 @@ export interface TenantsSelect<T extends boolean = true> {
3087
3163
  comingSoonForm?: T;
3088
3164
  paymentSystem?: T;
3089
3165
  siteWideNotice?: T;
3166
+ searchRadius?: T;
3090
3167
  environment?: T;
3091
3168
  seCompanyId?: T;
3092
3169
  seApiKey?: T;