MCPcopy Create free account
hub / github.com/TomDoesTech/REST-API-Tutorial-Updated / ProductDocument

Interface ProductDocument

src/models/product.model.ts:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15export interface ProductDocument extends ProductInput, mongoose.Document {
16 createdAt: Date;
17 updatedAt: Date;
18}
19
20const productSchema = new mongoose.Schema(
21 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected