mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-09 17:51:47 +00:00
Implement offlineRenewalDays in Project.ts
This commit is contained in:
@ -17,6 +17,7 @@ export interface IProject {
|
||||
validationKey: string,
|
||||
privateKey: string,
|
||||
publicKey: string,
|
||||
offlineRenewalDays: number,
|
||||
defaults: IProjectDefaults
|
||||
}
|
||||
|
||||
@ -45,6 +46,10 @@ const ProjectSchema = new Schema<IProject>({
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
offlineRenewalDays: {
|
||||
type: Number,
|
||||
default: 7
|
||||
},
|
||||
defaults: {
|
||||
type: Object,
|
||||
default: { licenseKey: "NNUN-UUNN-UNUU-NUUN", groups: [], expirationDate: new Date(0), permissions: [], maxUses: -1 },
|
||||
|
||||
Reference in New Issue
Block a user