summary refs log tree commit diff
diff options
context:
space:
mode:
authorCyber <cyber.hf18@gmail.com>2025-11-18 07:35:03 +0100
committerGitHub <noreply@github.com>2025-11-18 07:35:03 +0100
commit4fc7fa629c90fb3e140aa6d4e766fc19f2baf103 (patch)
tree6e14dd0ef8735b4f935ca3d054e38b9b43bd5297
parentMerge pull request #1386 from MathMan05/notiFix (diff)
parentMerge branch 'master' into RoleTypeFix2 (diff)
downloadserver-ts-4fc7fa629c90fb3e140aa6d4e766fc19f2baf103.tar.xz
Merge pull request #1388 from MathMan05/RoleTypeFix2
-rw-r--r--src/schemas/uncategorised/RoleModifySchema.ts12
1 files 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; }