@glidevvr/storage-payload-types-pkg 1.0.291 → 1.0.292

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 +249 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.291",
3
+ "version": "1.0.292",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -220,8 +220,12 @@ export interface Config {
220
220
  defaultIDType: string;
221
221
  };
222
222
  fallbackLocale: null;
223
- globals: {};
224
- globalsSelect: {};
223
+ globals: {
224
+ 'build-settings': BuildSetting;
225
+ };
226
+ globalsSelect: {
227
+ 'build-settings': BuildSettingsSelect<false> | BuildSettingsSelect<true>;
228
+ };
225
229
  locale: null;
226
230
  widgets: {
227
231
  collections: CollectionsWidget;
@@ -836,6 +840,93 @@ export interface Page {
836
840
  blockName?: string | null;
837
841
  blockType: 'storageResources';
838
842
  }
843
+ | {
844
+ heading?: string | null;
845
+ /**
846
+ * Optional: Leave empty to hide the button.
847
+ */
848
+ button?: {
849
+ type?: ('reference' | 'custom') | null;
850
+ newTab?: boolean | null;
851
+ reference?:
852
+ | ({
853
+ relationTo: 'pages';
854
+ value: string | Page;
855
+ } | null)
856
+ | ({
857
+ relationTo: 'posts';
858
+ value: string | Post;
859
+ } | null)
860
+ | ({
861
+ relationTo: 'facilities';
862
+ value: string | Facility;
863
+ } | null)
864
+ | ({
865
+ relationTo: 'markets';
866
+ value: string | Market;
867
+ } | null)
868
+ | ({
869
+ relationTo: 'categories';
870
+ value: string | Category;
871
+ } | null);
872
+ url?: string | null;
873
+ label?: string | null;
874
+ };
875
+ storageTypes?:
876
+ | {
877
+ storageTypeHeading: string;
878
+ storageTypeContent?: {
879
+ root: {
880
+ type: string;
881
+ children: {
882
+ type: any;
883
+ version: number;
884
+ [k: string]: unknown;
885
+ }[];
886
+ direction: ('ltr' | 'rtl') | null;
887
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
888
+ indent: number;
889
+ version: number;
890
+ };
891
+ [k: string]: unknown;
892
+ } | null;
893
+ /**
894
+ * Optional: Leave empty to hide the link.
895
+ */
896
+ storageTypeLink?: {
897
+ type?: ('reference' | 'custom') | null;
898
+ newTab?: boolean | null;
899
+ reference?:
900
+ | ({
901
+ relationTo: 'pages';
902
+ value: string | Page;
903
+ } | null)
904
+ | ({
905
+ relationTo: 'posts';
906
+ value: string | Post;
907
+ } | null)
908
+ | ({
909
+ relationTo: 'facilities';
910
+ value: string | Facility;
911
+ } | null)
912
+ | ({
913
+ relationTo: 'markets';
914
+ value: string | Market;
915
+ } | null)
916
+ | ({
917
+ relationTo: 'categories';
918
+ value: string | Category;
919
+ } | null);
920
+ url?: string | null;
921
+ label?: string | null;
922
+ };
923
+ id?: string | null;
924
+ }[]
925
+ | null;
926
+ id?: string | null;
927
+ blockName?: string | null;
928
+ blockType: 'storageTypes';
929
+ }
839
930
  | {
840
931
  id?: string | null;
841
932
  blockName?: string | null;
@@ -1247,6 +1338,10 @@ export interface Tenant {
1247
1338
  * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
1248
1339
  */
1249
1340
  storageDefender?: boolean | null;
1341
+ /**
1342
+ * When enabled, builds cannot be triggered for this organization — neither manually via the Build & Deploy button nor automatically on content publish.
1343
+ */
1344
+ buildsDisabled?: boolean | null;
1250
1345
  /**
1251
1346
  * The URL of the legacy website to scrape content from. Used for both facility and blog scraping.
1252
1347
  */
@@ -1393,6 +1488,7 @@ export interface Market {
1393
1488
  | RentalStepsBlock
1394
1489
  | SearchCalloutBlock
1395
1490
  | StorageResourcesBlock
1491
+ | StorageTypesBlock
1396
1492
  | SizeGuideBlock
1397
1493
  | {
1398
1494
  /**
@@ -2936,6 +3032,97 @@ export interface StorageResourcesBlock {
2936
3032
  blockName?: string | null;
2937
3033
  blockType: 'storageResources';
2938
3034
  }
3035
+ /**
3036
+ * This interface was referenced by `Config`'s JSON-Schema
3037
+ * via the `definition` "StorageTypesBlock".
3038
+ */
3039
+ export interface StorageTypesBlock {
3040
+ heading?: string | null;
3041
+ /**
3042
+ * Optional: Leave empty to hide the button.
3043
+ */
3044
+ button?: {
3045
+ type?: ('reference' | 'custom') | null;
3046
+ newTab?: boolean | null;
3047
+ reference?:
3048
+ | ({
3049
+ relationTo: 'pages';
3050
+ value: string | Page;
3051
+ } | null)
3052
+ | ({
3053
+ relationTo: 'posts';
3054
+ value: string | Post;
3055
+ } | null)
3056
+ | ({
3057
+ relationTo: 'facilities';
3058
+ value: string | Facility;
3059
+ } | null)
3060
+ | ({
3061
+ relationTo: 'markets';
3062
+ value: string | Market;
3063
+ } | null)
3064
+ | ({
3065
+ relationTo: 'categories';
3066
+ value: string | Category;
3067
+ } | null);
3068
+ url?: string | null;
3069
+ label?: string | null;
3070
+ };
3071
+ storageTypes?:
3072
+ | {
3073
+ storageTypeHeading: string;
3074
+ storageTypeContent?: {
3075
+ root: {
3076
+ type: string;
3077
+ children: {
3078
+ type: any;
3079
+ version: number;
3080
+ [k: string]: unknown;
3081
+ }[];
3082
+ direction: ('ltr' | 'rtl') | null;
3083
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
3084
+ indent: number;
3085
+ version: number;
3086
+ };
3087
+ [k: string]: unknown;
3088
+ } | null;
3089
+ /**
3090
+ * Optional: Leave empty to hide the link.
3091
+ */
3092
+ storageTypeLink?: {
3093
+ type?: ('reference' | 'custom') | null;
3094
+ newTab?: boolean | null;
3095
+ reference?:
3096
+ | ({
3097
+ relationTo: 'pages';
3098
+ value: string | Page;
3099
+ } | null)
3100
+ | ({
3101
+ relationTo: 'posts';
3102
+ value: string | Post;
3103
+ } | null)
3104
+ | ({
3105
+ relationTo: 'facilities';
3106
+ value: string | Facility;
3107
+ } | null)
3108
+ | ({
3109
+ relationTo: 'markets';
3110
+ value: string | Market;
3111
+ } | null)
3112
+ | ({
3113
+ relationTo: 'categories';
3114
+ value: string | Category;
3115
+ } | null);
3116
+ url?: string | null;
3117
+ label?: string | null;
3118
+ };
3119
+ id?: string | null;
3120
+ }[]
3121
+ | null;
3122
+ id?: string | null;
3123
+ blockName?: string | null;
3124
+ blockType: 'storageTypes';
3125
+ }
2939
3126
  /**
2940
3127
  * This interface was referenced by `Config`'s JSON-Schema
2941
3128
  * via the `definition` "SizeGuideBlock".
@@ -3561,6 +3748,7 @@ export interface PagesSelect<T extends boolean = true> {
3561
3748
  rentalSteps?: T | RentalStepsBlockSelect<T>;
3562
3749
  searchCallout?: T | SearchCalloutBlockSelect<T>;
3563
3750
  storageResources?: T | StorageResourcesBlockSelect<T>;
3751
+ storageTypes?: T | StorageTypesBlockSelect<T>;
3564
3752
  sizeGuide?: T | SizeGuideBlockSelect<T>;
3565
3753
  sizeGuidePreview?: T | SizeGuidePreviewBlockSelect<T>;
3566
3754
  storageDefender?: T | StorageDefenderBlockSelect<T>;
@@ -3872,6 +4060,40 @@ export interface StorageResourcesBlockSelect<T extends boolean = true> {
3872
4060
  id?: T;
3873
4061
  blockName?: T;
3874
4062
  }
4063
+ /**
4064
+ * This interface was referenced by `Config`'s JSON-Schema
4065
+ * via the `definition` "StorageTypesBlock_select".
4066
+ */
4067
+ export interface StorageTypesBlockSelect<T extends boolean = true> {
4068
+ heading?: T;
4069
+ button?:
4070
+ | T
4071
+ | {
4072
+ type?: T;
4073
+ newTab?: T;
4074
+ reference?: T;
4075
+ url?: T;
4076
+ label?: T;
4077
+ };
4078
+ storageTypes?:
4079
+ | T
4080
+ | {
4081
+ storageTypeHeading?: T;
4082
+ storageTypeContent?: T;
4083
+ storageTypeLink?:
4084
+ | T
4085
+ | {
4086
+ type?: T;
4087
+ newTab?: T;
4088
+ reference?: T;
4089
+ url?: T;
4090
+ label?: T;
4091
+ };
4092
+ id?: T;
4093
+ };
4094
+ id?: T;
4095
+ blockName?: T;
4096
+ }
3875
4097
  /**
3876
4098
  * This interface was referenced by `Config`'s JSON-Schema
3877
4099
  * via the `definition` "SizeGuideBlock_select".
@@ -4189,6 +4411,7 @@ export interface MarketsSelect<T extends boolean = true> {
4189
4411
  rentalSteps?: T | RentalStepsBlockSelect<T>;
4190
4412
  searchCallout?: T | SearchCalloutBlockSelect<T>;
4191
4413
  storageResources?: T | StorageResourcesBlockSelect<T>;
4414
+ storageTypes?: T | StorageTypesBlockSelect<T>;
4192
4415
  sizeGuide?: T | SizeGuideBlockSelect<T>;
4193
4416
  sizeGuidePreview?: T | SizeGuidePreviewBlockSelect<T>;
4194
4417
  storageDefender?: T | StorageDefenderBlockSelect<T>;
@@ -4651,6 +4874,7 @@ export interface TenantsSelect<T extends boolean = true> {
4651
4874
  };
4652
4875
  socialMedia?: T | SocialMediaSelect<T>;
4653
4876
  storageDefender?: T;
4877
+ buildsDisabled?: T;
4654
4878
  legacyWebsiteUrl?: T;
4655
4879
  scrapeFacilityContent?: T;
4656
4880
  scrapeBlogContent?: T;
@@ -4841,6 +5065,29 @@ export interface PayloadMigrationsSelect<T extends boolean = true> {
4841
5065
  updatedAt?: T;
4842
5066
  createdAt?: T;
4843
5067
  }
5068
+ /**
5069
+ * This interface was referenced by `Config`'s JSON-Schema
5070
+ * via the `definition` "build-settings".
5071
+ */
5072
+ export interface BuildSetting {
5073
+ id: string;
5074
+ /**
5075
+ * When enabled, builds cannot be triggered for any tenant — neither manually via the Build & Deploy button nor automatically on content publish.
5076
+ */
5077
+ buildsDisabledGlobally?: boolean | null;
5078
+ updatedAt?: string | null;
5079
+ createdAt?: string | null;
5080
+ }
5081
+ /**
5082
+ * This interface was referenced by `Config`'s JSON-Schema
5083
+ * via the `definition` "build-settings_select".
5084
+ */
5085
+ export interface BuildSettingsSelect<T extends boolean = true> {
5086
+ buildsDisabledGlobally?: T;
5087
+ updatedAt?: T;
5088
+ createdAt?: T;
5089
+ globalType?: T;
5090
+ }
4844
5091
  /**
4845
5092
  * This interface was referenced by `Config`'s JSON-Schema
4846
5093
  * via the `definition` "collections_widget".