@quesmed/types 2.6.5 → 2.6.6

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