@quesmed/types 2.6.171 → 2.6.172
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.
|
@@ -11,5 +11,7 @@ export type IBlogPostData = RootData<graphqlNormalize & IBlogPost, 'blogPost'>;
|
|
|
11
11
|
export declare const BLOG_POSTS: import("@apollo/client").DocumentNode;
|
|
12
12
|
export interface IBlogPostsVar {
|
|
13
13
|
tags?: EBlogTags[];
|
|
14
|
+
limit?: number;
|
|
15
|
+
offset?: number;
|
|
14
16
|
}
|
|
15
17
|
export type IBlogPostsData = RootData<(graphqlNormalize & IBlogPost)[], 'blogPosts'>;
|
|
@@ -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($tags: [String]) {
|
|
29
|
-
blogPosts(tags: $tags) {
|
|
28
|
+
query BlogPosts($tags: [String], $limit: Int, $offset: Int) {
|
|
29
|
+
blogPosts(tags: $tags, limit: $limit, offset: $offset) {
|
|
30
30
|
...BlogPostFields
|
|
31
31
|
relatedBlogPosts {
|
|
32
32
|
...BlogPostFields
|
|
@@ -11,5 +11,7 @@ export type IBlogPostData = RootData<graphqlNormalize & IBlogPost, 'blogPost'>;
|
|
|
11
11
|
export declare const BLOG_POSTS: import("@apollo/client").DocumentNode;
|
|
12
12
|
export interface IBlogPostsVar {
|
|
13
13
|
tags?: EBlogTags[];
|
|
14
|
+
limit?: number;
|
|
15
|
+
offset?: number;
|
|
14
16
|
}
|
|
15
17
|
export type IBlogPostsData = RootData<(graphqlNormalize & IBlogPost)[], 'blogPosts'>;
|
|
@@ -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($tags: [String]) {
|
|
26
|
-
blogPosts(tags: $tags) {
|
|
25
|
+
query BlogPosts($tags: [String], $limit: Int, $offset: Int) {
|
|
26
|
+
blogPosts(tags: $tags, limit: $limit, offset: $offset) {
|
|
27
27
|
...BlogPostFields
|
|
28
28
|
relatedBlogPosts {
|
|
29
29
|
...BlogPostFields
|