aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/helpers/mocks/editions.ts1
-rw-r--r--server/sonar-web/src/main/js/types/editions.ts3
2 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/mocks/editions.ts b/server/sonar-web/src/main/js/helpers/mocks/editions.ts
index 976445dca5e..a0136a8eb19 100644
--- a/server/sonar-web/src/main/js/helpers/mocks/editions.ts
+++ b/server/sonar-web/src/main/js/helpers/mocks/editions.ts
@@ -29,6 +29,7 @@ export function mockLicense(override?: Partial<License>) {
isValidServerId: true,
isOfficialDistribution: true,
isSupported: false,
+ canActivateGracePeriod: false,
loc: 120085,
maxLoc: 500000,
plugins: ['Branches', 'PLI language'],
diff --git a/server/sonar-web/src/main/js/types/editions.ts b/server/sonar-web/src/main/js/types/editions.ts
index ea48302de84..fd522ac664e 100644
--- a/server/sonar-web/src/main/js/types/editions.ts
+++ b/server/sonar-web/src/main/js/types/editions.ts
@@ -48,4 +48,7 @@ export interface License {
remainingLocThreshold: number;
serverId: string;
type: string;
+ canActivateGracePeriod: boolean;
+ gracePeriodEndDate?: string;
+ gracePeriodExpired?: boolean;
}