stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
12 lines (11 loc) • 378 B
TypeScript
import { TypeShallowUser } from './TypeShallowUser';
export interface TypeBadge {
readonly award_count?: number;
readonly badge_id?: number;
readonly badge_type?: 'named' | 'tag_based';
readonly description?: string;
readonly link?: string;
readonly name?: string;
readonly rank?: 'gold' | 'silver' | 'bronze';
readonly user?: TypeShallowUser;
}