@atlaskit/tmp-editor-statsig 5.10.0 → 5.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/exp-val-equals-internal.js +38 -0
- package/dist/cjs/exp-val-equals-no-exposure.js +7 -8
- package/dist/cjs/exp-val-equals.js +6 -7
- package/dist/cjs/experiments-config.js +8 -0
- package/dist/es2019/exp-val-equals-internal.js +32 -0
- package/dist/es2019/exp-val-equals-no-exposure.js +7 -9
- package/dist/es2019/exp-val-equals.js +6 -8
- package/dist/es2019/experiments-config.js +8 -0
- package/dist/esm/exp-val-equals-internal.js +32 -0
- package/dist/esm/exp-val-equals-no-exposure.js +7 -9
- package/dist/esm/exp-val-equals.js +6 -8
- package/dist/esm/experiments-config.js +8 -0
- package/dist/types/editor-experiments-test-utils.d.ts +7 -1
- package/dist/types/exp-val-equals-internal.d.ts +17 -0
- package/dist/types/exp-val-equals-no-exposure.d.ts +5 -4
- package/dist/types/exp-val-equals.d.ts +4 -3
- package/dist/types/experiments-config.d.ts +6 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +7 -1
- package/dist/types-ts4.5/exp-val-equals-internal.d.ts +17 -0
- package/dist/types-ts4.5/exp-val-equals-no-exposure.d.ts +5 -4
- package/dist/types-ts4.5/exp-val-equals.d.ts +4 -3
- package/dist/types-ts4.5/experiments-config.d.ts +6 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 5.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#165694](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165694)
|
|
8
|
+
[`2e1b7ff8a2e49`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2e1b7ff8a2e49) -
|
|
9
|
+
refactor: align expValEquals and expValEqualsNoExposure to jira and confluence APIs
|
|
10
|
+
|
|
11
|
+
## 5.11.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#165562](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165562)
|
|
16
|
+
[`59af663a32c9a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/59af663a32c9a) -
|
|
17
|
+
Reduce block control re-renders under experiment
|
|
18
|
+
|
|
3
19
|
## 5.10.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.expValEqualsInternal = expValEqualsInternal;
|
|
8
|
+
var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
|
|
9
|
+
var _setup = require("./setup");
|
|
10
|
+
/**
|
|
11
|
+
* Check the value if an editor experiment.
|
|
12
|
+
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* exportValEqualsInternal('example-boolean', 'paramName', true, null, true);
|
|
16
|
+
*
|
|
17
|
+
* @param experimentName - experiment key
|
|
18
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
19
|
+
* @param experimentExpectedValue - expected value to compare with
|
|
20
|
+
* @param experimentDefaultValue - default value to use if the experiment is not set
|
|
21
|
+
* @param experimentExposure - whether to fire an exposure event or not
|
|
22
|
+
*
|
|
23
|
+
* @returns boolean
|
|
24
|
+
*/
|
|
25
|
+
function expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, experimentDefaultValue, experimentExposure) {
|
|
26
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
27
|
+
if (_setup._overrides[experimentName] !== undefined) {
|
|
28
|
+
// This will be hit in the case of a test setting an override
|
|
29
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
30
|
+
return _setup._overrides[experimentName] === experimentExpectedValue;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
34
|
+
var experimentValue = _featureGateJsClient.default.getExperimentValue(experimentName, experimentParam, experimentDefaultValue, {
|
|
35
|
+
fireExperimentExposure: experimentExposure
|
|
36
|
+
});
|
|
37
|
+
return experimentValue === experimentExpectedValue;
|
|
38
|
+
}
|
|
@@ -4,33 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.expValEqualsNoExposure = expValEqualsNoExposure;
|
|
7
|
-
var
|
|
7
|
+
var _expValEqualsInternal = require("./exp-val-equals-internal");
|
|
8
8
|
/**
|
|
9
|
-
* Check the value if an editor experiment
|
|
9
|
+
* Check the value if an editor experiment without firing exposure.
|
|
10
10
|
*
|
|
11
11
|
* !!! Note: This method never fires exposure. !!!
|
|
12
12
|
*
|
|
13
13
|
* @example Boolean experiment
|
|
14
|
-
* if (expValEqualsNoExposure('example-boolean', true)) {
|
|
14
|
+
* if (expValEqualsNoExposure('example-boolean', 'isEnabled', true)) {
|
|
15
15
|
* // Run code for on variant
|
|
16
16
|
* } else {
|
|
17
17
|
* // Run code for off variant
|
|
18
18
|
* }
|
|
19
19
|
*
|
|
20
20
|
* @example Multivariate experiment
|
|
21
|
-
* if (expValEqualsNoExposure('example-multivariate', 'one')) {
|
|
21
|
+
* if (expValEqualsNoExposure('example-multivariate', 'cohort', 'one')) {
|
|
22
22
|
* // Run code for 'one' variant
|
|
23
23
|
* } else {
|
|
24
24
|
* // Run code for control
|
|
25
25
|
* }
|
|
26
26
|
*
|
|
27
27
|
* @param experimentName - experiment key
|
|
28
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
28
29
|
* @param experimentExpectedValue - expected value to compare with
|
|
29
30
|
*
|
|
30
31
|
* @returns boolean
|
|
31
32
|
*/
|
|
32
|
-
function expValEqualsNoExposure(experimentName, experimentExpectedValue) {
|
|
33
|
-
return (0,
|
|
34
|
-
exposure: false
|
|
35
|
-
});
|
|
33
|
+
function expValEqualsNoExposure(experimentName, experimentParam, experimentExpectedValue) {
|
|
34
|
+
return (0, _expValEqualsInternal.expValEqualsInternal)(experimentName, experimentParam, experimentExpectedValue, null, false);
|
|
36
35
|
}
|
|
@@ -4,33 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.expValEquals = expValEquals;
|
|
7
|
-
var
|
|
7
|
+
var _expValEqualsInternal = require("./exp-val-equals-internal");
|
|
8
8
|
/**
|
|
9
9
|
* Check the value if an editor experiment and fire exposure.
|
|
10
10
|
*
|
|
11
11
|
* !!! Note: This method always fires exposure. !!!
|
|
12
12
|
*
|
|
13
13
|
* @example Boolean experiment
|
|
14
|
-
* if (expValEquals('example-boolean', true)) {
|
|
14
|
+
* if (expValEquals('example-boolean', 'isEnabled', true)) {
|
|
15
15
|
* // Run code for on variant
|
|
16
16
|
* } else {
|
|
17
17
|
* // Run code for off variant
|
|
18
18
|
* }
|
|
19
19
|
*
|
|
20
20
|
* @example Multivariate experiment
|
|
21
|
-
* if (expValEquals('example-multivariate', 'one')) {
|
|
21
|
+
* if (expValEquals('example-multivariate', 'cohort', 'one')) {
|
|
22
22
|
* // Run code for 'one' variant
|
|
23
23
|
* } else {
|
|
24
24
|
* // Run code for control
|
|
25
25
|
* }
|
|
26
26
|
*
|
|
27
27
|
* @param experimentName - experiment key
|
|
28
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
28
29
|
* @param experimentExpectedValue - expected value to compare with
|
|
29
30
|
*
|
|
30
31
|
* @returns boolean
|
|
31
32
|
*/
|
|
32
|
-
function expValEquals(experimentName, experimentExpectedValue) {
|
|
33
|
-
return (0,
|
|
34
|
-
exposure: true
|
|
35
|
-
});
|
|
33
|
+
function expValEquals(experimentName, experimentParam, experimentExpectedValue) {
|
|
34
|
+
return (0, _expValEqualsInternal.expValEqualsInternal)(experimentName, experimentParam, experimentExpectedValue, null, true);
|
|
36
35
|
}
|
|
@@ -22,6 +22,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
22
22
|
param: 'isEnabled',
|
|
23
23
|
defaultValue: false
|
|
24
24
|
}),
|
|
25
|
+
// Added 2025-06-02
|
|
26
|
+
platform_editor_block_control_optimise_render: (0, _experimentBuilders.createBooleanExperiment)({
|
|
27
|
+
productKeys: {
|
|
28
|
+
confluence: 'platform_editor_block_control_optimise_render'
|
|
29
|
+
},
|
|
30
|
+
param: 'isEnabled',
|
|
31
|
+
defaultValue: false
|
|
32
|
+
}),
|
|
25
33
|
// Added 2024-08-08
|
|
26
34
|
'example-boolean': (0, _experimentBuilders.createBooleanExperiment)({
|
|
27
35
|
productKeys: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
2
|
+
import { _overrides } from './setup';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Check the value if an editor experiment.
|
|
6
|
+
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* exportValEqualsInternal('example-boolean', 'paramName', true, null, true);
|
|
10
|
+
*
|
|
11
|
+
* @param experimentName - experiment key
|
|
12
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
13
|
+
* @param experimentExpectedValue - expected value to compare with
|
|
14
|
+
* @param experimentDefaultValue - default value to use if the experiment is not set
|
|
15
|
+
* @param experimentExposure - whether to fire an exposure event or not
|
|
16
|
+
*
|
|
17
|
+
* @returns boolean
|
|
18
|
+
*/
|
|
19
|
+
export function expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, experimentDefaultValue, experimentExposure) {
|
|
20
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
21
|
+
if (_overrides[experimentName] !== undefined) {
|
|
22
|
+
// This will be hit in the case of a test setting an override
|
|
23
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
24
|
+
return _overrides[experimentName] === experimentExpectedValue;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
28
|
+
const experimentValue = FeatureGates.getExperimentValue(experimentName, experimentParam, experimentDefaultValue, {
|
|
29
|
+
fireExperimentExposure: experimentExposure
|
|
30
|
+
});
|
|
31
|
+
return experimentValue === experimentExpectedValue;
|
|
32
|
+
}
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { expValEqualsInternal } from './exp-val-equals-internal';
|
|
3
2
|
/**
|
|
4
|
-
* Check the value if an editor experiment
|
|
3
|
+
* Check the value if an editor experiment without firing exposure.
|
|
5
4
|
*
|
|
6
5
|
* !!! Note: This method never fires exposure. !!!
|
|
7
6
|
*
|
|
8
7
|
* @example Boolean experiment
|
|
9
|
-
* if (expValEqualsNoExposure('example-boolean', true)) {
|
|
8
|
+
* if (expValEqualsNoExposure('example-boolean', 'isEnabled', true)) {
|
|
10
9
|
* // Run code for on variant
|
|
11
10
|
* } else {
|
|
12
11
|
* // Run code for off variant
|
|
13
12
|
* }
|
|
14
13
|
*
|
|
15
14
|
* @example Multivariate experiment
|
|
16
|
-
* if (expValEqualsNoExposure('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEqualsNoExposure('example-multivariate', 'cohort', 'one')) {
|
|
17
16
|
* // Run code for 'one' variant
|
|
18
17
|
* } else {
|
|
19
18
|
* // Run code for control
|
|
20
19
|
* }
|
|
21
20
|
*
|
|
22
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
23
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
24
24
|
*
|
|
25
25
|
* @returns boolean
|
|
26
26
|
*/
|
|
27
|
-
export function expValEqualsNoExposure(experimentName, experimentExpectedValue) {
|
|
28
|
-
return
|
|
29
|
-
exposure: false
|
|
30
|
-
});
|
|
27
|
+
export function expValEqualsNoExposure(experimentName, experimentParam, experimentExpectedValue) {
|
|
28
|
+
return expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, null, false);
|
|
31
29
|
}
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { expValEqualsInternal } from './exp-val-equals-internal';
|
|
3
2
|
/**
|
|
4
3
|
* Check the value if an editor experiment and fire exposure.
|
|
5
4
|
*
|
|
6
5
|
* !!! Note: This method always fires exposure. !!!
|
|
7
6
|
*
|
|
8
7
|
* @example Boolean experiment
|
|
9
|
-
* if (expValEquals('example-boolean', true)) {
|
|
8
|
+
* if (expValEquals('example-boolean', 'isEnabled', true)) {
|
|
10
9
|
* // Run code for on variant
|
|
11
10
|
* } else {
|
|
12
11
|
* // Run code for off variant
|
|
13
12
|
* }
|
|
14
13
|
*
|
|
15
14
|
* @example Multivariate experiment
|
|
16
|
-
* if (expValEquals('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEquals('example-multivariate', 'cohort', 'one')) {
|
|
17
16
|
* // Run code for 'one' variant
|
|
18
17
|
* } else {
|
|
19
18
|
* // Run code for control
|
|
20
19
|
* }
|
|
21
20
|
*
|
|
22
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
23
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
24
24
|
*
|
|
25
25
|
* @returns boolean
|
|
26
26
|
*/
|
|
27
|
-
export function expValEquals(experimentName, experimentExpectedValue) {
|
|
28
|
-
return
|
|
29
|
-
exposure: true
|
|
30
|
-
});
|
|
27
|
+
export function expValEquals(experimentName, experimentParam, experimentExpectedValue) {
|
|
28
|
+
return expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, null, true);
|
|
31
29
|
}
|
|
@@ -16,6 +16,14 @@ export const editorExperimentsConfig = {
|
|
|
16
16
|
param: 'isEnabled',
|
|
17
17
|
defaultValue: false
|
|
18
18
|
}),
|
|
19
|
+
// Added 2025-06-02
|
|
20
|
+
platform_editor_block_control_optimise_render: createBooleanExperiment({
|
|
21
|
+
productKeys: {
|
|
22
|
+
confluence: 'platform_editor_block_control_optimise_render'
|
|
23
|
+
},
|
|
24
|
+
param: 'isEnabled',
|
|
25
|
+
defaultValue: false
|
|
26
|
+
}),
|
|
19
27
|
// Added 2024-08-08
|
|
20
28
|
'example-boolean': createBooleanExperiment({
|
|
21
29
|
productKeys: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
2
|
+
import { _overrides } from './setup';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Check the value if an editor experiment.
|
|
6
|
+
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* exportValEqualsInternal('example-boolean', 'paramName', true, null, true);
|
|
10
|
+
*
|
|
11
|
+
* @param experimentName - experiment key
|
|
12
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
13
|
+
* @param experimentExpectedValue - expected value to compare with
|
|
14
|
+
* @param experimentDefaultValue - default value to use if the experiment is not set
|
|
15
|
+
* @param experimentExposure - whether to fire an exposure event or not
|
|
16
|
+
*
|
|
17
|
+
* @returns boolean
|
|
18
|
+
*/
|
|
19
|
+
export function expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, experimentDefaultValue, experimentExposure) {
|
|
20
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
21
|
+
if (_overrides[experimentName] !== undefined) {
|
|
22
|
+
// This will be hit in the case of a test setting an override
|
|
23
|
+
// @ts-ignore need to loosen the type here to allow for any experiment name
|
|
24
|
+
return _overrides[experimentName] === experimentExpectedValue;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
28
|
+
var experimentValue = FeatureGates.getExperimentValue(experimentName, experimentParam, experimentDefaultValue, {
|
|
29
|
+
fireExperimentExposure: experimentExposure
|
|
30
|
+
});
|
|
31
|
+
return experimentValue === experimentExpectedValue;
|
|
32
|
+
}
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { expValEqualsInternal } from './exp-val-equals-internal';
|
|
3
2
|
/**
|
|
4
|
-
* Check the value if an editor experiment
|
|
3
|
+
* Check the value if an editor experiment without firing exposure.
|
|
5
4
|
*
|
|
6
5
|
* !!! Note: This method never fires exposure. !!!
|
|
7
6
|
*
|
|
8
7
|
* @example Boolean experiment
|
|
9
|
-
* if (expValEqualsNoExposure('example-boolean', true)) {
|
|
8
|
+
* if (expValEqualsNoExposure('example-boolean', 'isEnabled', true)) {
|
|
10
9
|
* // Run code for on variant
|
|
11
10
|
* } else {
|
|
12
11
|
* // Run code for off variant
|
|
13
12
|
* }
|
|
14
13
|
*
|
|
15
14
|
* @example Multivariate experiment
|
|
16
|
-
* if (expValEqualsNoExposure('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEqualsNoExposure('example-multivariate', 'cohort', 'one')) {
|
|
17
16
|
* // Run code for 'one' variant
|
|
18
17
|
* } else {
|
|
19
18
|
* // Run code for control
|
|
20
19
|
* }
|
|
21
20
|
*
|
|
22
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
23
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
24
24
|
*
|
|
25
25
|
* @returns boolean
|
|
26
26
|
*/
|
|
27
|
-
export function expValEqualsNoExposure(experimentName, experimentExpectedValue) {
|
|
28
|
-
return
|
|
29
|
-
exposure: false
|
|
30
|
-
});
|
|
27
|
+
export function expValEqualsNoExposure(experimentName, experimentParam, experimentExpectedValue) {
|
|
28
|
+
return expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, null, false);
|
|
31
29
|
}
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { expValEqualsInternal } from './exp-val-equals-internal';
|
|
3
2
|
/**
|
|
4
3
|
* Check the value if an editor experiment and fire exposure.
|
|
5
4
|
*
|
|
6
5
|
* !!! Note: This method always fires exposure. !!!
|
|
7
6
|
*
|
|
8
7
|
* @example Boolean experiment
|
|
9
|
-
* if (expValEquals('example-boolean', true)) {
|
|
8
|
+
* if (expValEquals('example-boolean', 'isEnabled', true)) {
|
|
10
9
|
* // Run code for on variant
|
|
11
10
|
* } else {
|
|
12
11
|
* // Run code for off variant
|
|
13
12
|
* }
|
|
14
13
|
*
|
|
15
14
|
* @example Multivariate experiment
|
|
16
|
-
* if (expValEquals('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEquals('example-multivariate', 'cohort', 'one')) {
|
|
17
16
|
* // Run code for 'one' variant
|
|
18
17
|
* } else {
|
|
19
18
|
* // Run code for control
|
|
20
19
|
* }
|
|
21
20
|
*
|
|
22
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
23
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
24
24
|
*
|
|
25
25
|
* @returns boolean
|
|
26
26
|
*/
|
|
27
|
-
export function expValEquals(experimentName, experimentExpectedValue) {
|
|
28
|
-
return
|
|
29
|
-
exposure: true
|
|
30
|
-
});
|
|
27
|
+
export function expValEquals(experimentName, experimentParam, experimentExpectedValue) {
|
|
28
|
+
return expValEqualsInternal(experimentName, experimentParam, experimentExpectedValue, null, true);
|
|
31
29
|
}
|
|
@@ -16,6 +16,14 @@ export var editorExperimentsConfig = {
|
|
|
16
16
|
param: 'isEnabled',
|
|
17
17
|
defaultValue: false
|
|
18
18
|
}),
|
|
19
|
+
// Added 2025-06-02
|
|
20
|
+
platform_editor_block_control_optimise_render: createBooleanExperiment({
|
|
21
|
+
productKeys: {
|
|
22
|
+
confluence: 'platform_editor_block_control_optimise_render'
|
|
23
|
+
},
|
|
24
|
+
param: 'isEnabled',
|
|
25
|
+
defaultValue: false
|
|
26
|
+
}),
|
|
19
27
|
// Added 2024-08-08
|
|
20
28
|
'example-boolean': createBooleanExperiment({
|
|
21
29
|
productKeys: {
|
|
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
|
|
|
45
45
|
false: DescribeBody;
|
|
46
46
|
}, otherExperiments?: EditorExperimentOverrides): void;
|
|
47
47
|
declare namespace eeTest {
|
|
48
|
-
var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_exp_disable_lnv" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
|
|
48
|
+
var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_block_control_optimise_render" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_exp_disable_lnv" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
platform_editor_reduce_noisy_steps_ncs: {
|
|
51
51
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
@@ -53,6 +53,12 @@ declare namespace eeTest {
|
|
|
53
53
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
54
54
|
param: string;
|
|
55
55
|
};
|
|
56
|
+
platform_editor_block_control_optimise_render: {
|
|
57
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
58
|
+
defaultValue: boolean;
|
|
59
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
60
|
+
param: string;
|
|
61
|
+
};
|
|
56
62
|
'example-boolean': {
|
|
57
63
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
58
64
|
defaultValue: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type EditorExperimentsConfig } from './experiments-config';
|
|
2
|
+
/**
|
|
3
|
+
* Check the value if an editor experiment.
|
|
4
|
+
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* exportValEqualsInternal('example-boolean', 'paramName', true, null, true);
|
|
8
|
+
*
|
|
9
|
+
* @param experimentName - experiment key
|
|
10
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
11
|
+
* @param experimentExpectedValue - expected value to compare with
|
|
12
|
+
* @param experimentDefaultValue - default value to use if the experiment is not set
|
|
13
|
+
* @param experimentExposure - whether to fire an exposure event or not
|
|
14
|
+
*
|
|
15
|
+
* @returns boolean
|
|
16
|
+
*/
|
|
17
|
+
export declare function expValEqualsInternal<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], experimentDefaultValue: boolean | string | null, experimentExposure: boolean): boolean;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { type EditorExperimentsConfig } from './experiments-config';
|
|
2
2
|
/**
|
|
3
|
-
* Check the value if an editor experiment
|
|
3
|
+
* Check the value if an editor experiment without firing exposure.
|
|
4
4
|
*
|
|
5
5
|
* !!! Note: This method never fires exposure. !!!
|
|
6
6
|
*
|
|
7
7
|
* @example Boolean experiment
|
|
8
|
-
* if (expValEqualsNoExposure('example-boolean', true)) {
|
|
8
|
+
* if (expValEqualsNoExposure('example-boolean', 'isEnabled', true)) {
|
|
9
9
|
* // Run code for on variant
|
|
10
10
|
* } else {
|
|
11
11
|
* // Run code for off variant
|
|
12
12
|
* }
|
|
13
13
|
*
|
|
14
14
|
* @example Multivariate experiment
|
|
15
|
-
* if (expValEqualsNoExposure('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEqualsNoExposure('example-multivariate', 'cohort', 'one')) {
|
|
16
16
|
* // Run code for 'one' variant
|
|
17
17
|
* } else {
|
|
18
18
|
* // Run code for control
|
|
19
19
|
* }
|
|
20
20
|
*
|
|
21
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
22
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
23
24
|
*
|
|
24
25
|
* @returns boolean
|
|
25
26
|
*/
|
|
26
|
-
export declare function expValEqualsNoExposure<ExperimentName extends keyof EditorExperimentsConfig,
|
|
27
|
+
export declare function expValEqualsNoExposure<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue']): boolean;
|
|
@@ -5,22 +5,23 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
5
5
|
* !!! Note: This method always fires exposure. !!!
|
|
6
6
|
*
|
|
7
7
|
* @example Boolean experiment
|
|
8
|
-
* if (expValEquals('example-boolean', true)) {
|
|
8
|
+
* if (expValEquals('example-boolean', 'isEnabled', true)) {
|
|
9
9
|
* // Run code for on variant
|
|
10
10
|
* } else {
|
|
11
11
|
* // Run code for off variant
|
|
12
12
|
* }
|
|
13
13
|
*
|
|
14
14
|
* @example Multivariate experiment
|
|
15
|
-
* if (expValEquals('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEquals('example-multivariate', 'cohort', 'one')) {
|
|
16
16
|
* // Run code for 'one' variant
|
|
17
17
|
* } else {
|
|
18
18
|
* // Run code for control
|
|
19
19
|
* }
|
|
20
20
|
*
|
|
21
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
22
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
23
24
|
*
|
|
24
25
|
* @returns boolean
|
|
25
26
|
*/
|
|
26
|
-
export declare function expValEquals<ExperimentName extends keyof EditorExperimentsConfig,
|
|
27
|
+
export declare function expValEquals<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue']): boolean;
|
|
@@ -11,6 +11,12 @@ export declare const editorExperimentsConfig: {
|
|
|
11
11
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
12
12
|
param: string;
|
|
13
13
|
};
|
|
14
|
+
platform_editor_block_control_optimise_render: {
|
|
15
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
16
|
+
defaultValue: boolean;
|
|
17
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
18
|
+
param: string;
|
|
19
|
+
};
|
|
14
20
|
'example-boolean': {
|
|
15
21
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
16
22
|
defaultValue: boolean;
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type EditorExperimentParamOverrides = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare let _overrides: Partial<{
|
|
11
11
|
platform_editor_reduce_noisy_steps_ncs: boolean;
|
|
12
|
+
platform_editor_block_control_optimise_render: boolean;
|
|
12
13
|
'example-boolean': boolean;
|
|
13
14
|
'example-multivariate': "one" | "two" | "three";
|
|
14
15
|
'test-new-experiments-package': boolean;
|
|
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
|
|
|
45
45
|
false: DescribeBody;
|
|
46
46
|
}, otherExperiments?: EditorExperimentOverrides): void;
|
|
47
47
|
declare namespace eeTest {
|
|
48
|
-
var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_exp_disable_lnv" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
|
|
48
|
+
var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_block_control_optimise_render" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_exp_disable_lnv" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
platform_editor_reduce_noisy_steps_ncs: {
|
|
51
51
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
@@ -53,6 +53,12 @@ declare namespace eeTest {
|
|
|
53
53
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
54
54
|
param: string;
|
|
55
55
|
};
|
|
56
|
+
platform_editor_block_control_optimise_render: {
|
|
57
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
58
|
+
defaultValue: boolean;
|
|
59
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
60
|
+
param: string;
|
|
61
|
+
};
|
|
56
62
|
'example-boolean': {
|
|
57
63
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
58
64
|
defaultValue: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type EditorExperimentsConfig } from './experiments-config';
|
|
2
|
+
/**
|
|
3
|
+
* Check the value if an editor experiment.
|
|
4
|
+
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* exportValEqualsInternal('example-boolean', 'paramName', true, null, true);
|
|
8
|
+
*
|
|
9
|
+
* @param experimentName - experiment key
|
|
10
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
11
|
+
* @param experimentExpectedValue - expected value to compare with
|
|
12
|
+
* @param experimentDefaultValue - default value to use if the experiment is not set
|
|
13
|
+
* @param experimentExposure - whether to fire an exposure event or not
|
|
14
|
+
*
|
|
15
|
+
* @returns boolean
|
|
16
|
+
*/
|
|
17
|
+
export declare function expValEqualsInternal<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], experimentDefaultValue: boolean | string | null, experimentExposure: boolean): boolean;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { type EditorExperimentsConfig } from './experiments-config';
|
|
2
2
|
/**
|
|
3
|
-
* Check the value if an editor experiment
|
|
3
|
+
* Check the value if an editor experiment without firing exposure.
|
|
4
4
|
*
|
|
5
5
|
* !!! Note: This method never fires exposure. !!!
|
|
6
6
|
*
|
|
7
7
|
* @example Boolean experiment
|
|
8
|
-
* if (expValEqualsNoExposure('example-boolean', true)) {
|
|
8
|
+
* if (expValEqualsNoExposure('example-boolean', 'isEnabled', true)) {
|
|
9
9
|
* // Run code for on variant
|
|
10
10
|
* } else {
|
|
11
11
|
* // Run code for off variant
|
|
12
12
|
* }
|
|
13
13
|
*
|
|
14
14
|
* @example Multivariate experiment
|
|
15
|
-
* if (expValEqualsNoExposure('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEqualsNoExposure('example-multivariate', 'cohort', 'one')) {
|
|
16
16
|
* // Run code for 'one' variant
|
|
17
17
|
* } else {
|
|
18
18
|
* // Run code for control
|
|
19
19
|
* }
|
|
20
20
|
*
|
|
21
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
22
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
23
24
|
*
|
|
24
25
|
* @returns boolean
|
|
25
26
|
*/
|
|
26
|
-
export declare function expValEqualsNoExposure<ExperimentName extends keyof EditorExperimentsConfig,
|
|
27
|
+
export declare function expValEqualsNoExposure<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue']): boolean;
|
|
@@ -5,22 +5,23 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
5
5
|
* !!! Note: This method always fires exposure. !!!
|
|
6
6
|
*
|
|
7
7
|
* @example Boolean experiment
|
|
8
|
-
* if (expValEquals('example-boolean', true)) {
|
|
8
|
+
* if (expValEquals('example-boolean', 'isEnabled', true)) {
|
|
9
9
|
* // Run code for on variant
|
|
10
10
|
* } else {
|
|
11
11
|
* // Run code for off variant
|
|
12
12
|
* }
|
|
13
13
|
*
|
|
14
14
|
* @example Multivariate experiment
|
|
15
|
-
* if (expValEquals('example-multivariate', 'one')) {
|
|
15
|
+
* if (expValEquals('example-multivariate', 'cohort', 'one')) {
|
|
16
16
|
* // Run code for 'one' variant
|
|
17
17
|
* } else {
|
|
18
18
|
* // Run code for control
|
|
19
19
|
* }
|
|
20
20
|
*
|
|
21
21
|
* @param experimentName - experiment key
|
|
22
|
+
* @param experimentParam - the name of the parameter to fetch from the experiment config
|
|
22
23
|
* @param experimentExpectedValue - expected value to compare with
|
|
23
24
|
*
|
|
24
25
|
* @returns boolean
|
|
25
26
|
*/
|
|
26
|
-
export declare function expValEquals<ExperimentName extends keyof EditorExperimentsConfig,
|
|
27
|
+
export declare function expValEquals<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, experimentParam: EditorExperimentsConfig[ExperimentName]['param'], experimentExpectedValue: EditorExperimentsConfig[ExperimentName]['defaultValue']): boolean;
|
|
@@ -11,6 +11,12 @@ export declare const editorExperimentsConfig: {
|
|
|
11
11
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
12
12
|
param: string;
|
|
13
13
|
};
|
|
14
|
+
platform_editor_block_control_optimise_render: {
|
|
15
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
16
|
+
defaultValue: boolean;
|
|
17
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
18
|
+
param: string;
|
|
19
|
+
};
|
|
14
20
|
'example-boolean': {
|
|
15
21
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
16
22
|
defaultValue: boolean;
|
|
@@ -9,6 +9,7 @@ export type EditorExperimentParamOverrides = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare let _overrides: Partial<{
|
|
11
11
|
platform_editor_reduce_noisy_steps_ncs: boolean;
|
|
12
|
+
platform_editor_block_control_optimise_render: boolean;
|
|
12
13
|
'example-boolean': boolean;
|
|
13
14
|
'example-multivariate': "one" | "two" | "three";
|
|
14
15
|
'test-new-experiments-package': boolean;
|
package/package.json
CHANGED