@glidevvr/storage-payload-types-pkg 1.0.5 → 1.0.7
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 +14 -11
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -286,7 +286,7 @@ export interface Brand {
|
|
|
286
286
|
*/
|
|
287
287
|
footerLogo?: (string | null) | Media;
|
|
288
288
|
/**
|
|
289
|
-
* Suggested image dimensions: 512 by 512 pixels.
|
|
289
|
+
* Suggested image dimensions: 512 by 512 pixels. The image will be cropped to a square if it is not already.
|
|
290
290
|
*/
|
|
291
291
|
favicon?: (string | null) | Media;
|
|
292
292
|
primaryColor: string;
|
|
@@ -334,6 +334,9 @@ export interface Brand {
|
|
|
334
334
|
export interface Media {
|
|
335
335
|
id: string;
|
|
336
336
|
tenant?: (string | null) | Tenant;
|
|
337
|
+
/**
|
|
338
|
+
* Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
|
|
339
|
+
*/
|
|
337
340
|
alt: string;
|
|
338
341
|
caption?: {
|
|
339
342
|
root: {
|
|
@@ -354,15 +357,15 @@ export interface Media {
|
|
|
354
357
|
updatedBy?: string | null;
|
|
355
358
|
updatedAt: string;
|
|
356
359
|
createdAt: string;
|
|
357
|
-
url
|
|
360
|
+
url: string;
|
|
358
361
|
thumbnailURL?: string | null;
|
|
359
|
-
filename
|
|
360
|
-
mimeType
|
|
361
|
-
filesize
|
|
362
|
-
width
|
|
363
|
-
height
|
|
364
|
-
focalX
|
|
365
|
-
focalY
|
|
362
|
+
filename: string;
|
|
363
|
+
mimeType: string;
|
|
364
|
+
filesize: number;
|
|
365
|
+
width: number;
|
|
366
|
+
height: number;
|
|
367
|
+
focalX: number;
|
|
368
|
+
focalY: number;
|
|
366
369
|
sizes?: {
|
|
367
370
|
thumbnail?: {
|
|
368
371
|
url?: string | null;
|
|
@@ -1225,7 +1228,7 @@ export interface Menu {
|
|
|
1225
1228
|
id: string;
|
|
1226
1229
|
tenant?: (string | null) | Tenant;
|
|
1227
1230
|
title: string;
|
|
1228
|
-
location
|
|
1231
|
+
location: 'main_menu' | 'footer_menu_1' | 'footer_menu_2' | 'footer_menu_3' | 'footer_menu_4' | 'none';
|
|
1229
1232
|
columns?: number | null;
|
|
1230
1233
|
navItems?:
|
|
1231
1234
|
| {
|
|
@@ -1324,7 +1327,7 @@ export interface Redirect {
|
|
|
1324
1327
|
* If the URL is an internal page, it should be entered without a domain, with a leading slash. If the URL is an external URL, it should be entered with the full domain including the protocol (https://).
|
|
1325
1328
|
*/
|
|
1326
1329
|
to: string;
|
|
1327
|
-
type
|
|
1330
|
+
type: 'permanent' | 'temporary';
|
|
1328
1331
|
createdBy?: string | null;
|
|
1329
1332
|
updatedBy?: string | null;
|
|
1330
1333
|
updatedAt: string;
|