()
| 118 | )` |
| 119 | |
| 120 | const clientGroupsFixture = () => `// Compares client derivation for 100 groups with 5 same-shaped endpoints each. |
| 121 | ${imports({ client: true })} |
| 122 | |
| 123 | ${warmup} |
| 124 | |
| 125 | ${schemas} |
| 126 | |
| 127 | ${multipleGroupsApi(100, 5)} |
| 128 | |
| 129 | type Client = HttpApiClient.ForApi<typeof api> |
| 130 | type GroupClients = Client[keyof Client] |
| 131 | type Methods = GroupClients[keyof GroupClients] |
| 132 | |
| 133 | ${assertions} |
| 134 | |
| 135 | export type HasLastGroup = Assert<"group100" extends keyof Client ? true : false> |
| 136 | export type HasLastEndpoint = Assert<"getUser0005" extends keyof GroupClients ? true : false> |
| 137 | export type MethodsExist = Assert<IsNever<Methods> extends false ? true : false> |
| 138 | export type ClientMethodRequests = Parameters<Methods>[0] |
| 139 | export type ClientMethodResults = ReturnType<Methods> |
| 140 | ` |
| 141 | |
| 142 | const clientEndpointFixture = () => `// Compares HttpApiClient.endpoint selection from 500 same-shaped endpoints. |
| 143 | ${imports({ client: true, effect: true, httpClient: true })} |
no test coverage detected