File size: 337 Bytes
fa79853 de10f77 67c107f c6195db fa79853 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import type { Picture } from './Picture';
import type { Timestamps } from './Timestamps';
export interface Product extends Timestamps {
_id: string;
name: string;
description: string;
price: number;
kind: 'armchair' | 'cushion' | 'chair' | 'couch' | 'tufting';
state: 'draft' | 'published';
stock: number;
photos: Picture[];
}
|