@quesmed/types 2.5.93 → 2.5.94

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,3 +1,4 @@
1
+ import { IPicture } from './Picture';
1
2
  import { Id } from './Type';
2
3
  export interface IBlogTag {
3
4
  id: Id;
@@ -11,7 +12,9 @@ export interface IBlogPost {
11
12
  deletedAt: number | Date;
12
13
  title: string;
13
14
  body: string;
15
+ pictureId: number | null;
14
16
  tags?: IBlogTag[];
17
+ picture?: IPicture;
15
18
  relatedBlogPosts?: IBlogPost[];
16
19
  }
17
20
  export interface IBlogPostTags {
@@ -8,6 +8,15 @@ exports.BLOG_POST_FIELDS = (0, client_1.gql) `
8
8
  createdAt
9
9
  updatedAt
10
10
  title
11
+ pictureId
12
+ picture {
13
+ id
14
+ name
15
+ path
16
+ path512
17
+ path256
18
+ caption
19
+ }
11
20
  body
12
21
  tags {
13
22
  id
@@ -1,3 +1,4 @@
1
+ import { IPicture } from './Picture';
1
2
  import { Id } from './Type';
2
3
  export interface IBlogTag {
3
4
  id: Id;
@@ -11,7 +12,9 @@ export interface IBlogPost {
11
12
  deletedAt: number | Date;
12
13
  title: string;
13
14
  body: string;
15
+ pictureId: number | null;
14
16
  tags?: IBlogTag[];
17
+ picture?: IPicture;
15
18
  relatedBlogPosts?: IBlogPost[];
16
19
  }
17
20
  export interface IBlogPostTags {
@@ -5,6 +5,15 @@ export const BLOG_POST_FIELDS = gql `
5
5
  createdAt
6
6
  updatedAt
7
7
  title
8
+ pictureId
9
+ picture {
10
+ id
11
+ name
12
+ path
13
+ path512
14
+ path256
15
+ caption
16
+ }
8
17
  body
9
18
  tags {
10
19
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.93",
3
+ "version": "2.5.94",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",