Updated the Project.ts model
This commit is contained in:
parent
270c92551a
commit
3a409fa604
@ -10,7 +10,8 @@ export interface IProjectDefaults {
|
||||
licenseKey: string,
|
||||
groups: string[],
|
||||
permissions: string[],
|
||||
expirationDate: Date
|
||||
expirationDate: Date,
|
||||
maxUses: number
|
||||
}
|
||||
|
||||
export interface IProject {
|
||||
@ -37,7 +38,7 @@ const ProjectSchema = new Schema<IProject>({
|
||||
},
|
||||
defaults: {
|
||||
type: Object,
|
||||
default: { licenseKey: "NNUN-UUNN-UNAU-NAAN", groups: [], expirationDate: new Date(0), permissions: [] },
|
||||
default: { licenseKey: "NNUN-UUNN-UNAU-NAAN", groups: [], expirationDate: new Date(0), permissions: [], maxUses: -1 },
|
||||
},
|
||||
plan: {
|
||||
type: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user