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

Function getUserWorkoutsList

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

Source from the content-addressed store, hash-verified

88}
89
90export async function getUserWorkoutsList(baseUrl: string, userApiKey: string) {
91 const client = getGraphqlClient(baseUrl);
92 const { userWorkoutsList } = await client.request(
93 UserWorkoutsListDocument,
94 { input: { search: {} } },
95 { Authorization: `Bearer ${userApiKey}` },
96 );
97 return userWorkoutsList.response.items;
98}
99
100export async function getUserMeasurementsList(
101 baseUrl: string,

Callers 2

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

Calls 1

getGraphqlClientFunction · 0.85

Tested by

no test coverage detected