diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 06:44:05 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 06:44:05 +0300 |
commit | 1b86dcef9fd537db800e0df2c2f3889ffbc69723 (patch) | |
tree | f44f2d6a21075ac69d01b8b4a298939146fd9bd3 /src/models/product/product.model.ts | |
parent | dc00c06719b5192518a67177caafe28f5027c16c (diff) | |
download | commercel-api-1b86dcef9fd537db800e0df2c2f3889ffbc69723.tar.gz |
feat: add products service
Diffstat (limited to 'src/models/product/product.model.ts')
-rw-r--r-- | src/models/product/product.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/product/product.model.ts b/src/models/product/product.model.ts new file mode 100644 index 0000000..557b5be --- /dev/null +++ b/src/models/product/product.model.ts @@ -0,0 +1,4 @@ +import { Model, model } from 'mongoose'; +import { ProductSchema, productSchema } from './product.schema'; + +export default model<ProductSchema, Model<ProductSchema>>('Product', productSchema); |