You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/schema.graphqls
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,19 @@ type Query {
21
21
sort: [String] @doc(description: "Specifies which attribute to sort on, and whether to return the results in ascending or descending order.")
22
22
sortFiled: String = "publish_time"@doc(description: "Specifies what field to sort posts by. The default value is publish_time.")
23
23
allPosts: Boolean@doc(description: "If true get all posts.")
24
+
storeId: Int = 0 @doc(description: "Specifies the store view ID to filter the results. The default value is 0, meaning no specific store filter applied.")
24
25
): blogPostsOutput@resolver(class: "\\Magefan\\BlogGraphQl\\Model\\Resolver\\Posts") @doc(description: "The posts query searches for posts that match the criteria specified in the search and filter attributes")
25
26
blogComments(
26
27
filter: BlogCommentsFilterInput@doc(description: "Identifies which comment attributes to search for and return."),
27
28
pageSize: Int = 5 @doc(description: "Specifies the maximum number of results to return at once. This attribute is optional."),
28
29
currentPage: Int = 1 @doc(description: "Specifies which page of results to return. The default value is 1."),
29
30
):blogCommentsOutput @resolver(class: "\\Magefan\\BlogGraphQl\\Model\\Resolver\\Comments") @doc(description: "The comments query searches for posts that match the criteria specified in the search and filter attributes")
storeId: Int = 0 @doc(description: "Specifies the store view ID to filter the results. The default value is 0, meaning no specific store filter applied.")
storeId: Int = 0 @doc(description: "Specifies the store view ID to filter the results. The default value is 0, meaning no specific store filter applied.")
0 commit comments