@featurevisor/types 1.33.0 → 1.35.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 +11 -0
- package/lib/index.d.ts +3 -0
- package/package.json +2 -2
- package/src/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.35.0](https://github.com/featurevisor/featurevisor/compare/v1.34.2...v1.35.0) (2025-03-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* list entities from CLI ([#349](https://github.com/featurevisor/featurevisor/issues/349)) ([160e151](https://github.com/featurevisor/featurevisor/commit/160e15103860be8a81a145d515e0ceb69a3cad79))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.33.0](https://github.com/featurevisor/featurevisor/compare/v1.32.0...v1.33.0) (2025-03-08)
|
|
7
18
|
|
|
8
19
|
|
package/lib/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface Attribute {
|
|
|
9
9
|
key: AttributeKey;
|
|
10
10
|
type: AttributeType;
|
|
11
11
|
capture?: boolean;
|
|
12
|
+
description?: string;
|
|
12
13
|
}
|
|
13
14
|
export type Operator = "equals" | "notEquals" | "greaterThan" | "greaterThanOrEquals" | "lessThan" | "lessThanOrEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "semverEquals" | "semverNotEquals" | "semverGreaterThan" | "semverGreaterThanOrEquals" | "semverLessThan" | "semverLessThanOrEquals" | "before" | "after" | "in" | "notIn";
|
|
14
15
|
export type ConditionValue = string | number | boolean | Date | null | undefined | string[];
|
|
@@ -33,6 +34,7 @@ export interface Segment {
|
|
|
33
34
|
archived?: boolean;
|
|
34
35
|
key: SegmentKey;
|
|
35
36
|
conditions: Condition | Condition[] | string;
|
|
37
|
+
description?: string;
|
|
36
38
|
}
|
|
37
39
|
export type PlainGroupSegment = SegmentKey;
|
|
38
40
|
export interface AndGroupSegment {
|
|
@@ -85,6 +87,7 @@ export interface VariableSchema {
|
|
|
85
87
|
key: VariableKey;
|
|
86
88
|
type: VariableType;
|
|
87
89
|
defaultValue: VariableValue;
|
|
90
|
+
description?: string;
|
|
88
91
|
}
|
|
89
92
|
export type FeatureKey = string;
|
|
90
93
|
export interface Force {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.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": "6c9ecabb7e39f77fc89e64395fedfc9570324fb7"
|
|
44
44
|
}
|
package/src/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface Attribute {
|
|
|
13
13
|
key: AttributeKey;
|
|
14
14
|
type: AttributeType;
|
|
15
15
|
capture?: boolean;
|
|
16
|
+
description?: string; // only available in YAML files
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export type Operator =
|
|
@@ -77,6 +78,7 @@ export interface Segment {
|
|
|
77
78
|
archived?: boolean; // only available in YAML files
|
|
78
79
|
key: SegmentKey;
|
|
79
80
|
conditions: Condition | Condition[] | string; // string only when stringified for datafile
|
|
81
|
+
description?: string; // only available in YAML files
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
export type PlainGroupSegment = SegmentKey;
|
|
@@ -167,6 +169,7 @@ export interface VariableSchema {
|
|
|
167
169
|
key: VariableKey;
|
|
168
170
|
type: VariableType;
|
|
169
171
|
defaultValue: VariableValue;
|
|
172
|
+
description?: string; // only available in YAML files
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
export type FeatureKey = string;
|