@featurevisor/types 0.68.0 → 1.0.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/.eslintcache +1 -1
- package/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/src/index.ts +3 -3
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":
|
|
1
|
+
[{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":9487,"mtime":1702488845025,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"sabtla","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.69.0](https://github.com/featurevisor/featurevisor/compare/v0.68.0...v0.69.0) (2023-12-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* v1 ([252c5c7](https://github.com/featurevisor/featurevisor/commit/252c5c797be3c9d210ff7d272e7338658ecba8d1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* stable
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [0.68.0](https://github.com/featurevisor/featurevisor/compare/v0.67.0...v0.68.0) (2023-12-13)
|
|
7
23
|
|
|
8
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Common Typescript types for Featurevisor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"url": "https://github.com/featurevisor/featurevisor/issues"
|
|
45
45
|
},
|
|
46
46
|
"license": "MIT",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "02c2a84b1963688d521065075298c0e04ee6fdf7"
|
|
48
48
|
}
|
package/src/index.ts
CHANGED
|
@@ -142,7 +142,7 @@ export type VariableOverrideSegmentsOrConditions =
|
|
|
142
142
|
export interface VariableOverride {
|
|
143
143
|
value: VariableValue;
|
|
144
144
|
|
|
145
|
-
// one of the below must be present in YAML
|
|
145
|
+
// one of the below must be present in YAML files
|
|
146
146
|
// @TODO: try with above commented out TypeScript later
|
|
147
147
|
conditions?: Condition | Condition[];
|
|
148
148
|
segments?: GroupSegment | GroupSegment[];
|
|
@@ -151,12 +151,12 @@ export interface VariableOverride {
|
|
|
151
151
|
export interface Variable {
|
|
152
152
|
key: VariableKey;
|
|
153
153
|
value: VariableValue;
|
|
154
|
-
description?: string; // only available in YAML
|
|
154
|
+
description?: string; // only available in YAML files
|
|
155
155
|
overrides?: VariableOverride[];
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export interface Variation {
|
|
159
|
-
description?: string; // only available in YAML
|
|
159
|
+
description?: string; // only available in YAML files
|
|
160
160
|
value: VariationValue;
|
|
161
161
|
weight?: Weight; // 0 to 100 (available from parsed YAML, but not in datafile)
|
|
162
162
|
variables?: Variable[];
|