mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 16:56:39 +00:00
Fix frontend type imports
This commit is contained in:
30
server/routers/generatedLicense/types.ts
Normal file
30
server/routers/generatedLicense/types.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
export type GeneratedLicenseKey = {
|
||||
instanceName: string | null;
|
||||
licenseKey: string;
|
||||
expiresAt: string;
|
||||
isValid: boolean;
|
||||
createdAt: string;
|
||||
tier: string;
|
||||
type: string;
|
||||
};
|
||||
|
||||
export type ListGeneratedLicenseKeysResponse = GeneratedLicenseKey[];
|
||||
|
||||
export type NewLicenseKey = {
|
||||
licenseKey: {
|
||||
id: number;
|
||||
instanceName: string | null;
|
||||
instanceId: string;
|
||||
licenseKey: string;
|
||||
tier: string;
|
||||
type: string;
|
||||
quantity: number;
|
||||
isValid: boolean;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
expiresAt: string;
|
||||
orgId: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type GenerateNewLicenseResponse = NewLicenseKey;
|
||||
Reference in New Issue
Block a user