-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from featurehub-io/feature/sdk-extensions
- Support for feature properties (if any)
- Loading branch information
Showing
42 changed files
with
321 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...urehub-javascript-client-sdk/app/models/.openapi-generator/sse.yaml-featurehub-api.sha256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
c1d8832e6a2bf63c1201a9ce0e28f9024bb577984c9ab652a03f4bb27f443f83 | ||
357944b3dddaf0986739059920aae8fc5e554ee1d80beffa07e26b38ea4f88ff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
featurehub-javascript-client-sdk/app/models/models/base-rollout-strategy-all-of.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* FeatureServiceApi | ||
* This describes the API clients use for accessing features | ||
* | ||
* The version of the OpenAPI document: 1.1.8 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @interface BaseRolloutStrategyAllOf | ||
*/ | ||
export interface BaseRolloutStrategyAllOf { | ||
/** | ||
* when we attach the RolloutStrategy for Dacha or SSE this lets us push the value out. Only visible in SDK and SSE Edge. | ||
* @type {any} | ||
* @memberof BaseRolloutStrategyAllOf | ||
*/ | ||
value?: any | null; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
featurehub-javascript-client-sdk/app/models/models/base-strategy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* FeatureServiceApi | ||
* This describes the API clients use for accessing features | ||
* | ||
* The version of the OpenAPI document: 1.1.8 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
import { RolloutStrategyAttribute } from './rollout-strategy-attribute'; | ||
|
||
/** | ||
* if the feature in an environment is different from its default, this will be the reason for it. a rollout strategy is defined at the Application level and then applied to a specific feature value. When they are copied to the cache layer they are cloned and the feature value for that strategy is inserted into the clone and those are published. | ||
* @export | ||
* @interface BaseStrategy | ||
*/ | ||
export interface BaseStrategy { | ||
/** | ||
* value between 0 and 1000000 - for four decimal places | ||
* @type {number} | ||
* @memberof BaseStrategy | ||
*/ | ||
percentage?: number | null; | ||
/** | ||
* if you don\'t wish to apply percentage based on user id, you can use one or more attributes defined here | ||
* @type {Array<string>} | ||
* @memberof BaseStrategy | ||
*/ | ||
percentageAttributes?: Array<string> | null; | ||
/** | ||
* | ||
* @type {Array<RolloutStrategyAttribute>} | ||
* @memberof BaseStrategy | ||
*/ | ||
attributes?: Array<RolloutStrategyAttribute> | null; | ||
} | ||
|
||
|
49 changes: 49 additions & 0 deletions
49
featurehub-javascript-client-sdk/app/models/models/base-uistrategy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* FeatureServiceApi | ||
* This describes the API clients use for accessing features | ||
* | ||
* The version of the OpenAPI document: 1.1.8 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @interface BaseUIStrategy | ||
*/ | ||
export interface BaseUIStrategy { | ||
/** | ||
* names are unique in a case insensitive fashion | ||
* @type {string} | ||
* @memberof BaseUIStrategy | ||
*/ | ||
name?: string; | ||
/** | ||
* the colour used to display the strategy in the UI. indexed table of background/foreground combos. | ||
* @type {number} | ||
* @memberof BaseUIStrategy | ||
*/ | ||
colouring?: number | null; | ||
/** | ||
* Disable this strategy across all feature values that are using it | ||
* @type {boolean} | ||
* @memberof BaseUIStrategy | ||
*/ | ||
disabled?: boolean; | ||
/** | ||
* url to avatar (if any). Not sent to SDK. Preferably a unicorn. | ||
* @type {string} | ||
* @memberof BaseUIStrategy | ||
*/ | ||
avatar?: string | null; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.