UNPKG

@alphanova/builder

Version:

A fully fledged facade that facilitates object manipulation

19 lines (18 loc) 369 B
export interface Structure { createdAt: string; updatedAt: string; } export interface APIStructure extends Structure { id: string; } export interface BuilderResponse<T extends APIStructure> { statusCode: number; type: string; message?: string; error?: string; data: T[]; other?: { type: string; data: T[]; }[]; }