text stringlengths 50 4.63M | max_stars_count float64 1 57.6k ⌀ | max_stars_repo_name stringlengths 5 85 |
|---|---|---|
`file_name: example/schema.graphql`
####
type ApiResponse {
code: Int
type: String
message: String
}
type Category {
id: String
name: String
}
input CategoryInput {
id: String
name: String
}
scalar JSON
type Mutation {
updatePetWithForm(petId: String!, name: String, status: String): JSON!
deletePe... | 11 | 738/graphql-from-swagger |
`file_name: pkg/api/schema.graphql`
####
type HttpRequestLog {
id: ID!
url: String!
method: HttpMethod!
proto: String!
headers: [HttpHeader!]!
body: String
timestamp: Time!
response: HttpResponseLog
}
type HttpResponseLog {
requestId: ID!
proto: String!
statusCode: Int!
statusReason: String!
... | 1 | 7khat/hetty |
`file_name: src/schema.graphql`
####
# -----------------------------------------------
# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
# -----------------------------------------------
type Query {
todos: [Todo!]!
}
type Todo {
id: ID!
title: String!
descrip... | null | 7nohe/nestjs-graphql-example |
`file_name: schema.graphql`
####
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
}
interface ContentfulEntry {
children: [Node!]!
contentful_id: String!
id: ID!
internal: Internal!
node_locale: String!
parent: Node
}
interface ContentfulRef... | 1 | 7sferry/gatsbyan |
`file_name: SwiftHub/Networking/GraphQL/Queries/Repository.graphql`
####
query Repository($owner: String!, $name: String!, $qualifiedName: String!) {
repository(owner: $owner, name: $name) {
name
nameWithOwner
description
url
homepageUrl
createdAt
updatedAt
... | 1 | 814349837/SwiftHub |
`file_name: spring-graphql/src/test/resources/graphql-documents/greeting.graphql`
####
{ greeting } | null | 86dh/spring-graphql |
`file_name: server/schema.graphql`
####
type Query {
company(id:ID!):Company
job(id:ID!): Job
jobs: [Job]
}
type Company {
id: ID!
name: String
description: String
jobs:[Job]
}
type Job {
id: ID!
title: String
company: Company
description: String
}
| null | 8840talha/React-express-GraphQl-Fetch-FullStack-App |
`file_name: src/utils/schema.graphql`
####
schema {
query: RootQueryType
mutation: MutationRoot
}
"""food item"""
type food {
"""Resturent Object Id"""
_id: ID
"""The id of the food item."""
itemId: String
"""The name of the food."""
foodName: String
"""The type of food. """
foodType: String
}
... | null | 8972059948/graphql-server-maverick |
`file_name: src/utils/schema.graphql`
####
schema {
query: RootQueryType
mutation: MutationRoot
}
"""food item"""
type food {
"""Resturent Object Id"""
_id: ID
"""The id of the food item."""
itemId: String
"""The name of the food."""
foodName: String
"""The type of food. """
foodType: String
... | null | 8972059948/mongra |
`file_name: src/utils/schema.graphql`
####
schema {
query: RootQueryType
mutation: MutationRoot
}
"""food item"""
type food {
"""The id of the food item."""
itemId: Int
"""The name of the food."""
foodName: String
"""The type of food. """
foodType: String
}
"""food item"""
input foodinputitem {
""... | null | 8972059948/testserver |
`file_name: front/src/gql/schema.graphql`
####
type Article {
id: Int!
name: String!
createdAt: String!
teaser: String!
tags: [String]!
}
type Query {
articles: [Article]!
}
| null | 8area8/plenkton-api |
`file_name: server/src/schema.graphql`
####
extend type Mutation {
propertyShare(id: ID!, email: String!): SuccessResponse
}
| 1 | 8base/uhack |
`file_name: codegen-sbt/src/sbt-test/codegen/gen-view-test-compile/project/schema.graphql`
####
# Schema
schema {
query: Q
}
# Query
type Q {
# nested object type
characters: [Character!]!
# nested object type with argument
character(name: String!): Character
# default arguments for optional a... | null | 8bitreid/caliban |
`file_name: schema.graphql`
####
"""
Autogenerated input type of AcceptEnterpriseAdministratorInvitation
"""
input AcceptEnterpriseAdministratorInvitationInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The id of the invitation being accepted
"""
... | 140 | 8select/graphql-schema |
`file_name: graphql/mutation/recipeAdded.graphql`
####
mutation {
addRecipe(
newRecipeData: {
translations: [{
name: "Lemonade",
description: "Let's take a look at how to make lemonade.",
locale: "en",
ingredients: ["limon","şeker",... | 1 | 90pixel/nest-typeorm-graphql-jest |
`file_name: backend/src/generated/prisma.graphql`
####
# source: https://eu1.prisma.sh/devin-herath-be5be0/react-mart/dev
# timestamp: Mon Apr 20 2020 19:52:36 GMT+0530 (India Standard Time)
type AggregateUser {
count: Int!
}
type BatchPayload {
"""The number of nodes that have been affected by the Batch operatio... | null | 95Revolution/React-Mart |
`file_name: api/graph/article.graphql`
####
input NewArticle {
id: String!
excerpt: String!
}
type Article {
id: String!
uid:ID!
user:User!
title:String!
content: String!
excerpt: String!
tags: [String!]
top:Int!
topTime: Int!
createdAt: Int!
updatedAt: Int!
extra: AtricleExtra!
}
type A... | 1 | 9d77v/pdc |
`file_name: graphql/schema.graphql`
####
type Movie {
id: Int!,
title: String!
rating: Float!
summary: String
language: String!
genres: [String]
description_full: String
medium_cover_image: String
}
type Query {
movies(limit: Int, minimum_rating: Float): [Movie]!
movie(movie_id: Int!): Movie!
sug... | null | 9min/movie-graphql |
`file_name: src/api/Chat/shared/Chat.graphql`
####
type Chat {
id: Int!
messages: [Message]!
participants: [User]!
createAt: String!
updateAt: String
}
####`file_name: src/api/Chat/shared/Message.graphql`
####
type Message {
id: Int!
text: String!
chat: Chat!
user: User!
createAt: String!
update... | null | 9min/uber-server |
`file_name: src/reply/reply.graphql`
####
type Reply {
id: ID
body: String!
created: String!
author: User
#tweet: Tweet!
}
type Query {
reply(id: ID!): Reply
}
type Mutation {
createReply(tweet: ID!, body: String!): Reply
deleteReply(id: ID!): Reply
}
####`file_name: src/tweet/tweet.graphql`
####
ty... | null | A7med-khaled/tweets |
`file_name: graphql/schema.graphql`
####
"A date string with format `Y-m-d`, e.g. `2011-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date")
"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`."
scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\S... | null | AAIING/graph_laravel |
`file_name: lib/graphql/schema.graphql`
####
# source: http://localhost:3060/graphql
# timestamp: Wed Jul 01 2020 11:45:49 GMT+0200 (Central European Summer Time)
"""
Application model
"""
type Application {
id: Int
type: ApplicationType
name: String
description: String
apiKey: String
clientId: String
cl... | 1 | AARYAN-MAHENDRA/opencollective-frontend |
`file_name: src/modules/expediente/documento/documento.graphql`
####
scalar Date
type Documento {
iddocumento: ID
correlativo: Int
codigo: String
idtipdoc: Int
asunto: String
observacion: String
sumilla: String
folios: Int
fecha: Date
idcategoriadocumento: Int
externo: Boolean
}
type Query {
d... | null | AArancibia/backend-tdie |
`file_name: src/specs/test.graphql`
####
type Hello {
message: String
}
type Query {
Hellos(limit: Int): [Hello]
}
type Mutation {
createHello (
message: String
): Hello
} | null | ABB-RARO/VisualQL |
`file_name: src/app/routes/product/schema.graphql`
####
union Product = Bicycle | Racket
type Bicycle {
id: ID!
brand: String!
wheels: Int!
}
type Racket {
id: ID!
brand: String!
sportType: SportType!
}
enum SportType {
TENNIS
SQUASH
}
type Query {
# ### GET products
#
# _A... | null | ABeastofPrey/AmazingNode |
`file_name: backend/go/schema.graphql`
####
schema {
query: Query
mutation: Mutation
subscription: Subscription
}
type Query {
webhook(id: ID!): Webhook
webhooks(
sortBy: WebhookSortingInput
filter: WebhookFilterInput
before: String
after: String
first: Int
last: Int
): WebhookCount... | 5 | ACenterA/acentera-aws-serverless-cms-todo |
`file_name: src/schema.graphql`
####
scalar DateTime
type Query {
getAllTasks: [Task]!
getTask(id: ID): Task!
}
type Mutation {
createNewTask(newTaskParams: TaskCreateInput!): Task!
finalizeTask(finalizeTaskParams: TaskFinalizeInput!): Task!
signup(signupParams: UserInput!): AuthPayload!
signin(signInParam... | 2 | AD-em/advanced-pomdoro-server |
`file_name: amplify/backend/api/amealaplan/schema.graphql`
####
enum MealType {
BREAKFAST
LUNCH
DINNER
SNACKS
DESSERTS
MISC
}
type Meal @model @key(name: "byMealPlan", fields: ["mealplanID"]) @auth(rules: [{allow: owner, operations: [read, create, update, delete]}, {allow: private, operations: [read]}]) {
... | null | ADFav/a-meal-a-plan |
`file_name: lib/graphql/find_organization_with_apps.graphql`
####
query FindOrg($id: ID!) {
organizations(id: $id, first: 1) {
nodes {
id
businessName
website
apps(first: 500) {
nodes {
id
title
apiKey
apiSecretKeys {
secret
... | null | ADTC/shopify-cli |
`file_name: server/src/schema.graphql`
####
type Query {
characters: [Character]
character(name: String!): Character
houses: [House]
}
type Character {
id: ID!
male: Boolean
house: String
slug: String
name: String
books: [String]
titles: [String]
}
type Mutation {
"""
Create a new house
"""
... | null | AE2s/GraphQL |
`file_name: schema.graphql`
####
type Receipt @entity {
id: ID!
amount: BigDecimal!
sender: Account!
endTime: BigInt!
inviteCode: Invitor!
}
type Account @entity {
id: ID!
amount: BigDecimal!
receipts: [Receipt!]! @derivedFrom(field: "sender")
inviteCodes: [InvitorAccountSnap!] @derivedFrom(field:"se... | null | AElfProject/aelf-map-subgraph |
`file_name: schema.graphql`
####
type StarterEntity @entity {
id: ID! #id is a required field
blockHeight: Int!
}
| null | AGE00/HelloWorld |
`file_name: schema.graphql`
####
type Account @entity {
id: ID! #id is a required field
account: String #This is a Polkadot address
balance: BigInt #This is the amount of DOT
} | null | AGE00/Module2 |
`file_name: app/src/main/graphql/com/amazonaws/amplify/generated/graphql/mutations.graphql`
####
# this is an auto generated file. This will be overwritten
mutation CreateDiagnosisTable($input: CreateDiagnosisTableInput!) {
createDiagnosisTable(input: $input) {
id
created_at
disease_under_observation
... | 1 | AI-COVID-19/carlosalbertomurillo-gmail.com |
`file_name: app/src/main/graphql/com/amazonaws/amplify/generated/graphql/mutations.graphql`
####
# this is an auto generated file. This will be overwritten
mutation CreateCheck($input: CreateCheckInput!) {
createCheck(input: $input) {
checkTimestamp
identityId
howYouFeel
generalDiscomfort
itchyOrS... | null | AID-COVID-19/vive-android |
`file_name: src/graphql/schema.graphql`
####
type GRVSCThemeTokenData {
themeIdentifier: String!
className: String!
meta: Int!
color: String!
bold: Boolean!
italic: Boolean!
underline: Boolean!
}
type GRVSCToken {
text: String!
startIndex: Int!
endIndex: Int!
scopes: [String!]!
html: String!
c... | null | AJLiu/gatsby-remark-vscode |
`file_name: backend/service/schema.graphql`
####
type Message @aws_api_key @aws_oidc {
id: ID!
value: String!
createdBy: String!
createdAt: String!
}
type MessageKeyValue @aws_api_key @aws_oidc {
id: ID!
key: String!
value: String!
message: Message
}
type MessageCollection @aws_api_key @aws_oidc {
items: [Me... | null | AKIRA-MIYAKE/aws-serverless-sample |
`file_name: shared/src/commonMain/graphql/launchesPast.graphql`
####
query LaunchesPast {
launchesPast(limit: 10) {
mission_name
rocket {
rocket_name
}
}
} | null | AKJAW/apollo-kotlin-native-issue |
`file_name: components/restreamer/client/api/client.graphql`
####
subscription Info {
info {
publicHost
title
deleteConfirmation
enableConfirmation
passwordHash
passwordOutputHash
}
}
subscription State {
allRestreams {
id
key
label
... | 22 | ALLATRA-IT/ephyr |
`file_name: src/server/services/graphql/schema.graphql`
####
type User {
id: Int
avatar: String
username: String
}
type Post {
id: Int
text: String
user: User
}
type Message {
id: Int
text: String
chat: Chat
user: User
}
type Chat {
id: Int
messages: [Message]
lastMessage: Message
users: ... | null | ALexander4295502/graphbook |
`file_name: client-schema.graphql`
####
directive @client on FIELD
| 1 | ALexanderMarginal/graphql-react-fullstack |
`file_name: KotlinMMP/iosApp/amplify/backend/api/gcmobiletest/schema.graphql`
####
type Mood @model @auth(rules: [{allow: public}]) {
id: ID!
text: String
}
| 1 | AND-Digital-Jemison/Jemison_KotlinMMP |
`file_name: schema.faker.graphql`
####
type Query {
allAppartaments: [Appartament!]!
}
type Appartament {
title: String!
# Human-readable appartament address
address: String! @examples(values:["Brunnenstraße 141a, 10115 Berlin, Germany"])
rooms: Int!
hasWifi: Boolean!
owner: String! @fake(type:fullName)
... | 4 | APIs-guru/graphql-join |
`file_name: Tools/GraphQL/GraphQL-Schema/ProfileSummary.graphql`
####
query ProfileSummary($username: String!) {
user(login: $username) {
avatarUrl
name
login
email
followers {
totalCount
}
following {
totalCount
}
pinnedItems(first: 3) {
nodes {
... on Re... | 1 | APesate/GraphQL-GitHub-Reader |
`file_name: backend/lib/schema.graphql`
####
type Usuario{
id: String
Nombre: String
Usuario: String
Password: String
Perfil: String
}
type Query{
getUsers:[Usuario]
getUser(id: ID): Usuario
}
input UserInput{
id: String
Nombre: String
Usuario: String
Password: String
Pe... | null | AReygadas/UTtools |
`file_name: backend/graphql/schema.graphql`
####
type Query {
listBankAccount: [BankAccount!]
}
type Mutation {
createBankAccount(
bankName: String!,
accountNumber: String!,
routingNumber: String!
): BankAccount
deleteBankAccount(
id: ID!
): Boolean
}
type BankAccount {
id: ID!
uuid: Str... | 3,227 | ASADZAMAN2012/codecoverage |
`file_name: app/gql/queries/vp.graphql`
####
query vp($plan: ID!, $date: ISODate!, $key: String!) {
substitutions(where: { date: $date, plan: { id: $plan } }) {
id
date
class
teacher
replacement
note
room
period
subject
}
note(where: { key: $key }) {
id
ke... | null | ASAMedia/Ghost-Admin |
`file_name: src/schema.graphql`
####
scalar Upload
scalar Date
type Message {
message: String!
}
type AuthData {
token: String!
_id: String!
expiresIn: Int!
}
type Society {
_id: ID!
name: String!
email: String!
imageUrl: String!
address: String!
phoneNumber: String!
regNo: String!
approved: ... | null | ASMohamedFaheemAnver/SocietyManagementSystem.YogaBackend |
`file_name: example/graphql/example.graphql`
####
query {
echo(message: "Hello World")
host(name: "app0") {
name
fqdn
privateIp
publicIp
description
localHostGroups {
name
}
hostGroups {
name
description
... | 1 | ASobakin/infra |
`file_name: src/comments/comments.graphql`
####
type Query{
getCommentsOfPost(postId: String): [Comment]
}
type Comment{
id: Int
postId: String
text: String
}
####`file_name: src/posts/posts.graphql`
####
type Query {
getPosts: [Post]
}
type Mutation {
addPost(addPostInput: AddPostInput!): Po... | null | ATheCoder/lernito-code-challenge-backend |
`file_name: scripts/jest/testschema.graphql`
####
type Root {
checkinSearchQuery(query: CheckinSearchInput): CheckinSearchResult
defaultSettings: Settings,
settings(environment: Environment): Settings
me: User
story: Story
node(id: ID): Node
nodes(ids: [ID!]): [Node]
username(name: String!): Actor
use... | 3 | AYCHCOM/Relay |
`file_name: test/fixtures/sample-project/circular-src/graphql/ShopFragment.graphql`
####
fragment ShopFragment on Shop {
...ShopFragmentTwo
}
####`file_name: test/fixtures/sample-project/circular-src/graphql/ShopFragmentTwo.graphql`
####
fragment ShopFragmentTwo on Shop {
...ShopFragment
}
####`file_name: test/... | 3 | AYCHCOM/RollupLUGINgraphqlJSclientCompiler |
`file_name: server/schema.graphql`
####
type Query {
messages: [Message]
}
type Mutation {
addMessage(input: MessageInput!): Message
}
type Subscription {
messageAdded: Message
}
type Message {
id: ID!
from: String
text: String
}
input MessageInput {
text: String
}
| null | AadityaSharma/graphql-chat |
`file_name: server/schema.graphql`
####
type Query {
job(id: ID!): Job
company(id: ID!): Company
jobs: [Job]
}
type Mutation {
createJob(input: CreateJobInput): Job
}
type Company {
id: ID!
name: String
description: String
jobs: [Job]
}
type Job {
id: ID!
title: String
company: Company
description: Strin... | null | AadityaSharma/graphql-job-board |
`file_name: saleor/graphql/schema.graphql`
####
schema {
query: Query
mutation: Mutations
}
type Address implements Node {
id: ID!
firstName: String!
lastName: String!
companyName: String!
streetAddress1: String!
streetAddress2: String!
city: String!
cityArea: String!
postalCode: String!
countr... | 1 | Aagat/book-webapp |
`file_name: amplify/backend/api/uofttextract/schema.graphql`
####
type Status @model
@auth(rules: [
{ allow: private, provider: iam },
{ allow: private, provider: userPools },
{ allow: owner }
]) {
id: ID!
status: String
errorMessage: String
expirationTime: Int!
}
| null | AamirL1011/tabular-formatted-document-parser |
`file_name: prisma/prisma-datamodel.graphql`
####
type Program {
id: ID! @id
name: String! @unique
Cctoken: String
createdAt: DateTime! @createdAt
updatedAt: DateTime! @updatedAt
products: [Product!]!
statuses: [Status!]
}
type Product {
id: ID! @id
name: String!
program: Program!
createdAt: DateT... | null | AaronShawnSoler/mission-control-be |
`file_name: packages/amplify-codegen-e2e-tests/schemas/modelgen/model_gen_schema_with_aws_scalars.graphql`
####
#Enum
enum Status {
public
private
}
# Model with enum
type Attration @model {
id: ID!
name: String!
status: Status!
tags: [String]
lastUpdate: AWSDate!
}
# AWS Scalars
type User @model {
nam... | null | AaronZyLee/amplify-codegen |
`file_name: packages/subgraph/src/v0-analytics/schema.graphql`
####
type AssetBalance @entity {
id: ID!
amount: BigInt!
router: Router!
assetId: Bytes!
supplied: BigInt!
removed: BigInt!
locked: BigInt!
volume: BigInt!
volumeIn: BigInt!
}
# Router represents a router and its associated liquidity
type... | 1 | Abadiq313/nxtp |
`file_name: data/graphql/ghae/schema.docs-ghae.graphql`
####
"""
Marks an element of a GraphQL schema as only available via a preview header
"""
directive @preview(
"""
The identifier of the API preview that toggles this field.
"""
toggledBy: String!
) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION... | 4 | Abcd1324/docs |
`file_name: components/console-backend-service/internal/gqlschema/schema.graphql`
####
# Scalars
scalar JSON
scalar Labels
scalar Timestamp
scalar Settings
scalar ApplicationMappingService
# Directives
directive @HasAccess(attributes: ResourceAttributes!) on FIELD_DEFINITION
input ResourceAttributes {
verb:... | null | Abd4llA/kyma |
`file_name: graphql/schema.graphql`
####
type User {
id: ID!
name: String!
email: String!
articles: [Article!]! @hasMany
}
type UserPaginator {
paginatorInfo: PaginatorInfo!
data: [User!]!
}
type Article {
id: ID!
title: String!
content: String!
author: User! @belongsTo(relatio... | null | AbdElrahmaN31/laravel-graphql |
`file_name: graphql/schema.graphql`
####
"A date string with format `Y-m-d`, e.g. `2011-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date")
"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`."
scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\S... | null | AbdallahTarabish/Graphql-learn |
`file_name: src/graphQL/schema.graphql`
####
scalar Upload
type User {
_id:ID!
name:String
email:String!
password:String!
image:String!
tweets:[Tweet]!
followings:[User!]!
followers:[User!]!
followingsCount:Int!
followersCount:Int!
tweetsCount:Int!
createdAt:String!
updatedAt:String!
}
type Tweet{
_id:ID!
text:String!
... | null | AbdelrahmanKhalaf/main-twitter |
`file_name: graphql/schema.graphql`
####
"A date string with format `Y-m-d`, e.g. `2011-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date")
"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`."
scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\S... | null | AbdullaHossamDev/News-Viewer-server |
`file_name: graphql/schema.graphql`
####
"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-01-01 13:00:00`."
scalar DateTime
@scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\DateTime")
"A date string with format `Y-m-d`, e.g. `2011-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\... | null | Abdullah9/Mirsal-web |
`file_name: graphql/auth.graphql`
####
input LoginInput {
username: String! @rules(apply: ["required","email"])
password: String! @rules(apply: ["required"])
}
input RefreshTokenInput {
refresh_token: String
}
type AuthPayload {
access_token: String!
refresh_token: String!
expires_in: Int!
... | null | AbdullahMuhammed5/mazaadk |
`file_name: bot/gql/query_badges.graphql`
####
query Badges($login: String!, $channelLogin: String!) {
user(login: $login) {
displayBadges(channelLogin: $channelLogin) {
id
imageURL
version
title
clickURL
onClickAction
description
}
}
}
####`file_name: bot/gql/twit... | 87 | Abendstolz/OxidizeBot |
`file_name: datahub-graphql-core/src/main/resources/entity.graphql`
####
# Extending the GQL type system to include Long type used for dates
scalar Long
"""
Root GraphQL API Schema
"""
schema {
query: Query
mutation: Mutation
}
"""
Root type used for fetching DataHub Metadata
Coming soon listEntity queries fo... | null | Abhiram98/datahub |
`file_name: app/graphql/common/schema.graphql`
####
# Query Root
type Query {
# Version of query API
version: String!
# Hello
hello: String!
}
# Mutation Root
type Mutation {
# Version of mutation API
version: String!
}
####`file_name: app/graphql/config/schema.graphql`
####
type Config {
key: Strin... | null | Abreto/yakult-weibo |
`file_name: supergraph.graphql`
####
schema
@core(feature: "https://specs.apollo.dev/core/v0.1")
@core(feature: "https://specs.apollo.dev/join/v0.1") {
query: Query
mutation: Mutation
}
directive @core(feature: String!) repeatable on SCHEMA
directive @join__field(
graph: join__Graph
requires: join__FieldSet... | null | AbudhahirH/apollo-server-federation |
`file_name: schema.graphql`
####
type Course {
title: String!
number: String!
credits: String!
offered: String!
contents: String!
driveFiles: [String!]!
id: ID!
dept: String!
author: String!
}
input NewCourse {
title: String!
number: String!
credits: String!
offered: String!
contents: Strin... | null | Academics-and-Career-Council/Courses-Repository-Backend |
`file_name: evm-subql/schema.graphql`
####
type Log @entity {
id: ID!
blockNumber: BigInt!
blockHash: String!
transactionIndex: BigInt!
removed: Boolean!
address: String!
data: String
topics: [String]!
transactionHash: String!
logIndex: BigInt!
receipt: TransactionReceipt
}
type TransactionReceip... | 17 | AcalaNetwork/bodhi.js |
`file_name: src/graphql/fragments/datePicker.graphql`
####
fragment datePicker on ComponentBasicsDatepicker {
year
month
day
}
####`file_name: src/graphql/fragments/pricePicker.graphql`
####
fragment pricePicker on ComponentBasicsPrice {
amount
currency {
data {
attributes {
symb... | 1 | Accords-Library/Accords-library.com |
`file_name: src/graphql/operations/getContentText.graphql`
####
query getContentText($slug: String, $language_code: String) {
contents(filters: { slug: { eq: $slug } }) {
data {
id
attributes {
slug
categories {
data {
id
attributes {
... | 1 | Accords-Library/accords-library.com |
`file_name: subgraphs/lockup/lockup.graphql`
####
# Lockup
type Lockup @entity {
# ID
id: ID!
# Pools
pools: [Pool!]! @derivedFrom(field: "lockup")
# Total Alloc
totalAllocPoint: BigInt!
# Pool Length
poolLength: BigInt!
}
# Pools
type Pool @entity {
# ID
id: ID!
# Lockup
lockup: Lockup
... | null | Ace-Swap/aceswap-subgraph |
`file_name: schema.graphql`
####
interface ChannelTransaction {
id: ID!
timestamp: Int!
}
type Channel implements ChannelTransaction @entity {
""" channel id """
id: ID!
creator: Bytes!
""" channel id """
channelId: Bytes!
tokenAddr: Bytes!
tokenAmount: BigInt!
validUntil: BigInt!
validators: [B... | null | AdExNetwork/subgraph-v2 |
`file_name: conf/graphql/explore/audit/AuditRecordRow.create.graphql`
####
# Generated File
# Creates a new AuditRecordRow entity
mutation AuditRecordRowCreate {
auditRecordRow {
create(fields: [{k: "", v: ""}]) {
id
auditId
t
pk
changes
}
}
}
####`file_name: conf/graphql/exp... | null | AdMoR/social-partner-website |
`file_name: sandbox/conf/graphql/explore/b/BottomRow.create.graphql`
####
# Generated File
# Creates a new BottomRow entity
mutation BottomRowCreate {
bottomRow {
create(fields: [{k: "", v: ""}]) {
id
topId
t
dt
}
}
}
####`file_name: sandbox/conf/graphql/explore/b/BottomRow.graphql... | 24 | AdamAndersonMakeIT/projectile |
`file_name: subgraphs/prediction.graphql`
####
enum Position {
Bull
Bear
House
}
type Market @entity {
id: ID!
epoch: Round
paused: Boolean!
}
type Round @entity {
id: ID!
epoch: BigInt!
position: Position
failed: Boolean
previous: Round
# Start
startAt: BigInt!... | 1 | AdamCader00/pancake-subgraph |
`file_name: src/__fixtures__/schema-kitchen-sink.graphql`
####
schema {
query: QueryType
mutation: MutationType
}
"""
This is a description
of the `Foo` type.
"""
type Foo implements Bar & Baz & Two {
"Description of the `one` field."
one: Type
"""
This is a description of the `two` field.
"""
two(
... | null | AdamHerrmann/graphql-js |
`file_name: backend/src/generated/prisma.graphql`
####
# source: https://us1.prisma.sh/adam-mescher/sick-fits/dev
# timestamp: Fri Feb 15 2019 16:44:47 GMT-0700 (GMT-07:00)
type AggregateItem {
count: Int!
}
type AggregateUser {
count: Int!
}
type BatchPayload {
"""The number of nodes that have been affected b... | null | AdamMescher/sick-fits |
`file_name: schema.graphql`
####
schema {
query: Query
mutation: Mutation
}
type AccountAddressCreate {
errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AccountAddressDelete {
errors: [Error!]! @deprecated(reas... | null | AdamQuadmon/saleor-dashboard |
`file_name: schema.graphql`
####
schema {
query: Query
mutation: Mutation
}
type AccountAddressCreate {
user: User
accountErrors: [AccountError!]! @deprecated(reason: "Use errors field instead. This field will be removed in Saleor 4.0.")
errors: [AccountError!]!
address: Address
}
type AccountAddressDelet... | null | Adarshreddyash/saleor-dashboard |
`file_name: prisma/datamodel.graphql`
####
type Person {
id: ID! @id
gcId: Int @unique
name: String!
projects: [Project!]! @relation(name: "PeopleDoingProjects")
}
type Project {
id: ID! @id
name: String! @unique
description: String!
lead: [Person!]! @relation(name: "LeadsOnProject")
tags: [Tag!]! @r... | null | Addyvan/mapping-digital-government |
`file_name: schema.graphql`
####
schema {
query: Query
mutation: Mutation
}
type AccountAddressCreate {
errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AccountAddress... | null | Adeee11/saleor-dashboard |
`file_name: backend/api/src/graphql/users/users.types.graphql`
####
type User {
_id: String!
id: String!
geoLocation: GeoLocation!
apartment: String!
firstName: String
lastName: String
email: String
phone: String
devicesIds: [String!]!
# Resolved
devices: [Device!]!
# URL of the image
image: String
ful... | 2 | AdemHodzic/ever |
`file_name: client/graphql/fragments/FilmRes.graphql`
####
fragment FilmRes on Films {
id
title
playTime
creatorUID
createdAt
updatedAt
}
####`file_name: client/graphql/fragments/UserRes.graphql`
####
fragment UserRes on User {
id
username
createdAt
updatedAt
}
####`file_name: client/graphql/mut... | null | AdhamAH/Film-and-actors-list |
`file_name: packages/db/src/schema.graphql`
####
scalar Address
scalar NetworkId
scalar TransactionHash
scalar Value
scalar Bytes
scalar Object
scalar ByteOffset
scalar FileIndex
type Project {
directory: String!
contract(name: String!): Contract
network(name: String!): Network
resolve(type: String, name: Stri... | 1 | Adhara-Tech/truffle |
`file_name: graphql-server/src/schema.graphql`
####
type User {
id: ID!
name: String!
email: String!
age: Int
}
type Query{
users: [User!]!
user(id: ID!): User
}
type Mutation {
createUser(id: ID!, name: String!, email: String!, age: Int): User!
updateUser(id: ID!, name: String!, emai... | 1 | AdithyaBhat17/graphql-examples |
`file_name: server/schema.graphql`
####
type Query {
job(id: ID!): Job
jobs: [Job]
company(id: ID!): Company
}
type Mutation {
createJob (input: CreateJobInput): Job
}
type Company {
id: ID!
name: String
description: String
jobs: [Job]
}
type Job {
id: ID!
title: String
co... | 1 | AdithyaBhat17/graphql-job-board |
`file_name: internal/graphql/schema/schema.graphql`
####
# We assume a few things about the schema. We use the graphql-ruby gem to generate docs, which enforces:
# - All mutations have a single input field named 'input'
# If these things change, then doc geneartion for GraphQL will break.
# ================= COMMO... | 1 | AdityaTeltia/meshery |
`file_name: client/src/pages/Accounts/accounts.graphql`
####
query GetAccounts {
accounts {
amount
id
title
}
}
mutation CreateAccount($input: CreateAccountInput!) {
createAccount(input: $input) {
amount
id
title
}
}
mutation DeleteAccount($id: Int!) {
... | null | Admin-149/cashnotik |
`file_name: src/services/graphql/schema.graphql`
####
type Query {
"""
Fetches an object that has globally unique ID among all types
"""
node(
"""
The globally unique ID among all types
"""
id: ID!
): Node
recipes(
top: Boolean
recent: Boolean
cusines: Boolean
trending: Boole... | null | Adnan-Hussain22/reactnative-recipe-app |
`file_name: packages/apollo/schema.graphql`
####
schema {
query: QueryRoot
mutation: Mutation
}
"""Marks an element of a GraphQL schema as having restricted access."""
directive @accessRestricted(
"""Explains the reason around this restriction"""
reason: String = null
) on FIELD_DEFINITION | OBJECT
"""
Contex... | 89 | Adnan-kreiker/vsf2-exercise |
`file_name: api-gateway/src/schema/commons.schema.graphql`
####
type AuthPayload {
user: User
errors: [ErrorPayload]
}
type ErrorPayload {
field: String
message: [String]
}
type PageInfo {
startCursor: String!
endCursor: String!
hasNextPage: Boolean!
hasPreviousPage: Boolean!
}
| 69 | AdrianNicolenco/react-grpc |
`file_name: components/provisioner/pkg/gqlschema/schema.graphql`
####
# Configuration of Runtime. We can consider returning kubeconfig as a part of this type.
type RuntimeConfig {
clusterConfig: GardenerConfig
kymaConfig: KymaConfig
kubeconfig: String
}
type GardenerConfig {
name: String
kubernete... | null | AdrianPei/control-plane |
`file_name: sample-graphql/sample-mutations.graphql`
####
# Add a todo item.
mutation {
insert_tododeluge_Todo_one(object: {Todo: "", TodoId: "", Details: "", UserId ""}) {
Id
Stamp
}
}
####`file_name: sample-graphql/sample-queries.graphql`
####
# Get all the stuff query.
query todoMothershipLi... | 1 | Adron/graphql-workflow-stack-go |
`file_name: schema.graphql`
####
enum PoolStatus {
PoolOpen
FundingDeal
DealOpen
}
type PoolCreated @entity {
" the address of the pool "
id: ID!
" represents the pool token name `aePool-${name}` "
name: String!
" represents the pool token symbol `aeP-${symbol}` "
symbol: String!
" the cap on th... | null | AelinXYZ/aelin-subgraph |
`file_name: packages/api/src/schema/schema.graphql`
####
### Queries
type Query {
projects(
orderDirection: OrderingOptions = DESC
filters: [Filters] = null
): [Project!]!
project(id: ID!): Project
runs(
orderDirection: OrderingOptions = DESC
cursor: String = null
filters: [Filters] = null
... | 1 | Aeolun/sorry-cypress |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.