mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
types(audit_log): fix AuditLog typos (#696)
This commit is contained in:
@@ -2,15 +2,15 @@ import { SnakeCaseProps } from "../util.ts";
|
||||
import { AuditLogEntry } from "./audit_log_entry.ts";
|
||||
|
||||
/** https://discord.com/developers/docs/resources/audit-log#audit-log-object */
|
||||
export interface AuditLogPayload {
|
||||
export interface AuditLog {
|
||||
/** list of webhooks found in the audit log */
|
||||
webhooks: Webhook[];
|
||||
/** list of users found in the audit log */
|
||||
users: User[];
|
||||
/** list of audit log entries */
|
||||
auditLogEntriesA: AuditLogEntry[];
|
||||
auditLogEntries: AuditLogEntry[];
|
||||
/** list of partial integration objects */
|
||||
integrations: Partial<Integration>[];
|
||||
}
|
||||
|
||||
export type DiscordAuditLogPayload = SnakeCaseProps<AuditLogPayload>;
|
||||
export type DiscordAuditLog = SnakeCaseProps<AuditLog>;
|
||||
Reference in New Issue
Block a user