@quesmed/types 2.1.16 → 2.1.17

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.
@@ -2,7 +2,7 @@ import { EVideoFilter, Id, IVideo } from '../../../models';
2
2
  import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  import { EPlatformId } from './../../../index';
4
4
  export interface IVideoVar {
5
- id: Id;
5
+ videoId: Id;
6
6
  }
7
7
  export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
8
8
  export declare const VIDEO: import("@apollo/client").DocumentNode;
@@ -2,10 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VIDEOS = exports.VIDEO = void 0;
4
4
  const client_1 = require("@apollo/client");
5
- const fragments_1 = require("../../fragments");
6
5
  exports.VIDEO = (0, client_1.gql) `
7
- ${fragments_1.PICTURE_FIELDS}
8
- ${fragments_1.VIDEO_FILE_FIELDS}
9
6
  query Video($videoId: Int!) {
10
7
  restricted {
11
8
  video(id: $videoId) {
@@ -40,16 +37,68 @@ exports.VIDEO = (0, client_1.gql) `
40
37
  name
41
38
  }
42
39
  candidatePictures {
43
- ...PictureFields
40
+ id
41
+ createdAt
42
+ updatedAt
43
+ name
44
+ caption
45
+ path
46
+ path512
47
+ path256
48
+ topicId
49
+ topic {
50
+ id
51
+ name
52
+ typeId
53
+ }
44
54
  }
45
55
  actorPictures {
46
- ...PictureFields
56
+ id
57
+ createdAt
58
+ updatedAt
59
+ name
60
+ caption
61
+ path
62
+ path512
63
+ path256
64
+ topicId
65
+ topic {
66
+ id
67
+ name
68
+ typeId
69
+ }
47
70
  }
48
71
  examinerPictures {
49
- ...PictureFields
72
+ id
73
+ createdAt
74
+ updatedAt
75
+ name
76
+ caption
77
+ path
78
+ path512
79
+ path256
80
+ topicId
81
+ topic {
82
+ id
83
+ name
84
+ typeId
85
+ }
50
86
  }
51
87
  walkthroughPictures {
52
- ...PictureFields
88
+ id
89
+ createdAt
90
+ updatedAt
91
+ name
92
+ caption
93
+ path
94
+ path512
95
+ path256
96
+ topicId
97
+ topic {
98
+ id
99
+ name
100
+ typeId
101
+ }
53
102
  }
54
103
  lastOsceMarksheetId
55
104
  }
@@ -59,7 +108,10 @@ exports.VIDEO = (0, client_1.gql) `
59
108
  startTime
60
109
  endTime
61
110
  files {
62
- ...VideoFileFields
111
+ id
112
+ title
113
+ url
114
+ videoId
63
115
  }
64
116
  }
65
117
  }
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ZOOM_SIGNATURE = exports.SAMPLE_VIDEO = exports.SAMPLE_VIDEOS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
- const fragments_1 = require("../fragments");
6
5
  exports.SAMPLE_VIDEOS = (0, client_1.gql) `
7
6
  query SampleVideos(
8
7
  $platform: Int!
@@ -45,8 +44,6 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
45
44
  }
46
45
  `;
47
46
  exports.SAMPLE_VIDEO = (0, client_1.gql) `
48
- ${fragments_1.PICTURE_FIELDS}
49
- ${fragments_1.VIDEO_FILE_FIELDS}
50
47
  query SampleVideo($videoId: Int!) {
51
48
  video(id: $videoId) {
52
49
  id
@@ -80,16 +77,68 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
80
77
  name
81
78
  }
82
79
  candidatePictures {
83
- ...PictureFields
80
+ id
81
+ createdAt
82
+ updatedAt
83
+ name
84
+ caption
85
+ path
86
+ path512
87
+ path256
88
+ topicId
89
+ topic {
90
+ id
91
+ name
92
+ typeId
93
+ }
84
94
  }
85
95
  actorPictures {
86
- ...PictureFields
96
+ id
97
+ createdAt
98
+ updatedAt
99
+ name
100
+ caption
101
+ path
102
+ path512
103
+ path256
104
+ topicId
105
+ topic {
106
+ id
107
+ name
108
+ typeId
109
+ }
87
110
  }
88
111
  examinerPictures {
89
- ...PictureFields
112
+ id
113
+ createdAt
114
+ updatedAt
115
+ name
116
+ caption
117
+ path
118
+ path512
119
+ path256
120
+ topicId
121
+ topic {
122
+ id
123
+ name
124
+ typeId
125
+ }
90
126
  }
91
127
  walkthroughPictures {
92
- ...PictureFields
128
+ id
129
+ createdAt
130
+ updatedAt
131
+ name
132
+ caption
133
+ path
134
+ path512
135
+ path256
136
+ topicId
137
+ topic {
138
+ id
139
+ name
140
+ typeId
141
+ }
93
142
  }
94
143
  lastOsceMarksheetId
95
144
  }
@@ -99,7 +148,10 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
99
148
  startTime
100
149
  endTime
101
150
  files {
102
- ...VideoFileFields
151
+ id
152
+ title
153
+ url
154
+ videoId
103
155
  }
104
156
  }
105
157
  }
@@ -2,7 +2,7 @@ import { EVideoFilter, Id, IVideo } from '../../../models';
2
2
  import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  import { EPlatformId } from './../../../index';
4
4
  export interface IVideoVar {
5
- id: Id;
5
+ videoId: Id;
6
6
  }
7
7
  export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
8
8
  export declare const VIDEO: import("@apollo/client").DocumentNode;
@@ -1,8 +1,5 @@
1
1
  import { gql } from '@apollo/client';
2
- import { PICTURE_FIELDS, VIDEO_FILE_FIELDS } from '../../fragments';
3
2
  export const VIDEO = gql `
4
- ${PICTURE_FIELDS}
5
- ${VIDEO_FILE_FIELDS}
6
3
  query Video($videoId: Int!) {
7
4
  restricted {
8
5
  video(id: $videoId) {
@@ -37,16 +34,68 @@ export const VIDEO = gql `
37
34
  name
38
35
  }
39
36
  candidatePictures {
40
- ...PictureFields
37
+ id
38
+ createdAt
39
+ updatedAt
40
+ name
41
+ caption
42
+ path
43
+ path512
44
+ path256
45
+ topicId
46
+ topic {
47
+ id
48
+ name
49
+ typeId
50
+ }
41
51
  }
42
52
  actorPictures {
43
- ...PictureFields
53
+ id
54
+ createdAt
55
+ updatedAt
56
+ name
57
+ caption
58
+ path
59
+ path512
60
+ path256
61
+ topicId
62
+ topic {
63
+ id
64
+ name
65
+ typeId
66
+ }
44
67
  }
45
68
  examinerPictures {
46
- ...PictureFields
69
+ id
70
+ createdAt
71
+ updatedAt
72
+ name
73
+ caption
74
+ path
75
+ path512
76
+ path256
77
+ topicId
78
+ topic {
79
+ id
80
+ name
81
+ typeId
82
+ }
47
83
  }
48
84
  walkthroughPictures {
49
- ...PictureFields
85
+ id
86
+ createdAt
87
+ updatedAt
88
+ name
89
+ caption
90
+ path
91
+ path512
92
+ path256
93
+ topicId
94
+ topic {
95
+ id
96
+ name
97
+ typeId
98
+ }
50
99
  }
51
100
  lastOsceMarksheetId
52
101
  }
@@ -56,7 +105,10 @@ export const VIDEO = gql `
56
105
  startTime
57
106
  endTime
58
107
  files {
59
- ...VideoFileFields
108
+ id
109
+ title
110
+ url
111
+ videoId
60
112
  }
61
113
  }
62
114
  }
@@ -1,5 +1,4 @@
1
1
  import { gql } from '@apollo/client';
2
- import { PICTURE_FIELDS, VIDEO_FILE_FIELDS } from '../fragments';
3
2
  export const SAMPLE_VIDEOS = gql `
4
3
  query SampleVideos(
5
4
  $platform: Int!
@@ -42,8 +41,6 @@ export const SAMPLE_VIDEOS = gql `
42
41
  }
43
42
  `;
44
43
  export const SAMPLE_VIDEO = gql `
45
- ${PICTURE_FIELDS}
46
- ${VIDEO_FILE_FIELDS}
47
44
  query SampleVideo($videoId: Int!) {
48
45
  video(id: $videoId) {
49
46
  id
@@ -77,16 +74,68 @@ export const SAMPLE_VIDEO = gql `
77
74
  name
78
75
  }
79
76
  candidatePictures {
80
- ...PictureFields
77
+ id
78
+ createdAt
79
+ updatedAt
80
+ name
81
+ caption
82
+ path
83
+ path512
84
+ path256
85
+ topicId
86
+ topic {
87
+ id
88
+ name
89
+ typeId
90
+ }
81
91
  }
82
92
  actorPictures {
83
- ...PictureFields
93
+ id
94
+ createdAt
95
+ updatedAt
96
+ name
97
+ caption
98
+ path
99
+ path512
100
+ path256
101
+ topicId
102
+ topic {
103
+ id
104
+ name
105
+ typeId
106
+ }
84
107
  }
85
108
  examinerPictures {
86
- ...PictureFields
109
+ id
110
+ createdAt
111
+ updatedAt
112
+ name
113
+ caption
114
+ path
115
+ path512
116
+ path256
117
+ topicId
118
+ topic {
119
+ id
120
+ name
121
+ typeId
122
+ }
87
123
  }
88
124
  walkthroughPictures {
89
- ...PictureFields
125
+ id
126
+ createdAt
127
+ updatedAt
128
+ name
129
+ caption
130
+ path
131
+ path512
132
+ path256
133
+ topicId
134
+ topic {
135
+ id
136
+ name
137
+ typeId
138
+ }
90
139
  }
91
140
  lastOsceMarksheetId
92
141
  }
@@ -96,7 +145,10 @@ export const SAMPLE_VIDEO = gql `
96
145
  startTime
97
146
  endTime
98
147
  files {
99
- ...VideoFileFields
148
+ id
149
+ title
150
+ url
151
+ videoId
100
152
  }
101
153
  }
102
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",