Skip to content

Commit

Permalink
Generate schema types
Browse files Browse the repository at this point in the history
  • Loading branch information
jnatten committed Nov 8, 2023
1 parent 6631925 commit 9cb067c
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions src/types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ export type GQLArenaTopic = {
export type GQLArenaUser = {
__typename?: 'ArenaUser';
displayName: Scalars['String'];
username: Scalars['String'];
id: Scalars['Int'];
profilePicture?: Maybe<Scalars['String']>;
slug: Scalars['String'];
username: Scalars['String'];
};

export type GQLArticle = {
Expand Down Expand Up @@ -375,12 +375,6 @@ export type GQLConfigMetaBoolean = {
value: Scalars['Boolean'];
};

export type GQLConfigMetaRestricted = {
__typename?: 'ConfigMetaRestricted';
key: Scalars['String'];
value: Scalars['String'];
};

export type GQLConfigMetaStringList = {
__typename?: 'ConfigMetaStringList';
key: Scalars['String'];
Expand Down Expand Up @@ -1081,6 +1075,7 @@ export type GQLQuery = {
arenaRecentTopics: Array<GQLArenaTopic>;
arenaTopic?: Maybe<GQLArenaTopic>;
arenaTopicsByUser: Array<GQLArenaTopic>;
arenaUser?: Maybe<GQLArenaUser>;
article?: Maybe<GQLArticle>;
audio?: Maybe<GQLAudio>;
competenceGoal?: Maybe<GQLCompetenceGoal>;
Expand Down Expand Up @@ -1126,14 +1121,12 @@ export type GQLQueryAllFolderResourcesArgs = {
size?: InputMaybe<Scalars['Int']>;
};


export type GQLQueryArenaCategoryArgs = {
categoryId: Scalars['Int'];
page: Scalars['Int'];
};

export type GQLQueryArenaUserArgs = {
username: Scalars['String'];
};

export type GQLQueryArenaTopicArgs = {
page: Scalars['Int'];
Expand All @@ -1146,6 +1139,11 @@ export type GQLQueryArenaTopicsByUserArgs = {
};


export type GQLQueryArenaUserArgs = {
username: Scalars['String'];
};


export type GQLQueryArticleArgs = {
absoluteUrl?: InputMaybe<Scalars['Boolean']>;
convertEmbeds?: InputMaybe<Scalars['Boolean']>;
Expand Down Expand Up @@ -1885,7 +1883,6 @@ export type GQLResolversTypes = {
ConceptLicense: ResolverTypeWrapper<GQLConceptLicense>;
ConceptResult: ResolverTypeWrapper<GQLConceptResult>;
ConfigMetaBoolean: ResolverTypeWrapper<GQLConfigMetaBoolean>;
ConfigMetaRestricted: ResolverTypeWrapper<GQLConfigMetaRestricted>;
ConfigMetaStringList: ResolverTypeWrapper<GQLConfigMetaStringList>;
Contributor: ResolverTypeWrapper<GQLContributor>;
Copyright: ResolverTypeWrapper<GQLCopyright>;
Expand Down Expand Up @@ -2034,7 +2031,6 @@ export type GQLResolversParentTypes = {
ConceptLicense: GQLConceptLicense;
ConceptResult: GQLConceptResult;
ConfigMetaBoolean: GQLConfigMetaBoolean;
ConfigMetaRestricted: GQLConfigMetaRestricted;
ConfigMetaStringList: GQLConfigMetaStringList;
Contributor: GQLContributor;
Copyright: GQLCopyright;
Expand Down Expand Up @@ -2204,6 +2200,7 @@ export type GQLArenaUserResolvers<ContextType = any, ParentType extends GQLResol
id?: Resolver<GQLResolversTypes['Int'], ParentType, ContextType>;
profilePicture?: Resolver<Maybe<GQLResolversTypes['String']>, ParentType, ContextType>;
slug?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
username?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

Expand Down Expand Up @@ -2502,12 +2499,6 @@ export type GQLConfigMetaBooleanResolvers<ContextType = any, ParentType extends
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type GQLConfigMetaRestrictedResolvers<ContextType = any, ParentType extends GQLResolversParentTypes['ConfigMetaRestricted'] = GQLResolversParentTypes['ConfigMetaRestricted']> = {
key?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
value?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type GQLConfigMetaStringListResolvers<ContextType = any, ParentType extends GQLResolversParentTypes['ConfigMetaStringList'] = GQLResolversParentTypes['ConfigMetaStringList']> = {
key?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
value?: Resolver<Array<GQLResolversTypes['String']>, ParentType, ContextType>;
Expand Down Expand Up @@ -3119,9 +3110,9 @@ export type GQLQueryResolvers<ContextType = any, ParentType extends GQLResolvers
arenaCategory?: Resolver<Maybe<GQLResolversTypes['ArenaCategory']>, ParentType, ContextType, RequireFields<GQLQueryArenaCategoryArgs, 'categoryId' | 'page'>>;
arenaEnabledOrgs?: Resolver<Maybe<GQLResolversTypes['ConfigMetaStringList']>, ParentType, ContextType>;
arenaRecentTopics?: Resolver<Array<GQLResolversTypes['ArenaTopic']>, ParentType, ContextType>;
arenaUser?: Resolver<Maybe<GQLResolversTypes['ArenaUser']>, ParentType, ContextType, RequireFields<GQLQueryArenaUserArgs, 'username'>>;
arenaTopic?: Resolver<Maybe<GQLResolversTypes['ArenaTopic']>, ParentType, ContextType, RequireFields<GQLQueryArenaTopicArgs, 'page' | 'topicId'>>;
arenaTopicsByUser?: Resolver<Array<GQLResolversTypes['ArenaTopic']>, ParentType, ContextType, RequireFields<GQLQueryArenaTopicsByUserArgs, 'userSlug'>>;
arenaUser?: Resolver<Maybe<GQLResolversTypes['ArenaUser']>, ParentType, ContextType, RequireFields<GQLQueryArenaUserArgs, 'username'>>;
article?: Resolver<Maybe<GQLResolversTypes['Article']>, ParentType, ContextType, RequireFields<GQLQueryArticleArgs, 'id'>>;
audio?: Resolver<Maybe<GQLResolversTypes['Audio']>, ParentType, ContextType, RequireFields<GQLQueryAudioArgs, 'id'>>;
competenceGoal?: Resolver<Maybe<GQLResolversTypes['CompetenceGoal']>, ParentType, ContextType, RequireFields<GQLQueryCompetenceGoalArgs, 'code'>>;
Expand Down Expand Up @@ -3566,7 +3557,6 @@ export type GQLResolvers<ContextType = any> = {
ConceptLicense?: GQLConceptLicenseResolvers<ContextType>;
ConceptResult?: GQLConceptResultResolvers<ContextType>;
ConfigMetaBoolean?: GQLConfigMetaBooleanResolvers<ContextType>;
ConfigMetaRestricted?: GQLConfigMetaRestrictedResolvers<ContextType>;
ConfigMetaStringList?: GQLConfigMetaStringListResolvers<ContextType>;
Contributor?: GQLContributorResolvers<ContextType>;
Copyright?: GQLCopyrightResolvers<ContextType>;
Expand Down

0 comments on commit 9cb067c

Please sign in to comment.