1
0
Fork 0

Add bearer signatures to acc model

refactor/models
Matthew 2019-11-16 19:24:08 -05:00
parent 76a1ccba1c
commit ea1f20afc6
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ export interface AccountInterface extends Document {
createdBy: string, createdBy: string,
createdAt: Date, createdAt: Date,
locked: boolean, locked: boolean,
bearerSignature: string,
permissions: { permissions: {
support: boolean, support: boolean,
staff: boolean, staff: boolean,
@ -24,6 +25,7 @@ const Account: Schema = new Schema({
createdBy: String, createdBy: String,
createdAt: Date, createdAt: Date,
locked: Boolean, locked: Boolean,
bearerSignature: String,
permissions: { permissions: {
support: Boolean, support: Boolean,
staff: Boolean, staff: Boolean,