Added license management module

This commit is contained in:
2026-05-25 22:45:23 +02:00
parent 93b7be7e2c
commit df24d48038
16 changed files with 861 additions and 9 deletions
+28 -1
View File
@@ -289,6 +289,34 @@ export function newBillingData() {
}
}
export interface License {
id: number;
name: string;
email: string;
product: string;
version: string;
isPerpetual: boolean;
expirationDate: string | null;
signature: string;
createdAt: string;
updatedAt: string;
}
export function newLicense(): License {
return {
id: 0,
name: '',
email: '',
product: '',
version: '',
isPerpetual: false,
expirationDate: null,
signature: '',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString()
};
}
export interface LineItem {
id: number,
invoiceId: number,
@@ -411,7 +439,6 @@ export function newProduct(): Product {
}
}
// Pipeline item used by CRM pipeline
export interface PipelineItem {
id: number;