@xoxno/types 1.0.377 → 1.0.379
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.
|
@@ -16,7 +16,9 @@ export declare class CosmosDbGenericFilter<T> {
|
|
|
16
16
|
includeCount?: boolean;
|
|
17
17
|
strictSelect?: boolean;
|
|
18
18
|
top?: number;
|
|
19
|
+
/** @deprecated Use continuation token pagination via X-Continuation-Token header instead. Will be removed in next major version. */
|
|
19
20
|
skip?: number;
|
|
21
|
+
continuationToken?: string;
|
|
20
22
|
constructor(props?: Partial<CosmosDbGenericFilter<T>>);
|
|
21
23
|
}
|
|
22
24
|
export {};
|
|
@@ -33,6 +33,7 @@ class CosmosDbGenericFilter {
|
|
|
33
33
|
this.orderBy = [];
|
|
34
34
|
this.strictSelect = false;
|
|
35
35
|
this.top = 25;
|
|
36
|
+
/** @deprecated Use continuation token pagination via X-Continuation-Token header instead. Will be removed in next major version. */
|
|
36
37
|
this.skip = 0;
|
|
37
38
|
Object.assign(this, props);
|
|
38
39
|
}
|
|
@@ -67,6 +68,14 @@ __decorate([
|
|
|
67
68
|
__metadata("design:type", Number)
|
|
68
69
|
], CosmosDbGenericFilter.prototype, "top", void 0);
|
|
69
70
|
__decorate([
|
|
70
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'integer' }),
|
|
71
|
+
(0, swagger_1.ApiProperty)({ required: false, type: 'integer', deprecated: true }),
|
|
71
72
|
__metadata("design:type", Number)
|
|
72
73
|
], CosmosDbGenericFilter.prototype, "skip", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
required: false,
|
|
77
|
+
type: 'string',
|
|
78
|
+
nullable: true,
|
|
79
|
+
}),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], CosmosDbGenericFilter.prototype, "continuationToken", void 0);
|