@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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/create-payload/index.js +4 -5
- package/dist/cjs/create-post-interaction-log-payload/index.js +2 -3
- package/dist/cjs/interaction-metrics-init/index.js +3 -3
- package/dist/es2019/create-payload/index.js +2 -3
- package/dist/es2019/create-post-interaction-log-payload/index.js +2 -3
- package/dist/es2019/interaction-metrics-init/index.js +3 -3
- package/dist/esm/create-payload/index.js +4 -5
- package/dist/esm/create-post-interaction-log-payload/index.js +2 -3
- package/dist/esm/interaction-metrics-init/index.js +3 -3
- package/dist/types/config/index.d.ts +6 -6
- package/dist/types/create-payload/index.d.ts +577 -577
- package/dist/types-ts4.5/config/index.d.ts +6 -6
- package/dist/types-ts4.5/create-payload/index.d.ts +577 -577
- package/package.json +1 -7
|
@@ -27,7 +27,7 @@ type SelectorConfig = {
|
|
|
27
27
|
type Rates = {
|
|
28
28
|
readonly [key: string]: number;
|
|
29
29
|
};
|
|
30
|
-
export type
|
|
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
|
|
96
|
-
byExperience?: Record<string, readonly
|
|
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
|
|
122
|
-
export declare function isVCRevisionEnabled(revision:
|
|
123
|
-
export declare function getMostRecentVCRevision(experienceKey?: string):
|
|
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;
|