diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-28 15:40:53 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-28 15:41:41 +0300 |
commit | e63122d84c65f30eb1e063504e7f16a05eb769f1 (patch) | |
tree | f4b31dc8d8c3c42467489a13b696db9145454795 /models/feedback/feedback.model.ts | |
parent | 8baf96be5ea7880cebe3aeda733b9196950be434 (diff) | |
download | which-api-e63122d84c65f30eb1e063504e7f16a05eb769f1.tar.gz |
feat: create Feedback model
Diffstat (limited to 'models/feedback/feedback.model.ts')
-rw-r--r-- | models/feedback/feedback.model.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/models/feedback/feedback.model.ts b/models/feedback/feedback.model.ts new file mode 100644 index 0000000..b2ec4b5 --- /dev/null +++ b/models/feedback/feedback.model.ts @@ -0,0 +1,5 @@ +import { Model, model, Types } from 'mongoose'; +import { FeedbackSchema, feedbackSchema } from './feedback.schema'; + +export default model<FeedbackSchema, Model<FeedbackSchema>>('Feedback', feedbackSchema); + |