@featurevisor/types 1.28.0 → 1.31.0
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/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.31.0](https://github.com/featurevisor/featurevisor/compare/v1.30.1...v1.31.0) (2025-02-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* variables schema as dictionary ([#343](https://github.com/featurevisor/featurevisor/issues/343)) ([18e8aed](https://github.com/featurevisor/featurevisor/commit/18e8aedab10ecdd68b7f0cbf911896b14ab37c91))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.29.2](https://github.com/featurevisor/featurevisor/compare/v1.29.1...v1.29.2) (2025-01-25)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @featurevisor/types
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [1.28.0](https://github.com/featurevisor/featurevisor/compare/v1.27.6...v1.28.0) (2025-01-21)
|
|
7
26
|
|
|
8
27
|
|
package/README.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export interface Feature {
|
|
|
141
141
|
key: FeatureKey;
|
|
142
142
|
deprecated?: boolean;
|
|
143
143
|
required?: Required[];
|
|
144
|
-
variablesSchema?: VariableSchema[]
|
|
144
|
+
variablesSchema?: VariableSchema[] | Record<VariableKey, VariableSchema>;
|
|
145
145
|
variations?: Variation[];
|
|
146
146
|
bucketBy: BucketBy;
|
|
147
147
|
traffic: Traffic[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Common Typescript types for Featurevisor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"url": "https://github.com/featurevisor/featurevisor/issues"
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "fddbfd83a41ff252d0f67410a9208665b51d412f"
|
|
44
44
|
}
|
package/src/index.ts
CHANGED
|
@@ -241,7 +241,7 @@ export interface Feature {
|
|
|
241
241
|
key: FeatureKey;
|
|
242
242
|
deprecated?: boolean;
|
|
243
243
|
required?: Required[];
|
|
244
|
-
variablesSchema?: VariableSchema[]
|
|
244
|
+
variablesSchema?: VariableSchema[] | Record<VariableKey, VariableSchema>;
|
|
245
245
|
variations?: Variation[];
|
|
246
246
|
bucketBy: BucketBy;
|
|
247
247
|
traffic: Traffic[];
|