mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-10 10:11:47 +00:00
Remove maxUses from Project.ts model
This commit is contained in:
@ -6,8 +6,7 @@ export interface IProjectDefaults {
|
|||||||
licenseKey: string,
|
licenseKey: string,
|
||||||
groups: string[],
|
groups: string[],
|
||||||
permissions: string[],
|
permissions: string[],
|
||||||
expirationDate: Date,
|
expirationDate: Date
|
||||||
maxUses: number
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IProject {
|
export interface IProject {
|
||||||
@ -52,7 +51,7 @@ const ProjectSchema = new Schema<IProject>({
|
|||||||
},
|
},
|
||||||
defaults: {
|
defaults: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: { licenseKey: "NNUN-UUNN-UNUU-NUUN", groups: [], expirationDate: new Date(0), permissions: [], maxUses: -1 },
|
default: { licenseKey: "NNUN-UUNN-UNUU-NUUN", groups: [], expirationDate: new Date(0), permissions: [] },
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user