mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-12 08:45:42 -04:00
initial push from external dev branches
This commit is contained in:
10
server/dist/models/CustomPlaylist.js
vendored
Normal file
10
server/dist/models/CustomPlaylist.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Schema, model } from 'mongoose';
|
||||
const CustomPlaylistSchema = new Schema({
|
||||
id: { type: String, required: true, unique: true, index: true },
|
||||
name: { type: String, required: true },
|
||||
slug: { type: String, required: true, index: true },
|
||||
channels: { type: Number, required: true },
|
||||
updated: { type: String, required: true },
|
||||
}, { versionKey: false });
|
||||
export const CustomPlaylist = model('CustomPlaylist', CustomPlaylistSchema);
|
||||
//# sourceMappingURL=CustomPlaylist.js.map
|
||||
Reference in New Issue
Block a user