diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 9bac879ce..9c3c1286f 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -503,7 +503,7 @@ export interface PublicUserDocument extends MongoDBDocument { customBanner: boolean; clan: string | null; badges: UserBadges[]; - authLevel: "banned" | null | "mod" | "admin"; + authLevel: "banned" | "user" | "mod" | "admin"; } export interface UGSRatingsLookup { "iidx:SP": "BPI" | "ktRating" | "ktLampRating"; diff --git a/common/src/types.ts b/common/src/types.ts index 3fdaf6220..19be54d97 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -698,7 +698,7 @@ export interface PublicUserDocument extends MongoDBDocument { customBanner: boolean; clan: string | null; // todo badges: UserBadges[]; - authLevel: "banned" | null | "mod" | "admin" + authLevel: "banned" | "user" | "mod" | "admin" } export interface UGSRatingsLookup {