text stringlengths 50 4.63M | max_stars_count float64 1 57.6k ⌀ | max_stars_repo_name stringlengths 5 85 |
|---|---|---|
`file_name: api/src/schema.graphql`
####
type Venue {
name: String!
sessions: [Session] @relation(name: "IN", direction: "IN")
}
type Speaker {
name: String!
works_for: [Company] @relation(name: "WORKS_FOR", direction: "OUT")
presents: [Session] @relation(name: "PRESENTS", direction: "OUT")
}
type Comp... | 3 | 007vasy/NODES2019-GRANDstack |
`file_name: codegen/testserver/issue896.graphql`
####
# This example should build stable output. If the file content starts
# alternating nondeterministically between two outputs, then see
# https://github.com/00security/gqlgen/issues/896.
extend schema {
query: Query
subscription: Subscription
}
type CheckIssue8... | null | 00security/gqlgen |
`file_name: src/domain/article/article.graphql`
####
type ArticleConnection {
"""
edges
"""
edges: [ArticleEdge!]!
"""
pageInfo
"""
pageInfo: PageInfo!
}
type ArticleEdge {
"""
cursor
"""
cursor: String
"""
article node
"""
node: Article!
}
type Article {
"""
ID
"""
id: ID!
"""... | 2 | 0261/nest-graphql-boiler |
`file_name: plugins/github/resources/graphql/fragment/gitRefName.graphql`
####
fragment gitRefName on Ref {
name
}
####`file_name: plugins/github/resources/graphql/fragment/pullRequestReviewThread.graphql`
####
fragment pullRequestReviewThread on PullRequestReviewThread {
...nodeInfo
diffSide
isResolved
... | null | 06needhamt/intellij-community |
`file_name: schema.graphql`
####
"""Exposes a URL that specifies the behaviour of this scalar."""
directive @specifiedBy(
"""The URL that specifies the behaviour of this scalar."""
url: String!
) on SCALAR
scalar AlertMode
scalar Auth
type AuthPayload {
token: String!
user: User!
}
enum AuthType {
email
... | 6 | 0916dhkim/relay-expo-workshop |
`file_name: src/graphql/schema.graphql`
####
# source: https://fakeql.com/graphql/cd6f412dedaffc7f109693768b8b39d6
# timestamp: Sun Sep 01 2019 19:35:14 GMT+0100 (British Summer Time)
directive @external on FIELD_DEFINITION
directive @requires(fields: _FieldSet!) on FIELD_DEFINITION
directive @provides(fields: _Fiel... | null | 0b10/my-blog-react |
`file_name: k8s/router/dev/supergraph.graphql`
####
schema
@core(feature: "https://specs.apollo.dev/core/v0.1"),
@core(feature: "https://specs.apollo.dev/join/v0.1"),
@core(feature: "https://specs.apollo.dev/tag/v0.1")
{
query: Query
}
directive @core(feature: String!) repeatable on SCHEMA
directive @join__fi... | 82 | 0ctanium/supergraph-demo |
`file_name: schema.graphql`
####
type Bet @entity {
id: ID!
player: Player!
playerHasWon: Boolean!
time: BigInt!
}
type Player @entity {
id: ID!
totalPlayedCount: Int
hasWonCount: Int
hasLostCount: Int
bets: [Bet!]!
} | null | 0cv/thegraphdemo |
`file_name: schema.graphql`
####
type Vault @entity {
id: ID!
xTokenAddress: Bytes
assetAddress: Bytes
redeems: [RedeemEntity!]! @derivedFrom(field: "vault")
mints: [MintEntity!]! @derivedFrom(field: "vault")
}
type MintEntity @entity {
id: ID!
vault: Vault!
sender: Bytes!
nftIds: [BigInt!]
}
type R... | null | 0knxwledge/nftx-subgraph |
`file_name: res/schema.graphql`
####
schema {
query: Query
mutation: Mutation
}
type Query {
tags(page: Int = 1, first: Int = 10): [Tag]
posts(page: Int = 1, first: Int = 10): [Post]
categories(page: Int = 1, first: Int = 10): [Category]
tag(id: ID!): Tag
post(id: ID!): Post
category(id:... | null | 0m3gaC0d3/headless-blog |
`file_name: res/graphql/schema.graphql`
####
schema {
query: Query
}
# Basic example of a graphql query.
type Query {
# Greets a person.
greet(name: String!): String
}
| null | 0m3gaC0d3/jwt-secured-api-graphql |
`file_name: SwiftHub/Networking/GraphQL/Queries/User.graphql`
####
query Viewer {
viewer {
id
name
login
avatarUrl
url
websiteUrl
bio
company
email
location
createdAt
updatedAt
viewerCanFollow
viewerIsFol... | 2,724 | 0x0o/SwiftHub |
`file_name: schema.graphql`
####
type User @entity {
id: ID! #User Address
address: Bytes! #User Address
tokens: [TokenUser!]! @derivedFrom(field: "user")
outTransactions: [Transaction]! @derivedFrom(field: "fromAddr")
inTransactions: [Transaction]! @derivedFrom(field: "toAddr")
}
type Token @entit... | 1 | 0x19dG87/paxos-subgraph |
`file_name: schema.graphql`
####
type Metadata @entity {
id: ID!
dataToken: Bytes
createdBy: Bytes
updatedBy: Bytes
flags: Bytes
data: Bytes
} | null | 0x3bfc/metaocean-subgraph |
`file_name: pkg/frontend/delivery/gql/schema/event.graphql`
####
input PublishEventInput {
eventID: Int!
}
enum PublishedStatus {
DRAFT
PUBLISHED
}
type Event {
id: Int!
title: String!
description: String!
publishedStatus: PublishedStatus!
createdAt: Time!
updatedAt: Time!
}
input Get... | 1 | 0x5487/starter |
`file_name: ethereum-bridged-carbon/schema.graphql`
####
type CarbonOffset @entity {
id: ID!
name: String!
tokenAddress: String!
bridge: String!
registry: String!
totalBridged: BigDecimal!
totalRetired: BigDecimal!
currentSupply: BigDecimal!
vintage: String!
projectID: String!
standard: String!
... | null | 0xAurelius/carbon-subgraph |
`file_name: schema.graphql`
####
"""
Graph Network global parameters and contract addresses
"""
type GraphNetwork @entity {
"ID is set to 1"
id: ID!
"Controller address"
controller: Bytes!
"Graph token address"
graphToken: Bytes!
"Epoch manager address"
epochManager: Bytes!
"Epoch Manager implementati... | null | 0xBlockchainx0/graph-network-subgraph |
`file_name: schema.graphql`
####
type ExampleEntity @entity {
id: ID!
count: BigInt!
owner: Bytes! # address
spender: Bytes! # address
}
| null | 0xModene/index-coop-subgraph |
`file_name: schema.graphql`
####
enum ComparitiveSource {
Uniswap
UniswapV2
Kyber
Eth2Dai
}
enum FillSource {
ExchangeProxy
Uniswap
UniswapV2
Sushiswap
LiquidityProvider
}
type Fill @entity {
# tx hash - log index
id: ID!
timestamp: BigInt!
taker: Bytes!
inputTo... | 2 | 0xProject/0x-exchange-proxy-subgraph |
`file_name: schema.graphql`
####
enum SwapMethod {
TransformERC20
UniswapVIP
LiquidityProvider
BatchFill
MultiHopFill
Uniswap3VIP
}
enum NativeOrderType {
RfqOrder
LimitOrder
}
type Transaction @entity {
# tx hash
id: ID!
blockNumber: BigInt!
timestamp: BigInt!
fill... | 1 | 0xProject/ep-subgraph |
`file_name: schema.graphql`
####
type Volume @entity {
id: ID!
poolId: Int
volume: BigInt
timestamp: BigInt
}
type Liquidity @entity {
id: ID!
poolId: Int
liquidity: BigInt
timestamp: BigInt
}
type BSTTransferLog @entity {
id: ID!
sender: Bytes
recipient: Bytes
amount: BigInt
}
type XXMoonTra... | null | 0xa8c81519/my-subgraph |
`file_name: subgraphs/uniswap-forks/schema.graphql`
####
# Subgraph Schema: DEX AMM
# Version: 1.2.1
# See https://github.com/messari/subgraphs/blob/master/docs/Schema.md for details
enum Network {
ARBITRUM_ONE
AURORA
AVALANCHE
BSC # aka BNB Chain
CELO
MAINNET # Ethereum Mainnet
FANTOM
FUSE
MOONBEAM
... | 8 | 0xbe1/subgraphs |
`file_name: saleor/graphql/schema.graphql`
####
schema {
query: Query
mutation: Mutations
}
type AccountAddressCreate {
errors: [Error!]
user: User
accountErrors: [AccountError!]
address: Address
}
type AccountAddressDelete {
errors: [Error!]
user: User
accountErrors: [AccountError!]
address: Addr... | null | 0xfab-ri/saleor |
`file_name: packages/amplication-server/src/schema.graphql`
####
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
type Account {
id: String!
createdAt: DateTime!
updatedAt: DateTime!
email: ... | 1 | 0xflotus/amplication |
`file_name: packages/core/src/graphql/warehouses/warehouses.types.graphql`
####
type Warehouse {
_id: String!
id: String!
_createdAt: Date!
# Is Warehouse working now
isActive: Boolean!
# Is Payment enabled
isPaymentEnabled: Boolean
# Warehouse current location
geoLocation: GeoLocation!
# Products availab... | 1 | 0xflotus/ever |
`file_name: generators/app/templates/12-graphql-apollo/src/modules/cats/cats.types.graphql`
####
type Query {
getCats: [Cat]
cat(id: ID!): Cat
catByHumanId(id: ID!): Cat
}
type Mutation {
createCat(name: String): Cat
}
type Cat {
id: Int
name: String
age: Int
humanId: Int
}
####`file_name: generators... | 45 | 0xflotus/generator-nestjs-app |
`file_name: packages-next/keystone/src/scripts/tests/fixtures/basic-project/schema.graphql`
####
"""
A keystone list
"""
type Todo {
id: ID!
title: String
}
input TodoWhereInput {
AND: [TodoWhereInput]
OR: [TodoWhereInput]
id: ID
id_not: ID
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_in: [ID]
... | 7 | 0xflotus/keystone |
`file_name: src/main/resources/manifold/graphql/sample/schema/movies.graphql`
####
#
# A very simple schema for movies
#
schema {
query: QueryRoot
mutation: MutationRoot
}
type QueryRoot {
movie(id: ID!) : Movie
movies(title: String, genre: Genre = Action, releaseDate: Date) : [Movie!]
actors(title: String,... | 15 | 0xflotus/manifold-sample-graphql-app |
`file_name: examples/relay-with-helix/schema.graphql`
####
schema {
query: Query
}
type Query {
alphabet: [String]
song: Song
}
type Song {
firstVerse: String
secondVerse: String
}
directive @defer(label: String, if: Boolean = true) on FRAGMENT_SPREAD | INLINE_FRAGMENT
| null | 0xflotus/meros |
`file_name: source/plugins/notable/queries/contributions.graphql`
####
query NotableContributions {
user(login: "$login") {
repositoriesContributedTo($after first: $repositories, contributionTypes: COMMIT) {
edges {
cursor
node {
isInOrganization
owner {
login... | null | 0xflotus/metrics |
`file_name: lib/graphql/schema.graphql`
####
"""
Exposes a URL that specifies the behaviour of this scalar.
"""
directive @specifiedBy(
"""
The URL that specifies the behaviour of this scalar.
"""
url: String!
) on SCALAR
"""
Application model
"""
type Application {
id: Int
type: ApplicationType
name: St... | 2 | 0xflotus/opencollective-frontend |
`file_name: packages/relay-compiler/transforms/__tests__/fixtures/relay-match-transform/module-on-client-type-interface.invalid.graphql`
####
# expected-to-throw
fragment NameRendererFragment on User {
id
nameRenderable @match {
...PlainUserNameRenderer_name @module(name: "PlainUserNameRenderer.react")
...T... | null | 0xflotus/relay |
`file_name: examples/1-basic/examples.graphql`
####
query GetAllUsersAndPosts {
users {
...UserData
posts {
...PostData
}
}
posts {
...PostData
author {
...UserData
}
}
}
query GetSelectedPost {
post(where: { id: "cke2war9p0006f5tp1nb1bscu" }) {
...PostData
author ... | null | 0xflotus/typegraphql-prisma |
`file_name: examples/minimal-ejected/src/schema.graphql`
####
### This file was autogenerated by Nexus 0.10.0
### Do not make changes to this file directly
type Query {
hello(name: String): String!
users: [User!]!
}
type User {
id: ID!
name: String!
}
####`file_name: examples/with-db/src/schema.graphql`
##... | 341 | 0xflotus/yoga2 |
`file_name: data/hackerone_schema.graphql`
####
"""
Autogenerated input type of AcceptInvitation
"""
input AcceptInvitationInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
token: String!
}
"""
Autogenerated return type of AcceptInvitation
"""
type AcceptInv... | 1 | 0xkk1337x/bounty-targets-data |
`file_name: schema.graphql`
####
type _ApprovalForAll @entity {
id: ID!
count: BigInt!
account: Bytes! # address
operator: Bytes! # address
}
type _BornSingle @entity {
id: ID!
count: BigInt!
gene: BigInt!
energy: BigInt!
}
type _EnergyChanged @entity {
id: ID!
count: BigInt!
oldEnergy: BigInt!
... | null | 0xmishanya/Alpaca-Nft-Contract-Subgraph |
`file_name: subgraphs/exchange/exchange.graphql`
####
# Search
type _Schema_
# Token
@fulltext(
name: "tokenSearch"
language: en
algorithm: rank
include: [{ entity: "Token", fields: [{ name: "id" }, { name: "name" }, { name: "symbol" }] }]
)
# Pair
@fulltext(
name: "pairSearch"
languag... | 1 | 0xmurloc/pandaswap-subgraph |
`file_name: query/asset_search_list_pagination_query.graphql`
####
query AssetSearchListPaginationQuery(
$collections: [CollectionSlug!]
$count: Int
$cursor: String
) {
...AssetSearchListPagination_data_31q0et
}
fragment AssetSearchListPagination_data_31q0et on Query {
search(after: $cursor,collections: $col... | 8 | 0xtoko/opensea-meta-updater |
`file_name: src/schema.graphql`
####
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
type Auth {
"""JWT access token"""
accessToken: String!
"""JWT refresh token"""
refreshToken: String!
... | null | 100lvlmaster/pet-refuge-nestjs |
`file_name: src/common/schema.graphql`
####
# -----------------------------------------------
# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
# -----------------------------------------------
type Circle {
center: GeoPoint!
radius: Float!
}
input CreateCircleReq... | 1 | 101gram/eco-help |
`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\\Type... | null | 1071sh/booksql-laravel |
`file_name: server/app/graphql/query/schema.graphql`
####
type Query {
user(id: ID!): User
users:[User]
}
####`file_name: server/app/graphql/user/schema.graphql`
####
type User {
id: ID!
username: String
} | null | 109km/clients-server-frame |
`file_name: schema.graphql`
####
type Account @entity {
id: ID! #this primary key is set as the toAddress
}
type Transfer @entity {
id: ID!
amount: BigInt
blockNumber: BigInt
to: Account! # receiving address
}
| null | 1111Eugene/m3-1-balances-transfers |
`file_name: schema.graphql`
####
type StakingReward @entity {
id: ID! #blockHeight-eventIdx
account: String!
balance: BigInt!
date: Date!
blockHeight: Int!
}
| null | 1111Eugene/staking-rewards-module4ex1 |
`file_name: schema.graphql`
####
type StakingReward @entity {
id: ID! #blockHeight-eventIdx
account: SumReward!
balance: BigInt!
date: Date!
}
type SumReward @entity {
id: ID! # AccountId
totalReward: BigInt!
blockheight: Int!
}
| null | 1111Eugene/subql-module4-staking-rewards-ex1-4 |
`file_name: subgraphs/pairs.graphql`
####
# Schema
type _Schema_
# Token
@fulltext(
name: "tokenSearch",
language: en
algorithm: rank,
include: [
{
entity: "Token",
fields: [
{ name: "id" },
{ name: "name" },
{ name: "symbol" },
]
}
... | null | 123swapProject/123swap-subgraph |
`file_name: amplify/backend/api/appsyncathenaviz/schema.graphql`
####
type AthenaOperation
@model
@key(
name: "ByOwner"
fields: ["owner", "createdAt"]
queryField: "queryByOwner"
)
@auth(
rules: [
{ allow: owner, identityClaim: "sub" }
{ allow: private, provider: iam, operations: [cre... | 22 | 12Grace12/aws-appsync-visualization-with-athena-app |
`file_name: src/schema/enums/role.graphql`
####
enum Role{
CLIENT
ADMIN
}
####`file_name: src/schema/enums/stripe/currency.graphql`
####
enum CurrencyEnum{
EUR
USD
GBP
MXN
}
####`file_name: src/schema/inputs/mail.graphql`
####
input MailInput {
from: String
"Receptor"
to: String!
... | null | 12cesar/backend-meang-online-shop |
`file_name: client/src/graphql/Media/fragmentMediaForList.graphql`
####
fragment fragmentMediaForList on Media {
_id
mediapageLink
link
contentHeadline
author {
_id
name
originalName
}
projects {
_id
name
}
externalId
mediaType
publicationName
publicationDate
importDate
hasGoogleNlp
hasAmazon
... | null | 12devs/sample-graphql-client-server |
`file_name: src/functions-templates/js/fauna-graphql/schema.graphql`
####
type Todo {
title: String!
completed: Boolean!
}
type Query {
allTodos: [Todo!]
todosByCompletedFlag(completed: Boolean!): [Todo!]
}
| 1,250 | 130n/cli |
`file_name: cmd/frontend/graphqlbackend/schema.graphql`
####
#! Run this before committing changes to this file
#! go generate github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend
#! This will happen automatically if you are running ./dev/start.sh
#!
#! Lines that begin with #! are treated as internal comment... | 1 | 1398404039/sourcegraph |
`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... | 565 | 14Richa/meshery |
`file_name: graphql/schema.graphql`
####
"""
Information about pagination in a connection.
"""
type PageInfo {
"""
When paginating forwards, are there more items?
"""
hasNextPage: Boolean!
"""
When paginating backwards, are there more items?
"""
hasPreviousPage: Boolean!
"""
Wh... | 8 | 17343078/week12 |
`file_name: app/api/graph_ql/schemas/case.graphql`
####
scalar Datetime
type Query {
case(id: Int!): Case
court(id: String!): Court
recordOnAppeal(id: Int!): RecordOnAppeal
currentuser: User
}
input RecordOnAppealDocketEntryInput {
id: ID!
sealed: Boolean
includeWithAppeal: Boolean
}
type... | null | 18F/aocourt-api |
`file_name: graphql/schema.graphql`
####
type Query {
School: [school] @all
}
type school {
school_name: String
}
####`file_name: programmatic-types.graphql`
####
# File generated by "php artisan lighthouse:ide-helper".
# Do not edit this file directly.
# This file should be ignored by git as it can be auto... | null | 19ucs117/projectOBE |
`file_name: packages/subgraph/schema.graphql`
####
type Organization @entity {
id: ID!
createdAt: BigInt!
config: Config!
token: Token
wrappableToken: Token
proposalCount: Int!
proposals: [Proposal!] @derivedFrom(field: "organization")
supporterCount: Int!
honeyLiquidity: BigInt
incentivisedPriceOra... | 21 | 1Hive/Gardens-Merge-Test |
`file_name: packages/subgraph/src/schema.graphql`
####
type QuestEntity @entity {
id: ID!
questAddress: Bytes!
questMetadataHash: String!
questRewardTokenAddress: Bytes!
questExpireTime: BigInt!
questVersion: String!
}
| null | 1Hive/honeyquests |
`file_name: packages/subgraphs/celeste-subgraph/schema.graphql`
####
type CourtConfig @entity {
id: ID!
currentTerm: BigInt!
termDuration: BigInt!
feeToken: ERC20!
anjToken: ERC20
jurorFee: BigInt!
draftFee: BigInt!
settleFee: BigInt!
evidenceTerms: BigInt!
commitTerms: BigInt!
revealTerms: BigInt... | 1 | 1Hive/quests |
`file_name: src/server/types/Education.graphql`
####
type Education {
# Institution name
school: String
# Program name
program: String
# Start date
started: String
# End date
finished: String
}
####`file_name: src/server/types/Job.graphql`
####
type Job {
# Company name
company: String
# Title
... | null | 1andee/portfolio |
`file_name: react/apollo/schema.graphql`
####
# Autogenerated input type of AcceptChannelTransfer
input AcceptChannelTransferInput {
# A unique identifier for the client performing the mutation.
clientMutationId: String
token: String!
}
# Autogenerated return type of AcceptChannelTransfer
type AcceptChannelTrans... | null | 1aurabrown/ervell |
`file_name: cheesecakes/plugins/graphql/config/generated/schema.graphql`
####
"""This is a cake collection"""
type Cake {
_id: String
name: String
description: String
price: String
picture: String
link: String
categories(sort: String, limit: Int, start: Int, where: JSON): [Category]
comments(sort: Strin... | null | 1ncidental/strapi-examples |
`file_name: schema.graphql`
####
type Balancer @entity {
id: ID!
color: String! # Bronze, Silver, Gold
poolCount: Int! # Number of pools
finalizedPoolCount: Int! # Number of finalized pools
crpCount: ... | null | 1saf/balancer-subgraph-analytics-fork |
`file_name: schema.graphql`
####
# Vault
type Balancer @entity {
id: ID!
poolCount: Int!
pools: [Pool!] @derivedFrom(field: "vaultID")
totalLiquidity: BigDecimal!
totalSwapVolume: BigDecimal!
totalSwapFee: BigDecimal!
}
enum PoolType {
Weighted
Stable
Element
LiquidityBootstrapping
}
type Pool @e... | null | 1saf/balancer-subgraph-v2 |
`file_name: schema.graphql`
####
"""Add fields from field values."""
directive @infer on OBJECT
"""Add reference resolver."""
directive @reference(
"""Reference node by a custom field value."""
by: String = "id"
) on FIELD_DEFINITION
"""Return value from another field."""
directive @proxy(from: String) on FIELD_D... | null | 20strategy/gridsome-contentful-snipcart-v2 |
`file_name: subgraphs/dodoex.graphql`
####
type DodoZoo @entity {
"id"
id: ID!
"pairs count"
pairCount: BigInt!
"tokens count"
tokenCount: BigInt!
"crowdpooling count"
crowdpoolingCount: BigInt!
"transactions count"
txCount: BigInt!
}
type DodoDayData @entity {
"day id"
... | null | 22317a57/dodoex_v2_subgraph |
`file_name: saleor/graphql/schema.graphql`
####
schema {
query: Query
mutation: Mutation
}
type Query {
"""Look up a webhook by ID."""
webhook(
"""ID of the webhook."""
id: ID!
): Webhook
"""List of all available webhook events."""
webhookEvents: [WebhookEvent!] @deprecated(reason: "This field w... | null | 23andMe/saleor |
`file_name: schema.graphql`
####
"""Create a new address for the customer."""
type AccountAddressCreate {
"""A user instance for which the address was created."""
user: User
accountErrors: [AccountError!]! @deprecated(reason: "This field will be removed in Saleor 4.0. Use `errors` field instead.")
errors: [Acco... | null | 23andMe/saleor-dashboard |
`file_name: src/schema.graphql`
####
type Query {
_empty: String
actions(stationId: ID, clientId: ID): Action
asset(assetKey: String!): Asset
assets(assetKeys: [String!]!): [Asset]
assetFolders(name: String, names: [String]): [AssetFolder]
clients(all: Boolean, clientId: ID, simulatorId: ID, stationName: St... | null | 2BAD2B007/thorium |
`file_name: data/__generated__/schema.graphql`
####
scalar ColorHex
type Dataset {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
name: String!
slug: String!
images(first: Int, skip: Int): [Image!]!
labels: [Label!]!
labelClasses: [LabelClass!]!
imagesAggregates: ImagesAggregates!
labelsAggregat... | null | 2Clutch/labelflow |
`file_name: src/api/company/company.graphql`
####
type Company {
id: ID!
name: String!
codNeg: String!
historical(input: CompanyHistoricalInput): [Historical]!
}
input CompanyHistoricalInput {
from: String
to: String
}
input CompanyInput {
code: String
}
type Query {
companys : [Company]!
company(i... | null | 2Hackers/shares-b3 |
`file_name: schema.graphql`
####
type StakingReward @entity{
id: ID! #blockHeight-eventIdx
account: String!
balance: BigInt!
date: Date!
blockHeight: Int!
}
| null | 2TheMooon/module4 |
`file_name: schema.graphql`
####
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
}
"Node Interface"
interface Node {
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
type Directory implements Node {
absolutePath: String!
accessTime(
"Ret... | 1 | 2c0/haikonguyen.eu |
`file_name: graphql/fragments/PriceFragment.graphql`
####
fragment PriceFragment on Money {
currency
amount
}
####`file_name: graphql/fragments/ProductVariantDetailsFragment.graphql`
####
fragment ProductVariantDetailsFragment on ProductVariant {
id
name
translation(languageCode: $locale) {
id
name
... | 180 | 2can/vercel-test3 |
`file_name: schema.graphql`
####
type Bundle @entity {
id: ID!
priceUSD: BigDecimal!
stakedTVL: BigDecimal!
marketCap: BigDecimal!
holdersCount: BigInt!
holders: [Holder!]! @derivedFrom(field: "bundle")
totalRewards: BigInt!
deposits: BigInt!
withdraws: BigInt!
}
type PiToken @entity {
id: ID!
to... | null | 2pinetwork/subgraphs |
`file_name: opencti-platform/opencti-graphql/config/schema/opencti.graphql`
####
### DIRECTIVES
directive @auth(for: [Capabilities] = [], and: Boolean = false) on OBJECT | FIELD_DEFINITION
directive @constraint(
# String constraints
minLength: Int
maxLength: Int
startsWith: String
endsWith: String
notConta... | 1 | 2xyo/openc |
`file_name: schema.graphql`
####
type ElementCount @entity {
id: ID!
type: Int!
from: String!
to: String!
name: String!
count: BigInt!
} | null | 30in2020/noox_subgraph |
`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 | 30thte/AccountBalance |
`file_name: src/cloud/api/controller/schema/schema.graphql`
####
# This file describes the schema from the API service.
#
# It's not ideal, but we need to manually generate types for the TypeScript UI
# when this file is updated. This can be done by running `update.sh` in this directory.
# This generates schema.d.ts in... | null | 3Xpl0it3r/pixie |
`file_name: schema/Mutation/mutation.graphql`
####
type Mutation {
signUp(
email: String!
password: String!
firstName: String!
lastName: String!
): SignUpResponse!
signIn(email: String!, password: String!): SignInResponse!
changePassword(password: String!): ChangePasswordResponse!
changeProfil... | 1 | 3dw1nM0535/go-gql |
`file_name: schema.graphql`
####
schema {
query: Root
mutation: Mutation
}
# The top-level API
type Root {
# Fetches an object given its ID
node(
# The ID of an object
id: ID!
): Node
# Fetches objects given their IDs
nodes(
# The IDs of objects
ids: [ID!]!
): [Node]!
# The authenti... | 69 | 3dw1nM0535/gql-node-ts-started |
`file_name: fauna.schema.graphql`
####
type User @collection(name: "users") {
name: String
email: String! @unique(index: "user_by_email")
emailVerified: Time
image: String
results: [Result] @relation
submissions: [Submission] @relation
}
type Submission @collection(name: "submissions") {
user: User!
an... | 1 | 3h-hareketi/akademi |
`file_name: src/server/schemas/common.graphql`
####
scalar Date
type Query {
params: PronoteParams!
user: PronoteUser!
}
type Mutation {
# Please remember to disable this when you don't need it, or else sessions will last forever !
setKeepAlive(enabled: Boolean!): Boolean!
# This is in a mutation... | 2 | 3l0w/pronote-api |
`file_name: backend/apid/graphql/schema/corev2.gen.graphql`
####
# automatically generated file, do not edit!
"""A Secret is a secret specification."""
type CoreV2Secret {
"""Name is the name of the secret referenced in an executable command."""
name: String!
"""Secret is the name of the Sensu secret resou... | null | 3l1k/sensu-go |
`file_name: src/app/apollo/resolvers/auth.graphql`
####
type Auth {
"""
Indicates that the current access token has been rejected by the API and
cannot be automatically refreshed. The user must re-authenticate to continue.
"""
invalid: Boolean!
"Token used to access the system."
accessToken: String
"L... | 32 | 3l1k/web |
`file_name: src/app.graphql`
####
input Signup {
username: String!,
email: String!,
password: String!,
}
type SignupResponse {
username: String!,
email: String!,
}
type AuthPayload {
email: String!
}
type Mutation {
signup(input: Signup!): SignupResponse!
login(username: String!, password: St... | 14 | 3logy/nestjs-graphql-passport |
`file_name: server/src/generated/prisma.graphql`
####
# source: https://eu1.prisma.sh/chukwuemeka-lionel-okoro-b9a4db/worklist/dev
# timestamp: Fri Aug 02 2019 12:18:08 GMT+0100 (West Africa Standard Time)
type AggregateLabel {
count: Int!
}
type AggregateTodo {
count: Int!
}
type AggregateTodoList {
count: In... | null | 3m3kalionel/worklist |
`file_name: internal/graphql/quote.graphql`
####
"""A single quote entity"""
type Quote {
id: ID!
author: String!
content: String!
}
"""Input to create or update a quote"""
input QuoteInput {
id: Int
author: String!
content: String!
}
####`file_name: internal/graphql/role.graphql`
####
"""A ... | 23 | 3n3a/go-webapp-example |
`file_name: graphql/app.schema.graphql`
####
scalar DateTime
scalar Json
type Query {
_typename: String
}
type Mutation {
_typename: String
}
####`file_name: graphql/shop.schema.graphql`
####
type Shop {
token: String!
shopOrigin: String!
createdAt: DateTime!
updatedAt: DateTime
}
extend type Query {
... | null | 3node-cz/nextjs-shopify-boilerplate |
`file_name: schema.graphql`
####
type GlobalData @entity {
id: ID!
chargedParticlesAddress: Bytes
}
# ID: `${universe.address}`
type Universe @entity {
id: ID!
owner: Bytes!
chargedParticles: ChargedParticles
ionxToken: Ionx
ionxMaxSupply: BigInt
protonToken: Proton
leptonToken: Lepton
esaMultipl... | null | 3scava1i3r/charged-particles-subgraph |
`file_name: src/schema/schema.graphql`
####
type Query {
"Obtenemos la Lista de Todos los Usuarios"
users:[User!]!
"Iniciamos Secion en El Sistema"
login(email:String!,password:String!):User!
"Obtener Nuesta Info con el Token"
me:User!
}
type Mutation{
"Registro De los Usuarios En el Siste... | null | 3xor18/JWT-Con-Mongo-y-GraphQL |
`file_name: api/schema.graphql`
####
type Location {
id: String!
name: String!
inventory: [Inventory!]!
}
type ItemType {
id: String!
name: String!
description: String!
inventory: [Inventory!]!
}
enum InventoryStatus {
STOCK
IN_USE
REPAIR
TRANSPORT
}
type Inventory {
i... | null | 404busters/inventory-management-apiserver |
`file_name: src/queries/teams-user-belongs.graphql`
####
query TeamsUserBelongs(
$first: Int
$after: String
$userLogins: [String!]
$organization: String!
) {
organization(login: $organization) {
teams(first: $first, after: $after, userLogins: $userLogins) {
totalCount
edges {
node {
... | null | 44smkn/check-teams-user-belongs |
`file_name: cmd/frontend/graphqlbackend/schema.graphql`
####
# See docs/api.md for guidance on schema evolution.
#
schema {
query: Query
mutation: Mutation
}
"""
This type is not returned by any resolver, but serves to document what an error
response will look like.
"""
type Error {
"""
A string giving... | 1 | 47-studio-org/sourcegraph |
`file_name: projects/49view.com-graphql-api/graphql/types/common.graphql`
####
type PageInfo {
page: Int
pageLimit: Int
totalCount: Int
lastPage: Int
hasPreviousPage: Boolean
hasNextPage: Boolean
}
####`file_name: projects/49view.com-graphql-api/graphql/types/entity.graphql`
####
type Entity {... | null | 49View/f9.com |
`file_name: test/swapi.graphql`
####
schema {
query: Root
}
"""
A single film.
"""
type Film implements Node {
"""
The title of this film.
"""
title: String
"""
The episode number of this film.
"""
episodeID: Int
"""
The opening paragraphs at the beginning of this film.
"""
openingCrawl: St... | null | 4Catalyzer/graphql-mocking |
`file_name: data/hackerone_schema.graphql`
####
"""
Autogenerated input type of AcceptInvitation
"""
input AcceptInvitationInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
token: String!
}
"""
Autogenerated return type of AcceptInvitation
"""
type AcceptInv... | null | 4k4xs4pH1r3/bounty-targets-data |
`file_name: cmd/frontend/graphqlbackend/schema.graphql`
####
#! Run this before committing changes to this file
#! go generate github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend
#! This will happen automatically if you are running ./dev/start.sh
#!
#! Lines that begin with #! are treated as internal comment... | null | 58736/sourcegraph |
`file_name: graphql/schema.graphql`
####
type Person {
id: Int!
name: String!
age: Int!
gender: String
}
type Query {
people: [Person]!
person(id: Int): Person
}
type Mutation {
addPerson(name: String!, age: Int!, gender: String!): Person!
deletePerson(id: Int!): Boolean!
}
| null | 5tarlight/firstgraphql |
`file_name: schema.graphql`
####
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
}
"Node Interface"
interface Node {
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
type Directory implements Node {
absolutePath: String
accessT... | null | 604karev/gatsby-garb |
`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 | 6153089860/docs |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.