UNPKG

mi-auth-client

Version:
40 lines (39 loc) 784 B
export declare type ID = number; export declare type Token = string; export interface StrapiUser { username: string; id: ID; password: string; email: string; role: StrapiRole; advertisers: StrapiUserAdvertiser[]; platforms: StrapiPlatform[]; } export interface StrapiRole { id: ID; name: string; } export interface StrapiBrand { id: ID; name: string; advertisers: ID[]; disabled: boolean; } export interface StrapiUserAdvertiser { id: ID; name: string; users: StrapiUser[]; brand: ID; disabled: boolean; } export interface StrapiAdvertiser { id: ID; name: string; users: StrapiUser[]; brand: StrapiBrand; disabled: boolean; } export interface StrapiPlatform { id: ID; name: string; }