identity-admin-ui 1.12.27 → 1.12.30
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.
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/types/context/Resource.d.ts +1 -0
- package/lib/cjs/types/context/auth/AuthReducer.d.ts +3 -3
- package/lib/esm/index.js +1 -1
- package/lib/esm/types/context/Resource.d.ts +1 -0
- package/lib/esm/types/context/auth/AuthReducer.d.ts +3 -3
- package/lib/index.d.ts +7 -6
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Reducer } from 'react';
|
|
2
2
|
import { User } from './types';
|
|
3
|
-
export declare enum
|
|
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:
|
|
12
|
+
type: AuthActionTypes.LOGIN;
|
|
13
13
|
payload: User;
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
15
|
+
type: AuthActionTypes.LOGOUT;
|
|
16
16
|
};
|
|
17
17
|
declare const AuthReducer: Reducer<State, Action>;
|
|
18
18
|
export default AuthReducer;
|
package/lib/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare enum ActionNames {
|
|
|
100
100
|
NEW = "NEW",
|
|
101
101
|
EDIT = "EDIT"
|
|
102
102
|
}
|
|
103
|
-
declare enum ActionTypes
|
|
103
|
+
declare enum ActionTypes {
|
|
104
104
|
RECORD = "RECORD",
|
|
105
105
|
Resource = "RESOUCRE"
|
|
106
106
|
}
|
|
@@ -250,6 +250,7 @@ interface IAction {
|
|
|
250
250
|
new: IActionMin;
|
|
251
251
|
show: IActionMin;
|
|
252
252
|
import?: IActionMin;
|
|
253
|
+
duplicate?: IActionMin;
|
|
253
254
|
extras?: IExtras;
|
|
254
255
|
}
|
|
255
256
|
interface IExtras {
|
|
@@ -261,7 +262,7 @@ interface IExtras {
|
|
|
261
262
|
};
|
|
262
263
|
}
|
|
263
264
|
interface IExtarAction {
|
|
264
|
-
actionType: ActionTypes
|
|
265
|
+
actionType: ActionTypes;
|
|
265
266
|
guard?: string;
|
|
266
267
|
icon: string;
|
|
267
268
|
key: string;
|
|
@@ -471,7 +472,7 @@ interface User {
|
|
|
471
472
|
photo?: string;
|
|
472
473
|
}
|
|
473
474
|
|
|
474
|
-
declare enum
|
|
475
|
+
declare enum AuthActionTypes {
|
|
475
476
|
LOGIN = "LOGIN",
|
|
476
477
|
LOGOUT = "LOGOUT"
|
|
477
478
|
}
|
|
@@ -480,10 +481,10 @@ interface State {
|
|
|
480
481
|
isAuthenticated: boolean;
|
|
481
482
|
}
|
|
482
483
|
type Action = {
|
|
483
|
-
type:
|
|
484
|
+
type: AuthActionTypes.LOGIN;
|
|
484
485
|
payload: User;
|
|
485
486
|
} | {
|
|
486
|
-
type:
|
|
487
|
+
type: AuthActionTypes.LOGOUT;
|
|
487
488
|
};
|
|
488
489
|
declare const AuthReducer: Reducer<State, Action>;
|
|
489
490
|
|
|
@@ -1606,4 +1607,4 @@ declare const palette: {
|
|
|
1606
1607
|
};
|
|
1607
1608
|
};
|
|
1608
1609
|
|
|
1609
|
-
export { ActionDialog, ActionDialogProps, ActionNames, ActionTypes
|
|
1610
|
+
export { ActionDialog, ActionDialogProps, ActionNames, ActionTypes, ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, AuthProvider as AuthContextProvider, AuthReducer, CollapseDrawerContext, CollapseDrawerContextProps, CollapseDrawerProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, FieldTypes, FileTypes, FormProvider, HandlerStrategy, IAction, IActionMin, IActionsProps, IDialogProps, IExtarAction, IExtras, IFilter, IListProps, IListRecordsProps, IMainProperty, IOptionalResource, IParent, IProperty, IResource as IResouce, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, Page404 as Identity404, IdentityClient, DumpServiceAction as IdentityDumpServiceAction, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, LoadingScreen as IdentityLoadingScreen, IdentityPage, IdentityPageProps, palette as IdentityPalette, Permissions as IdentityPermissionPage, AdminRouter as IdentityRouter, ShowRecord as IdentityShow, ShowMailLog as IdentityShowMailLog, ImageOptimizingCategories, RHFJSONRichText as JSONRichText, JSONRichTextShow, LocalizedStringForm as LocalizationStringForm, MotionLazyContainer, NextPreviousButtons, NotificationContext, NotificationsPopover as NotificationPopover, NotificationsContextConfig, NotificationsContextProvider, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, PermissionDefaultKeys, RHFCheckbox, RHFCreatableSelect, RHFDatePicker, RHFEditor, RHFGooglePlaces, RHFGroupedTextFields, RHFLazySelect, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFTagsField, RHFTextField, RHFUploadAvatar, RHFUploadFileButton, RHFUploadFileButton2, RHFUploadImage, RHFUploadMultiFile, RHFUploadSingleFile, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsContext, SettingsProvider, Severity, IdentityShow as ShowRecord, SizeType, SnackAlertContext, SnackAlertProvider, State$1 as State, SvgIconStyle, ThemeProvider, ThemeSettings, UniqueFieldHelper, UploadRsult, checkPermission, fCurrency, fData, fNumber, fPercent, fShortenNumber, getFilterValues, getUrlFilters, orderTypes, path, useApi, useAppConfigurations, useAuth, useCredentials, useDialogs, useLocales, useNavData, useNotifications, usePaths, useResources, useSettings, useSnackAlert };
|