File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ export class BucketClient {
494494 return features . map ( ( f ) => ( {
495495 key : f . key ,
496496 description : f . description ,
497- isEnabled : f . targeting ,
497+ flag : f . targeting ,
498498 config : f . config ,
499499 } ) ) ;
500500 }
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export type FeatureDefinition = {
207207 /**
208208 * The targeting rules for the feature.
209209 */
210- isEnabled : {
210+ flag : {
211211 /**
212212 * The version of the targeting rules.
213213 */
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ const featureDefinitions: FeaturesAPIResponse = {
102102 features : [
103103 {
104104 key : "feature1" ,
105+ description : "Feature 1" ,
105106 targeting : {
106107 version : 1 ,
107108 rules : [
@@ -133,6 +134,7 @@ const featureDefinitions: FeaturesAPIResponse = {
133134 } ,
134135 {
135136 key : "feature2" ,
137+ description : "Feature 2" ,
136138 targeting : {
137139 version : 2 ,
138140 rules : [
You can’t perform that action at this time.
0 commit comments