@featurevisor/types 0.67.0 → 0.69.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 +33 -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":9475,"mtime":1702487988084,"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,39 @@
|
|
|
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
|
+
|
|
22
|
+
# [0.68.0](https://github.com/featurevisor/featurevisor/compare/v0.67.0...v0.68.0) (2023-12-13)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* v1 ([8771956](https://github.com/featurevisor/featurevisor/commit/87719569da36bf0e92ddb9bffbbf69bdf7f001c1))
|
|
28
|
+
* v1BREAKING CHANGE: stable release ([174be4c](https://github.com/featurevisor/featurevisor/commit/174be4cc5a5582e5eafd75e89b1513578d1c7641))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### BREAKING CHANGES
|
|
32
|
+
|
|
33
|
+
* stable release
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [0.67.0](https://github.com/featurevisor/featurevisor/compare/v0.66.0...v0.67.0) (2023-12-13)
|
|
7
40
|
|
|
8
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.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": "cb263166d64b47d1fa673938d0aee5083057bee3"
|
|
48
48
|
}
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface Context {
|
|
|
9
9
|
export type AttributeType = "boolean" | "string" | "integer" | "double" | "date" | "semver";
|
|
10
10
|
|
|
11
11
|
export interface Attribute {
|
|
12
|
-
archived?: boolean; // only available in YAML
|
|
12
|
+
archived?: boolean; // only available in YAML files
|
|
13
13
|
key: AttributeKey;
|
|
14
14
|
type: AttributeType;
|
|
15
15
|
capture?: boolean;
|
|
@@ -74,7 +74,7 @@ export type Condition = PlainCondition | AndOrNotCondition;
|
|
|
74
74
|
export type SegmentKey = string;
|
|
75
75
|
|
|
76
76
|
export interface Segment {
|
|
77
|
-
archived?: boolean; // only available in YAML
|
|
77
|
+
archived?: boolean; // only available in YAML files
|
|
78
78
|
key: SegmentKey;
|
|
79
79
|
conditions: Condition | Condition[] | string; // string only when stringified for datafile
|
|
80
80
|
}
|
|
@@ -156,7 +156,7 @@ export interface Variable {
|
|
|
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[];
|