MCPcopy
hub / github.com/IgnisDa/ryot / getUserCollectionsList

Function getUserCollectionsList

tests/src/utils.ts:77–88  ·  view source on GitHub ↗
(
	baseUrl: string,
	userApiKey: string,
)

Source from the content-addressed store, hash-verified

75}
76
77export async function getUserCollectionsList(
78 baseUrl: string,
79 userApiKey: string,
80) {
81 const client = getGraphqlClient(baseUrl);
82 const { userCollectionsList } = await client.request(
83 UserCollectionsListDocument,
84 {},
85 { Authorization: `Bearer ${userApiKey}` },
86 );
87 return userCollectionsList.response;
88}
89
90export async function getUserWorkoutsList(baseUrl: string, userApiKey: string) {
91 const client = getGraphqlClient(baseUrl);

Callers 2

user.test.tsFile · 0.90
cache.test.tsFile · 0.90

Calls 1

getGraphqlClientFunction · 0.85

Tested by

no test coverage detected