feat: platform toggle calendar event creation (#21788)
* feat: add areCalendarEventsEnabled to PlatformOAuthClient table * feat: areCalendarEvents enabled in handleNewBooking and v2 * feat: v2 handle areCalendarEventsEnabled * feat: toggle areCalendarEventsEnabled on frontend * feat: enable areCalendarEventsEnabled for recurring,confirm,paid * refactor: use placeholder calendar event * remove merge conflicts * chore: bump libraries * chore: bump libraries
This commit is contained in:
1 parent
d7fd055171
commit
4a53ec0b74
33 files changed
+525
-22
No files matched your search
@@ -47,6 +47,13 @@ export class OAuthClientRepositoryFixture {
|
||||
});
|
||||
}
|
||||
|
||||
async update(clientId: PlatformOAuthClient["id"], data: Prisma.PlatformOAuthClientUpdateInput) {
|
||||
return this.prismaWriteClient.platformOAuthClient.update({
|
||||
where: { id: clientId },
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
async delete(clientId: PlatformOAuthClient["id"]) {
|
||||
return this.prismaWriteClient.platformOAuthClient.delete({ where: { id: clientId } });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user