From 50068653801991e67487f1b555b83f9232a3bd48 Mon Sep 17 00:00:00 2001 From: pennae Date: Sat, 28 May 2022 15:14:52 +0200 Subject: initial commit --- src/issues.graphql | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/issues.graphql (limited to 'src/issues.graphql') diff --git a/src/issues.graphql b/src/issues.graphql new file mode 100644 index 0000000..93a4dc0 --- /dev/null +++ b/src/issues.graphql @@ -0,0 +1,26 @@ +query IssuesQuery($owner: String!, $name: String!, $label: String!, $after: String, $since: DateTime, $batch: Int!) { + rateLimit { + limit + cost + remaining + resetAt + } + repository(owner: $owner, name: $name) { + issues(first: $batch, after: $after, filterBy: { labels: [ $label ], since: $since }) { + pageInfo { + endCursor + hasNextPage + } + edges { + node { + id + bodyHTML + closed + title + updatedAt + url + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3