import type { Identifier, ISODateTime, ObjectPrettify } from "typeforge"; type BadgeInfo = ObjectPrettify<{ id: BadgeId; name: string; description: string; displayName: string; displayDescription: string; enabled: boolean; iconImageId: Identifier; displayIconImageId: Identifier; created: TemporalType; updated: TemporalType; statistics: { pastDayAwardedCount: number; awardedCount: number; winRatePercentage: number; }; awardingUniverse: { id: UniverseId; name: string; rootPlaceId: Identifier; }; }>; export type RawBadgeInfoData = BadgeInfo; export type PrettifiedBadgeInfoData = BadgeInfo; export type RawPaginatedBadgesData = { previousPageCursor: string | null; nextPageCursor: string | null; data: BadgeInfo[]; }; export type PrettifiedPaginatedBadgesData = BadgeInfo[]; export type RawBadgeAwardedDateForUserData = { badgeId: BadgeId; awardedDate: ISODateTime; } | ""; export type PrettifiedBadgeAwardedDateForUserData = Date | null; export type RawBadgesAwardedDatesForUserData = { data: { badgeId: BadgeId; awardedDate: ISODateTime; }[]; }; export type PrettifiedBadgesAwardedDatesForUserData = { [Key in BadgeId]: Date | undefined; }; export {};