@quesmed/types-rn 2.5.77 → 2.5.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.77",
3
+ "version": "2.5.78",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -1,12 +1,13 @@
1
1
  import { ETopicType, IPreset, Id } from '../../../models';
2
2
  import { RestrictedData } from '../../types';
3
+ import { ESortOrder } from '../../enums';
3
4
  export interface IPresetsVar {
4
5
  userId?: Id;
5
6
  topicType?: ETopicType;
6
7
  search?: string;
7
8
  timestamp?: number;
8
9
  limit?: number;
9
- ascending?: boolean;
10
+ order?: ESortOrder;
10
11
  }
11
12
  export type IPresetsData = RestrictedData<IPreset[], 'presets'>;
12
13
  export declare const PRESETS: import("@apollo/client").DocumentNode;
@@ -9,7 +9,7 @@ exports.PRESETS = (0, client_1.gql) `
9
9
  $search: String
10
10
  $timestamp: Int
11
11
  $limit: Int
12
- $ascending: Boolean
12
+ $order: Int
13
13
  ) {
14
14
  restricted {
15
15
  presets(
@@ -18,7 +18,7 @@ exports.PRESETS = (0, client_1.gql) `
18
18
  search: $search
19
19
  timestamp: $timestamp
20
20
  limit: $limit
21
- ascending: $ascending
21
+ order: $order
22
22
  ) {
23
23
  id
24
24
  createdAt