@quesmed/types 2.1.18 → 2.1.19

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
- videoId: Id;
5
+ id: Id;
6
6
  }
7
7
  export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
8
8
  export declare const VIDEO: import("@apollo/client").DocumentNode;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VIDEOS = exports.VIDEO = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.VIDEO = (0, client_1.gql) `
6
- query Video($videoId: Int!) {
6
+ query Video($id: Int!) {
7
7
  restricted {
8
- video(id: $videoId) {
8
+ video(id: $id) {
9
9
  id
10
10
  title
11
11
  museId
@@ -44,8 +44,8 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
44
44
  }
45
45
  `;
46
46
  exports.SAMPLE_VIDEO = (0, client_1.gql) `
47
- query SampleVideo($videoId: Int!) {
48
- video(id: $videoId) {
47
+ query SampleVideo($id: Int!) {
48
+ video(id: $id) {
49
49
  id
50
50
  title
51
51
  museId
@@ -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
- videoId: Id;
5
+ id: 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,8 @@
1
1
  import { gql } from '@apollo/client';
2
2
  export const VIDEO = gql `
3
- query Video($videoId: Int!) {
3
+ query Video($id: Int!) {
4
4
  restricted {
5
- video(id: $videoId) {
5
+ video(id: $id) {
6
6
  id
7
7
  title
8
8
  museId
@@ -41,8 +41,8 @@ export const SAMPLE_VIDEOS = gql `
41
41
  }
42
42
  `;
43
43
  export const SAMPLE_VIDEO = gql `
44
- query SampleVideo($videoId: Int!) {
45
- video(id: $videoId) {
44
+ query SampleVideo($id: Int!) {
45
+ video(id: $id) {
46
46
  id
47
47
  title
48
48
  museId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",