@quesmed/types 2.5.92 → 2.5.93
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
1
|
import { IBlogPost, IBlogTag } from '../../models';
|
|
2
|
-
import {
|
|
2
|
+
import { RootData, graphqlNormalize } from '../types';
|
|
3
3
|
export declare const BLOG_TAGS: import("@apollo/client").DocumentNode;
|
|
4
4
|
export type IBlogTagsVar = null;
|
|
5
5
|
export type IBlogTagsData = RootData<(graphqlNormalize & IBlogTag)[], 'blogTags'>;
|
|
@@ -25,8 +25,8 @@ exports.BLOG_POST = (0, client_1.gql) `
|
|
|
25
25
|
`;
|
|
26
26
|
exports.BLOG_POSTS = (0, client_1.gql) `
|
|
27
27
|
${blog_1.BLOG_POST_FIELDS}
|
|
28
|
-
query BlogPosts($
|
|
29
|
-
blogPosts(tagIds: $
|
|
28
|
+
query BlogPosts($tagIds: [Int]!) {
|
|
29
|
+
blogPosts(tagIds: $tagIds) {
|
|
30
30
|
...BlogPostFields
|
|
31
31
|
relatedBlogPosts {
|
|
32
32
|
...BlogPostFields
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBlogPost, IBlogTag } from '../../models';
|
|
2
|
-
import {
|
|
2
|
+
import { RootData, graphqlNormalize } from '../types';
|
|
3
3
|
export declare const BLOG_TAGS: import("@apollo/client").DocumentNode;
|
|
4
4
|
export type IBlogTagsVar = null;
|
|
5
5
|
export type IBlogTagsData = RootData<(graphqlNormalize & IBlogTag)[], 'blogTags'>;
|
|
@@ -22,8 +22,8 @@ export const BLOG_POST = gql `
|
|
|
22
22
|
`;
|
|
23
23
|
export const BLOG_POSTS = gql `
|
|
24
24
|
${BLOG_POST_FIELDS}
|
|
25
|
-
query BlogPosts($
|
|
26
|
-
blogPosts(tagIds: $
|
|
25
|
+
query BlogPosts($tagIds: [Int]!) {
|
|
26
|
+
blogPosts(tagIds: $tagIds) {
|
|
27
27
|
...BlogPostFields
|
|
28
28
|
relatedBlogPosts {
|
|
29
29
|
...BlogPostFields
|