add exporter in frontend, fixes ST-382

This commit is contained in:
Gregor Vostrak
2024-09-11 12:49:26 +02:00
committed by Constantin Graf
parent 9a8945b0dc
commit 6dd9d5bab0
8 changed files with 258 additions and 33 deletions

View File

@@ -134,6 +134,11 @@ export type MyMemberships = ZodiosResponseByAlias<
export type MyMembership = MyMemberships[0];
export type OrganizationExportResponse = ZodiosResponseByAlias<
SolidTimeApi,
'exportOrganization'
>;
const api = createApiClient('/api', { validate: 'none' });
export { createApiClient, api };