diff --git a/lib/relay.idl b/lib/relay.idl index 21d3f58ea7..2646cb4eac 100644 --- a/lib/relay.idl +++ b/lib/relay.idl @@ -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] @@ -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. """ @@ -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 """ @@ -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. diff --git a/public/relay.json b/public/relay.json index 4d93e551ed..b4e4c56506 100644 --- a/public/relay.json +++ b/public/relay.json @@ -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, @@ -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", @@ -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", @@ -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,