@@ -23,13 +23,13 @@ const documents = {
23
23
types . GetFilesDocument ,
24
24
'\n query GetPastes($after: String) {\n user {\n pastes(first: 24, after: $after) {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n ...PasteCard\n }\n }\n }\n }\n }\n' :
25
25
types . GetPastesDocument ,
26
+ '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' :
27
+ types . LoginDocument ,
26
28
'\n query Config {\n config {\n allowTypes\n inquiriesEmail\n requireEmails\n uploadLimit\n currentHost {\n normalised\n redirect\n }\n rootHost {\n normalised\n url\n }\n hosts {\n normalised\n }\n }\n }\n' :
27
29
types . ConfigDocument ,
28
30
'\n fragment RegularUser on User {\n id\n username\n email\n verifiedEmail\n }\n' :
29
31
types . RegularUserFragmentDoc ,
30
32
'\n query GetUser {\n user {\n ...RegularUser\n }\n }\n' : types . GetUserDocument ,
31
- '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' :
32
- types . LoginDocument ,
33
33
'\n mutation Logout {\n logout\n }\n' : types . LogoutDocument ,
34
34
'\n query GenerateOTP {\n generateOTP {\n recoveryCodes\n qrauthUrl\n secret\n }\n }\n' :
35
35
types . GenerateOtpDocument ,
@@ -100,6 +100,12 @@ export function graphql(
100
100
export function graphql (
101
101
source : '\n query GetPastes($after: String) {\n user {\n pastes(first: 24, after: $after) {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n ...PasteCard\n }\n }\n }\n }\n }\n' ,
102
102
) : ( typeof documents ) [ '\n query GetPastes($after: String) {\n user {\n pastes(first: 24, after: $after) {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n ...PasteCard\n }\n }\n }\n }\n }\n' ] ;
103
+ /**
104
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
105
+ */
106
+ export function graphql (
107
+ source : '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' ,
108
+ ) : ( typeof documents ) [ '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' ] ;
103
109
/**
104
110
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
105
111
*/
@@ -118,12 +124,6 @@ export function graphql(
118
124
export function graphql (
119
125
source : '\n query GetUser {\n user {\n ...RegularUser\n }\n }\n' ,
120
126
) : ( typeof documents ) [ '\n query GetUser {\n user {\n ...RegularUser\n }\n }\n' ] ;
121
- /**
122
- * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
123
- */
124
- export function graphql (
125
- source : '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' ,
126
- ) : ( typeof documents ) [ '\n mutation Login($username: String!, $password: String!, $otp: String) {\n login(username: $username, password: $password, otpCode: $otp) {\n ...RegularUser\n }\n }\n' ] ;
127
127
/**
128
128
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
129
129
*/
0 commit comments