@mozilla/nimbus-schemas
Advanced tools
Comparing version 2023.9.3 to 2023.10.1
@@ -11,2 +11,3 @@ /* tslint:disable */ | ||
export type AnalysisErrors = AnalysisError[]; | ||
export type FeatureVariableType = "int" | "string" | "boolean" | "json"; | ||
export type SizingReleaseChannel = "release" | "beta" | "nightly"; | ||
@@ -39,2 +40,41 @@ export type SizingUserType = "new" | "existing"; | ||
} | ||
export interface FeatureManifest { | ||
[k: string]: FeatureWithExposure | FeatureWithoutExposure; | ||
} | ||
/** | ||
* A feature that has exposure. | ||
*/ | ||
export interface FeatureWithExposure { | ||
description?: string; | ||
isEarlyStartup?: boolean; | ||
variables: { | ||
[k: string]: FeatureVariable; | ||
}; | ||
schema?: NimbusFeatureSchema; | ||
hasExposure: true; | ||
exposureDescription: string; | ||
} | ||
export interface FeatureVariable { | ||
description?: string; | ||
enum?: string[]; | ||
fallbackPref?: string; | ||
type?: FeatureVariableType; | ||
setPref?: string; | ||
} | ||
export interface NimbusFeatureSchema { | ||
uri: string; | ||
path: string; | ||
} | ||
/** | ||
* A feature without exposure. | ||
*/ | ||
export interface FeatureWithoutExposure { | ||
description?: string; | ||
isEarlyStartup?: boolean; | ||
variables: { | ||
[k: string]: FeatureVariable; | ||
}; | ||
schema?: NimbusFeatureSchema; | ||
hasExposure?: false; | ||
} | ||
export interface Metadata { | ||
@@ -41,0 +81,0 @@ analysis_start_time?: string; |
{ | ||
"name": "@mozilla/nimbus-schemas", | ||
"version": "2023.9.3", | ||
"version": "2023.10.1", | ||
"description": "Schemas used by Mozilla Nimbus and related projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25329
238