(handle: string)
| 1142 | }; |
| 1143 | |
| 1144 | export const checkExistingHandle = async (handle: string): Promise<boolean> => { |
| 1145 | const req = await gqlClient.request(SQUAD_HANDE_AVAILABILITY_QUERY, { |
| 1146 | handle: handle.toLocaleLowerCase(), |
| 1147 | }); |
| 1148 | |
| 1149 | return req.sourceHandleExists; |
| 1150 | }; |
| 1151 | |
| 1152 | export const addPostToSquad = |
| 1153 | (requestMethod: typeof gqlClient.request) => |
no outgoing calls
no test coverage detected