Add bearer signatures to acc model
parent
76a1ccba1c
commit
ea1f20afc6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue