blob: 43028c5889b8fbb8e6b4e0f7d06be5634084cb9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import { UserGuildSettings, ChannelOverride } from "@fosscord/util";
// This sucks. I would use a DeepPartial, my own or typeorms, but they both generate inncorect schema
export interface UserGuildSettingsSchema
extends Partial<Omit<UserGuildSettings, "channel_overrides">> {
channel_overrides: {
[channel_id: string]: Partial<ChannelOverride>;
};
}
|