@featurevisor/types 0.16.0 → 0.17.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 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.17.0](https://github.com/fahad19/featurevisor/compare/v0.16.0...v0.17.0) (2023-05-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * sticky features ([#65](https://github.com/fahad19/featurevisor/issues/65)) ([eb4ff69](https://github.com/fahad19/featurevisor/commit/eb4ff69dcb3d6f979eb1c9dec3fe4cf1583e1fc9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.16.0](https://github.com/fahad19/featurevisor/compare/v0.15.0...v0.16.0) (2023-04-30)
7
18
 
8
19
 
package/lib/index.d.ts CHANGED
@@ -144,6 +144,14 @@ export interface DatafileContent {
144
144
  segments: Segment[];
145
145
  features: Feature[];
146
146
  }
147
+ export interface StickyFeatures {
148
+ [key: FeatureKey]: {
149
+ variation: VariationValue;
150
+ variables?: {
151
+ [key: VariableKey]: VariableValue;
152
+ };
153
+ };
154
+ }
147
155
  /**
148
156
  * YAML-only type
149
157
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Common Typescript types for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -41,5 +41,5 @@
41
41
  "url": "https://github.com/fahad19/featurevisor/issues"
42
42
  },
43
43
  "license": "MIT",
44
- "gitHead": "7e9b87c4653e4f2940fb399a53e919a2c7450c14"
44
+ "gitHead": "4e00e7a43d21c668f2a313750c22613dbd0b3ad3"
45
45
  }
package/src/index.ts CHANGED
@@ -238,6 +238,15 @@ export interface DatafileContent {
238
238
  features: Feature[];
239
239
  }
240
240
 
241
+ export interface StickyFeatures {
242
+ [key: FeatureKey]: {
243
+ variation: VariationValue;
244
+ variables?: {
245
+ [key: VariableKey]: VariableValue;
246
+ };
247
+ };
248
+ }
249
+
241
250
  /**
242
251
  * YAML-only type
243
252
  */