UNPKG

react-playmakers

Version:

React wrapper providing utilities for PlayMakers integration

54 lines (53 loc) 1.32 kB
export interface ProjectPushPayloadType { gameEngine?: string; hidden?: boolean; members?: string[]; name?: string; numMonthlyUsers?: number; ownerUsername?: string; platform?: string; } export interface ProjectPayloadType { hidden: boolean; name: string; platform: string; thumbnail: string; gameEngine: string; numMonthlyUsers: number; members?: { [key: string]: string; }[]; } export interface ProjectType extends ProjectPayloadType { id: string; config: string | null; createdAt: string; ownerId: string; } export interface ProjectThemeType { displayMode: "light" | "dark"; borderRadius: Record<string, string>; elements: Record<string, string>; colors: Record<string, string>; fontFamily: { heading: string; body: string; }; } export interface CustomFontType { url: string; name: string; } export interface ProjectConfigType { updatedAt?: string; theme: ProjectThemeType; features: Record<string, string | boolean>; files: { fonts: CustomFontType[]; fontsCss: string[]; logo: string; favicon: string; backgroundImage: string; }; metaData: Record<string, string>; }