Skip to content

Commit

Permalink
Updating Relay schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Oct 27, 2023
1 parent a8f7052 commit 4269847
Show file tree
Hide file tree
Showing 2 changed files with 308 additions and 0 deletions.
68 changes: 68 additions & 0 deletions lib/relay.idl
Original file line number Diff line number Diff line change
Expand Up @@ -8430,6 +8430,27 @@ type Feed implements Node {
"""
last: Int
): FeedInvitationConnection!
feed_teams(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int
): FeedTeamConnection!
filters: JsonStringType
id: ID!
licenses: [Int]
Expand Down Expand Up @@ -8611,6 +8632,27 @@ type FeedTeam implements Node {
updated_at: String
}

"""
The connection type for FeedTeam.
"""
type FeedTeamConnection {
"""
A list of edges.
"""
edges: [FeedTeamEdge]

"""
A list of nodes.
"""
nodes: [FeedTeam]

"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
totalCount: Int
}

"""
An edge in a connection.
"""
Expand Down Expand Up @@ -11690,6 +11732,11 @@ type Query {
"""
feed_invitation(id: ID!): FeedInvitation

"""
Information about the feed_team with given id
"""
feed_team(id: ID!): FeedTeam

"""
Find whether a team exists
"""
Expand Down Expand Up @@ -12875,6 +12922,27 @@ type Team implements Node {
description: String
dynamic_search_fields_json_schema: JsonStringType
feed(dbid: Int!): Feed
feed_teams(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int
): FeedTeamConnection!
feeds(
"""
Returns the elements in the list that come after the specified cursor.
Expand Down
240 changes: 240 additions & 0 deletions public/relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -45752,6 +45752,71 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "feed_teams",
"description": null,
"args": [
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified cursor.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "FeedTeamConnection",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "filters",
"description": null,
Expand Down Expand Up @@ -46944,6 +47009,87 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "FeedTeamConnection",
"description": "The connection type for FeedTeam.",
"fields": [
{
"name": "edges",
"description": "A list of edges.",
"args": [

],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "FeedTeamEdge",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "nodes",
"description": "A list of nodes.",
"args": [

],
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "FeedTeam",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pageInfo",
"description": "Information to aid in pagination.",
"args": [

],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "PageInfo",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "totalCount",
"description": null,
"args": [

],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [

],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "FeedTeamEdge",
Expand Down Expand Up @@ -61529,6 +61675,35 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "feed_team",
"description": "Information about the feed_team with given id",
"args": [
{
"name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "OBJECT",
"name": "FeedTeam",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "find_public_team",
"description": "Find whether a team exists",
Expand Down Expand Up @@ -67337,6 +67512,71 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "feed_teams",
"description": null,
"args": [
{
"name": "after",
"description": "Returns the elements in the list that come after the specified cursor.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "before",
"description": "Returns the elements in the list that come before the specified cursor.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "first",
"description": "Returns the first _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "last",
"description": "Returns the last _n_ elements from the list.",
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "FeedTeamConnection",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "feeds",
"description": null,
Expand Down

0 comments on commit 4269847

Please sign in to comment.