feat: Add team deletion flow for cloud-hosted (#5717)

This commit is contained in:
Tom Moor
2023-08-21 20:24:46 -04:00
committed by GitHub
parent 5c07694f6b
commit 418d3305b2
26 changed files with 461 additions and 71 deletions

View File

@@ -53,3 +53,11 @@ export const TeamsUpdateSchema = BaseSchema.extend({
});
export type TeamsUpdateSchemaReq = z.infer<typeof TeamsUpdateSchema>;
export const TeamsDeleteSchema = BaseSchema.extend({
body: z.object({
code: z.string(),
}),
});
export type TeamsDeleteSchemaReq = z.infer<typeof TeamsDeleteSchema>;