From 51fc884b22330629cd08cee2b658509e390040b9 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 6 Mar 2021 21:25:01 -0500 Subject: [PATCH] remove training db model --- src/models/NNTrainingData.ts | 13 ------------- src/models/index.ts | 1 - 2 files changed, 14 deletions(-) delete mode 100644 src/models/NNTrainingData.ts diff --git a/src/models/NNTrainingData.ts b/src/models/NNTrainingData.ts deleted file mode 100644 index fbff45b..0000000 --- a/src/models/NNTrainingData.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Document, Schema, model } from 'mongoose'; - -export interface NNTrainingDataInterface extends Document { - name: string, - data: [{ input: any, output: object }]; -} - -const NNTrainingData: Schema = new Schema({ - name: String, - data: Array, -}); - -export default model('NNTrainingData', NNTrainingData); diff --git a/src/models/index.ts b/src/models/index.ts index 59a8b60..e6dd9f3 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -5,7 +5,6 @@ export { default as Inquiry, InquiryInterface, InqType } from './Inquiry'; export { default as Member, MemberInterface } from './Member'; export { default as Merchant, MerchantInterface } from './Merchant'; export { default as Moderation, ModerationInterface } from './Moderation'; -export { default as NNTrainingData, NNTrainingDataInterface } from './NNTrainingData'; export { default as Note, NoteInterface } from './Note'; export { default as PagerNumber, PagerNumberInterface, PagerNumberRaw } from './PagerNumber'; export { default as Promo, PromoInterface } from './Promo';