mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: Add PAYG trial events flag to Unleash (#10336)
Pretty much what it says on the tin: add PAYG trial events flag to control the upcoming trial events
This commit is contained in:
parent
3ea30eb7a1
commit
e27bd74dcc
@ -63,6 +63,7 @@ export type IFlagKey =
|
|||||||
| 'improvedJsonDiff'
|
| 'improvedJsonDiff'
|
||||||
| 'crDiffView'
|
| 'crDiffView'
|
||||||
| 'changeRequestApproverEmails'
|
| 'changeRequestApproverEmails'
|
||||||
|
| 'paygTrialEvents'
|
||||||
| 'eventGrouping';
|
| 'eventGrouping';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
@ -296,6 +297,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_EVENT_GROUPING,
|
process.env.UNLEASH_EXPERIMENTAL_EVENT_GROUPING,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
paygTrialEvents: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_PAYG_TRIAL_EVENTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
|||||||
impactMetrics: true,
|
impactMetrics: true,
|
||||||
crDiffView: true,
|
crDiffView: true,
|
||||||
eventGrouping: true,
|
eventGrouping: true,
|
||||||
|
paygTrialEvents: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user