@atlaskit/react-ufo 4.0.0 → 4.0.2

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.
@@ -27,7 +27,7 @@ type SelectorConfig = {
27
27
  type Rates = {
28
28
  readonly [key: string]: number;
29
29
  };
30
- export type TTVCRevisions = 'fy25.01' | 'fy25.02' | 'fy25.03';
30
+ export type TTVCRevision = 'fy25.01' | 'fy25.02' | 'fy25.03';
31
31
  export declare const DEFAULT_TTVC_REVISION = "fy25.03";
32
32
  export type Config = {
33
33
  readonly enabled?: boolean;
@@ -92,8 +92,8 @@ export type Config = {
92
92
  * i.e. every element for all `byExperience` entry configs should exist in the `all` config
93
93
  */
94
94
  readonly enabledVCRevisions?: {
95
- all: readonly TTVCRevisions[];
96
- byExperience?: Record<string, readonly TTVCRevisions[]>;
95
+ all: readonly TTVCRevision[];
96
+ byExperience?: Record<string, readonly TTVCRevision[]>;
97
97
  };
98
98
  };
99
99
  readonly postInteractionLog?: {
@@ -118,9 +118,9 @@ export type Config = {
118
118
  };
119
119
  export declare function setUFOConfig(newConfig: Config): void;
120
120
  export declare function getConfig(): Config | undefined;
121
- export declare function getEnabledVCRevisions(experienceKey?: string): readonly TTVCRevisions[];
122
- export declare function isVCRevisionEnabled(revision: TTVCRevisions, experienceKey?: string): boolean;
123
- export declare function getMostRecentVCRevision(experienceKey?: string): TTVCRevisions;
121
+ export declare function getEnabledVCRevisions(experienceKey?: string): readonly TTVCRevision[];
122
+ export declare function isVCRevisionEnabled(revision: TTVCRevision, experienceKey?: string): boolean;
123
+ export declare function getMostRecentVCRevision(experienceKey?: string): TTVCRevision;
124
124
  export declare function getInteractionRate(name: string, interactionKind: InteractionKind): number;
125
125
  export declare function getExperimentalInteractionRate(name: string, interactionType: InteractionType): number;
126
126
  export declare function getPostInteractionRate(name: string, interactionType: InteractionType): number;