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

Function getUserMeasurementsList

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

Source from the content-addressed store, hash-verified

98}
99
100export async function getUserMeasurementsList(
101 baseUrl: string,
102 userApiKey: string,
103) {
104 const client = getGraphqlClient(baseUrl);
105 const { userMeasurementsList } = await client.request(
106 UserMeasurementsListDocument,
107 { input: {} },
108 { Authorization: `Bearer ${userApiKey}` },
109 );
110 return userMeasurementsList.response;
111}
112
113export async function getFirstExerciseId(
114 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