File size: 350 Bytes
65b4f03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type { Timestamps } from './Timestamps';

export interface Picture extends Timestamps {
	_id: string;
	productId?: string;
	name: string;

	storage: Array<{
		_id: string;
		width: number;
		height: number;
		size: number;
	}>;
}

export interface PictureFs extends Timestamps {
	_id: string;
	data: Buffer;
	size: number;
	picture: string;
}