identity-admin-ui 1.12.26 → 1.12.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,4 +3,4 @@ import { DumpServiceActionProps } from './types';
3
3
  * DumpServiceAction: is a button with custom dialog where to unselect the model where didn't meant to be included in the dump
4
4
  * @param DumpServiceActionProps
5
5
  */
6
- export default function DumpServiceAction({ baseUrl }: DumpServiceActionProps): import("react/jsx-runtime").JSX.Element;
6
+ export default function DumpServiceAction({ baseUrl, buttonText }: DumpServiceActionProps): import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,8 @@ export interface DumpServiceActionProps {
6
6
  * @param baseUrl is the base url for dump service where deployed ex: http:localhost:3000/api
7
7
  */
8
8
  baseUrl: string;
9
+ /**
10
+ * @param buttonText is the the text for the dump button default=Restore Database
11
+ */
12
+ buttonText?: string;
9
13
  }
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from 'react';
2
2
  import { User } from './types';
3
- export declare enum ActionTypes {
3
+ export declare enum AuthActionTypes {
4
4
  LOGIN = "LOGIN",
5
5
  LOGOUT = "LOGOUT"
6
6
  }
@@ -9,10 +9,10 @@ export interface State {
9
9
  isAuthenticated: boolean;
10
10
  }
11
11
  export type Action = {
12
- type: ActionTypes.LOGIN;
12
+ type: AuthActionTypes.LOGIN;
13
13
  payload: User;
14
14
  } | {
15
- type: ActionTypes.LOGOUT;
15
+ type: AuthActionTypes.LOGOUT;
16
16
  };
17
17
  declare const AuthReducer: Reducer<State, Action>;
18
18
  export default AuthReducer;