@@ -2350,6 +2350,7 @@ export type SetDiscordEventLinkPayload = {
23502350
23512351export type Setting = Node & {
23522352 __typename ?: 'Setting' ;
2353+ discordIntegrationEnabled : Scalars [ 'Boolean' ] ;
23532354 icalPassword ?: Maybe < Scalars [ 'String' ] > ;
23542355 /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */
23552356 nodeId : Scalars [ 'ID' ] ;
@@ -2362,6 +2363,7 @@ export type Setting = Node & {
23622363
23632364/** Represents an update to a `Setting`. Fields that are set will be updated. */
23642365export type SettingPatch = {
2366+ discordIntegrationEnabled ?: InputMaybe < Scalars [ 'Boolean' ] > ;
23652367 icalPassword ?: InputMaybe < Scalars [ 'String' ] > ;
23662368 registrationAllowed ?: InputMaybe < Scalars [ 'Boolean' ] > ;
23672369 registrationDefaultRole ?: InputMaybe < Role > ;
@@ -3661,14 +3663,14 @@ export type UpdateCredentialsForCtfIdMutationVariables = Exact<{
36613663
36623664export type UpdateCredentialsForCtfIdMutation = { __typename ?: 'Mutation' , updateCtfSecret ?: { __typename ?: 'UpdateCtfSecretPayload' , ctfSecret ?: { __typename ?: 'CtfSecret' , nodeId : string , credentials ?: string | null } | null } | null } ;
36633665
3664- export type SettingsInfoFragment = { __typename ?: 'Setting' , nodeId : string , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string } ;
3666+ export type SettingsInfoFragment = { __typename ?: 'Setting' , nodeId : string , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string , discordIntegrationEnabled : boolean } ;
36653667
3666- export type AdminSettingsInfoFragment = { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string } ;
3668+ export type AdminSettingsInfoFragment = { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string , discordIntegrationEnabled : boolean } ;
36673669
36683670export type GetSettingsQueryVariables = Exact < { [ key : string ] : never ; } > ;
36693671
36703672
3671- export type GetSettingsQuery = { __typename ?: 'Query' , settings ?: { __typename ?: 'SettingsConnection' , nodes : Array < { __typename ?: 'Setting' , nodeId : string , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string } > } | null } ;
3673+ export type GetSettingsQuery = { __typename ?: 'Query' , settings ?: { __typename ?: 'SettingsConnection' , nodes : Array < { __typename ?: 'Setting' , nodeId : string , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string , discordIntegrationEnabled : boolean } > } | null } ;
36723674
36733675export type GetIcalPasswordQueryVariables = Exact < { [ key : string ] : never ; } > ;
36743676
@@ -3678,15 +3680,15 @@ export type GetIcalPasswordQuery = { __typename?: 'Query', settings?: { __typena
36783680export type GetAdminSettingsQueryVariables = Exact < { [ key : string ] : never ; } > ;
36793681
36803682
3681- export type GetAdminSettingsQuery = { __typename ?: 'Query' , settings ?: { __typename ?: 'SettingsConnection' , nodes : Array < { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string } > } | null } ;
3683+ export type GetAdminSettingsQuery = { __typename ?: 'Query' , settings ?: { __typename ?: 'SettingsConnection' , nodes : Array < { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string , discordIntegrationEnabled : boolean } > } | null } ;
36823684
36833685export type UpdateSettingsMutationVariables = Exact < {
36843686 nodeId : Scalars [ 'ID' ] ;
36853687 patch : SettingPatch ;
36863688} > ;
36873689
36883690
3689- export type UpdateSettingsMutation = { __typename ?: 'Mutation' , updateSettingByNodeId ?: { __typename ?: 'UpdateSettingPayload' , setting ?: { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string } | null } | null } ;
3691+ export type UpdateSettingsMutation = { __typename ?: 'Mutation' , updateSettingByNodeId ?: { __typename ?: 'UpdateSettingPayload' , setting ?: { __typename ?: 'Setting' , nodeId : string , registrationPassword : string , registrationDefaultRole : Role , icalPassword ?: string | null , registrationAllowed : boolean , registrationPasswordAllowed : boolean , style : string , discordIntegrationEnabled : boolean } | null } | null } ;
36903692
36913693export type TagFragment = { __typename ?: 'Tag' , nodeId : string , id : number , tag : string } ;
36923694
@@ -3955,6 +3957,7 @@ export const SettingsInfoFragmentDoc = gql`
39553957 registrationAllowed
39563958 registrationPasswordAllowed
39573959 style
3960+ discordIntegrationEnabled
39583961}
39593962 ` ;
39603963export const AdminSettingsInfoFragmentDoc = gql `
@@ -6127,6 +6130,7 @@ export const SettingsInfo = gql`
61276130 registrationAllowed
61286131 registrationPasswordAllowed
61296132 style
6133+ discordIntegrationEnabled
61306134}
61316135 ` ;
61326136export const AdminSettingsInfo = gql `
0 commit comments