feat: add audit logging via webhook

This commit is contained in:
41666 2021-07-13 22:15:55 -04:00
parent 5dce2fc949
commit ad8dd18d02
13 changed files with 485 additions and 22 deletions

View file

@ -14,6 +14,7 @@ export default {
),
],
args: {
errors: { validationStatus: 0 },
guilds: mastheadSlugs,
user: user,
guild: guildEnum.guilds[0],

View file

@ -11,7 +11,9 @@ export const EditorTemplate = (
props;
return (
<AppShell {...appShellProps} activeGuildId={guild.id} small double>
<EditorShell guild={guild} onGuildChange={onGuildChange} />
<EditorShell guild={guild} onGuildChange={onGuildChange} errors={props.errors} />
</AppShell>
);
};
export type EditorErrors = EditorShellProps['errors'];