Skip to content

Commit

Permalink
Refactor with constants
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Jul 25, 2024
1 parent 9fc2991 commit 6c37aca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

export const PLUGIN_ID = 'opensearchDashboardsSecurity';
export const PLUGIN_NAME = 'security-dashboards-plugin';
export const PLUGIN_GET_STARTED_APP_ID = 'security-dashboards-plugin_getstarted';
export const PLUGIN_AUTH_APP_ID = 'security-dashboards-plugin_auth';
export const PLUGIN_ROLES_APP_ID = 'security-dashboards-plugin_roles';
export const PLUGIN_USERS_APP_ID = 'security-dashboards-plugin_users';
export const PLUGIN_PERMISSIONS_APP_ID = 'security-dashboards-plugin_permissions';
export const PLUGIN_TENANTS_APP_ID = 'security-dashboards-plugin_tenants';
export const PLUGIN_AUDITLOG_APP_ID = 'security-dashboards-plugin_auditlog';
export const PLUGIN_GET_STARTED_APP_ID = `${PLUGIN_NAME}_getstarted`;
export const PLUGIN_AUTH_APP_ID = `${PLUGIN_NAME}_auth`;
export const PLUGIN_ROLES_APP_ID = `${PLUGIN_NAME}_roles`;
export const PLUGIN_USERS_APP_ID = `${PLUGIN_NAME}_users`;
export const PLUGIN_PERMISSIONS_APP_ID = `${PLUGIN_NAME}_permissions`;
export const PLUGIN_TENANTS_APP_ID = `${PLUGIN_NAME}_tenants`;
export const PLUGIN_AUDITLOG_APP_ID = `${PLUGIN_NAME}_auditlog`;

export const APP_ID_LOGIN = 'login';
export const APP_ID_CUSTOMERROR = 'customerror';
Expand Down

0 comments on commit 6c37aca

Please sign in to comment.