@mozilla/nimbus-shared
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "@mozilla/nimbus-shared", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"license": "MPL-2.0", | ||
@@ -35,3 +35,3 @@ "engines": { | ||
"prettier": "^2.0.5", | ||
"ts-json-schema-generator": "^0.77.0", | ||
"ts-json-schema-generator": "^1.2.0", | ||
"ts-node": "^8.10.1", | ||
@@ -38,0 +38,0 @@ "typescript": "^3.9.3" |
@@ -128,8 +128,25 @@ /** | ||
* Only supported on desktop. | ||
* | ||
*/ | ||
localizations?: { | ||
[locale: string]: Record<string, string>; | ||
[locale: string]: Record<L10nStringID, string>; | ||
} | null; | ||
/** | ||
* The list of locale codes (e.g., "en-US" or "fr") that this experiment is | ||
* targeting. | ||
* | ||
* If null, all locales are targeted. | ||
*/ | ||
locales?: string[]; | ||
} | ||
/** | ||
* A string ID. | ||
* | ||
* @pattern ^[A-Za-z0-9\-]+$ | ||
* @minLength 9 | ||
*/ | ||
type L10nStringID = string; | ||
interface BucketConfig { | ||
@@ -136,0 +153,0 @@ /** |
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
428313
9097