From b4ce7f55b19ca2f2a2d32bc9d461aaeb65801fe6 Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Sun, 28 Mar 2021 13:33:58 +0200 Subject: [PATCH] types(audit_log): fix AuditLog typos (#696) --- src/types/audit_log/{audit_log_payload.ts => audit_log.ts} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/types/audit_log/{audit_log_payload.ts => audit_log.ts} (75%) diff --git a/src/types/audit_log/audit_log_payload.ts b/src/types/audit_log/audit_log.ts similarity index 75% rename from src/types/audit_log/audit_log_payload.ts rename to src/types/audit_log/audit_log.ts index 649d65567..f715c90c9 100644 --- a/src/types/audit_log/audit_log_payload.ts +++ b/src/types/audit_log/audit_log.ts @@ -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[]; } -export type DiscordAuditLogPayload = SnakeCaseProps; +export type DiscordAuditLog = SnakeCaseProps;