@featurevisor/types 0.11.0 → 0.13.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/lib/index.d.ts +2 -0
- package/package.json +2 -2
- package/src/index.ts +2 -0
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
|
+
# [0.13.0](https://github.com/fahad19/featurevisor/compare/v0.12.1...v0.13.0) (2023-04-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @featurevisor/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.12.0](https://github.com/fahad19/featurevisor/compare/v0.11.0...v0.12.0) (2023-04-17)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* Allow overriding variation for specific rules ([#51](https://github.com/fahad19/featurevisor/issues/51)) ([e6447df](https://github.com/fahad19/featurevisor/commit/e6447df579d8b579aa67a44ba7a370b7cac9f320))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.11.0](https://github.com/fahad19/featurevisor/compare/v0.10.1...v0.11.0) (2023-04-17)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @featurevisor/types
|
package/lib/index.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export interface Traffic {
|
|
|
108
108
|
key: RuleKey;
|
|
109
109
|
segments: GroupSegment | GroupSegment[] | "*";
|
|
110
110
|
percentage: Percentage;
|
|
111
|
+
variation?: VariationValue;
|
|
111
112
|
variables?: {
|
|
112
113
|
[key: string]: VariableValue;
|
|
113
114
|
};
|
|
@@ -140,6 +141,7 @@ export interface Rule {
|
|
|
140
141
|
key: RuleKey;
|
|
141
142
|
segments: GroupSegment | GroupSegment[];
|
|
142
143
|
percentage: Weight;
|
|
144
|
+
variation?: VariationValue;
|
|
143
145
|
variables?: {
|
|
144
146
|
[key: string]: VariableValue;
|
|
145
147
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Common Typescript types for Featurevisor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"url": "https://github.com/fahad19/featurevisor/issues"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "84bc69876c7b5ea080d0dff53b305bd47b3d43e1"
|
|
45
45
|
}
|
package/src/index.ts
CHANGED
|
@@ -194,6 +194,7 @@ export interface Traffic {
|
|
|
194
194
|
key: RuleKey;
|
|
195
195
|
segments: GroupSegment | GroupSegment[] | "*";
|
|
196
196
|
percentage: Percentage;
|
|
197
|
+
variation?: VariationValue;
|
|
197
198
|
variables?: {
|
|
198
199
|
[key: string]: VariableValue;
|
|
199
200
|
};
|
|
@@ -234,6 +235,7 @@ export interface Rule {
|
|
|
234
235
|
key: RuleKey;
|
|
235
236
|
segments: GroupSegment | GroupSegment[];
|
|
236
237
|
percentage: Weight;
|
|
238
|
+
variation?: VariationValue;
|
|
237
239
|
variables?: {
|
|
238
240
|
[key: string]: VariableValue;
|
|
239
241
|
};
|