@atlaskit/tmp-editor-statsig 2.26.0 → 2.27.0

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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.27.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#177496](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177496)
8
+ [`dfb96360f8958`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dfb96360f8958) -
9
+ Remove optimise-apply-dnd experiment
10
+
11
+ ## 2.26.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#172505](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/172505)
16
+ [`3816509a67f5c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3816509a67f5c) -
17
+ EDF-2055 Added platform_editor_ai_knowledge_from_current_page experiment
18
+
3
19
  ## 2.26.0
4
20
 
5
21
  ### Minor Changes
@@ -14,7 +14,8 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
14
14
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
15
15
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
16
16
  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; }
17
- 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; } // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
17
+ 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; } /* eslint-disable @atlaskit/editor/no-re-export */ // Entry file in package.json
18
+ // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
18
19
  /**
19
20
  * This is a utility function for testing editor experiments.
20
21
  *
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.editorExperimentsConfig = void 0;
7
7
  var _typeGuards = require("./type-guards");
8
+ /* eslint-disable @atlaskit/editor/no-re-export */
9
+ // Entry file in package.json
10
+
8
11
  /**
9
12
  * When adding a new experiment, you need to add it here.
10
13
  * Please follow the pattern established in the examples and any
@@ -199,16 +202,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
199
202
  typeGuard: _typeGuards.isBoolean,
200
203
  defaultValue: false
201
204
  },
202
- // Added 2024-10-06
203
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
204
- 'optimised-apply-dnd': {
205
- productKeys: {
206
- confluence: 'platform_editor_element_dnd_apply_optimisation'
207
- },
208
- param: 'isEnabled',
209
- typeGuard: _typeGuards.isBoolean,
210
- defaultValue: false
211
- },
212
205
  // Added 2024-10-14
213
206
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
214
207
  advanced_layouts: {
@@ -381,5 +374,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
381
374
  param: 'isEnabled',
382
375
  typeGuard: _typeGuards.isBoolean,
383
376
  defaultValue: false
377
+ },
378
+ // Added 2024-12-03
379
+ platform_editor_ai_knowledge_from_current_page: {
380
+ productKeys: {
381
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
382
+ },
383
+ param: 'isEnabled',
384
+ typeGuard: _typeGuards.isBoolean,
385
+ defaultValue: false
384
386
  }
385
387
  };
@@ -8,6 +8,9 @@ exports.editorExperiment = editorExperiment;
8
8
  var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
9
9
  var _experimentsConfig = require("./experiments-config");
10
10
  var _setup = require("./setup");
11
+ /* eslint-disable @atlaskit/editor/no-re-export */
12
+ // Entry file in package.json
13
+
11
14
  /**
12
15
  * Check the value of an editor experiment.
13
16
  *
package/dist/cjs/setup.js CHANGED
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _experimentsConfig = require("./experiments-config");
12
12
  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; }
13
- 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
+ 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; } /* eslint-disable @atlaskit/editor/no-re-export */ // Entry file in package.json
14
14
  var _overrides = exports._overrides = {};
15
15
  var _product;
16
16
 
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
2
5
 
3
6
  import { setupEditorExperiments } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { isBoolean, oneOf } from './type-guards';
2
5
  /**
3
6
  * When adding a new experiment, you need to add it here.
@@ -193,16 +196,6 @@ export const editorExperimentsConfig = {
193
196
  typeGuard: isBoolean,
194
197
  defaultValue: false
195
198
  },
196
- // Added 2024-10-06
197
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
198
- 'optimised-apply-dnd': {
199
- productKeys: {
200
- confluence: 'platform_editor_element_dnd_apply_optimisation'
201
- },
202
- param: 'isEnabled',
203
- typeGuard: isBoolean,
204
- defaultValue: false
205
- },
206
199
  // Added 2024-10-14
207
200
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
208
201
  advanced_layouts: {
@@ -375,5 +368,14 @@ export const editorExperimentsConfig = {
375
368
  param: 'isEnabled',
376
369
  typeGuard: isBoolean,
377
370
  defaultValue: false
371
+ },
372
+ // Added 2024-12-03
373
+ platform_editor_ai_knowledge_from_current_page: {
374
+ productKeys: {
375
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
376
+ },
377
+ param: 'isEnabled',
378
+ typeGuard: isBoolean,
379
+ defaultValue: false
378
380
  }
379
381
  };
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
5
  import { editorExperimentsConfig } from './experiments-config';
3
6
  import { _overrides, _product } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { editorExperimentsConfig } from './experiments-config';
2
5
  export let _overrides = {};
3
6
  export let _product;
@@ -6,6 +6,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
6
6
  import _regeneratorRuntime from "@babel/runtime/regenerator";
7
7
  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; }
8
8
  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; }
9
+ /* eslint-disable @atlaskit/editor/no-re-export */
10
+ // Entry file in package.json
11
+
9
12
  // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
10
13
 
11
14
  import { setupEditorExperiments } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { isBoolean, oneOf } from './type-guards';
2
5
  /**
3
6
  * When adding a new experiment, you need to add it here.
@@ -193,16 +196,6 @@ export var editorExperimentsConfig = {
193
196
  typeGuard: isBoolean,
194
197
  defaultValue: false
195
198
  },
196
- // Added 2024-10-06
197
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
198
- 'optimised-apply-dnd': {
199
- productKeys: {
200
- confluence: 'platform_editor_element_dnd_apply_optimisation'
201
- },
202
- param: 'isEnabled',
203
- typeGuard: isBoolean,
204
- defaultValue: false
205
- },
206
199
  // Added 2024-10-14
207
200
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
208
201
  advanced_layouts: {
@@ -375,5 +368,14 @@ export var editorExperimentsConfig = {
375
368
  param: 'isEnabled',
376
369
  typeGuard: isBoolean,
377
370
  defaultValue: false
371
+ },
372
+ // Added 2024-12-03
373
+ platform_editor_ai_knowledge_from_current_page: {
374
+ productKeys: {
375
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
376
+ },
377
+ param: 'isEnabled',
378
+ typeGuard: isBoolean,
379
+ defaultValue: false
378
380
  }
379
381
  };
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
5
  import { editorExperimentsConfig } from './experiments-config';
3
6
  import { _overrides, _product } from './setup';
package/dist/esm/setup.js CHANGED
@@ -2,6 +2,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  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; }
4
4
  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; }
5
+ /* eslint-disable @atlaskit/editor/no-re-export */
6
+ // Entry file in package.json
7
+
5
8
  import { editorExperimentsConfig } from './experiments-config';
6
9
  export var _overrides = {};
7
10
  export var _product;
@@ -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" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -208,14 +208,6 @@ declare namespace eeTest {
208
208
  typeGuard: typeof import("./type-guards").isBoolean;
209
209
  defaultValue: boolean;
210
210
  };
211
- 'optimised-apply-dnd': {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
211
  advanced_layouts: {
220
212
  productKeys: {
221
213
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ platform_editor_ai_knowledge_from_current_page: {
364
+ productKeys: {
365
+ confluence: string;
366
+ };
367
+ param: string;
368
+ typeGuard: typeof import("./type-guards").isBoolean;
369
+ defaultValue: boolean;
370
+ };
371
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
372
372
  each: (describeBody: jest.EmptyFunction) => void;
373
373
  };
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
167
167
  typeGuard: typeof isBoolean;
168
168
  defaultValue: boolean;
169
169
  };
170
- 'optimised-apply-dnd': {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
170
  advanced_layouts: {
179
171
  productKeys: {
180
172
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ platform_editor_ai_knowledge_from_current_page: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -23,7 +23,6 @@ export declare let _overrides: Partial<{
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
- 'optimised-apply-dnd': boolean;
27
26
  advanced_layouts: boolean;
28
27
  support_table_in_comment_jira: boolean;
29
28
  comment_on_inline_node_spotlight: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_draft_with_ai: boolean;
44
43
  platform_editor_ai_unsplash_page_header: boolean;
45
44
  expand_selection_range_to_include_inline_node: boolean;
45
+ platform_editor_ai_knowledge_from_current_page: boolean;
46
46
  }>;
47
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
48
48
  /**
@@ -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" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -208,14 +208,6 @@ declare namespace eeTest {
208
208
  typeGuard: typeof import("./type-guards").isBoolean;
209
209
  defaultValue: boolean;
210
210
  };
211
- 'optimised-apply-dnd': {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
211
  advanced_layouts: {
220
212
  productKeys: {
221
213
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ platform_editor_ai_knowledge_from_current_page: {
364
+ productKeys: {
365
+ confluence: string;
366
+ };
367
+ param: string;
368
+ typeGuard: typeof import("./type-guards").isBoolean;
369
+ defaultValue: boolean;
370
+ };
371
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
372
372
  each: (describeBody: jest.EmptyFunction) => void;
373
373
  };
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
167
167
  typeGuard: typeof isBoolean;
168
168
  defaultValue: boolean;
169
169
  };
170
- 'optimised-apply-dnd': {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
170
  advanced_layouts: {
179
171
  productKeys: {
180
172
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ platform_editor_ai_knowledge_from_current_page: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -23,7 +23,6 @@ export declare let _overrides: Partial<{
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
- 'optimised-apply-dnd': boolean;
27
26
  advanced_layouts: boolean;
28
27
  support_table_in_comment_jira: boolean;
29
28
  comment_on_inline_node_spotlight: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_draft_with_ai: boolean;
44
43
  platform_editor_ai_unsplash_page_header: boolean;
45
44
  expand_selection_range_to_include_inline_node: boolean;
45
+ platform_editor_ai_knowledge_from_current_page: boolean;
46
46
  }>;
47
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
48
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.26.0",
3
+ "version": "2.27.0",
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",