@well-played.gg/react-sdk 1.13.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,12 +1,10 @@
1
1
  # WellPlayed React SDK
2
2
 
3
- This is the official WellPlayed React SDK. It provides a set of components and hooks to help you integrate WellPlayed
3
+ This is the official [WellPlayed](https://well-played.gg) React SDK. It provides a set of components and hooks to help you integrate WellPlayed
4
4
  into your React application and interact with the WellPlayed API.
5
5
 
6
6
  ## Installation
7
7
 
8
- **WARNING: Not published yet**
9
-
10
8
  ```bash
11
9
  yarn add @well-played.gg/react-sdk
12
10
  ```
@@ -29,7 +27,7 @@ const App = () => {
29
27
  client_id: "replace-with-yours", // Your App Client ID
30
28
  redirect_uri: `${
31
29
  window.location.protocol
32
- }//${window.location.origin}`, // Your redirect URL
30
+ }//${window.location.origin}/login`, // The /login is required here (any path will work, but it needs a path or you'll get an error)
33
31
  }}
34
32
  >
35
33
  <RouterProvider router={router} />
@@ -38,19 +36,22 @@ const App = () => {
38
36
  };
39
37
  ```
40
38
 
41
- You can find more usage examples in the [demo](/demo) folder.
39
+ You can find more usage examples in the [demo](https://github.com/WellPlayedGG/react-sdk/tree/master/demo) folder.
42
40
 
43
41
  ### Components
44
42
 
45
- TODO
43
+ * RichTextEditorContent: A component to show up, securely, HTML-based user content (tournament description, event description, ...)
46
44
 
47
45
  ### Hooks
48
46
 
49
- TODO
47
+ * usePlayers: Retrieve player profiles from a list of playersIds
48
+ * useConnectedPlayer: Retrieve current connected player profile, permissions, and identities
49
+ * useTournamentTeams: Retrieve the list of teams for a specific tournament, depending on their status
50
+ * useTournamentStep: Retrieve all the data needed to reconstruct a tournament step
50
51
 
51
52
  ## License
52
53
 
53
- WellPlayed React SDK is [MIT licensed](/LICENSE).
54
+ WellPlayed React SDK is [MIT licensed](https://github.com/WellPlayedGG/react-sdk/tree/master/LICENSE).
54
55
 
55
56
  ## Stay in touch
56
57
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { ApolloClient } from '@apollo/client';
2
- import { ApolloError } from '@apollo/client';
3
2
  import { ApolloQueryResult } from '@apollo/client';
4
3
  import { ErrorHandler } from '@apollo/client/link/error';
5
4
  import { EventClosedListener } from 'graphql-ws';
6
5
  import { EventConnectedListener } from 'graphql-ws';
7
6
  import { EventErrorListener } from 'graphql-ws';
7
+ import { FetchPolicy } from '@apollo/client';
8
8
  import { FragmentOf } from 'gql.tada';
9
9
  import { initGraphQLTada } from 'gql.tada';
10
10
  import { InvalidationPolicies } from '@nerdwallet/apollo-cache-policies/dist/policies/types';
@@ -36,6 +36,7 @@ declare type ClientProps = {
36
36
  token?: string;
37
37
  organizationId: string;
38
38
  invalidationPolicies?: InvalidationPolicies;
39
+ fetchPolicy?: FetchPolicy;
39
40
  handlers?: {
40
41
  onError?: ErrorHandler;
41
42
  webSocket?: {
@@ -44,6 +45,9 @@ declare type ClientProps = {
44
45
  onError?: EventErrorListener;
45
46
  };
46
47
  };
48
+ websocket?: {
49
+ lazy?: boolean;
50
+ };
47
51
  apiBaseUrl?: ApiBaseUrl;
48
52
  };
49
53
 
@@ -77,7 +81,7 @@ export declare type introspection = {
77
81
  name: never;
78
82
  query: 'Query';
79
83
  mutation: 'Mutation';
80
- subscription: never;
84
+ subscription: 'Subscription';
81
85
  types: introspection_types;
82
86
  };
83
87
 
@@ -306,6 +310,7 @@ export declare type introspection_types = {
306
310
  'Position': { kind: 'OBJECT'; name: 'Position'; fields: { 'x': { name: 'x'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'y': { name: 'y'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
307
311
  'PositionInput': { kind: 'INPUT_OBJECT'; name: 'PositionInput'; isOneOf: false; inputFields: [{ name: 'x'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }, { name: 'y'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }]; };
308
312
  'PositiveInt': unknown;
313
+ 'PresenceAnalytics': { kind: 'OBJECT'; name: 'PresenceAnalytics'; fields: { 'anonymousSessions': { name: 'anonymousSessions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'authenticatedSessions': { name: 'authenticatedSessions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalSessions': { name: 'totalSessions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; };
309
314
  'PresignedUrl': { kind: 'OBJECT'; name: 'PresignedUrl'; fields: { 'fields': { name: 'fields'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PresignedUrlField'; ofType: null; }; }; }; } }; 'url': { name: 'url'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; } }; }; };
310
315
  'PresignedUrlField': { kind: 'OBJECT'; name: 'PresignedUrlField'; fields: { 'key': { name: 'key'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
311
316
  'Property': { kind: 'OBJECT'; name: 'Property'; fields: { 'editability': { name: 'editability'; type: { kind: 'ENUM'; name: 'ProperyEditability'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'order': { name: 'order'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'property': { name: 'property'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'public': { name: 'public'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PropertyType'; ofType: null; }; } }; 'unique': { name: 'unique'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'visibility': { name: 'visibility'; type: { kind: 'ENUM'; name: 'PropertyVisibility'; ofType: null; } }; }; };
@@ -318,7 +323,7 @@ export declare type introspection_types = {
318
323
  'ProperyEditability': { name: 'ProperyEditability'; enumValues: 'ALWAYS' | 'ONE_TIME' | 'WITH_PERMISSION'; };
319
324
  'PublicIdentityProvider': { kind: 'OBJECT'; name: 'PublicIdentityProvider'; fields: { 'availability': { name: 'availability'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'IdentityProviderAvailability'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'icon': { name: 'icon'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'requirements': { name: 'requirements'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'IdentityProviderRequirements'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
320
325
  'PublicOrganizationIdentityProvider': { kind: 'OBJECT'; name: 'PublicOrganizationIdentityProvider'; fields: { 'allowLogin': { name: 'allowLogin'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'authorizationUrl': { name: 'authorizationUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
321
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'availablePermissions': { name: 'availablePermissions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Permissions'; ofType: null; }; } }; 'availableRootIdentityProvider': { name: 'availableRootIdentityProvider'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicIdentityProvider'; ofType: null; }; } }; 'configuration': { name: 'configuration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Configuration'; ofType: null; }; } }; 'currentLeaderboardSeason': { name: 'currentLeaderboardSeason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeason'; ofType: null; }; } }; 'event': { name: 'event'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventWithUserReservation'; ofType: null; }; } }; 'eventReservation': { name: 'eventReservation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventReservation'; ofType: null; }; } }; 'eventReservations': { name: 'eventReservations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventReservations'; ofType: null; }; } }; 'eventSeats': { name: 'eventSeats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventSeats'; ofType: null; }; } }; 'eventTicketConfiguration': { name: 'eventTicketConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventTicketConfiguration'; ofType: null; }; } }; 'eventTicketConfigurations': { name: 'eventTicketConfigurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventTicketConfiguration'; ofType: null; }; }; }; } }; 'eventVenue': { name: 'eventVenue'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenue'; ofType: null; }; } }; 'eventVenueSeatTypes': { name: 'eventVenueSeatTypes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenueSeatTypes'; ofType: null; }; } }; 'eventVenueSeats': { name: 'eventVenueSeats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenueSeats'; ofType: null; }; } }; 'eventVenues': { name: 'eventVenues'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenues'; ofType: null; }; } }; 'events': { name: 'events'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Events'; ofType: null; }; } }; 'getAvailableRootIdentityProviders': { name: 'getAvailableRootIdentityProviders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicIdentityProvider'; ofType: null; }; }; }; } }; 'getMyAccount': { name: 'getMyAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'identityProvider': { name: 'identityProvider'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationIdentityProvider'; ofType: null; }; } }; 'identityProviders': { name: 'identityProviders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationIdentityProvider'; ofType: null; }; }; }; } }; 'leaderboard': { name: 'leaderboard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Leaderboard'; ofType: null; }; } }; 'leaderboardCurrentPlayerRanking': { name: 'leaderboardCurrentPlayerRanking'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucketScore'; ofType: null; }; } }; 'leaderboardSeason': { name: 'leaderboardSeason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeason'; ofType: null; }; } }; 'leaderboardSeasonBucket': { name: 'leaderboardSeasonBucket'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucket'; ofType: null; }; } }; 'leaderboardSeasonBucketScores': { name: 'leaderboardSeasonBucketScores'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucketScores'; ofType: null; }; } }; 'leaderboardSeasonBuckets': { name: 'leaderboardSeasonBuckets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBuckets'; ofType: null; }; } }; 'leaderboardSeasons': { name: 'leaderboardSeasons'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasons'; ofType: null; }; } }; 'leaderboards': { name: 'leaderboards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Leaderboards'; ofType: null; }; } }; 'limitDefinitions': { name: 'limitDefinitions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Limits'; ofType: null; }; } }; 'logs': { name: 'logs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Logs'; ofType: null; }; } }; 'match': { name: 'match'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatch'; ofType: null; }; } }; 'organization': { name: 'organization'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Organization'; ofType: null; }; } }; 'organizationApp': { name: 'organizationApp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationApp'; ofType: null; }; } }; 'organizationApps': { name: 'organizationApps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationApps'; ofType: null; }; } }; 'organizationAttachedApps': { name: 'organizationAttachedApps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationAttachedApps'; ofType: null; }; } }; 'organizationCurrentSubscriptionItems': { name: 'organizationCurrentSubscriptionItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSubscriptionItem'; ofType: null; }; }; }; } }; 'organizationGroup': { name: 'organizationGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationGroup'; ofType: null; }; } }; 'organizationGroups': { name: 'organizationGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationGroups'; ofType: null; }; } }; 'organizationLimits': { name: 'organizationLimits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationLimits'; ofType: null; }; } }; 'organizationMembers': { name: 'organizationMembers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationMembers'; ofType: null; }; } }; 'organizationPaymentCollectionConfiguration': { name: 'organizationPaymentCollectionConfiguration'; type: { kind: 'OBJECT'; name: 'OrganizationPaymentCollectionConfiguration'; ofType: null; } }; 'organizationSkillRating': { name: 'organizationSkillRating'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSkillRating'; ofType: null; }; } }; 'organizationSkillRatings': { name: 'organizationSkillRatings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSkillRating'; ofType: null; }; }; }; } }; 'platform': { name: 'platform'; type: { kind: 'OBJECT'; name: 'Platform'; ofType: null; } }; 'platformCheckDomainAvailability': { name: 'platformCheckDomainAvailability'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'platformCustomDomains': { name: 'platformCustomDomains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCustomDomainData'; ofType: null; }; }; }; } }; 'platformFile': { name: 'platformFile'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCdnFile'; ofType: null; }; } }; 'platformFiles': { name: 'platformFiles'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCdnFile'; ofType: null; }; }; }; } }; 'platformFindFromDomain': { name: 'platformFindFromDomain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Platform'; ofType: null; }; } }; 'platformTemplate': { name: 'platformTemplate'; type: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; } }; 'platformTemplates': { name: 'platformTemplates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; }; }; }; } }; 'platformTemplatesPublic': { name: 'platformTemplatesPublic'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; }; }; }; } }; 'platforms': { name: 'platforms'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Platform'; ofType: null; }; }; }; } }; 'player': { name: 'player'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Player'; ofType: null; }; } }; 'playerMatchesHistory': { name: 'playerMatchesHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatches'; ofType: null; }; } }; 'playerSkillRatings': { name: 'playerSkillRatings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlayerSkillRating'; ofType: null; }; }; }; } }; 'players': { name: 'players'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Players'; ofType: null; }; } }; 'searchPlayer': { name: 'searchPlayer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Player'; ofType: null; }; }; }; } }; 'subscriptionItems': { name: 'subscriptionItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SubscriptionItem'; ofType: null; }; }; }; } }; 'tournament': { name: 'tournament'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Tournament'; ofType: null; }; } }; 'tournamentAdmins': { name: 'tournamentAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentAdmin'; ofType: null; }; }; }; } }; 'tournamentPlayers': { name: 'tournamentPlayers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TeamMembers'; ofType: null; }; } }; 'tournamentStep': { name: 'tournamentStep'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStep'; ofType: null; }; } }; 'tournamentStepGeneratedShape': { name: 'tournamentStepGeneratedShape'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroup'; ofType: null; }; }; }; } }; 'tournamentStepGroupRoundGameMatchScoresGetForStep': { name: 'tournamentStepGroupRoundGameMatchScoresGetForStep'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatchScores'; ofType: null; }; } }; 'tournamentSteps': { name: 'tournamentSteps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStep'; ofType: null; }; }; }; } }; 'tournamentTeam': { name: 'tournamentTeam'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentTeam'; ofType: null; }; } }; 'tournamentTeamInvites': { name: 'tournamentTeamInvites'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TeamMembers'; ofType: null; }; } }; 'tournamentTeams': { name: 'tournamentTeams'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentTeams'; ofType: null; }; } }; 'tournaments': { name: 'tournaments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Tournaments'; ofType: null; }; } }; 'userGroups': { name: 'userGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroups'; ofType: null; }; } }; 'userOrganizations': { name: 'userOrganizations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Organization'; ofType: null; }; }; }; } }; 'webhook': { name: 'webhook'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Webhook'; ofType: null; }; } }; 'webhookAvailableEvents': { name: 'webhookAvailableEvents'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'WebhookEventConfiguration'; ofType: null; }; }; }; } }; 'webhooks': { name: 'webhooks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Webhook'; ofType: null; }; }; }; } }; }; };
326
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'availablePermissions': { name: 'availablePermissions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Permissions'; ofType: null; }; } }; 'availableRootIdentityProvider': { name: 'availableRootIdentityProvider'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicIdentityProvider'; ofType: null; }; } }; 'configuration': { name: 'configuration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Configuration'; ofType: null; }; } }; 'currentLeaderboardSeason': { name: 'currentLeaderboardSeason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeason'; ofType: null; }; } }; 'event': { name: 'event'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventWithUserReservation'; ofType: null; }; } }; 'eventReservation': { name: 'eventReservation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventReservation'; ofType: null; }; } }; 'eventReservations': { name: 'eventReservations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventReservations'; ofType: null; }; } }; 'eventSeats': { name: 'eventSeats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventSeats'; ofType: null; }; } }; 'eventTicketConfiguration': { name: 'eventTicketConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventTicketConfiguration'; ofType: null; }; } }; 'eventTicketConfigurations': { name: 'eventTicketConfigurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventTicketConfiguration'; ofType: null; }; }; }; } }; 'eventVenue': { name: 'eventVenue'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenue'; ofType: null; }; } }; 'eventVenueSeatTypes': { name: 'eventVenueSeatTypes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenueSeatTypes'; ofType: null; }; } }; 'eventVenueSeats': { name: 'eventVenueSeats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenueSeats'; ofType: null; }; } }; 'eventVenues': { name: 'eventVenues'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EventVenues'; ofType: null; }; } }; 'events': { name: 'events'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Events'; ofType: null; }; } }; 'getAvailableRootIdentityProviders': { name: 'getAvailableRootIdentityProviders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicIdentityProvider'; ofType: null; }; }; }; } }; 'getMyAccount': { name: 'getMyAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Account'; ofType: null; }; } }; 'identityProvider': { name: 'identityProvider'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationIdentityProvider'; ofType: null; }; } }; 'identityProviders': { name: 'identityProviders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationIdentityProvider'; ofType: null; }; }; }; } }; 'leaderboard': { name: 'leaderboard'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Leaderboard'; ofType: null; }; } }; 'leaderboardCurrentPlayerRanking': { name: 'leaderboardCurrentPlayerRanking'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucketScore'; ofType: null; }; } }; 'leaderboardSeason': { name: 'leaderboardSeason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeason'; ofType: null; }; } }; 'leaderboardSeasonBucket': { name: 'leaderboardSeasonBucket'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucket'; ofType: null; }; } }; 'leaderboardSeasonBucketScores': { name: 'leaderboardSeasonBucketScores'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBucketScores'; ofType: null; }; } }; 'leaderboardSeasonBuckets': { name: 'leaderboardSeasonBuckets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasonBuckets'; ofType: null; }; } }; 'leaderboardSeasons': { name: 'leaderboardSeasons'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LeaderboardSeasons'; ofType: null; }; } }; 'leaderboards': { name: 'leaderboards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Leaderboards'; ofType: null; }; } }; 'limitDefinitions': { name: 'limitDefinitions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Limits'; ofType: null; }; } }; 'logs': { name: 'logs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Logs'; ofType: null; }; } }; 'match': { name: 'match'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatch'; ofType: null; }; } }; 'organization': { name: 'organization'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Organization'; ofType: null; }; } }; 'organizationApp': { name: 'organizationApp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationApp'; ofType: null; }; } }; 'organizationApps': { name: 'organizationApps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationApps'; ofType: null; }; } }; 'organizationAttachedApps': { name: 'organizationAttachedApps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationAttachedApps'; ofType: null; }; } }; 'organizationCurrentSubscriptionItems': { name: 'organizationCurrentSubscriptionItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSubscriptionItem'; ofType: null; }; }; }; } }; 'organizationGroup': { name: 'organizationGroup'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationGroup'; ofType: null; }; } }; 'organizationGroups': { name: 'organizationGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationGroups'; ofType: null; }; } }; 'organizationLimits': { name: 'organizationLimits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationLimits'; ofType: null; }; } }; 'organizationMembers': { name: 'organizationMembers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationMembers'; ofType: null; }; } }; 'organizationPaymentCollectionConfiguration': { name: 'organizationPaymentCollectionConfiguration'; type: { kind: 'OBJECT'; name: 'OrganizationPaymentCollectionConfiguration'; ofType: null; } }; 'organizationSkillRating': { name: 'organizationSkillRating'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSkillRating'; ofType: null; }; } }; 'organizationSkillRatings': { name: 'organizationSkillRatings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrganizationSkillRating'; ofType: null; }; }; }; } }; 'platform': { name: 'platform'; type: { kind: 'OBJECT'; name: 'Platform'; ofType: null; } }; 'platformCheckDomainAvailability': { name: 'platformCheckDomainAvailability'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'platformCustomDomains': { name: 'platformCustomDomains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCustomDomainData'; ofType: null; }; }; }; } }; 'platformFile': { name: 'platformFile'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCdnFile'; ofType: null; }; } }; 'platformFiles': { name: 'platformFiles'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformCdnFile'; ofType: null; }; }; }; } }; 'platformFindFromDomain': { name: 'platformFindFromDomain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Platform'; ofType: null; }; } }; 'platformTemplate': { name: 'platformTemplate'; type: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; } }; 'platformTemplates': { name: 'platformTemplates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; }; }; }; } }; 'platformTemplatesPublic': { name: 'platformTemplatesPublic'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlatformTemplate'; ofType: null; }; }; }; } }; 'platforms': { name: 'platforms'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Platform'; ofType: null; }; }; }; } }; 'player': { name: 'player'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Player'; ofType: null; }; } }; 'playerMatchesHistory': { name: 'playerMatchesHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatches'; ofType: null; }; } }; 'playerSkillRatings': { name: 'playerSkillRatings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PlayerSkillRating'; ofType: null; }; }; }; } }; 'players': { name: 'players'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Players'; ofType: null; }; } }; 'presenceAnalytics': { name: 'presenceAnalytics'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PresenceAnalytics'; ofType: null; }; } }; 'searchPlayer': { name: 'searchPlayer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Player'; ofType: null; }; }; }; } }; 'subscriptionItems': { name: 'subscriptionItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SubscriptionItem'; ofType: null; }; }; }; } }; 'tournament': { name: 'tournament'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Tournament'; ofType: null; }; } }; 'tournamentAdmins': { name: 'tournamentAdmins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentAdmin'; ofType: null; }; }; }; } }; 'tournamentPlayers': { name: 'tournamentPlayers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TeamMembers'; ofType: null; }; } }; 'tournamentStep': { name: 'tournamentStep'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStep'; ofType: null; }; } }; 'tournamentStepGeneratedShape': { name: 'tournamentStepGeneratedShape'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroup'; ofType: null; }; }; }; } }; 'tournamentStepGroupRoundGameMatchScoresGetForStep': { name: 'tournamentStepGroupRoundGameMatchScoresGetForStep'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStepGroupRoundGameMatchScores'; ofType: null; }; } }; 'tournamentSteps': { name: 'tournamentSteps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentStep'; ofType: null; }; }; }; } }; 'tournamentTeam': { name: 'tournamentTeam'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentTeam'; ofType: null; }; } }; 'tournamentTeamInvites': { name: 'tournamentTeamInvites'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TeamMembers'; ofType: null; }; } }; 'tournamentTeams': { name: 'tournamentTeams'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TournamentTeams'; ofType: null; }; } }; 'tournaments': { name: 'tournaments'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Tournaments'; ofType: null; }; } }; 'userGroups': { name: 'userGroups'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroups'; ofType: null; }; } }; 'userOrganizations': { name: 'userOrganizations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Organization'; ofType: null; }; }; }; } }; 'webhook': { name: 'webhook'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Webhook'; ofType: null; }; } }; 'webhookAvailableEvents': { name: 'webhookAvailableEvents'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'WebhookEventConfiguration'; ofType: null; }; }; }; } }; 'webhooks': { name: 'webhooks'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Webhook'; ofType: null; }; }; }; } }; }; };
322
327
  'QueryPlayersInput': { kind: 'INPUT_OBJECT'; name: 'QueryPlayersInput'; isOneOf: false; inputFields: [{ name: 'anonymous'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }]; };
323
328
  'RegisterCustomTeamInput': { kind: 'INPUT_OBJECT'; name: 'RegisterCustomTeamInput'; isOneOf: false; inputFields: [{ name: 'customFields'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PropertyValueInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'fromExistingTeamId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; defaultValue: null }, { name: 'members'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'CustomTeamMemberInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TournamentTeamStatus'; ofType: null; }; }; defaultValue: null }, { name: 'tag'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
324
329
  'RegisterCustomTeamsInput': { kind: 'INPUT_OBJECT'; name: 'RegisterCustomTeamsInput'; isOneOf: false; inputFields: [{ name: 'customTeams'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'RegisterCustomTeamInput'; ofType: null; }; }; }; }; defaultValue: null }]; };
@@ -344,6 +349,7 @@ export declare type introspection_types = {
344
349
  'StringConditionInput': { kind: 'INPUT_OBJECT'; name: 'StringConditionInput'; isOneOf: false; inputFields: [{ name: 'conditionType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'StringConditionType'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
345
350
  'StringConditionType': { name: 'StringConditionType'; enumValues: 'EQ' | 'NEQ'; };
346
351
  'StripeUiMode': { name: 'StripeUiMode'; enumValues: 'EMBEDDED' | 'HOSTED'; };
352
+ 'Subscription': { kind: 'OBJECT'; name: 'Subscription'; fields: { 'presenceUserConnected': { name: 'presenceUserConnected'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsersConnectedEvent'; ofType: null; }; } }; 'presenceUserDisconnected': { name: 'presenceUserDisconnected'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsersDisconnectedEvent'; ofType: null; }; } }; }; };
347
353
  'SubscriptionItem': { kind: 'OBJECT'; name: 'SubscriptionItem'; fields: { 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'limitsOverride': { name: 'limitsOverride'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'LimitOverride'; ofType: null; }; }; }; } }; 'maxCount': { name: 'maxCount'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
348
354
  'TeamCondition': { kind: 'OBJECT'; name: 'TeamCondition'; fields: { 'errorMessage': { name: 'errorMessage'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'numericCondition': { name: 'numericCondition'; type: { kind: 'OBJECT'; name: 'TeamNumericCondition'; ofType: null; } }; 'property': { name: 'property'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'propertyCondition': { name: 'propertyCondition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PropertyCondition'; ofType: null; }; } }; 'stringCondition': { name: 'stringCondition'; type: { kind: 'OBJECT'; name: 'StringCondition'; ofType: null; } }; }; };
349
355
  'TeamConditionInput': { kind: 'INPUT_OBJECT'; name: 'TeamConditionInput'; isOneOf: false; inputFields: [{ name: 'errorMessage'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'numericCondition'; type: { kind: 'INPUT_OBJECT'; name: 'TeamNumericConditionInput'; ofType: null; }; defaultValue: null }, { name: 'property'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'propertyCondition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PropertyCondition'; ofType: null; }; }; defaultValue: null }, { name: 'stringCondition'; type: { kind: 'INPUT_OBJECT'; name: 'StringConditionInput'; ofType: null; }; defaultValue: null }]; };
@@ -401,12 +407,16 @@ export declare type introspection_types = {
401
407
  'UpdateTournamentMatchScoreVariablesInput': { kind: 'INPUT_OBJECT'; name: 'UpdateTournamentMatchScoreVariablesInput'; isOneOf: false; inputFields: [{ name: 'formulaName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }]; };
402
408
  'UpdateTournamentTeamInput': { kind: 'INPUT_OBJECT'; name: 'UpdateTournamentTeamInput'; isOneOf: false; inputFields: [{ name: 'customFields'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PropertyValueInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'tag'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
403
409
  'UpdateWebhookInput': { kind: 'INPUT_OBJECT'; name: 'UpdateWebhookInput'; isOneOf: false; inputFields: [{ name: 'active'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'events'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'WebhookEventType'; ofType: null; }; }; }; defaultValue: null }, { name: 'url'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
410
+ 'UserConnectionEvent': { kind: 'OBJECT'; name: 'UserConnectionEvent'; fields: { 'accountId': { name: 'accountId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'organizationId': { name: 'organizationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'playerId': { name: 'playerId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'serverId': { name: 'serverId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'sessionId': { name: 'sessionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; };
411
+ 'UserDisconnectEvent': { kind: 'OBJECT'; name: 'UserDisconnectEvent'; fields: { 'accountId': { name: 'accountId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'organizationId': { name: 'organizationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'playerId': { name: 'playerId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'serverId': { name: 'serverId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'sessionId': { name: 'sessionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; };
404
412
  'UserGroup': { kind: 'OBJECT'; name: 'UserGroup'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'managerId': { name: 'managerId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'members': { name: 'members'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroupMember'; ofType: null; }; }; }; } }; 'organizationId': { name: 'organizationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
405
413
  'UserGroupEdge': { kind: 'OBJECT'; name: 'UserGroupEdge'; fields: { 'cursor': { name: 'cursor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'node': { name: 'node'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroup'; ofType: null; }; }; }; } }; }; };
406
414
  'UserGroupMember': { kind: 'OBJECT'; name: 'UserGroupMember'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'groupId': { name: 'groupId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'playerProfileId': { name: 'playerProfileId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'status': { name: 'status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'UserGroupMemberStatus'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
407
415
  'UserGroupMemberStatus': { name: 'UserGroupMemberStatus'; enumValues: 'ACCEPTED' | 'DENIED' | 'PENDING'; };
408
416
  'UserGroups': { kind: 'OBJECT'; name: 'UserGroups'; fields: { 'edges': { name: 'edges'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroupEdge'; ofType: null; }; }; }; } }; 'nodes': { name: 'nodes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserGroup'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ResponsePageInfo'; ofType: null; }; } }; 'totalCount': { name: 'totalCount'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; }; };
409
417
  'UserGroupsQueryInput': { kind: 'INPUT_OBJECT'; name: 'UserGroupsQueryInput'; isOneOf: false; inputFields: [{ name: 'ids'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; }; }; defaultValue: null }]; };
418
+ 'UsersConnectedEvent': { kind: 'OBJECT'; name: 'UsersConnectedEvent'; fields: { 'usersConnected': { name: 'usersConnected'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserConnectionEvent'; ofType: null; }; }; }; } }; }; };
419
+ 'UsersDisconnectedEvent': { kind: 'OBJECT'; name: 'UsersDisconnectedEvent'; fields: { 'usersDisconnected': { name: 'usersDisconnected'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserDisconnectEvent'; ofType: null; }; }; }; } }; }; };
410
420
  'Variable': { kind: 'OBJECT'; name: 'Variable'; fields: { 'defaultValue': { name: 'defaultValue'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
411
421
  'VariableInput': { kind: 'INPUT_OBJECT'; name: 'VariableInput'; isOneOf: false; inputFields: [{ name: 'defaultValue'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
412
422
  'Void': unknown;
@@ -538,20 +548,6 @@ export declare const useConnectedPlayer: () => {
538
548
  logout: (callbackPath?: string | null | undefined, extras?: StringMap) => Promise<void>;
539
549
  };
540
550
 
541
- export declare const useOrganization: () => {
542
- loading: boolean;
543
- error: ApolloError | undefined;
544
- data: {
545
- organization: {
546
- id: string;
547
- identityProviders: {
548
- name: string;
549
- id: string;
550
- }[];
551
- };
552
- } | undefined;
553
- };
554
-
555
551
  /**
556
552
  * Fetches all results from a paginated query
557
553
  * @param query The query to fetch