@atlaskit/tmp-editor-statsig 4.5.0 → 4.6.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#134378](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134378)
8
+ [`210a48c778086`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/210a48c778086) -
9
+ EDITOR-546 Cleaned up platform_editor_cmd_a_progressively_select_nodes to revert to control
10
+ behaviour.
11
+
12
+ ## 4.6.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#134562](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134562)
17
+ [`f008c541bb06b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f008c541bb06b) -
18
+ [ux] EDF-2645 Introduce an experiment to cut off low-quality nudges.
19
+
3
20
  ## 4.5.0
4
21
 
5
22
  ### Minor Changes
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.createBooleanExperiment = createBooleanExperiment;
8
+ exports.createMultivariateExperiment = createMultivariateExperiment;
9
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
+ var _typeGuards = require("./type-guards");
11
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ /**
14
+ * Helper to create a boolean experiment configuration
15
+ */
16
+ function createBooleanExperiment(config) {
17
+ return _objectSpread(_objectSpread({}, config), {}, {
18
+ typeGuard: _typeGuards.isBoolean,
19
+ defaultValue: config.defaultValue
20
+ });
21
+ }
22
+
23
+ /**
24
+ * Helper to create a multivariate experiment configuration
25
+ */
26
+ function createMultivariateExperiment(config) {
27
+ return _objectSpread(_objectSpread({}, config), {}, {
28
+ typeGuard: (0, _typeGuards.oneOf)(config.values),
29
+ defaultValue: config.defaultValue
30
+ });
31
+ }
@@ -255,10 +255,11 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
255
255
  typeGuard: (0, _typeGuards.oneOf)(['off', 'fallback-small', 'fallback-large']),
256
256
  defaultValue: 'off'
257
257
  },
258
- // Added 2025-03-03
259
- platform_editor_cmd_a_progressively_select_nodes: {
258
+ // Added 2025-04-01
259
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_vanilla_dom/setup
260
+ platform_editor_vanilla_dom: {
260
261
  productKeys: {
261
- confluence: 'platform_editor_cmd_a_progressively_select_nodes'
262
+ confluence: 'platform_editor_vanilla_dom'
262
263
  },
263
264
  param: 'isEnabled',
264
265
  typeGuard: _typeGuards.isBoolean,
@@ -273,6 +274,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
273
274
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
274
275
  defaultValue: 'control'
275
276
  },
277
+ // Added 2025-03-28
278
+ platform_editor_ai_proactive_ai_nudge_score: {
279
+ productKeys: {
280
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
281
+ },
282
+ param: 'cohort',
283
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
284
+ defaultValue: 'control'
285
+ },
276
286
  // Added 2025-03-26
277
287
  platform_editor_markdown_next_media_plugin_exp: {
278
288
  productKeys: {
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,22 @@
1
+ import { isBoolean, oneOf } from './type-guards';
2
+ /**
3
+ * Helper to create a boolean experiment configuration
4
+ */
5
+ export function createBooleanExperiment(config) {
6
+ return {
7
+ ...config,
8
+ typeGuard: isBoolean,
9
+ defaultValue: config.defaultValue
10
+ };
11
+ }
12
+
13
+ /**
14
+ * Helper to create a multivariate experiment configuration
15
+ */
16
+ export function createMultivariateExperiment(config) {
17
+ return {
18
+ ...config,
19
+ typeGuard: oneOf(config.values),
20
+ defaultValue: config.defaultValue
21
+ };
22
+ }
@@ -249,10 +249,11 @@ export const editorExperimentsConfig = {
249
249
  typeGuard: oneOf(['off', 'fallback-small', 'fallback-large']),
250
250
  defaultValue: 'off'
251
251
  },
252
- // Added 2025-03-03
253
- platform_editor_cmd_a_progressively_select_nodes: {
252
+ // Added 2025-04-01
253
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_vanilla_dom/setup
254
+ platform_editor_vanilla_dom: {
254
255
  productKeys: {
255
- confluence: 'platform_editor_cmd_a_progressively_select_nodes'
256
+ confluence: 'platform_editor_vanilla_dom'
256
257
  },
257
258
  param: 'isEnabled',
258
259
  typeGuard: isBoolean,
@@ -267,6 +268,15 @@ export const editorExperimentsConfig = {
267
268
  typeGuard: oneOf(['control', 'test']),
268
269
  defaultValue: 'control'
269
270
  },
271
+ // Added 2025-03-28
272
+ platform_editor_ai_proactive_ai_nudge_score: {
273
+ productKeys: {
274
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
275
+ },
276
+ param: 'cohort',
277
+ typeGuard: oneOf(['control', 'variant1']),
278
+ defaultValue: 'control'
279
+ },
270
280
  // Added 2025-03-26
271
281
  platform_editor_markdown_next_media_plugin_exp: {
272
282
  productKeys: {
File without changes
@@ -0,0 +1,23 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ import { isBoolean, oneOf } from './type-guards';
5
+ /**
6
+ * Helper to create a boolean experiment configuration
7
+ */
8
+ export function createBooleanExperiment(config) {
9
+ return _objectSpread(_objectSpread({}, config), {}, {
10
+ typeGuard: isBoolean,
11
+ defaultValue: config.defaultValue
12
+ });
13
+ }
14
+
15
+ /**
16
+ * Helper to create a multivariate experiment configuration
17
+ */
18
+ export function createMultivariateExperiment(config) {
19
+ return _objectSpread(_objectSpread({}, config), {}, {
20
+ typeGuard: oneOf(config.values),
21
+ defaultValue: config.defaultValue
22
+ });
23
+ }
@@ -249,10 +249,11 @@ export var editorExperimentsConfig = {
249
249
  typeGuard: oneOf(['off', 'fallback-small', 'fallback-large']),
250
250
  defaultValue: 'off'
251
251
  },
252
- // Added 2025-03-03
253
- platform_editor_cmd_a_progressively_select_nodes: {
252
+ // Added 2025-04-01
253
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_vanilla_dom/setup
254
+ platform_editor_vanilla_dom: {
254
255
  productKeys: {
255
- confluence: 'platform_editor_cmd_a_progressively_select_nodes'
256
+ confluence: 'platform_editor_vanilla_dom'
256
257
  },
257
258
  param: 'isEnabled',
258
259
  typeGuard: isBoolean,
@@ -267,6 +268,15 @@ export var editorExperimentsConfig = {
267
268
  typeGuard: oneOf(['control', 'test']),
268
269
  defaultValue: 'control'
269
270
  },
271
+ // Added 2025-03-28
272
+ platform_editor_ai_proactive_ai_nudge_score: {
273
+ productKeys: {
274
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
275
+ },
276
+ param: 'cohort',
277
+ typeGuard: oneOf(['control', 'variant1']),
278
+ defaultValue: 'control'
279
+ },
270
280
  // Added 2025-03-26
271
281
  platform_editor_markdown_next_media_plugin_exp: {
272
282
  productKeys: {
File without changes
@@ -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 "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -256,7 +256,7 @@ declare namespace eeTest {
256
256
  typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
257
257
  defaultValue: "off" | "fallback-small" | "fallback-large";
258
258
  };
259
- platform_editor_cmd_a_progressively_select_nodes: {
259
+ platform_editor_vanilla_dom: {
260
260
  productKeys: {
261
261
  confluence: string;
262
262
  };
@@ -272,6 +272,14 @@ declare namespace eeTest {
272
272
  typeGuard: (value: unknown) => value is "test" | "control";
273
273
  defaultValue: "test" | "control";
274
274
  };
275
+ platform_editor_ai_proactive_ai_nudge_score: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: (value: unknown) => value is "control" | "variant1";
281
+ defaultValue: "control" | "variant1";
282
+ };
275
283
  platform_editor_markdown_next_media_plugin_exp: {
276
284
  productKeys: {
277
285
  confluence: string;
@@ -0,0 +1,9 @@
1
+ import type { BooleanExperimentConfig, ExperimentConfigValue, MultivariateExperimentConfig } from './types';
2
+ /**
3
+ * Helper to create a boolean experiment configuration
4
+ */
5
+ export declare function createBooleanExperiment(config: BooleanExperimentConfig): ExperimentConfigValue;
6
+ /**
7
+ * Helper to create a multivariate experiment configuration
8
+ */
9
+ export declare function createMultivariateExperiment<T extends string[]>(config: MultivariateExperimentConfig<T>): ExperimentConfigValue;
@@ -215,7 +215,7 @@ export declare const editorExperimentsConfig: {
215
215
  typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
216
216
  defaultValue: "off" | "fallback-small" | "fallback-large";
217
217
  };
218
- platform_editor_cmd_a_progressively_select_nodes: {
218
+ platform_editor_vanilla_dom: {
219
219
  productKeys: {
220
220
  confluence: string;
221
221
  };
@@ -231,6 +231,14 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: (value: unknown) => value is "test" | "control";
232
232
  defaultValue: "test" | "control";
233
233
  };
234
+ platform_editor_ai_proactive_ai_nudge_score: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: (value: unknown) => value is "control" | "variant1";
240
+ defaultValue: "control" | "variant1";
241
+ };
234
242
  platform_editor_markdown_next_media_plugin_exp: {
235
243
  productKeys: {
236
244
  confluence: string;
@@ -48,6 +48,9 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
+ platform_editor_ai_proactive_ai_nudge_score: {
52
+ params: 'score';
53
+ };
51
54
  };
52
55
  /**
53
56
  * @warning This currently lacks type safety on the param names and return values
@@ -34,8 +34,9 @@ export declare let _overrides: Partial<{
34
34
  editor_ai_inline_suggestion_date: "test" | "control";
35
35
  platform_editor_insertion: "control" | "variant1";
36
36
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
37
- platform_editor_cmd_a_progressively_select_nodes: boolean;
37
+ platform_editor_vanilla_dom: boolean;
38
38
  editor_text_highlight_orange_to_yellow: "test" | "control";
39
+ platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
39
40
  platform_editor_markdown_next_media_plugin_exp: boolean;
40
41
  }>;
41
42
  export declare let _paramOverrides: EditorExperimentParamOverrides;
@@ -0,0 +1,22 @@
1
+ export type ProductKeys = {
2
+ confluence?: string;
3
+ jira?: string;
4
+ test?: string;
5
+ };
6
+ export type ExperimentConfigValue = {
7
+ productKeys?: ProductKeys;
8
+ param: string;
9
+ typeGuard: (value: unknown) => boolean;
10
+ defaultValue: boolean | string;
11
+ };
12
+ export type BooleanExperimentConfig = {
13
+ productKeys?: ProductKeys;
14
+ param: string;
15
+ defaultValue: boolean;
16
+ };
17
+ export type MultivariateExperimentConfig<T extends string[]> = {
18
+ productKeys?: ProductKeys;
19
+ param: string;
20
+ values: T;
21
+ defaultValue: T[number];
22
+ };
@@ -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 "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -256,7 +256,7 @@ declare namespace eeTest {
256
256
  typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
257
257
  defaultValue: "off" | "fallback-small" | "fallback-large";
258
258
  };
259
- platform_editor_cmd_a_progressively_select_nodes: {
259
+ platform_editor_vanilla_dom: {
260
260
  productKeys: {
261
261
  confluence: string;
262
262
  };
@@ -272,6 +272,14 @@ declare namespace eeTest {
272
272
  typeGuard: (value: unknown) => value is "test" | "control";
273
273
  defaultValue: "test" | "control";
274
274
  };
275
+ platform_editor_ai_proactive_ai_nudge_score: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: (value: unknown) => value is "control" | "variant1";
281
+ defaultValue: "control" | "variant1";
282
+ };
275
283
  platform_editor_markdown_next_media_plugin_exp: {
276
284
  productKeys: {
277
285
  confluence: string;
@@ -0,0 +1,9 @@
1
+ import type { BooleanExperimentConfig, ExperimentConfigValue, MultivariateExperimentConfig } from './types';
2
+ /**
3
+ * Helper to create a boolean experiment configuration
4
+ */
5
+ export declare function createBooleanExperiment(config: BooleanExperimentConfig): ExperimentConfigValue;
6
+ /**
7
+ * Helper to create a multivariate experiment configuration
8
+ */
9
+ export declare function createMultivariateExperiment<T extends string[]>(config: MultivariateExperimentConfig<T>): ExperimentConfigValue;
@@ -215,7 +215,7 @@ export declare const editorExperimentsConfig: {
215
215
  typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
216
216
  defaultValue: "off" | "fallback-small" | "fallback-large";
217
217
  };
218
- platform_editor_cmd_a_progressively_select_nodes: {
218
+ platform_editor_vanilla_dom: {
219
219
  productKeys: {
220
220
  confluence: string;
221
221
  };
@@ -231,6 +231,14 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: (value: unknown) => value is "test" | "control";
232
232
  defaultValue: "test" | "control";
233
233
  };
234
+ platform_editor_ai_proactive_ai_nudge_score: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: (value: unknown) => value is "control" | "variant1";
240
+ defaultValue: "control" | "variant1";
241
+ };
234
242
  platform_editor_markdown_next_media_plugin_exp: {
235
243
  productKeys: {
236
244
  confluence: string;
@@ -48,6 +48,9 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
+ platform_editor_ai_proactive_ai_nudge_score: {
52
+ params: 'score';
53
+ };
51
54
  };
52
55
  /**
53
56
  * @warning This currently lacks type safety on the param names and return values
@@ -34,8 +34,9 @@ export declare let _overrides: Partial<{
34
34
  editor_ai_inline_suggestion_date: "test" | "control";
35
35
  platform_editor_insertion: "control" | "variant1";
36
36
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
37
- platform_editor_cmd_a_progressively_select_nodes: boolean;
37
+ platform_editor_vanilla_dom: boolean;
38
38
  editor_text_highlight_orange_to_yellow: "test" | "control";
39
+ platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
39
40
  platform_editor_markdown_next_media_plugin_exp: boolean;
40
41
  }>;
41
42
  export declare let _paramOverrides: EditorExperimentParamOverrides;
@@ -0,0 +1,22 @@
1
+ export type ProductKeys = {
2
+ confluence?: string;
3
+ jira?: string;
4
+ test?: string;
5
+ };
6
+ export type ExperimentConfigValue = {
7
+ productKeys?: ProductKeys;
8
+ param: string;
9
+ typeGuard: (value: unknown) => boolean;
10
+ defaultValue: boolean | string;
11
+ };
12
+ export type BooleanExperimentConfig = {
13
+ productKeys?: ProductKeys;
14
+ param: string;
15
+ defaultValue: boolean;
16
+ };
17
+ export type MultivariateExperimentConfig<T extends string[]> = {
18
+ productKeys?: ProductKeys;
19
+ param: string;
20
+ values: T;
21
+ defaultValue: T[number];
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "4.5.0",
3
+ "version": "4.6.1",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",