Skip to content

Commit

Permalink
feat(modal): made modal types public
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dingley-Genesys committed Jul 1, 2021
1 parent 9eb63a7 commit 194df85
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ export interface ClientConfigOptions {
hostOrigin?: string;
}

export const modalTypes = {
WEM_COACHING_UI: 'wemCoachingUi'
};

/**
* This class is the primary interface that an embedded iframe client should use to communicate with
* the host application.
Expand All @@ -70,6 +66,13 @@ export class Client {
private _registeredKeys: KeyData[];
private _assignedRoute: string | null;

/**
* Supported modal types, will be used in web-dir to know which modal to launch
*/
public modalTypes = {
WEM_COACHING_UI: 'wemCoachingUi'
};

/**
* Creates a new client.
*/
Expand Down

0 comments on commit 194df85

Please sign in to comment.