@mozilla/nimbus-schemas 2024.11.4 → 2024.11.5

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 CHANGED
@@ -162,11 +162,11 @@ export interface DesktopAllVersionsNimbusExperiment {
162
162
  /**
163
163
  * An optional string containing the Fluent ID for the title of the opt-in
164
164
  */
165
- firefoxLabsTitle?: string;
165
+ firefoxLabsTitle?: string | null;
166
166
  /**
167
167
  * An optional string containing the Fluent ID for the description of the opt-in
168
168
  */
169
- firefoxLabsDescription?: string;
169
+ firefoxLabsDescription?: string | null;
170
170
  /**
171
171
  * Opt out of feature schema validation.
172
172
  */
@@ -228,7 +228,7 @@ export interface DesktopAllVersionsExperimentBranch {
228
228
  /**
229
229
  * An optional string containing the title of the branch
230
230
  */
231
- firefoxLabsTitle?: string;
231
+ firefoxLabsTitle?: string | null;
232
232
  feature: DesktopPre95FeatureConfig;
233
233
  }
234
234
  export interface ExperimentFeatureConfig {
@@ -493,11 +493,11 @@ export interface DesktopNimbusExperiment {
493
493
  /**
494
494
  * An optional string containing the Fluent ID for the title of the opt-in
495
495
  */
496
- firefoxLabsTitle?: string;
496
+ firefoxLabsTitle?: string | null;
497
497
  /**
498
498
  * An optional string containing the Fluent ID for the description of the opt-in
499
499
  */
500
- firefoxLabsDescription?: string;
500
+ firefoxLabsDescription?: string | null;
501
501
  /**
502
502
  * Opt out of feature schema validation.
503
503
  */
@@ -525,7 +525,7 @@ export interface DesktopExperimentBranch {
525
525
  /**
526
526
  * An optional string containing the title of the branch
527
527
  */
528
- firefoxLabsTitle?: string;
528
+ firefoxLabsTitle?: string | null;
529
529
  }
530
530
  /**
531
531
  * The SDK-specific feature manifest.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mozilla/nimbus-schemas",
3
- "version": "2024.11.4",
3
+ "version": "2024.11.5",
4
4
  "description": "Schemas used by Mozilla Nimbus and related projects.",
5
5
  "main": "index.d.ts",
6
6
  "repository": {
@@ -166,12 +166,26 @@
166
166
  "type": "boolean"
167
167
  },
168
168
  "firefoxLabsTitle": {
169
- "description": "An optional string containing the Fluent ID for the title of the opt-in",
170
- "type": "string"
169
+ "anyOf": [
170
+ {
171
+ "type": "string"
172
+ },
173
+ {
174
+ "type": "null"
175
+ }
176
+ ],
177
+ "description": "An optional string containing the Fluent ID for the title of the opt-in"
171
178
  },
172
179
  "firefoxLabsDescription": {
173
- "description": "An optional string containing the Fluent ID for the description of the opt-in",
174
- "type": "string"
180
+ "anyOf": [
181
+ {
182
+ "type": "string"
183
+ },
184
+ {
185
+ "type": "null"
186
+ }
187
+ ],
188
+ "description": "An optional string containing the Fluent ID for the description of the opt-in"
175
189
  },
176
190
  "featureValidationOptOut": {
177
191
  "description": "Opt out of feature schema validation.",
@@ -271,8 +285,15 @@
271
285
  "type": "array"
272
286
  },
273
287
  "firefoxLabsTitle": {
274
- "description": "An optional string containing the title of the branch",
275
- "type": "string"
288
+ "anyOf": [
289
+ {
290
+ "type": "string"
291
+ },
292
+ {
293
+ "type": "null"
294
+ }
295
+ ],
296
+ "description": "An optional string containing the title of the branch"
276
297
  },
277
298
  "feature": {
278
299
  "$ref": "#/$defs/DesktopPre95FeatureConfig",
@@ -166,12 +166,26 @@
166
166
  "type": "boolean"
167
167
  },
168
168
  "firefoxLabsTitle": {
169
- "description": "An optional string containing the Fluent ID for the title of the opt-in",
170
- "type": "string"
169
+ "anyOf": [
170
+ {
171
+ "type": "string"
172
+ },
173
+ {
174
+ "type": "null"
175
+ }
176
+ ],
177
+ "description": "An optional string containing the Fluent ID for the title of the opt-in"
171
178
  },
172
179
  "firefoxLabsDescription": {
173
- "description": "An optional string containing the Fluent ID for the description of the opt-in",
174
- "type": "string"
180
+ "anyOf": [
181
+ {
182
+ "type": "string"
183
+ },
184
+ {
185
+ "type": "null"
186
+ }
187
+ ],
188
+ "description": "An optional string containing the Fluent ID for the description of the opt-in"
175
189
  },
176
190
  "featureValidationOptOut": {
177
191
  "description": "Opt out of feature schema validation.",
@@ -271,8 +285,15 @@
271
285
  "type": "array"
272
286
  },
273
287
  "firefoxLabsTitle": {
274
- "description": "An optional string containing the title of the branch",
275
- "type": "string"
288
+ "anyOf": [
289
+ {
290
+ "type": "string"
291
+ },
292
+ {
293
+ "type": "null"
294
+ }
295
+ ],
296
+ "description": "An optional string containing the title of the branch"
276
297
  }
277
298
  },
278
299
  "required": [