From f27d77a06c8ccc09038f16761e8ab1a5c0c2f397 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Mon, 17 Nov 2025 18:05:37 -0600 Subject: [PATCH] role type fix --- src/schemas/uncategorised/RoleModifySchema.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/schemas/uncategorised/RoleModifySchema.ts b/src/schemas/uncategorised/RoleModifySchema.ts index a6d18931..19cd6042 100644 --- a/src/schemas/uncategorised/RoleModifySchema.ts +++ b/src/schemas/uncategorised/RoleModifySchema.ts @@ -25,9 +25,11 @@ export interface RoleModifySchema { position?: number; icon?: string; unicode_emoji?: string; - colors?: { - primary_color: number; - secondary_color: number | null | undefined; // only used for "holographic" and "gradient" styles - tertiary_color?: number | null | undefined; // only used for "holographic" style - } | undefined; + colors?: + | { + primary_color: number; + secondary_color?: number | null | undefined; // only used for "holographic" and "gradient" styles + tertiary_color?: number | null | undefined; // only used for "holographic" style + } + | undefined; }