@featurevisor/types 0.47.1 → 0.48.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":9035,"mtime":1694550300699,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"qjtn9o","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
1
+ [{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":9059,"mtime":1695664147114,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"qjtn9o","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
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
+ # [0.48.0](https://github.com/featurevisor/featurevisor/compare/v0.47.7...v0.48.0) (2023-09-25)
7
+
8
+
9
+ ### Features
10
+
11
+ * custom parser API for going beyond just YAML files ([#158](https://github.com/featurevisor/featurevisor/issues/158)) ([3fb0352](https://github.com/featurevisor/featurevisor/commit/3fb0352e168d3f186bd54108eead789ec44da217))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.47.1](https://github.com/featurevisor/featurevisor/compare/v0.47.0...v0.47.1) (2023-09-12)
7
18
 
8
19
  **Note:** Version bump only for package @featurevisor/types
package/lib/index.d.ts CHANGED
@@ -185,12 +185,13 @@ export interface Environment {
185
185
  rules: Rule[];
186
186
  force?: Force[];
187
187
  }
188
+ export type Tag = string;
188
189
  export interface ParsedFeature {
189
190
  key: FeatureKey;
190
191
  archived?: boolean;
191
192
  deprecated?: boolean;
192
193
  description: string;
193
- tags: string[];
194
+ tags: Tag[];
194
195
  required?: Required[];
195
196
  bucketBy: BucketBy;
196
197
  variablesSchema?: VariableSchema[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "0.47.1",
3
+ "version": "0.48.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": "1f71f945cf6bbfe420d41ae03ac205cbf30aba83"
47
+ "gitHead": "2dd57c60edbdc00ddf418be4877d19f3f45b929e"
48
48
  }
package/src/index.ts CHANGED
@@ -295,6 +295,8 @@ export interface Environment {
295
295
  force?: Force[];
296
296
  }
297
297
 
298
+ export type Tag = string;
299
+
298
300
  export interface ParsedFeature {
299
301
  key: FeatureKey;
300
302
 
@@ -302,7 +304,7 @@ export interface ParsedFeature {
302
304
  deprecated?: boolean;
303
305
 
304
306
  description: string;
305
- tags: string[];
307
+ tags: Tag[];
306
308
 
307
309
  required?: Required[];
308
310