@featurevisor/types 0.59.0 → 0.61.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 CHANGED
@@ -1 +1 @@
1
- [{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":8938,"mtime":1698790979733,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1fqckjn","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
1
+ [{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":8988,"mtime":1699985857286,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1fqckjn","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
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.61.0](https://github.com/featurevisor/featurevisor/compare/v0.60.1...v0.61.0) (2023-11-14)
7
+
8
+ **Note:** Version bump only for package @featurevisor/types
9
+
10
+
11
+
12
+
13
+
14
+ # [0.60.0](https://github.com/featurevisor/featurevisor/compare/v0.59.3...v0.60.0) (2023-11-07)
15
+
16
+
17
+ ### Features
18
+
19
+ * allow rules to have description ([#206](https://github.com/featurevisor/featurevisor/issues/206)) ([7d4db28](https://github.com/featurevisor/featurevisor/commit/7d4db28dda51db35e2000828b0974f05e9cc5757))
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.59.0](https://github.com/featurevisor/featurevisor/compare/v0.58.0...v0.59.0) (2023-10-31)
7
26
 
8
27
  **Note:** Version bump only for package @featurevisor/types
package/lib/index.d.ts CHANGED
@@ -173,6 +173,7 @@ export type EnvironmentKey = string;
173
173
  export type RuleKey = string;
174
174
  export interface Rule {
175
175
  key: RuleKey;
176
+ description?: string;
176
177
  segments: GroupSegment | GroupSegment[];
177
178
  percentage: Weight;
178
179
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "0.59.0",
3
+ "version": "0.61.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": "ba710e9088a733ce67c7aa376c920a0cc4e123dc"
47
+ "gitHead": "c781bff1767a1c1680995e7e00b4aad7f0e5c58e"
48
48
  }
package/src/index.ts CHANGED
@@ -280,6 +280,7 @@ export type RuleKey = string;
280
280
 
281
281
  export interface Rule {
282
282
  key: RuleKey;
283
+ description?: string; // only available in YAML
283
284
  segments: GroupSegment | GroupSegment[];
284
285
  percentage: Weight;
285
286