Merge pull request #1388 from MathMan05/RoleTypeFix2

This commit is contained in:
Cyber 2025-11-18 07:35:03 +01:00 committed by GitHub
commit 4fc7fa629c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,9 +25,11 @@ export interface RoleModifySchema {
position?: number; position?: number;
icon?: string; icon?: string;
unicode_emoji?: string; unicode_emoji?: string;
colors?: { colors?:
primary_color: number; | {
secondary_color: number | null | undefined; // only used for "holographic" and "gradient" styles primary_color: number;
tertiary_color?: number | null | undefined; // only used for "holographic" style secondary_color?: number | null | undefined; // only used for "holographic" and "gradient" styles
} | undefined; tertiary_color?: number | null | undefined; // only used for "holographic" style
}
| undefined;
} }