2
2
import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core' ;
3
3
import { graphql , type GraphQLResponseResolver , type RequestHandlerOptions } from 'msw'
4
4
export type Maybe < T > = T | null ;
5
- export type InputMaybe < T > = Maybe < T > ;
5
+ export type InputMaybe < T > = T | null | undefined ;
6
6
export type Exact < T extends { [ key : string ] : unknown } > = { [ K in keyof T ] : T [ K ] } ;
7
7
export type MakeOptional < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] ?: Maybe < T [ SubKey ] > } ;
8
8
export type MakeMaybe < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] : Maybe < T [ SubKey ] > } ;
@@ -1838,10 +1838,13 @@ export type UserEmailListQueryVariables = Exact<{
1838
1838
} > ;
1839
1839
1840
1840
1841
- export type UserEmailListQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | { __typename : 'User' , emails : { __typename ?: 'UserEmailConnection' , totalCount : number , edges : Array < { __typename ?: 'UserEmailEdge' , cursor : string , node : (
1842
- { __typename ?: 'UserEmail' }
1843
- & { ' $fragmentRefs' ?: { 'UserEmail_EmailFragment' : UserEmail_EmailFragment } }
1844
- ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } } ;
1841
+ export type UserEmailListQuery = { __typename ?: 'Query' , viewer :
1842
+ | { __typename : 'Anonymous' }
1843
+ | { __typename : 'User' , emails : { __typename ?: 'UserEmailConnection' , totalCount : number , edges : Array < { __typename ?: 'UserEmailEdge' , cursor : string , node : (
1844
+ { __typename ?: 'UserEmail' }
1845
+ & { ' $fragmentRefs' ?: { 'UserEmail_EmailFragment' : UserEmail_EmailFragment } }
1846
+ ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } }
1847
+ } ;
1845
1848
1846
1849
export type UserEmailList_UserFragment = { __typename ?: 'User' , hasPassword : boolean } & { ' $fragmentName' ?: 'UserEmailList_UserFragment' } ;
1847
1850
@@ -1852,10 +1855,14 @@ export type BrowserSessionsOverview_UserFragment = { __typename?: 'User', id: st
1852
1855
export type UserProfileQueryVariables = Exact < { [ key : string ] : never ; } > ;
1853
1856
1854
1857
1855
- export type UserProfileQuery = { __typename ?: 'Query' , viewerSession : { __typename : 'Anonymous' } | { __typename : 'BrowserSession' , id : string , user : (
1856
- { __typename ?: 'User' , hasPassword : boolean , emails : { __typename ?: 'UserEmailConnection' , totalCount : number } }
1857
- & { ' $fragmentRefs' ?: { 'AddEmailForm_UserFragment' : AddEmailForm_UserFragment ; 'UserEmailList_UserFragment' : UserEmailList_UserFragment ; 'AccountDeleteButton_UserFragment' : AccountDeleteButton_UserFragment } }
1858
- ) } | { __typename : 'Oauth2Session' } , siteConfig : (
1858
+ export type UserProfileQuery = { __typename ?: 'Query' , viewerSession :
1859
+ | { __typename : 'Anonymous' }
1860
+ | { __typename : 'BrowserSession' , id : string , user : (
1861
+ { __typename ?: 'User' , hasPassword : boolean , emails : { __typename ?: 'UserEmailConnection' , totalCount : number } }
1862
+ & { ' $fragmentRefs' ?: { 'AddEmailForm_UserFragment' : AddEmailForm_UserFragment ; 'UserEmailList_UserFragment' : UserEmailList_UserFragment ; 'AccountDeleteButton_UserFragment' : AccountDeleteButton_UserFragment } }
1863
+ ) }
1864
+ | { __typename : 'Oauth2Session' }
1865
+ , siteConfig : (
1859
1866
{ __typename ?: 'SiteConfig' , emailChangeAllowed : boolean , passwordLoginEnabled : boolean , accountDeactivationAllowed : boolean }
1860
1867
& { ' $fragmentRefs' ?: { 'AddEmailForm_SiteConfigFragment' : AddEmailForm_SiteConfigFragment ; 'UserEmailList_SiteConfigFragment' : UserEmailList_SiteConfigFragment ; 'PasswordChange_SiteConfigFragment' : PasswordChange_SiteConfigFragment ; 'AccountDeleteButton_SiteConfigFragment' : AccountDeleteButton_SiteConfigFragment } }
1861
1868
) } ;
@@ -1874,18 +1881,25 @@ export type BrowserSessionListQueryVariables = Exact<{
1874
1881
} > ;
1875
1882
1876
1883
1877
- export type BrowserSessionListQuery = { __typename ?: 'Query' , viewerSession : { __typename : 'Anonymous' } | { __typename : 'BrowserSession' , id : string , user : { __typename ?: 'User' , id : string , browserSessions : { __typename ?: 'BrowserSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'BrowserSessionEdge' , cursor : string , node : (
1878
- { __typename ?: 'BrowserSession' , id : string }
1879
- & { ' $fragmentRefs' ?: { 'BrowserSession_SessionFragment' : BrowserSession_SessionFragment } }
1880
- ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } } | { __typename : 'Oauth2Session' } } ;
1884
+ export type BrowserSessionListQuery = { __typename ?: 'Query' , viewerSession :
1885
+ | { __typename : 'Anonymous' }
1886
+ | { __typename : 'BrowserSession' , id : string , user : { __typename ?: 'User' , id : string , browserSessions : { __typename ?: 'BrowserSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'BrowserSessionEdge' , cursor : string , node : (
1887
+ { __typename ?: 'BrowserSession' , id : string }
1888
+ & { ' $fragmentRefs' ?: { 'BrowserSession_SessionFragment' : BrowserSession_SessionFragment } }
1889
+ ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } }
1890
+ | { __typename : 'Oauth2Session' }
1891
+ } ;
1881
1892
1882
1893
export type SessionsOverviewQueryVariables = Exact < { [ key : string ] : never ; } > ;
1883
1894
1884
1895
1885
- export type SessionsOverviewQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | (
1886
- { __typename : 'User' , id : string }
1887
- & { ' $fragmentRefs' ?: { 'BrowserSessionsOverview_UserFragment' : BrowserSessionsOverview_UserFragment } }
1888
- ) } ;
1896
+ export type SessionsOverviewQuery = { __typename ?: 'Query' , viewer :
1897
+ | { __typename : 'Anonymous' }
1898
+ | (
1899
+ { __typename : 'User' , id : string }
1900
+ & { ' $fragmentRefs' ?: { 'BrowserSessionsOverview_UserFragment' : BrowserSessionsOverview_UserFragment } }
1901
+ )
1902
+ } ;
1889
1903
1890
1904
export type AppSessionsListQueryVariables = Exact < {
1891
1905
before ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -1896,21 +1910,30 @@ export type AppSessionsListQueryVariables = Exact<{
1896
1910
} > ;
1897
1911
1898
1912
1899
- export type AppSessionsListQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | { __typename : 'User' , id : string , appSessions : { __typename ?: 'AppSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'AppSessionEdge' , cursor : string , node : (
1900
- { __typename : 'CompatSession' }
1901
- & { ' $fragmentRefs' ?: { 'CompatSession_SessionFragment' : CompatSession_SessionFragment } }
1902
- ) | (
1903
- { __typename : 'Oauth2Session' }
1904
- & { ' $fragmentRefs' ?: { 'OAuth2Session_SessionFragment' : OAuth2Session_SessionFragment } }
1905
- ) } > , pageInfo : { __typename ?: 'PageInfo' , startCursor ?: string | null , endCursor ?: string | null , hasNextPage : boolean , hasPreviousPage : boolean } } } } ;
1913
+ export type AppSessionsListQuery = { __typename ?: 'Query' , viewer :
1914
+ | { __typename : 'Anonymous' }
1915
+ | { __typename : 'User' , id : string , appSessions : { __typename ?: 'AppSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'AppSessionEdge' , cursor : string , node :
1916
+ | (
1917
+ { __typename : 'CompatSession' }
1918
+ & { ' $fragmentRefs' ?: { 'CompatSession_SessionFragment' : CompatSession_SessionFragment } }
1919
+ )
1920
+ | (
1921
+ { __typename : 'Oauth2Session' }
1922
+ & { ' $fragmentRefs' ?: { 'OAuth2Session_SessionFragment' : OAuth2Session_SessionFragment } }
1923
+ )
1924
+ } > , pageInfo : { __typename ?: 'PageInfo' , startCursor ?: string | null , endCursor ?: string | null , hasNextPage : boolean , hasPreviousPage : boolean } } }
1925
+ } ;
1906
1926
1907
1927
export type CurrentUserGreetingQueryVariables = Exact < { [ key : string ] : never ; } > ;
1908
1928
1909
1929
1910
- export type CurrentUserGreetingQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | (
1911
- { __typename : 'User' }
1912
- & { ' $fragmentRefs' ?: { 'UserGreeting_UserFragment' : UserGreeting_UserFragment } }
1913
- ) , siteConfig : (
1930
+ export type CurrentUserGreetingQuery = { __typename ?: 'Query' , viewer :
1931
+ | { __typename : 'Anonymous' }
1932
+ | (
1933
+ { __typename : 'User' }
1934
+ & { ' $fragmentRefs' ?: { 'UserGreeting_UserFragment' : UserGreeting_UserFragment } }
1935
+ )
1936
+ , siteConfig : (
1914
1937
{ __typename ?: 'SiteConfig' , planManagementIframeUri ?: string | null }
1915
1938
& { ' $fragmentRefs' ?: { 'UserGreeting_SiteConfigFragment' : UserGreeting_SiteConfigFragment } }
1916
1939
) } ;
@@ -1928,15 +1951,21 @@ export type OAuth2ClientQuery = { __typename?: 'Query', oauth2Client?: (
1928
1951
export type CurrentViewerQueryVariables = Exact < { [ key : string ] : never ; } > ;
1929
1952
1930
1953
1931
- export type CurrentViewerQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' , id : string } | { __typename : 'User' , id : string } } ;
1954
+ export type CurrentViewerQuery = { __typename ?: 'Query' , viewer :
1955
+ | { __typename : 'Anonymous' , id : string }
1956
+ | { __typename : 'User' , id : string }
1957
+ } ;
1932
1958
1933
1959
export type DeviceRedirectQueryVariables = Exact < {
1934
1960
deviceId : Scalars [ 'String' ] [ 'input' ] ;
1935
1961
userId : Scalars [ 'ID' ] [ 'input' ] ;
1936
1962
} > ;
1937
1963
1938
1964
1939
- export type DeviceRedirectQuery = { __typename ?: 'Query' , session ?: { __typename : 'CompatSession' , id : string } | { __typename : 'Oauth2Session' , id : string } | null } ;
1965
+ export type DeviceRedirectQuery = { __typename ?: 'Query' , session ?:
1966
+ | { __typename : 'CompatSession' , id : string }
1967
+ | { __typename : 'Oauth2Session' , id : string }
1968
+ | null } ;
1940
1969
1941
1970
export type VerifyEmailQueryVariables = Exact < {
1942
1971
id : Scalars [ 'ID' ] [ 'input' ] ;
@@ -1973,7 +2002,10 @@ export type ChangePasswordMutation = { __typename?: 'Mutation', setPassword: { _
1973
2002
export type PasswordChangeQueryVariables = Exact < { [ key : string ] : never ; } > ;
1974
2003
1975
2004
1976
- export type PasswordChangeQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' , id : string } | { __typename : 'User' , id : string } , siteConfig : (
2005
+ export type PasswordChangeQuery = { __typename ?: 'Query' , viewer :
2006
+ | { __typename : 'Anonymous' , id : string }
2007
+ | { __typename : 'User' , id : string }
2008
+ , siteConfig : (
1977
2009
{ __typename ?: 'SiteConfig' }
1978
2010
& { ' $fragmentRefs' ?: { 'PasswordCreationDoubleInput_SiteConfigFragment' : PasswordCreationDoubleInput_SiteConfigFragment } }
1979
2011
) } ;
@@ -2025,16 +2057,35 @@ export type SessionDetailQueryVariables = Exact<{
2025
2057
} > ;
2026
2058
2027
2059
2028
- export type SessionDetailQuery = { __typename ?: 'Query' , viewerSession : { __typename ?: 'Anonymous' , id : string } | { __typename ?: 'BrowserSession' , id : string } | { __typename ?: 'Oauth2Session' , id : string } , node ?: { __typename : 'Anonymous' , id : string } | { __typename : 'Authentication' , id : string } | (
2029
- { __typename : 'BrowserSession' , id : string }
2030
- & { ' $fragmentRefs' ?: { 'BrowserSession_DetailFragment' : BrowserSession_DetailFragment } }
2031
- ) | (
2032
- { __typename : 'CompatSession' , id : string }
2033
- & { ' $fragmentRefs' ?: { 'CompatSession_DetailFragment' : CompatSession_DetailFragment } }
2034
- ) | { __typename : 'CompatSsoLogin' , id : string } | { __typename : 'Oauth2Client' , id : string } | (
2035
- { __typename : 'Oauth2Session' , id : string }
2036
- & { ' $fragmentRefs' ?: { 'OAuth2Session_DetailFragment' : OAuth2Session_DetailFragment } }
2037
- ) | { __typename : 'SiteConfig' , id : string } | { __typename : 'UpstreamOAuth2Link' , id : string } | { __typename : 'UpstreamOAuth2Provider' , id : string } | { __typename : 'User' , id : string } | { __typename : 'UserEmail' , id : string } | { __typename : 'UserEmailAuthentication' , id : string } | { __typename : 'UserRecoveryTicket' , id : string } | null } ;
2060
+ export type SessionDetailQuery = { __typename ?: 'Query' , viewerSession :
2061
+ | { __typename ?: 'Anonymous' , id : string }
2062
+ | { __typename ?: 'BrowserSession' , id : string }
2063
+ | { __typename ?: 'Oauth2Session' , id : string }
2064
+ , node ?:
2065
+ | { __typename : 'Anonymous' , id : string }
2066
+ | { __typename : 'Authentication' , id : string }
2067
+ | (
2068
+ { __typename : 'BrowserSession' , id : string }
2069
+ & { ' $fragmentRefs' ?: { 'BrowserSession_DetailFragment' : BrowserSession_DetailFragment } }
2070
+ )
2071
+ | (
2072
+ { __typename : 'CompatSession' , id : string }
2073
+ & { ' $fragmentRefs' ?: { 'CompatSession_DetailFragment' : CompatSession_DetailFragment } }
2074
+ )
2075
+ | { __typename : 'CompatSsoLogin' , id : string }
2076
+ | { __typename : 'Oauth2Client' , id : string }
2077
+ | (
2078
+ { __typename : 'Oauth2Session' , id : string }
2079
+ & { ' $fragmentRefs' ?: { 'OAuth2Session_DetailFragment' : OAuth2Session_DetailFragment } }
2080
+ )
2081
+ | { __typename : 'SiteConfig' , id : string }
2082
+ | { __typename : 'UpstreamOAuth2Link' , id : string }
2083
+ | { __typename : 'UpstreamOAuth2Provider' , id : string }
2084
+ | { __typename : 'User' , id : string }
2085
+ | { __typename : 'UserEmail' , id : string }
2086
+ | { __typename : 'UserEmailAuthentication' , id : string }
2087
+ | { __typename : 'UserRecoveryTicket' , id : string }
2088
+ | null } ;
2038
2089
2039
2090
export class TypedDocumentString < TResult , TVariables >
2040
2091
extends String
0 commit comments