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

Function checkExistingHandle

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

Source from the content-addressed store, hash-verified

1151};
1152
1153export const checkExistingHandle = async (handle: string): Promise<boolean> => {
1154 const req = await gqlClient.request(SQUAD_HANDE_AVAILABILITY_QUERY, {
1155 handle: handle.toLocaleLowerCase(),
1156 });
1157
1158 return req.sourceHandleExists;
1159};
1160
1161export const addPostToSquad =
1162 (requestMethod: typeof gqlClient.request) =>

Callers 2

onSubmitFunction · 0.90
findFreeSquadHandleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected