Skip to content

Commit

Permalink
feat(#87): MarketplaceListing#app
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored and gr2m committed Aug 7, 2018
1 parent b994216 commit b42d02f
Show file tree
Hide file tree
Showing 2 changed files with 263 additions and 0 deletions.
43 changes: 43 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,46 @@ type AddedToProjectEvent implements Node {
id: ID!
}

# A GitHub App.
type App implements Node {
# Identifies the date and time when the object was created.
createdAt: DateTime!

# Identifies the primary key from the database.
databaseId: Int

# The description of the app.
description: String
id: ID!

# A URL pointing to the app's logo.
logoUrl(
# The size of the resulting image.
size: Int
): URI!

# The name of the app.
name: String!

# A slug based on the name of the app for use in URLs.
slug: String!

# Identifies the date and time when the object was last updated.
updatedAt: DateTime!

# The URL to the app's homepage.
url: URI!
}

# An edge in a connection.
type AppEdge {
# A cursor for use in pagination.
cursor: String!

# The item at the end of the edge.
node: App
}

# An object that can have users assigned to it.
interface Assignable {
# A list of Users assigned to this object.
Expand Down Expand Up @@ -2887,6 +2927,9 @@ type MarketplaceCategory implements Node {

# A listing in the GitHub integration marketplace.
type MarketplaceListing implements Node {
# The GitHub App this listing represents.
app: App

# URL to the listing owner's company site.
companyUrl: URI

Expand Down
220 changes: 220 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,11 @@
"name": "AddedToProjectEvent",
"ofType": null
},
{
"kind": "OBJECT",
"name": "App",
"ofType": null
},
{
"kind": "OBJECT",
"name": "AssignedEvent",
Expand Down Expand Up @@ -11563,6 +11568,170 @@
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "App",
"description": "A GitHub App.",
"fields": [
{
"name": "createdAt",
"description": "Identifies the date and time when the object was created.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "databaseId",
"description": "Identifies the primary key from the database.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "description",
"description": "The description of the app.",
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "logoUrl",
"description": "A URL pointing to the app's logo.",
"args": [
{
"name": "size",
"description": "The size of the resulting image.",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "URI",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": "The name of the app.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "slug",
"description": "A slug based on the name of the app for use in URLs.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "updatedAt",
"description": "Identifies the date and time when the object was last updated.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "DateTime",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "url",
"description": "The URL to the app's homepage.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "URI",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
{
"kind": "INTERFACE",
"name": "Node",
"ofType": null
}
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Organization",
Expand Down Expand Up @@ -13210,6 +13379,18 @@
"name": "MarketplaceListing",
"description": "A listing in the GitHub integration marketplace.",
"fields": [
{
"name": "app",
"description": "The GitHub App this listing represents.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "App",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "companyUrl",
"description": "URL to the listing owner's company site.",
Expand Down Expand Up @@ -34726,6 +34907,45 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "AppEdge",
"description": "An edge in a connection.",
"fields": [
{
"name": "cursor",
"description": "A cursor for use in pagination.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "node",
"description": "The item at the end of the edge.",
"args": [],
"type": {
"kind": "OBJECT",
"name": "App",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "RateLimit",
Expand Down

0 comments on commit b42d02f

Please sign in to comment.