feat: Add initial frontend components and their corresponding build assets, along with generated API types and configuration.
Some checks failed
Build and Release / build-and-release (push) Failing after 7m50s
Some checks failed
Build and Release / build-and-release (push) Failing after 7m50s
This commit is contained in:
@@ -7,7 +7,8 @@ type TableWithChannelIndex =
|
||||
| "channelKeys"
|
||||
| "dmParticipants"
|
||||
| "typingIndicators"
|
||||
| "voiceStates";
|
||||
| "voiceStates"
|
||||
| "channelReadState";
|
||||
|
||||
async function deleteByChannel(
|
||||
ctx: GenericMutationCtx<DataModel>,
|
||||
@@ -175,6 +176,7 @@ export const remove = mutation({
|
||||
await deleteByChannel(ctx, "dmParticipants", args.id);
|
||||
await deleteByChannel(ctx, "typingIndicators", args.id);
|
||||
await deleteByChannel(ctx, "voiceStates", args.id);
|
||||
await deleteByChannel(ctx, "channelReadState", args.id);
|
||||
|
||||
await ctx.db.delete(args.id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user