@featurevisor/types 0.50.0 → 0.52.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":8888,"mtime":1696188445490,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"wdwiro","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
1
+ [{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":8938,"mtime":1697119636644,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"wdwiro","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
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.52.0](https://github.com/featurevisor/featurevisor/compare/v0.51.2...v0.52.0) (2023-10-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * add support for null, more specific validation of value type in segment ([#170](https://github.com/featurevisor/featurevisor/issues/170)) ([16a47c5](https://github.com/featurevisor/featurevisor/commit/16a47c5eec4fda07dd161eeb2e468b0ac736c18c))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.51.0](https://github.com/featurevisor/featurevisor/compare/v0.50.0...v0.51.0) (2023-10-05)
18
+
19
+
20
+ ### Features
21
+
22
+ * let variables have descriptions ([#165](https://github.com/featurevisor/featurevisor/issues/165)) ([2a1b73d](https://github.com/featurevisor/featurevisor/commit/2a1b73d274ae10184db024ca41aa73011b8e8532))
23
+
24
+
25
+
26
+
27
+
6
28
  # [0.50.0](https://github.com/featurevisor/featurevisor/compare/v0.49.0...v0.50.0) (2023-10-01)
7
29
 
8
30
 
package/lib/index.d.ts CHANGED
@@ -70,6 +70,7 @@ export interface VariableOverride {
70
70
  export interface Variable {
71
71
  key: VariableKey;
72
72
  value: VariableValue;
73
+ description?: string;
73
74
  overrides?: VariableOverride[];
74
75
  }
75
76
  export interface Variation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "0.50.0",
3
+ "version": "0.52.0",
4
4
  "description": "Common Typescript types for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -10,9 +10,9 @@
10
10
  "dist": "webpack --config ./webpack.config.js",
11
11
  "build": "npm run transpile && npm run dist",
12
12
  "test": "echo 'Nothing to test in types package'",
13
- "format": "prettier . --check --cache --log-level=warn",
13
+ "format": "prettier . --check --cache --loglevel=warn",
14
14
  "lint": "eslint . --cache",
15
- "format:fix": "prettier . --write --cache --log-level=warn",
15
+ "format:fix": "prettier . --write --cache --loglevel=warn",
16
16
  "lint:fix": "eslint . --fix --cache"
17
17
  },
18
18
  "author": {
@@ -44,5 +44,5 @@
44
44
  "url": "https://github.com/featurevisor/featurevisor/issues"
45
45
  },
46
46
  "license": "MIT",
47
- "gitHead": "8185b286336d8fe3a9229e7d2545607a88f3c083"
47
+ "gitHead": "9bc6c82fa09d23dd9486c44b51474758c3e8c8bb"
48
48
  }
package/src/index.ts CHANGED
@@ -149,6 +149,7 @@ export interface VariableOverride {
149
149
  export interface Variable {
150
150
  key: VariableKey;
151
151
  value: VariableValue;
152
+ description?: string; // only available in YAML
152
153
  overrides?: VariableOverride[];
153
154
  }
154
155