feat: teams return only userId related data, on POST create ownership membership for userId

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-20 23:42:49 +02:00
1 parent e138df47ba
commit ec903b21c6
4 files changed
+78 -43

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ export type UsersResponse = BaseResponse & {
// Team
export type TeamResponse = BaseResponse & {
team?: Partial<Team>;
owner?: Partial<Membership>;
};
export type TeamsResponse = BaseResponse & {
teams?: Partial<Team>[];