@mozilla/nimbus-schemas 2024.7.1 → 2024.8.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/index.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type AnalysisErrors = AnalysisError[];
|
|
|
11
11
|
export type Feature = FeatureWithExposure | FeatureWithoutExposure;
|
|
12
12
|
export type FeatureVariableType = "int" | "string" | "boolean" | "json";
|
|
13
13
|
export type PrefBranch = "default" | "user";
|
|
14
|
+
export type RandomizationUnit = "normandy_id" | "nimbus_id" | "user_id" | "group_id";
|
|
14
15
|
export type SizingReleaseChannel = "release" | "beta" | "nightly";
|
|
15
16
|
export type SizingUserType = "new" | "existing" | "all";
|
|
16
17
|
export type Statistics = Statistic[];
|
|
@@ -149,7 +150,7 @@ export interface NimbusExperiment {
|
|
|
149
150
|
locales?: string[];
|
|
150
151
|
}
|
|
151
152
|
export interface ExperimentBucketConfig {
|
|
152
|
-
randomizationUnit:
|
|
153
|
+
randomizationUnit: RandomizationUnit;
|
|
153
154
|
namespace: string;
|
|
154
155
|
start: number;
|
|
155
156
|
count: number;
|