Add stuff to staff model
parent
da8f5e0004
commit
732feb91d1
|
@ -12,6 +12,7 @@ export interface StaffInterface extends Document {
|
||||||
bio: string,
|
bio: string,
|
||||||
extension: string,
|
extension: string,
|
||||||
acknowledgements: string[],
|
acknowledgements: string[],
|
||||||
|
additionalRoles: string[]
|
||||||
}
|
}
|
||||||
|
|
||||||
const Staff: Schema = new Schema({
|
const Staff: Schema = new Schema({
|
||||||
|
@ -26,6 +27,7 @@ const Staff: Schema = new Schema({
|
||||||
bio: String,
|
bio: String,
|
||||||
extension: String,
|
extension: String,
|
||||||
acknowledgements: Array,
|
acknowledgements: Array,
|
||||||
|
additionalRoles: Array,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default model<StaffInterface>('Staff', Staff);
|
export default model<StaffInterface>('Staff', Staff);
|
||||||
|
|
Loading…
Reference in New Issue