@wix/pro-gallery 1.0.31 → 1.0.33
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/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +28 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +28 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery.http.d.ts +11 -11
- package/build/cjs/src/pro-gallery-v2-gallery.http.js +464 -240
- package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.meta.d.ts +41 -0
- package/build/cjs/src/pro-gallery-v2-gallery.meta.js +218 -0
- package/build/cjs/src/pro-gallery-v2-gallery.meta.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +114 -12
- package/build/cjs/src/pro-gallery-v2-gallery.public.js +2 -1
- package/build/cjs/src/pro-gallery-v2-gallery.public.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +987 -69
- package/build/cjs/src/pro-gallery-v2-gallery.types.js +26 -8
- package/build/cjs/src/pro-gallery-v2-gallery.types.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +299 -75
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js +124 -44
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery.http.d.ts +11 -11
- package/build/es/src/pro-gallery-v2-gallery.http.js +464 -240
- package/build/es/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.meta.d.ts +41 -0
- package/build/es/src/pro-gallery-v2-gallery.meta.js +182 -0
- package/build/es/src/pro-gallery-v2-gallery.meta.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery.public.d.ts +114 -12
- package/build/es/src/pro-gallery-v2-gallery.public.js +1 -1
- package/build/es/src/pro-gallery-v2-gallery.public.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.types.d.ts +987 -69
- package/build/es/src/pro-gallery-v2-gallery.types.js +18 -0
- package/build/es/src/pro-gallery-v2-gallery.types.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +299 -75
- package/build/es/src/pro-gallery-v2-gallery.universal.js +112 -36
- package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/meta/package.json +6 -0
- package/package.json +11 -6
package/build/cjs/index.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * as proGallery from './src/pro-gallery-v2-gallery.universal';
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.proGallery = void 0;
|
27
|
+
exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.universal"));
|
28
|
+
//# sourceMappingURL=index.typings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAAqE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * as proGallery from './src/pro-gallery-v2-gallery.meta';
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.proGallery = void 0;
|
27
|
+
exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.meta"));
|
28
|
+
//# sourceMappingURL=meta.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gFAAgE"}
|
@@ -1,29 +1,29 @@
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
2
|
-
import { CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, DeleteGalleryRequest, DeleteGalleryResponse, GetGalleryItemRequest, GetGalleryItemResponse, GetGalleryRequest, GetGalleryResponse, ListGalleriesRequest, ListGalleriesResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, UpdateGalleryRequest, UpdateGalleryResponse } from './pro-gallery-v2-gallery.types';
|
2
|
+
import { CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, DeleteGalleryRequest, DeleteGalleryResponse, GetGalleryItemRequest, GetGalleryItemResponse, GetGalleryRequest, GetGalleryResponse, ListGalleriesRequest, ListGalleriesResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, UpdateGalleryRequest, UpdateGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields } from './pro-gallery-v2-gallery.types';
|
3
3
|
/**
|
4
4
|
* Retrieves a list of galleries.
|
5
5
|
*
|
6
6
|
* The `listGalleries()` function returns a Promise that resolves to a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
|
7
7
|
*/
|
8
|
-
export declare function listGalleries(payload: ListGalleriesRequest): RequestOptionsFactory<ListGalleriesResponse>;
|
8
|
+
export declare function listGalleries(payload: ListGalleriesRequest): RequestOptionsFactory<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
|
9
9
|
/**
|
10
10
|
* Gets a gallery by ID.
|
11
11
|
*
|
12
12
|
* The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
|
13
13
|
*/
|
14
|
-
export declare function getGallery(payload: GetGalleryRequest): RequestOptionsFactory<GetGalleryResponse>;
|
14
|
+
export declare function getGallery(payload: GetGalleryRequest): RequestOptionsFactory<GetGalleryResponse & GetGalleryResponseNonNullableFields>;
|
15
15
|
/**
|
16
16
|
* Retrieves a list of media items in a specified gallery.
|
17
17
|
*
|
18
18
|
* The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
19
19
|
*/
|
20
|
-
export declare function listGalleryItems(payload: ListGalleryItemsRequest): RequestOptionsFactory<ListGalleryItemsResponse>;
|
20
|
+
export declare function listGalleryItems(payload: ListGalleryItemsRequest): RequestOptionsFactory<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
|
21
21
|
/**
|
22
22
|
* Gets a gallery item by ID.
|
23
23
|
*
|
24
24
|
* The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
|
25
25
|
*/
|
26
|
-
export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestOptionsFactory<GetGalleryItemResponse>;
|
26
|
+
export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestOptionsFactory<GetGalleryItemResponse & GetGalleryItemResponseNonNullableFields>;
|
27
27
|
/**
|
28
28
|
* Creates a gallery.
|
29
29
|
*
|
@@ -46,7 +46,7 @@ export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestO
|
|
46
46
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
47
47
|
* </blockquote>
|
48
48
|
*/
|
49
|
-
export declare function createGallery(payload: CreateGalleryRequest): RequestOptionsFactory<CreateGalleryResponse>;
|
49
|
+
export declare function createGallery(payload: CreateGalleryRequest): RequestOptionsFactory<CreateGalleryResponse & CreateGalleryResponseNonNullableFields>;
|
50
50
|
/**
|
51
51
|
* Updates a gallery.
|
52
52
|
*
|
@@ -65,7 +65,7 @@ export declare function createGallery(payload: CreateGalleryRequest): RequestOpt
|
|
65
65
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
66
66
|
* </blockquote>
|
67
67
|
*/
|
68
|
-
export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse>;
|
68
|
+
export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse & UpdateGalleryResponseNonNullableFields>;
|
69
69
|
/**
|
70
70
|
* Deletes a gallery.
|
71
71
|
*
|
@@ -77,7 +77,7 @@ export declare function updateGallery(payload: UpdateGalleryRequest): RequestOpt
|
|
77
77
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
78
78
|
* </blockquote>
|
79
79
|
*/
|
80
|
-
export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse>;
|
80
|
+
export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
|
81
81
|
/**
|
82
82
|
* Creates a media item in a specified gallery.
|
83
83
|
*
|
@@ -96,7 +96,7 @@ export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOpt
|
|
96
96
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
97
97
|
* </blockquote>
|
98
98
|
*/
|
99
|
-
export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse>;
|
99
|
+
export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse & CreateGalleryItemResponseNonNullableFields>;
|
100
100
|
/**
|
101
101
|
* Updates a media item in a specified gallery.
|
102
102
|
*
|
@@ -115,7 +115,7 @@ export declare function createGalleryItem(payload: CreateGalleryItemRequest): Re
|
|
115
115
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
116
116
|
* </blockquote>
|
117
117
|
*/
|
118
|
-
export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse>;
|
118
|
+
export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse & UpdateGalleryItemResponseNonNullableFields>;
|
119
119
|
/**
|
120
120
|
* Deletes a media item from a gallery.
|
121
121
|
*
|
@@ -127,4 +127,4 @@ export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): Re
|
|
127
127
|
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
128
128
|
* </blockquote>
|
129
129
|
*/
|
130
|
-
export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse>;
|
130
|
+
export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
|