@mozilla/nimbus-schemas 2023.10.1 → 2023.10.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.
Files changed (2) hide show
  1. package/index.d.ts +3 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -8,6 +8,7 @@
8
8
  export type AnalysisBasis = "enrollments" | "exposures";
9
9
  export type LogSource = "jetstream" | "sizing" | "jetstream-preview";
10
10
  export type AnalysisErrors = AnalysisError[];
11
+ export type Feature = FeatureWithExposure | FeatureWithoutExposure;
11
12
  export type FeatureVariableType = "int" | "string" | "boolean" | "json";
12
13
  export type SizingReleaseChannel = "release" | "beta" | "nightly";
13
14
  export type SizingUserType = "new" | "existing";
@@ -37,7 +38,7 @@ export interface ExternalConfig {
37
38
  url: string;
38
39
  }
39
40
  export interface FeatureManifest {
40
- [k: string]: FeatureWithExposure | FeatureWithoutExposure;
41
+ [k: string]: Feature;
41
42
  }
42
43
  /**
43
44
  * A feature that has exposure.
@@ -73,7 +74,7 @@ export interface FeatureWithoutExposure {
73
74
  [k: string]: FeatureVariable;
74
75
  };
75
76
  schema?: NimbusFeatureSchema;
76
- hasExposure?: false;
77
+ hasExposure: false;
77
78
  }
78
79
  export interface Metadata {
79
80
  analysis_start_time?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mozilla/nimbus-schemas",
3
- "version": "2023.10.1",
3
+ "version": "2023.10.2",
4
4
  "description": "Schemas used by Mozilla Nimbus and related projects.",
5
5
  "main": "index.d.ts",
6
6
  "repository": {