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

Function getAutocompleteCompanies

packages/shared/src/graphql/autocomplete.ts:57–68  ·  view source on GitHub ↗
(
  query: string,
  type: AutocompleteType = AutocompleteType.Company,
  limit = 10,
)

Source from the content-addressed store, hash-verified

55`;
56
57export const getAutocompleteCompanies = async (
58 query: string,
59 type: AutocompleteType = AutocompleteType.Company,
60 limit = 10,
61): Promise<Company[]> => {
62 const res = await gqlClient.request(AUTOCOMPLETE_COMPANY_QUERY, {
63 query,
64 limit,
65 type,
66 });
67 return res.autocompleteCompany;
68};
69
70export interface GitHubRepository {
71 id: string;

Callers 1

ProfileCompanyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected