Skip to content

Commit

Permalink
static mark status enums (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
danoswaltCL authored Jul 18, 2023
1 parent d42a60c commit e60d61e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clientlibs/js/src/UpgradeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export default class UpgradeClient {
private experimentConditionData: IExperimentAssignmentv4[] = null;
private featureFlags: IFeatureFlag[] = null;

// allow MARKED_DECISION_POINT_STATUS to be exposed on the client a la UpgradeClient.MARKED_DECISION_POINT_STATUS
// this will allow users who are not using the upgrade types package to use this enum for markExperimentPoint()
public static MARKED_DECISION_POINT_STATUS = MARKED_DECISION_POINT_STATUS;

/**
* When constructing UpgradeClient, the user id, api host url, and "context" identifier are required.
* These will be attached to various API calls for this instance of the client.
Expand All @@ -96,6 +100,7 @@ export default class UpgradeClient {
* const upgradeClient: UpgradeClient[] = new UpgradeClient(hostURL, userId, context, options);
* ```
*/

constructor(
userId: string,
hostUrl: string,
Expand Down

0 comments on commit e60d61e

Please sign in to comment.