Skip to content

Commit e8312ad

Browse files
committed
fix: Revert changes
1 parent 9a764be commit e8312ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/meteor/app/api/server/v1/groups.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ const groupsHistoryPropsSchema = withGroupBaseProperties({
7474
type: 'string',
7575
},
7676
count: {
77-
type: 'string',
77+
type: 'integer',
7878
},
7979
offset: {
80-
type: 'string',
80+
type: 'integer',
8181
},
8282
sort: {
8383
type: 'string',

packages/rest-typings/src/helpers/PaginatedRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export type PaginatedRequest<T = Record<string, boolean | number | string | object>, S extends string = string> = {
2-
count?: string;
3-
offset?: string;
2+
count?: number;
3+
offset?: number;
44
sort?: `{ "${S}": ${1 | -1} }` | string;
55
/* deprecated */
66
query?: string;

0 commit comments

Comments
 (0)