Livebeat is now able to send, store and show beats
This commit is contained in:
6
backend/models/beat/beat.model..ts
Normal file
6
backend/models/beat/beat.model..ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Model, model } from 'mongoose';
|
||||
import { IBeat } from './beat.interface';
|
||||
import { schemaBeat } from './beat.schema';
|
||||
|
||||
const modelBeat: Model<IBeat> = model<IBeat>('Beat', schemaBeat, 'Beat');
|
||||
export { modelBeat as Beat };
|
||||
Reference in New Issue
Block a user