UNPKG

openblox

Version:

Roblox API Wrapper For Both Classic And OpenCloud APIs.

15 lines (14 loc) 725 B
import type { Identifier, ObjectPrettify, ObjectKeysToCamelCase } from "typeforge"; export type RawUniverseFollowingsForUserData<UserId extends Identifier> = ObjectPrettify<{ universeId: Identifier; userId: UserId; }>[]; export type RawUniverseFollowingStatusForUserData<UniverseId extends Identifier, UserId extends Identifier> = { UniverseId: UniverseId; UserId: UserId; CanFollow: boolean; IsFollowing: boolean; FollowingCountByType: number; FollowingLimitByType: number; }; export type PrettifiedUniverseFollowingStatusForUserData<UniverseId extends Identifier, UserId extends Identifier> = ObjectPrettify<ObjectKeysToCamelCase<RawUniverseFollowingStatusForUserData<UniverseId, UserId>>>;