feat: wip

This commit is contained in:
David Nguyen
2023-12-27 16:05:05 +11:00
parent f4309c1c83
commit ca703fc221
9 changed files with 14 additions and 13 deletions

View File

@ -38,7 +38,6 @@ export const findTeamMemberInvites = async ({
userId,
},
},
// Todo: Teams - Should only certain roles be able to find members?
},
});

View File

@ -1,9 +1,10 @@
import { P, match } from 'ts-pattern';
import { prisma } from '@documenso/prisma';
import { Prisma, TeamMember } from '@documenso/prisma/client';
import type { TeamMember } from '@documenso/prisma/client';
import { Prisma } from '@documenso/prisma/client';
import { FindResultSet } from '../../types/find-result-set';
import type { FindResultSet } from '../../types/find-result-set';
export interface FindTeamMembersOptions {
userId: number;
@ -37,7 +38,6 @@ export const findTeamMembers = async ({
userId,
},
},
// Todo: Teams - Should only certain roles be able to find members?
},
});

View File

@ -53,8 +53,6 @@ export const transferTeamOwnership = async ({ token }: TransferTeamOwnershipOpti
);
}
// Todo: Teams - Add billing message in email indicating that billing will be passed on when transferring a team.
await tx.team.update({
where: {
id: team.id,