(handle: string)
| 1124 | }; |
| 1125 | |
| 1126 | export const checkExistingHandle = async (handle: string): Promise<boolean> => { |
| 1127 | const req = await gqlClient.request(SQUAD_HANDE_AVAILABILITY_QUERY, { |
| 1128 | handle: handle.toLocaleLowerCase(), |
| 1129 | }); |
| 1130 | |
| 1131 | return req.sourceHandleExists; |
| 1132 | }; |
| 1133 | |
| 1134 | export const addPostToSquad = |
| 1135 | (requestMethod: typeof gqlClient.request) => |
no outgoing calls
no test coverage detected