octokit / Graphql Schema
Licence: mit
GitHub’s GraphQL Schema with validation. Automatically updated.
Stars: ✭ 113
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Graphql Schema
Jspdf Autotable
jsPDF plugin for generating PDF tables with javascript
Stars: ✭ 1,649 (+1359.29%)
Mutual labels: hacktoberfest
U Root
A fully Go userland with Linux bootloaders! u-root can create a one-binary root file system (initramfs) containing a busybox-like set of tools written in Go.
Stars: ✭ 1,816 (+1507.08%)
Mutual labels: hacktoberfest
Tinseltown.js
A lightweight CSS/JS library for faux hacker-movie-style page loading effects
Stars: ✭ 113 (+0%)
Mutual labels: hacktoberfest
Invoke Zerologon
Invoke-ZeroLogon allows attackers to impersonate any computer, including the domain controller itself, and execute remote procedure calls on their behalf.
Stars: ✭ 100 (-11.5%)
Mutual labels: hacktoberfest
Dolly
🤖🐑 It's a sheep, it's a dolly, it's a following robot. Dolly was born to be cloned.
Stars: ✭ 113 (+0%)
Mutual labels: hacktoberfest
Daal4py
sources for daal4py - a convenient Python API to oneDAL
Stars: ✭ 113 (+0%)
Mutual labels: hacktoberfest
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (+0%)
Mutual labels: hacktoberfest
Competitive Programming
Hello Programmers 💻 , A one-stop Destination✏️✏️ for all your Competitive Programming Resources.📗📕 Refer CONTRIBUTING.md for contributions
Stars: ✭ 113 (+0%)
Mutual labels: hacktoberfest
Grunt Contrib Uglify
Minify files with UglifyJS.
Stars: ✭ 1,477 (+1207.08%)
Mutual labels: hacktoberfest
Madelineproto
Async PHP client/server API for the telegram MTProto protocol
Stars: ✭ 1,776 (+1471.68%)
Mutual labels: hacktoberfest
Tikzcd Editor
A simple visual editor for creating commutative diagrams.
Stars: ✭ 1,627 (+1339.82%)
Mutual labels: hacktoberfest
Collector Intellij
A PhpStorm plugin for refactoring to collections
Stars: ✭ 114 (+0.88%)
Mutual labels: hacktoberfest
Gitreflow
Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template.
Stars: ✭ 1,488 (+1216.81%)
Mutual labels: hacktoberfest
Graphql Live Query
Realtime GraphQL Live Queries with JavaScript
Stars: ✭ 112 (-0.88%)
Mutual labels: hacktoberfest
graphql-schema
GitHub’s GraphQL Schema with validation. Automatically updated.
Usage
Validation
const { validate } = require("@octokit/graphql-schema");
const errors = validate(`
{
viewer {
login
}
}
`);
// errors is array. Contains errors if any
You can also load the current Schema directly as JSON or IDL.
const { schema } = require("@octokit/graphql-schema");
schema.json; // JSON version
schema.idl; // IDL version
Schema as Types
import { graphql } from "@octokit/graphql";
import { Repository } from "@octokit/graphql-schema";
const { repository } = await graphql<{ repository: Repository }>(
`
{
repository(owner: "octokit", name: "graphql.js") {
issues(last: 3) {
edges {
node {
title
}
}
}
}
}
`,
{
headers: {
authorization: `token secret123`,
},
}
);
Local setup
git clone https://github.com/octokit/graphql-schema.git
cd graphql-schema
npm install
npm test
Update schema files (GITHUB_TOKEN
requires no scope)
GITHUB_TOKEN=... npm run update
See also
-
octokit/openapi – GitHub's OpenAPI specification with
x-octokit
extension - octokit/webhooks – GitHub Webhooks specifications
- octokit/app-permissions – GitHub App permission specifications
LICENSE
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].