mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
add shared reports section in the frontend
This commit is contained in:
committed by
Constantin Graf
parent
c03aad1abd
commit
2560619c15
@@ -152,6 +152,16 @@ export type OrganizationExportResponse = ZodiosResponseByAlias<
|
||||
'exportOrganization'
|
||||
>;
|
||||
|
||||
export type ReportIndexResponse = ZodiosResponseByAlias<
|
||||
SolidTimeApi,
|
||||
'getReports'
|
||||
>;
|
||||
|
||||
export type CreateReportBody = ZodiosBodyByAlias<SolidTimeApi, 'createReport'>;
|
||||
export type UpdateReportBody = ZodiosBodyByAlias<SolidTimeApi, 'updateReport'>;
|
||||
export type CreateReportBodyProperties = CreateReportBody['properties'];
|
||||
export type Report = ReportIndexResponse['data'][0];
|
||||
|
||||
const api = createApiClient('/api', { validate: 'none' });
|
||||
|
||||
export { createApiClient, api };
|
||||
|
||||
Reference in New Issue
Block a user