Honestly configs don't need names
This commit is contained in:
parent
4b234800c5
commit
c29b463bdd
1 changed files with 0 additions and 2 deletions
|
|
@ -2,12 +2,10 @@ import { Document, model, Schema, Types } from 'mongoose'
|
||||||
|
|
||||||
const ConfigSchema = new Schema({
|
const ConfigSchema = new Schema({
|
||||||
json: Object,
|
json: Object,
|
||||||
name: String,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
export type ConfigModel = Document & {
|
export type ConfigModel = Document & {
|
||||||
json: object,
|
json: object,
|
||||||
name: string,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default model<ConfigModel>('configs', ConfigSchema, 'configs')
|
export default model<ConfigModel>('configs', ConfigSchema, 'configs')
|
||||||
Loading…
Reference in a new issue