@wix/public-editor-platform-interfaces 1.31.0 → 1.32.0
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/dist/sdk/data.d.ts +48 -1
- package/package.json +2 -2
package/dist/sdk/data.d.ts
CHANGED
|
@@ -50,7 +50,54 @@ export type ElementTextLink = DmTypes.TextLink & ElementLinkExtension & {
|
|
|
50
50
|
};
|
|
51
51
|
export type ElementLink = ElementPageLink | ElementExternalLink | ElementEmailLink | ElementPhoneLink | ElementWhatsAppLink | ElementAddressLink | ElementAnchorLink | ElementDocumentLink | ElementDynamicPageLink | ElementTpaPageLink | ElementLoginToWixLink | ElementTextLink;
|
|
52
52
|
export type ElementImage = DmTypes.Image;
|
|
53
|
-
export
|
|
53
|
+
export interface ElementVideo {
|
|
54
|
+
/**
|
|
55
|
+
* Video media identifier.
|
|
56
|
+
* @maxLength 1000
|
|
57
|
+
*/
|
|
58
|
+
uri: string;
|
|
59
|
+
/**
|
|
60
|
+
* Available video sources in different qualities.
|
|
61
|
+
* @maxSize 20
|
|
62
|
+
*/
|
|
63
|
+
sources?: {
|
|
64
|
+
quality: '1080p' | '720p' | '480p' | '360p';
|
|
65
|
+
width: number;
|
|
66
|
+
height: number;
|
|
67
|
+
types: {
|
|
68
|
+
format: 'mp4' | 'mp4-luminance';
|
|
69
|
+
uri: string;
|
|
70
|
+
}[];
|
|
71
|
+
}[];
|
|
72
|
+
/**
|
|
73
|
+
* Adaptive streaming sources.
|
|
74
|
+
* @maxSize 10
|
|
75
|
+
*/
|
|
76
|
+
adaptiveSources?: {
|
|
77
|
+
format: 'hls' | 'dash';
|
|
78
|
+
uri: string;
|
|
79
|
+
}[];
|
|
80
|
+
/** Whether the video contains an audio track. */
|
|
81
|
+
hasAudio?: boolean;
|
|
82
|
+
/** Frames per second. */
|
|
83
|
+
fps?: number;
|
|
84
|
+
/**
|
|
85
|
+
* ORIGINAL video poster field is a string URL
|
|
86
|
+
*/
|
|
87
|
+
poster?: {
|
|
88
|
+
uri: string;
|
|
89
|
+
name?: string;
|
|
90
|
+
width?: number;
|
|
91
|
+
height?: number;
|
|
92
|
+
};
|
|
93
|
+
/** Duration in seconds. */
|
|
94
|
+
duration?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Display name of the video.
|
|
97
|
+
* @maxLength 100
|
|
98
|
+
*/
|
|
99
|
+
name?: string;
|
|
100
|
+
}
|
|
54
101
|
export type ElementAudio = DmTypes.Audio;
|
|
55
102
|
export type ElementVectorArt = DmTypes.VectorArt;
|
|
56
103
|
export type ElementA11y = DmTypes.A11y;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
]
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "c0db383d27c3d38dae20fa33cc945efa5a5a30a8f7135fe8bc662934"
|
|
55
55
|
}
|