File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Components/DevtronLicenseCard Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export const DevtronLicenseCard = ({
89
89
</ div >
90
90
{ licenseKey && < ClipboardButton content = { licenseKey } /> }
91
91
</ div >
92
- < div className = "flexbox dc__align-items-center dc__gap-4" >
92
+ < div className = "flexbox dc__align-items-center dc__gap-4 font-ibm-plex-mono " >
93
93
< span > { expiryDate } </ span >
94
94
< span > •</ span >
95
95
< span style = { { color : textColor } } > { remainingTimeString } </ span >
Original file line number Diff line number Diff line change @@ -1032,6 +1032,20 @@ export interface AppEnvIdType {
1032
1032
envId : number
1033
1033
}
1034
1034
1035
+ export enum LicensingErrorCodes {
1036
+ FingerPrintMisMatch = '11001' ,
1037
+ LicenseExpired = '11002' ,
1038
+ TamperedCertificate = '11002' ,
1039
+ NoPublicKey = '11003' ,
1040
+ InstallationModeMismatch = '11004' ,
1041
+ NoCertFound = '11006' ,
1042
+ }
1043
+
1044
+ export interface LicenseErrorStruct {
1045
+ code : LicensingErrorCodes
1046
+ userMessage : string
1047
+ }
1048
+
1035
1049
export interface DevtronLicenseBaseDTO {
1036
1050
fingerprint : string | null
1037
1051
isTrial : boolean | null
@@ -1053,6 +1067,8 @@ export interface DevtronLicenseBaseDTO {
1053
1067
domain : string | null
1054
1068
} | null
1055
1069
license : string | null
1070
+ showLicenseData : boolean
1071
+ licenseStatusError ?: LicenseErrorStruct
1056
1072
}
1057
1073
1058
1074
export type DevtronLicenseDTO < isCentralDashboard extends boolean = false > = DevtronLicenseBaseDTO &
You can’t perform that action at this time.
0 commit comments