@glidevvr/storage-payload-types-pkg 1.0.266 → 1.0.268

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 +199 -73
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.266",
3
+ "version": "1.0.268",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -1072,6 +1072,39 @@ export interface ContentTabs {
1072
1072
  * Customize the tab name (20 character limit).
1073
1073
  */
1074
1074
  label?: string | null;
1075
+ /**
1076
+ * Choose whether this tab opens a content panel or acts as a clickable link. Link tabs cannot be set as the default tab.
1077
+ */
1078
+ tabMode?: ('content' | 'link') | null;
1079
+ /**
1080
+ * Select a page to link to or enter a custom URL.
1081
+ */
1082
+ link?: {
1083
+ type?: ('reference' | 'custom') | null;
1084
+ newTab?: boolean | null;
1085
+ reference?:
1086
+ | ({
1087
+ relationTo: 'pages';
1088
+ value: string | Page;
1089
+ } | null)
1090
+ | ({
1091
+ relationTo: 'posts';
1092
+ value: string | Post;
1093
+ } | null)
1094
+ | ({
1095
+ relationTo: 'facilities';
1096
+ value: string | Facility;
1097
+ } | null)
1098
+ | ({
1099
+ relationTo: 'markets';
1100
+ value: string | Market;
1101
+ } | null)
1102
+ | ({
1103
+ relationTo: 'categories';
1104
+ value: string | Category;
1105
+ } | null);
1106
+ url?: string | null;
1107
+ };
1075
1108
  /**
1076
1109
  * This is the main content for the about section. (Max 1 Units Table block allowed)
1077
1110
  */
@@ -1128,6 +1161,39 @@ export interface ContentTabs {
1128
1161
  * Customize the tab name (20 character limit).
1129
1162
  */
1130
1163
  label?: string | null;
1164
+ /**
1165
+ * Choose whether this tab opens a content panel or acts as a clickable link. Link tabs cannot be set as the default tab.
1166
+ */
1167
+ tabMode?: ('content' | 'link') | null;
1168
+ /**
1169
+ * Select a page to link to or enter a custom URL.
1170
+ */
1171
+ link?: {
1172
+ type?: ('reference' | 'custom') | null;
1173
+ newTab?: boolean | null;
1174
+ reference?:
1175
+ | ({
1176
+ relationTo: 'pages';
1177
+ value: string | Page;
1178
+ } | null)
1179
+ | ({
1180
+ relationTo: 'posts';
1181
+ value: string | Post;
1182
+ } | null)
1183
+ | ({
1184
+ relationTo: 'facilities';
1185
+ value: string | Facility;
1186
+ } | null)
1187
+ | ({
1188
+ relationTo: 'markets';
1189
+ value: string | Market;
1190
+ } | null)
1191
+ | ({
1192
+ relationTo: 'categories';
1193
+ value: string | Category;
1194
+ } | null);
1195
+ url?: string | null;
1196
+ };
1131
1197
  /**
1132
1198
  * Custom content for this tab. (Max 1 Units Table block allowed)
1133
1199
  */
@@ -1156,6 +1222,39 @@ export interface ContentTabs {
1156
1222
  * Customize the tab name (20 character limit).
1157
1223
  */
1158
1224
  label?: string | null;
1225
+ /**
1226
+ * Choose whether this tab opens a content panel or acts as a clickable link. Link tabs cannot be set as the default tab.
1227
+ */
1228
+ tabMode?: ('content' | 'link') | null;
1229
+ /**
1230
+ * Select a page to link to or enter a custom URL.
1231
+ */
1232
+ link?: {
1233
+ type?: ('reference' | 'custom') | null;
1234
+ newTab?: boolean | null;
1235
+ reference?:
1236
+ | ({
1237
+ relationTo: 'pages';
1238
+ value: string | Page;
1239
+ } | null)
1240
+ | ({
1241
+ relationTo: 'posts';
1242
+ value: string | Post;
1243
+ } | null)
1244
+ | ({
1245
+ relationTo: 'facilities';
1246
+ value: string | Facility;
1247
+ } | null)
1248
+ | ({
1249
+ relationTo: 'markets';
1250
+ value: string | Market;
1251
+ } | null)
1252
+ | ({
1253
+ relationTo: 'categories';
1254
+ value: string | Category;
1255
+ } | null);
1256
+ url?: string | null;
1257
+ };
1159
1258
  /**
1160
1259
  * Custom content for this tab. (Max 1 Units Table block allowed)
1161
1260
  */
@@ -1176,6 +1275,79 @@ export interface ContentTabs {
1176
1275
  } | null;
1177
1276
  };
1178
1277
  }
1278
+ /**
1279
+ * This interface was referenced by `Config`'s JSON-Schema
1280
+ * via the `definition` "posts".
1281
+ */
1282
+ export interface Post {
1283
+ id: string;
1284
+ tenant?: (string | null) | Tenant;
1285
+ title: string;
1286
+ content: {
1287
+ root: {
1288
+ type: string;
1289
+ children: {
1290
+ type: string;
1291
+ version: number;
1292
+ [k: string]: unknown;
1293
+ }[];
1294
+ direction: ('ltr' | 'rtl') | null;
1295
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1296
+ indent: number;
1297
+ version: number;
1298
+ };
1299
+ [k: string]: unknown;
1300
+ };
1301
+ meta?: {
1302
+ title?: string | null;
1303
+ description?: string | null;
1304
+ /**
1305
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
1306
+ */
1307
+ indexable?: boolean | null;
1308
+ };
1309
+ slug: string;
1310
+ author?: string | null;
1311
+ publishedAt?: string | null;
1312
+ /**
1313
+ * Images should have a horizontal aspect ratio and be at least 1280px wide.
1314
+ */
1315
+ featuredImage?: (string | null) | Media;
1316
+ /**
1317
+ * Defaults to the beginning of your post content if not entered.
1318
+ */
1319
+ excerpt?: string | null;
1320
+ categories?: (string | Category)[] | null;
1321
+ createdBy?: string | null;
1322
+ updatedBy?: string | null;
1323
+ updatedAt: string;
1324
+ createdAt: string;
1325
+ _status?: ('draft' | 'published') | null;
1326
+ }
1327
+ /**
1328
+ * This interface was referenced by `Config`'s JSON-Schema
1329
+ * via the `definition` "categories".
1330
+ */
1331
+ export interface Category {
1332
+ id: string;
1333
+ tenant?: (string | null) | Tenant;
1334
+ title: string;
1335
+ description?: string | null;
1336
+ meta?: {
1337
+ title?: string | null;
1338
+ description?: string | null;
1339
+ /**
1340
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
1341
+ */
1342
+ indexable?: boolean | null;
1343
+ };
1344
+ slug: string;
1345
+ createdBy?: string | null;
1346
+ updatedBy?: string | null;
1347
+ updatedAt: string;
1348
+ createdAt: string;
1349
+ _status?: ('draft' | 'published') | null;
1350
+ }
1179
1351
  /**
1180
1352
  * This interface was referenced by `Config`'s JSON-Schema
1181
1353
  * via the `definition` "FacilityBannerBlock".
@@ -1253,79 +1425,6 @@ export interface ArchiveBlock {
1253
1425
  blockName?: string | null;
1254
1426
  blockType: 'archive';
1255
1427
  }
1256
- /**
1257
- * This interface was referenced by `Config`'s JSON-Schema
1258
- * via the `definition` "categories".
1259
- */
1260
- export interface Category {
1261
- id: string;
1262
- tenant?: (string | null) | Tenant;
1263
- title: string;
1264
- description?: string | null;
1265
- meta?: {
1266
- title?: string | null;
1267
- description?: string | null;
1268
- /**
1269
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
1270
- */
1271
- indexable?: boolean | null;
1272
- };
1273
- slug: string;
1274
- createdBy?: string | null;
1275
- updatedBy?: string | null;
1276
- updatedAt: string;
1277
- createdAt: string;
1278
- _status?: ('draft' | 'published') | null;
1279
- }
1280
- /**
1281
- * This interface was referenced by `Config`'s JSON-Schema
1282
- * via the `definition` "posts".
1283
- */
1284
- export interface Post {
1285
- id: string;
1286
- tenant?: (string | null) | Tenant;
1287
- title: string;
1288
- content: {
1289
- root: {
1290
- type: string;
1291
- children: {
1292
- type: string;
1293
- version: number;
1294
- [k: string]: unknown;
1295
- }[];
1296
- direction: ('ltr' | 'rtl') | null;
1297
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1298
- indent: number;
1299
- version: number;
1300
- };
1301
- [k: string]: unknown;
1302
- };
1303
- meta?: {
1304
- title?: string | null;
1305
- description?: string | null;
1306
- /**
1307
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
1308
- */
1309
- indexable?: boolean | null;
1310
- };
1311
- slug: string;
1312
- author?: string | null;
1313
- publishedAt?: string | null;
1314
- /**
1315
- * Images should have a horizontal aspect ratio and be at least 1280px wide.
1316
- */
1317
- featuredImage?: (string | null) | Media;
1318
- /**
1319
- * Defaults to the beginning of your post content if not entered.
1320
- */
1321
- excerpt?: string | null;
1322
- categories?: (string | Category)[] | null;
1323
- createdBy?: string | null;
1324
- updatedBy?: string | null;
1325
- updatedAt: string;
1326
- createdAt: string;
1327
- _status?: ('draft' | 'published') | null;
1328
- }
1329
1428
  /**
1330
1429
  * This interface was referenced by `Config`'s JSON-Schema
1331
1430
  * via the `definition` "CallToActionBlock".
@@ -3158,6 +3257,15 @@ export interface ContentTabsSelect<T extends boolean = true> {
3158
3257
  | {
3159
3258
  enabled?: T;
3160
3259
  label?: T;
3260
+ tabMode?: T;
3261
+ link?:
3262
+ | T
3263
+ | {
3264
+ type?: T;
3265
+ newTab?: T;
3266
+ reference?: T;
3267
+ url?: T;
3268
+ };
3161
3269
  content?: T;
3162
3270
  };
3163
3271
  map?:
@@ -3172,6 +3280,15 @@ export interface ContentTabsSelect<T extends boolean = true> {
3172
3280
  | {
3173
3281
  enabled?: T;
3174
3282
  label?: T;
3283
+ tabMode?: T;
3284
+ link?:
3285
+ | T
3286
+ | {
3287
+ type?: T;
3288
+ newTab?: T;
3289
+ reference?: T;
3290
+ url?: T;
3291
+ };
3175
3292
  content?: T;
3176
3293
  };
3177
3294
  customTab2?:
@@ -3179,6 +3296,15 @@ export interface ContentTabsSelect<T extends boolean = true> {
3179
3296
  | {
3180
3297
  enabled?: T;
3181
3298
  label?: T;
3299
+ tabMode?: T;
3300
+ link?:
3301
+ | T
3302
+ | {
3303
+ type?: T;
3304
+ newTab?: T;
3305
+ reference?: T;
3306
+ url?: T;
3307
+ };
3182
3308
  content?: T;
3183
3309
  };
3184
3310
  }