export interface ISimpleAPIObject { type: string; id: string; } export interface IAPIObject extends ISimpleAPIObject { attributes: T; relationships?: R; }