change member invite to api route, add resend invitation mail, add delete invitation, fixes ST-87

This commit is contained in:
Gregor Vostrak
2024-06-26 14:32:16 +02:00
parent 42da2c3397
commit 099926f95c
12 changed files with 207 additions and 31 deletions

View File

@@ -89,6 +89,9 @@ export type Member = MemberIndexResponse['data'][0];
export type UpdateMemberBody = ZodiosBodyByAlias<SolidTimeApi, 'updateMember'>;
export type InviteMemberBody = ZodiosBodyByAlias<SolidTimeApi, 'invite'>;
export type MemberRole = InviteMemberBody['role'];
export type CreateTagBody = ZodiosBodyByAlias<SolidTimeApi, 'createTag'>;
export type ImportType = ZodiosResponseByAlias<