@wix/pro-gallery 1.0.0 → 1.0.2
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/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +12 -12
- package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +13 -13
- package/build/es/src/pro-gallery-v2-gallery.public.d.ts +1 -1
- package/build/es/src/pro-gallery-v2-gallery.types.d.ts +12 -12
- package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +13 -13
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
2
|
-
import {
|
2
|
+
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery.universal';
|
3
3
|
export declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleriesResponse>;
|
4
4
|
export declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").Gallery>;
|
5
5
|
export declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleryItemsResponse>;
|
@@ -71,20 +71,20 @@ export interface Item extends ItemMetadataOneOf {
|
|
71
71
|
updatedDate?: Date;
|
72
72
|
/** Item tags. */
|
73
73
|
tags?: Tags;
|
74
|
-
/**
|
74
|
+
/** Details about the image. */
|
75
75
|
image?: Image;
|
76
|
-
/**
|
76
|
+
/** Details about the video. */
|
77
77
|
video?: Video;
|
78
|
-
/**
|
78
|
+
/** Details about the text file. */
|
79
79
|
text?: Text;
|
80
80
|
}
|
81
81
|
/** @oneof */
|
82
82
|
export interface ItemMetadataOneOf {
|
83
|
-
/**
|
83
|
+
/** Details about the image. */
|
84
84
|
image?: Image;
|
85
|
-
/**
|
85
|
+
/** Details about the video. */
|
86
86
|
video?: Video;
|
87
|
-
/**
|
87
|
+
/** Details about the text file. */
|
88
88
|
text?: Text;
|
89
89
|
}
|
90
90
|
export interface Link {
|
@@ -211,7 +211,7 @@ export declare enum Type {
|
|
211
211
|
TEXT = "TEXT"
|
212
212
|
}
|
213
213
|
export interface Image {
|
214
|
-
/**
|
214
|
+
/** Information for a Wix Media image. Required. */
|
215
215
|
imageInfo?: CommonImage;
|
216
216
|
/** Focal point of the image. */
|
217
217
|
focalPoint?: Point;
|
@@ -275,9 +275,9 @@ export interface UnsharpMasking {
|
|
275
275
|
}
|
276
276
|
export interface Video {
|
277
277
|
type?: VideoType;
|
278
|
-
/**
|
278
|
+
/** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
|
279
279
|
videoInfo?: VideoV2;
|
280
|
-
/** Manually defined
|
280
|
+
/** Manually defined video duration in milliseconds. */
|
281
281
|
durationInMillis?: number | null;
|
282
282
|
}
|
283
283
|
export declare enum VideoType {
|
@@ -289,7 +289,7 @@ export declare enum VideoType {
|
|
289
289
|
export interface VideoV2 {
|
290
290
|
/** WixMedia ID. Required when associating an existing Wix Media video. */
|
291
291
|
id?: string;
|
292
|
-
/** Video URL. Required when associating a video from an external source
|
292
|
+
/** Video URL. Required when associating a video from an external source. */
|
293
293
|
url?: string;
|
294
294
|
/** Available resolutions for the video, starting with the optimal resolution. */
|
295
295
|
resolutions?: VideoResolution[];
|
@@ -305,9 +305,9 @@ export interface VideoResolution {
|
|
305
305
|
height?: number;
|
306
306
|
/** Video width. Required. */
|
307
307
|
width?: number;
|
308
|
-
/** Video format
|
308
|
+
/** Video format. For example, `mp4` or `hls`. Required. */
|
309
309
|
format?: string;
|
310
|
-
/** Video quality
|
310
|
+
/** Video quality. For example, `480p` or `720p`. */
|
311
311
|
quality?: string | null;
|
312
312
|
/** Video filename. */
|
313
313
|
filename?: string | null;
|
@@ -77,20 +77,20 @@ export interface Item extends ItemMetadataOneOf {
|
|
77
77
|
_updatedDate?: Date;
|
78
78
|
/** Item tags. */
|
79
79
|
tags?: Tags;
|
80
|
-
/**
|
80
|
+
/** Details about the image. */
|
81
81
|
image?: Image;
|
82
|
-
/**
|
82
|
+
/** Details about the video. */
|
83
83
|
video?: Video;
|
84
|
-
/**
|
84
|
+
/** Details about the text file. */
|
85
85
|
text?: Text;
|
86
86
|
}
|
87
87
|
/** @oneof */
|
88
88
|
export interface ItemMetadataOneOf {
|
89
|
-
/**
|
89
|
+
/** Details about the image. */
|
90
90
|
image?: Image;
|
91
|
-
/**
|
91
|
+
/** Details about the video. */
|
92
92
|
video?: Video;
|
93
|
-
/**
|
93
|
+
/** Details about the text file. */
|
94
94
|
text?: Text;
|
95
95
|
}
|
96
96
|
export interface Link {
|
@@ -264,9 +264,9 @@ export interface UnsharpMasking {
|
|
264
264
|
}
|
265
265
|
export interface Video {
|
266
266
|
type?: VideoType;
|
267
|
-
/**
|
267
|
+
/** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
|
268
268
|
videoInfo?: string;
|
269
|
-
/** Manually defined
|
269
|
+
/** Manually defined video duration in milliseconds. */
|
270
270
|
durationInMillis?: number | null;
|
271
271
|
}
|
272
272
|
export declare enum VideoType {
|
@@ -282,9 +282,9 @@ export interface VideoResolution {
|
|
282
282
|
height?: number;
|
283
283
|
/** Video width. Required. */
|
284
284
|
width?: number;
|
285
|
-
/** Video format
|
285
|
+
/** Video format. For example, `mp4` or `hls`. Required. */
|
286
286
|
format?: string;
|
287
|
-
/** Video quality
|
287
|
+
/** Video quality. For example, `480p` or `720p`. */
|
288
288
|
quality?: string | null;
|
289
289
|
/** Video filename. */
|
290
290
|
filename?: string | null;
|
@@ -1078,11 +1078,11 @@ export interface UpdateGalleryItem {
|
|
1078
1078
|
_updatedDate?: Date;
|
1079
1079
|
/** Item tags. */
|
1080
1080
|
tags?: Tags;
|
1081
|
-
/**
|
1081
|
+
/** Details about the image. */
|
1082
1082
|
image?: Image;
|
1083
|
-
/**
|
1083
|
+
/** Details about the video. */
|
1084
1084
|
video?: Video;
|
1085
|
-
/**
|
1085
|
+
/** Details about the text file. */
|
1086
1086
|
text?: Text;
|
1087
1087
|
}
|
1088
1088
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
2
|
-
import {
|
2
|
+
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery.universal';
|
3
3
|
export declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleriesResponse>;
|
4
4
|
export declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").Gallery>;
|
5
5
|
export declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleryItemsResponse>;
|
@@ -71,20 +71,20 @@ export interface Item extends ItemMetadataOneOf {
|
|
71
71
|
updatedDate?: Date;
|
72
72
|
/** Item tags. */
|
73
73
|
tags?: Tags;
|
74
|
-
/**
|
74
|
+
/** Details about the image. */
|
75
75
|
image?: Image;
|
76
|
-
/**
|
76
|
+
/** Details about the video. */
|
77
77
|
video?: Video;
|
78
|
-
/**
|
78
|
+
/** Details about the text file. */
|
79
79
|
text?: Text;
|
80
80
|
}
|
81
81
|
/** @oneof */
|
82
82
|
export interface ItemMetadataOneOf {
|
83
|
-
/**
|
83
|
+
/** Details about the image. */
|
84
84
|
image?: Image;
|
85
|
-
/**
|
85
|
+
/** Details about the video. */
|
86
86
|
video?: Video;
|
87
|
-
/**
|
87
|
+
/** Details about the text file. */
|
88
88
|
text?: Text;
|
89
89
|
}
|
90
90
|
export interface Link {
|
@@ -211,7 +211,7 @@ export declare enum Type {
|
|
211
211
|
TEXT = "TEXT"
|
212
212
|
}
|
213
213
|
export interface Image {
|
214
|
-
/**
|
214
|
+
/** Information for a Wix Media image. Required. */
|
215
215
|
imageInfo?: CommonImage;
|
216
216
|
/** Focal point of the image. */
|
217
217
|
focalPoint?: Point;
|
@@ -275,9 +275,9 @@ export interface UnsharpMasking {
|
|
275
275
|
}
|
276
276
|
export interface Video {
|
277
277
|
type?: VideoType;
|
278
|
-
/**
|
278
|
+
/** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
|
279
279
|
videoInfo?: VideoV2;
|
280
|
-
/** Manually defined
|
280
|
+
/** Manually defined video duration in milliseconds. */
|
281
281
|
durationInMillis?: number | null;
|
282
282
|
}
|
283
283
|
export declare enum VideoType {
|
@@ -289,7 +289,7 @@ export declare enum VideoType {
|
|
289
289
|
export interface VideoV2 {
|
290
290
|
/** WixMedia ID. Required when associating an existing Wix Media video. */
|
291
291
|
id?: string;
|
292
|
-
/** Video URL. Required when associating a video from an external source
|
292
|
+
/** Video URL. Required when associating a video from an external source. */
|
293
293
|
url?: string;
|
294
294
|
/** Available resolutions for the video, starting with the optimal resolution. */
|
295
295
|
resolutions?: VideoResolution[];
|
@@ -305,9 +305,9 @@ export interface VideoResolution {
|
|
305
305
|
height?: number;
|
306
306
|
/** Video width. Required. */
|
307
307
|
width?: number;
|
308
|
-
/** Video format
|
308
|
+
/** Video format. For example, `mp4` or `hls`. Required. */
|
309
309
|
format?: string;
|
310
|
-
/** Video quality
|
310
|
+
/** Video quality. For example, `480p` or `720p`. */
|
311
311
|
quality?: string | null;
|
312
312
|
/** Video filename. */
|
313
313
|
filename?: string | null;
|
@@ -77,20 +77,20 @@ export interface Item extends ItemMetadataOneOf {
|
|
77
77
|
_updatedDate?: Date;
|
78
78
|
/** Item tags. */
|
79
79
|
tags?: Tags;
|
80
|
-
/**
|
80
|
+
/** Details about the image. */
|
81
81
|
image?: Image;
|
82
|
-
/**
|
82
|
+
/** Details about the video. */
|
83
83
|
video?: Video;
|
84
|
-
/**
|
84
|
+
/** Details about the text file. */
|
85
85
|
text?: Text;
|
86
86
|
}
|
87
87
|
/** @oneof */
|
88
88
|
export interface ItemMetadataOneOf {
|
89
|
-
/**
|
89
|
+
/** Details about the image. */
|
90
90
|
image?: Image;
|
91
|
-
/**
|
91
|
+
/** Details about the video. */
|
92
92
|
video?: Video;
|
93
|
-
/**
|
93
|
+
/** Details about the text file. */
|
94
94
|
text?: Text;
|
95
95
|
}
|
96
96
|
export interface Link {
|
@@ -264,9 +264,9 @@ export interface UnsharpMasking {
|
|
264
264
|
}
|
265
265
|
export interface Video {
|
266
266
|
type?: VideoType;
|
267
|
-
/**
|
267
|
+
/** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
|
268
268
|
videoInfo?: string;
|
269
|
-
/** Manually defined
|
269
|
+
/** Manually defined video duration in milliseconds. */
|
270
270
|
durationInMillis?: number | null;
|
271
271
|
}
|
272
272
|
export declare enum VideoType {
|
@@ -282,9 +282,9 @@ export interface VideoResolution {
|
|
282
282
|
height?: number;
|
283
283
|
/** Video width. Required. */
|
284
284
|
width?: number;
|
285
|
-
/** Video format
|
285
|
+
/** Video format. For example, `mp4` or `hls`. Required. */
|
286
286
|
format?: string;
|
287
|
-
/** Video quality
|
287
|
+
/** Video quality. For example, `480p` or `720p`. */
|
288
288
|
quality?: string | null;
|
289
289
|
/** Video filename. */
|
290
290
|
filename?: string | null;
|
@@ -1078,11 +1078,11 @@ export interface UpdateGalleryItem {
|
|
1078
1078
|
_updatedDate?: Date;
|
1079
1079
|
/** Item tags. */
|
1080
1080
|
tags?: Tags;
|
1081
|
-
/**
|
1081
|
+
/** Details about the image. */
|
1082
1082
|
image?: Image;
|
1083
|
-
/**
|
1083
|
+
/** Details about the video. */
|
1084
1084
|
video?: Video;
|
1085
|
-
/**
|
1085
|
+
/** Details about the text file. */
|
1086
1086
|
text?: Text;
|
1087
1087
|
}
|
1088
1088
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wix/pro-gallery",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
6
6
|
"access": "public"
|
@@ -33,5 +33,5 @@
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
34
34
|
}
|
35
35
|
},
|
36
|
-
"falconPackageHash": "
|
36
|
+
"falconPackageHash": "7e24826021ab4ebaad6ffc513b4bb0311df187e5732bba591fbec10f"
|
37
37
|
}
|