@wix/data 1.0.10 → 1.0.13
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/data-v2-data-collection.types.d.ts +3 -1
- package/build/cjs/src/data-v2-data-collection.types.js +2 -0
- package/build/cjs/src/data-v2-data-collection.types.js.map +1 -1
- package/build/cjs/src/data-v2-data-collection.universal.d.ts +12 -10
- package/build/cjs/src/data-v2-data-collection.universal.js +2 -0
- package/build/cjs/src/data-v2-data-collection.universal.js.map +1 -1
- package/build/cjs/src/data-v2-data-item.universal.d.ts +26 -26
- package/build/cjs/src/data-v2-data-item.universal.js +21 -21
- package/build/cjs/src/data-v2-index.universal.d.ts +4 -4
- package/build/cjs/src/data-v2-index.universal.js +3 -3
- package/build/es/src/data-v2-data-collection.types.d.ts +3 -1
- package/build/es/src/data-v2-data-collection.types.js +2 -0
- package/build/es/src/data-v2-data-collection.types.js.map +1 -1
- package/build/es/src/data-v2-data-collection.universal.d.ts +12 -10
- package/build/es/src/data-v2-data-collection.universal.js +2 -0
- package/build/es/src/data-v2-data-collection.universal.js.map +1 -1
- package/build/es/src/data-v2-data-item.universal.d.ts +26 -26
- package/build/es/src/data-v2-data-item.universal.js +21 -21
- package/build/es/src/data-v2-index.universal.d.ts +4 -4
- package/build/es/src/data-v2-index.universal.js +3 -3
- package/package.json +2 -2
|
@@ -58,7 +58,7 @@ export interface Field {
|
|
|
58
58
|
/**
|
|
59
59
|
* Sort order for the index. Base on how the data is regularly queried.
|
|
60
60
|
*
|
|
61
|
-
* Supported values: `
|
|
61
|
+
* Supported values: `ASC`, `DESC`.
|
|
62
62
|
*
|
|
63
63
|
* Default: `ASC`
|
|
64
64
|
*/
|
|
@@ -145,7 +145,7 @@ export interface ListIndexesResponse {
|
|
|
145
145
|
* @requiredField options.index.fields.path
|
|
146
146
|
* @requiredField options.index.name
|
|
147
147
|
* @param options - Options for creating an index.
|
|
148
|
-
* @permissionScope Write Data
|
|
148
|
+
* @permissionScope Write Data Indexes
|
|
149
149
|
*/
|
|
150
150
|
export declare function createIndex(options: CreateIndexOptions): Promise<CreateIndexResponse>;
|
|
151
151
|
export interface CreateIndexOptions {
|
|
@@ -164,7 +164,7 @@ export interface CreateIndexOptions {
|
|
|
164
164
|
* @requiredField options
|
|
165
165
|
* @requiredField options.indexName
|
|
166
166
|
* @param options - Options for dropping an index.
|
|
167
|
-
* @permissionScope Write Data
|
|
167
|
+
* @permissionScope Write Data Indexes
|
|
168
168
|
*/
|
|
169
169
|
export declare function dropIndex(options: DropIndexOptions): Promise<void>;
|
|
170
170
|
export interface DropIndexOptions {
|
|
@@ -184,7 +184,7 @@ export interface DropIndexOptions {
|
|
|
184
184
|
* @public
|
|
185
185
|
* @documentationMaturity preview
|
|
186
186
|
* @param options - Options for retrieving a list of indexes.
|
|
187
|
-
* @permissionScope Read Data
|
|
187
|
+
* @permissionScope Read Data Indexes
|
|
188
188
|
*/
|
|
189
189
|
export declare function listIndexes(options?: ListIndexesOptions): Promise<ListIndexesResponse>;
|
|
190
190
|
export interface ListIndexesOptions {
|
|
@@ -77,7 +77,7 @@ const _listIndexesResponse = {};
|
|
|
77
77
|
* @requiredField options.index.fields.path
|
|
78
78
|
* @requiredField options.index.name
|
|
79
79
|
* @param options - Options for creating an index.
|
|
80
|
-
* @permissionScope Write Data
|
|
80
|
+
* @permissionScope Write Data Indexes
|
|
81
81
|
*/
|
|
82
82
|
export function createIndex(options) {
|
|
83
83
|
var _a, _b, _c;
|
|
@@ -135,7 +135,7 @@ export function createIndex(options) {
|
|
|
135
135
|
* @requiredField options
|
|
136
136
|
* @requiredField options.indexName
|
|
137
137
|
* @param options - Options for dropping an index.
|
|
138
|
-
* @permissionScope Write Data
|
|
138
|
+
* @permissionScope Write Data Indexes
|
|
139
139
|
*/
|
|
140
140
|
export function dropIndex(options) {
|
|
141
141
|
var _a, _b, _c;
|
|
@@ -194,7 +194,7 @@ export function dropIndex(options) {
|
|
|
194
194
|
* @public
|
|
195
195
|
* @documentationMaturity preview
|
|
196
196
|
* @param options - Options for retrieving a list of indexes.
|
|
197
|
-
* @permissionScope Read Data
|
|
197
|
+
* @permissionScope Read Data Indexes
|
|
198
198
|
*/
|
|
199
199
|
export function listIndexes(options) {
|
|
200
200
|
var _a, _b, _c;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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": "3659bab2c0283576a1d888db7c899f79d2318d5e46ade52f5425e389"
|
|
37
37
|
}
|