@quesmed/types-rn 2.6.46 → 2.6.47

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.
@@ -1,5 +1,5 @@
1
- import { IUkmlaTopic } from './UkmlaTopic';
2
1
  import { Id } from './Type';
2
+ import { IUkmlaTopic } from './UkmlaTopic';
3
3
  export interface IPresentation {
4
4
  id: Id;
5
5
  createdAt: number | Date;
@@ -1,5 +1,5 @@
1
- import { Id } from "./Type";
2
- import { IUser } from "./User";
1
+ import { Id } from './Type';
2
+ import { IUser } from './User';
3
3
  export interface IReferral {
4
4
  id: Id;
5
5
  createdAt: number | Date;
@@ -1,4 +1,4 @@
1
- import { Id } from "./Type";
1
+ import { Id } from './Type';
2
2
  export declare enum ESessionStatus {
3
3
  INVALID = 0,
4
4
  VALID = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.46",
3
+ "version": "2.6.47",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -3,9 +3,9 @@ import * as mutation from './mutation';
3
3
  import * as query from './query';
4
4
  import * as subscription from './subscription';
5
5
  export * from './apollo';
6
- export * from './types';
7
- export * from './enums';
8
6
  export * from './constants';
7
+ export * from './enums';
8
+ export * from './types';
9
9
  export declare namespace Resolvers {
10
10
  export import Fragment = fragment;
11
11
  export import Muation = mutation;
@@ -32,9 +32,9 @@ const mutation = __importStar(require("./mutation"));
32
32
  const query = __importStar(require("./query"));
33
33
  const subscription = __importStar(require("./subscription"));
34
34
  __exportStar(require("./apollo"), exports);
35
- __exportStar(require("./types"), exports);
36
- __exportStar(require("./enums"), exports);
37
35
  __exportStar(require("./constants"), exports);
36
+ __exportStar(require("./enums"), exports);
37
+ __exportStar(require("./types"), exports);
38
38
  var Resolvers;
39
39
  (function (Resolvers) {
40
40
  Resolvers.Fragment = fragment;
@@ -1,3 +1,3 @@
1
1
  export * from './algoliaSync';
2
- export * from './token';
3
2
  export * from './notification';
3
+ export * from './token';
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./algoliaSync"), exports);
18
- __exportStar(require("./token"), exports);
19
18
  __exportStar(require("./notification"), exports);
19
+ __exportStar(require("./token"), exports);
@@ -1,7 +1,7 @@
1
1
  import { ApolloCache } from '@apollo/client';
2
2
  import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
3
- import { ENotificationActionType, ENotificationType, Id, INotification } from '../../../models';
4
- import { graphqlNormalize, RestrictedData } from '../../types';
3
+ import { ENotificationActionType, ENotificationType, INotification, Id } from '../../../models';
4
+ import { RestrictedData, graphqlNormalize } from '../../types';
5
5
  export interface IAddNotificationInput {
6
6
  fromUserId: Id | null;
7
7
  userId: Id | null;
@@ -2,6 +2,6 @@ import { EProductType, IFeedback } from '../../models';
2
2
  import { RootData, graphqlNormalize } from '../types';
3
3
  export type IFeedbackData = RootData<(graphqlNormalize & IFeedback)[], 'feedback'>;
4
4
  export type IFeedbackVar = {
5
- productId?: EProductType;
5
+ productIds?: EProductType[];
6
6
  };
7
7
  export declare const FEEDBACK: import("@apollo/client").DocumentNode;
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FEEDBACK = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.FEEDBACK = (0, client_1.gql) `
6
- query Feedback($productId: Int) {
7
- feedback(productId: $productId) {
6
+ query Feedback($productIds: [Int]) {
7
+ feedback(productIds: $productIds) {
8
8
  id
9
9
  name
10
10
  feedback
@@ -1,5 +1,5 @@
1
- import { Id, IConcept } from '../../../models';
2
- import { graphqlNormalize, RestrictedData } from '../../types';
1
+ import { IConcept, Id } from '../../../models';
2
+ import { RestrictedData, graphqlNormalize } from '../../types';
3
3
  export interface IConceptVar {
4
4
  id: Id;
5
5
  }
@@ -3,100 +3,100 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CONCEPTS = exports.CONCEPT = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.CONCEPT = (0, client_1.gql) `
6
- query Concept($id: Int!) {
7
- restricted {
8
- concept(id: $id) {
9
- id
10
- name
11
- status
12
- totalCards
13
- topic {
14
- id
15
- name
16
- typeId
17
- }
18
- chapter {
19
- id
20
- explanation
21
- pictures {
22
- id
23
- createdAt
24
- updatedAt
25
- name
26
- caption
27
- path
28
- path512
29
- path256
30
- index
31
- topicId
32
- }
33
- }
34
- videos {
35
- id
36
- status
37
- title
38
- museId
39
- startTime
40
- endTime
41
- thumbnail
42
- concepts {
43
- id
44
- name
45
- }
46
- live
47
- description
48
- duration
49
- }
50
- }
51
- }
52
- }
6
+ query Concept($id: Int!) {
7
+ restricted {
8
+ concept(id: $id) {
9
+ id
10
+ name
11
+ status
12
+ totalCards
13
+ topic {
14
+ id
15
+ name
16
+ typeId
17
+ }
18
+ chapter {
19
+ id
20
+ explanation
21
+ pictures {
22
+ id
23
+ createdAt
24
+ updatedAt
25
+ name
26
+ caption
27
+ path
28
+ path512
29
+ path256
30
+ index
31
+ topicId
32
+ }
33
+ }
34
+ videos {
35
+ id
36
+ status
37
+ title
38
+ museId
39
+ startTime
40
+ endTime
41
+ thumbnail
42
+ concepts {
43
+ id
44
+ name
45
+ }
46
+ live
47
+ description
48
+ duration
49
+ }
50
+ }
51
+ }
52
+ }
53
53
  `;
54
54
  exports.CONCEPTS = (0, client_1.gql) `
55
- query Concepts($id: [Int!]!) {
56
- restricted {
57
- concepts(id: $id) {
58
- id
59
- name
60
- status
61
- totalCards
62
- topic {
63
- id
64
- name
65
- typeId
66
- }
67
- chapter {
68
- id
69
- explanation
70
- pictures {
71
- id
72
- createdAt
73
- updatedAt
74
- name
75
- caption
76
- path
77
- path512
78
- path256
79
- index
80
- topicId
81
- }
82
- }
83
- videos {
84
- id
85
- status
86
- title
87
- museId
88
- startTime
89
- endTime
90
- thumbnail
91
- concepts {
92
- id
93
- name
94
- }
95
- live
96
- description
97
- duration
98
- }
99
- }
100
- }
101
- }
55
+ query Concepts($id: [Int!]!) {
56
+ restricted {
57
+ concepts(id: $id) {
58
+ id
59
+ name
60
+ status
61
+ totalCards
62
+ topic {
63
+ id
64
+ name
65
+ typeId
66
+ }
67
+ chapter {
68
+ id
69
+ explanation
70
+ pictures {
71
+ id
72
+ createdAt
73
+ updatedAt
74
+ name
75
+ caption
76
+ path
77
+ path512
78
+ path256
79
+ index
80
+ topicId
81
+ }
82
+ }
83
+ videos {
84
+ id
85
+ status
86
+ title
87
+ museId
88
+ startTime
89
+ endTime
90
+ thumbnail
91
+ concepts {
92
+ id
93
+ name
94
+ }
95
+ live
96
+ description
97
+ duration
98
+ }
99
+ }
100
+ }
101
+ }
102
102
  `;
@@ -48,9 +48,13 @@ exports.PRESETS = (0, client_1.gql) `
48
48
  }
49
49
  `;
50
50
  exports.PRE_DEFINED_PRESETS = (0, client_1.gql) `
51
- query PreDefinedPresets($entitlementId: Int,$search: String, $order: Int) {
51
+ query PreDefinedPresets($entitlementId: Int, $search: String, $order: Int) {
52
52
  restricted {
53
- preDefinedPresets(entitlementId: $entitlementId, search: $search, order: $order) {
53
+ preDefinedPresets(
54
+ entitlementId: $entitlementId
55
+ search: $search
56
+ order: $order
57
+ ) {
54
58
  id
55
59
  createdAt
56
60
  updatedAt
@@ -3,7 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PRESCRIPTIONS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.PRESCRIPTIONS = (0, client_1.gql) `
6
- query Prescriptions($typeId: Int!, $query: String, $cursor: Int, $limit: Int) {
6
+ query Prescriptions(
7
+ $typeId: Int!
8
+ $query: String
9
+ $cursor: Int
10
+ $limit: Int
11
+ ) {
7
12
  restricted {
8
13
  prescriptions(
9
14
  typeId: $typeId
@@ -1,6 +1,6 @@
1
1
  import { Id, IUniversity } from '../../models';
2
- import { graphqlNormalize, RootData } from '../types';
3
2
  import { ESortOrder } from '../enums';
3
+ import { graphqlNormalize, RootData } from '../types';
4
4
  export interface IUniversitiesVar {
5
5
  id?: Id;
6
6
  order?: ESortOrder;