MCPcopy Create free account
hub / github.com/dailydotdev/apps / checkExistingHandle

Function checkExistingHandle

packages/shared/src/graphql/squads.ts:1144–1150  ·  view source on GitHub ↗
(handle: string)

Source from the content-addressed store, hash-verified

1142};
1143
1144export 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
1152export const addPostToSquad =
1153 (requestMethod: typeof gqlClient.request) =>

Callers 2

onSubmitFunction · 0.90
findFreeSquadHandleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected