| 5 | const nanoid = customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 10); |
| 6 | |
| 7 | export interface ProductInput { |
| 8 | user: UserDocument["_id"]; |
| 9 | title: string; |
| 10 | description: string; |
| 11 | price: number; |
| 12 | image: string; |
| 13 | } |
| 14 | |
| 15 | export interface ProductDocument extends ProductInput, mongoose.Document { |
| 16 | createdAt: Date; |
nothing calls this directly
no outgoing calls
no test coverage detected