@wix/auto_sdk_data-backend-public-sdk-poc_data 1.0.32 → 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.d.ts +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{data-v1-data-service-data.universal-DwJ77xKF.d.ts → index.typings.d.ts} +17 -1
- package/build/cjs/index.typings.js +1350 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/{data-v1-data-service-data.universal-DwJ77xKF.d.mts → index.typings.d.mts} +17 -1
- package/build/es/index.typings.mjs +1305 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +22 -22
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/{data-v1-data-service-data.universal-B0E_2MN6.d.ts → index.typings.d.ts} +323 -1
- package/build/internal/cjs/index.typings.js +1350 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2 -1
- package/build/internal/es/index.d.mts +22 -22
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/{data-v1-data-service-data.universal-B0E_2MN6.d.mts → index.typings.d.mts} +323 -1
- package/build/internal/es/index.typings.mjs +1305 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2 -1
- package/package.json +4 -3
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
|
+
|
|
1
3
|
interface Item {
|
|
2
4
|
item?: Record<string, any> | null;
|
|
3
5
|
}
|
|
@@ -464,6 +466,8 @@ declare enum Order {
|
|
|
464
466
|
ASC = "ASC",
|
|
465
467
|
DESC = "DESC"
|
|
466
468
|
}
|
|
469
|
+
/** @enumType */
|
|
470
|
+
type OrderWithLiterals = Order | 'ASC' | 'DESC';
|
|
467
471
|
interface QueryReferencedResponse {
|
|
468
472
|
/**
|
|
469
473
|
* *Deprecated.** Refer to `entities` instead. List of referenced items.
|
|
@@ -603,6 +607,18 @@ interface TruncateOptions {
|
|
|
603
607
|
/** ID of the collection to truncate. */
|
|
604
608
|
dataCollectionId?: string;
|
|
605
609
|
}
|
|
610
|
+
/**
|
|
611
|
+
* Retrieves a list of items, on the basis of the filtering, sorting, and paging preferences you provide.
|
|
612
|
+
*
|
|
613
|
+
* For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
|
|
614
|
+
* @public
|
|
615
|
+
* @documentationMaturity preview
|
|
616
|
+
* @permissionId WIX_DATA.FIND
|
|
617
|
+
* @fqn com.wixpress.cloud.data.api.dataservice.WixDataService.Query
|
|
618
|
+
* @deprecated
|
|
619
|
+
* @targetRemovalDate 2025-06-01
|
|
620
|
+
*/
|
|
621
|
+
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`>>;
|
|
606
622
|
interface QueryOptions {
|
|
607
623
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
608
624
|
dataQuery?: QueryV2;
|
|
@@ -786,4 +802,4 @@ interface IsReferencedOptions {
|
|
|
786
802
|
dataCollectionId?: string;
|
|
787
803
|
}
|
|
788
804
|
|
|
789
|
-
export { type
|
|
805
|
+
export { type AggregateOptions, type AggregationRequest, type AggregationResponse, type ApplicationError, type BulkError, type BulkInsertOptions, type BulkInsertReferencesOptions, type BulkInsertReferencesRequest, type BulkInsertReferencesResponse, type BulkInsertRequest, type BulkInsertResponse, type BulkPatchRequest, type BulkPatchResponse, type BulkRemoveOptions, type BulkRemoveReferencesOptions, type BulkRemoveReferencesRequest, type BulkRemoveReferencesResponse, type BulkRemoveRequest, type BulkRemoveRequestEntry, type BulkRemoveResponse, type BulkReplaceReferencesOptions, type BulkReplaceReferencesRequest, type BulkReplaceReferencesResponse, type BulkSaveOptions, type BulkSaveRequest, type BulkSaveResponse, type BulkUpdateOptions, type BulkUpdateRequest, type BulkUpdateResponse, type CountOptions, type CountRequest, type CountResponse, type CursorPaging, type Cursors, type Details, type DistinctOptions, type DistinctRequest, type DistinctResponse, type Entry, type GetOptions, type GetRequest, type GetResponse, type InsertOptions, type InsertRequest, type InsertResponse, type IsReferencedOptions, type IsReferencedRequest, type IsReferencedResponse, type Item, type Options, Order, type OrderWithLiterals, type Paging, type PagingMetadataV2, type PatchRequest, type PatchResponse, type PatchWhereRequest, type PatchWhereResponse, type Query, type QueryOptions, type QueryReferencedOptions, type QueryReferencedRequest, type QueryReferencedResponse, type QueryRequest, type QueryResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ReadOptions, type Reference, type ReferencedEntity, type ReferencedEntityEntityOneOf, type RemoveOptions, type RemoveRequest, type RemoveResponse, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type SaveOptions, type SaveRequest, type SaveResponse, Segment, type SegmentWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type TruncateOptions, type TruncateRequest, type TruncateResponse, type UpdateOptions, type UpdateRequest, type UpdateResponse, query };
|