@glidevvr/storage-payload-types-pkg 1.0.223 → 1.0.224

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 +115 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.223",
3
+ "version": "1.0.224",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -1126,7 +1126,19 @@ export interface Brand {
1126
1126
  * via the `definition` "ContentTabs".
1127
1127
  */
1128
1128
  export interface ContentTabs {
1129
+ /**
1130
+ * Select which tab should be open when users first land on the facility page. Only enabled tabs can be selected.
1131
+ */
1132
+ defaultTab?: ('findUnit' | 'features' | 'about' | 'map' | 'customTab1' | 'customTab2') | null;
1129
1133
  findUnit?: {
1134
+ /**
1135
+ * Show or hide the "Find a unit" tab on the facility page.
1136
+ */
1137
+ enabled?: boolean | null;
1138
+ /**
1139
+ * Customize the tab name (20 character limit).
1140
+ */
1141
+ label?: string | null;
1130
1142
  /**
1131
1143
  * This content is displayed below the unit grid, or before the coming soon form if the facility is coming soon.
1132
1144
  */
@@ -1147,6 +1159,14 @@ export interface ContentTabs {
1147
1159
  } | null;
1148
1160
  };
1149
1161
  features?: {
1162
+ /**
1163
+ * Show or hide the "Features" tab on the facility page.
1164
+ */
1165
+ enabled?: boolean | null;
1166
+ /**
1167
+ * Customize the tab name (20 character limit).
1168
+ */
1169
+ label?: string | null;
1150
1170
  /**
1151
1171
  * This content is displayed above the unit features.
1152
1172
  */
@@ -1167,6 +1187,14 @@ export interface ContentTabs {
1167
1187
  } | null;
1168
1188
  };
1169
1189
  about?: {
1190
+ /**
1191
+ * Show or hide the "About" tab on the facility page.
1192
+ */
1193
+ enabled?: boolean | null;
1194
+ /**
1195
+ * Customize the tab name (20 character limit).
1196
+ */
1197
+ label?: string | null;
1170
1198
  /**
1171
1199
  * This is the main content for the about section.
1172
1200
  */
@@ -1187,6 +1215,14 @@ export interface ContentTabs {
1187
1215
  } | null;
1188
1216
  };
1189
1217
  map?: {
1218
+ /**
1219
+ * Show or hide the "Map" tab on the facility page.
1220
+ */
1221
+ enabled?: boolean | null;
1222
+ /**
1223
+ * Customize the tab name (20 character limit).
1224
+ */
1225
+ label?: string | null;
1190
1226
  /**
1191
1227
  * This content, like directions to the facility, is displayed below the map.
1192
1228
  */
@@ -1206,6 +1242,62 @@ export interface ContentTabs {
1206
1242
  [k: string]: unknown;
1207
1243
  } | null;
1208
1244
  };
1245
+ customTab1?: {
1246
+ /**
1247
+ * Show or hide this custom tab on the facility page.
1248
+ */
1249
+ enabled?: boolean | null;
1250
+ /**
1251
+ * Customize the tab name (20 character limit).
1252
+ */
1253
+ label?: string | null;
1254
+ /**
1255
+ * Custom content for this tab.
1256
+ */
1257
+ content?: {
1258
+ root: {
1259
+ type: string;
1260
+ children: {
1261
+ type: string;
1262
+ version: number;
1263
+ [k: string]: unknown;
1264
+ }[];
1265
+ direction: ('ltr' | 'rtl') | null;
1266
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1267
+ indent: number;
1268
+ version: number;
1269
+ };
1270
+ [k: string]: unknown;
1271
+ } | null;
1272
+ };
1273
+ customTab2?: {
1274
+ /**
1275
+ * Show or hide this custom tab on the facility page.
1276
+ */
1277
+ enabled?: boolean | null;
1278
+ /**
1279
+ * Customize the tab name (20 character limit).
1280
+ */
1281
+ label?: string | null;
1282
+ /**
1283
+ * Custom content for this tab.
1284
+ */
1285
+ content?: {
1286
+ root: {
1287
+ type: string;
1288
+ children: {
1289
+ type: string;
1290
+ version: number;
1291
+ [k: string]: unknown;
1292
+ }[];
1293
+ direction: ('ltr' | 'rtl') | null;
1294
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1295
+ indent: number;
1296
+ version: number;
1297
+ };
1298
+ [k: string]: unknown;
1299
+ } | null;
1300
+ };
1209
1301
  }
1210
1302
  /**
1211
1303
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2839,24 +2931,47 @@ export interface FacilitiesSelect<T extends boolean = true> {
2839
2931
  * via the `definition` "ContentTabs_select".
2840
2932
  */
2841
2933
  export interface ContentTabsSelect<T extends boolean = true> {
2934
+ defaultTab?: T;
2842
2935
  findUnit?:
2843
2936
  | T
2844
2937
  | {
2938
+ enabled?: T;
2939
+ label?: T;
2845
2940
  content?: T;
2846
2941
  };
2847
2942
  features?:
2848
2943
  | T
2849
2944
  | {
2945
+ enabled?: T;
2946
+ label?: T;
2850
2947
  content?: T;
2851
2948
  };
2852
2949
  about?:
2853
2950
  | T
2854
2951
  | {
2952
+ enabled?: T;
2953
+ label?: T;
2855
2954
  content?: T;
2856
2955
  };
2857
2956
  map?:
2858
2957
  | T
2859
2958
  | {
2959
+ enabled?: T;
2960
+ label?: T;
2961
+ content?: T;
2962
+ };
2963
+ customTab1?:
2964
+ | T
2965
+ | {
2966
+ enabled?: T;
2967
+ label?: T;
2968
+ content?: T;
2969
+ };
2970
+ customTab2?:
2971
+ | T
2972
+ | {
2973
+ enabled?: T;
2974
+ label?: T;
2860
2975
  content?: T;
2861
2976
  };
2862
2977
  }