browser-storage-utilities
Version:
A front-end library that provides utility methods to facilitate CRUD operations to data stored in the browser, and more.
22 lines (19 loc) • 338 B
text/typescript
export interface MockCustomer {
id: number;
firstName: string;
lastName: string;
address?: MockAddress;
}
export interface MockAddress {
street: string;
city: string;
state: string;
zip: number;
}
export interface MockProduct {
id: number;
name: string;
code: string;
customer?: MockCustomer;
customers?: MockCustomer[];
}