sixseconds-modules 1.2.1 → 1.2.2
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/dist/api/index.d.ts +4 -0
- package/dist/api/transforms/user.d.ts +14 -0
- package/dist/api/types/base.d.ts +18 -0
- package/dist/api/user.d.ts +8 -0
- package/dist/assets/images/index.d.ts +4 -0
- package/dist/assets/svg/index.d.ts +741 -0
- package/dist/components/dialogs/dangerDialog.d.ts +11 -0
- package/dist/components/dialogs/index.d.ts +1 -0
- package/dist/components/elements/backArrow.d.ts +7 -0
- package/dist/components/elements/index.d.ts +2 -0
- package/dist/components/elements/logo.d.ts +6 -0
- package/dist/components/elements/warning.d.ts +6 -0
- package/dist/components/header/appMenus.d.ts +9 -0
- package/dist/components/header/dropDownMenu.d.ts +9 -0
- package/dist/components/header/index.d.ts +23 -0
- package/dist/components/header/language.d.ts +12 -0
- package/dist/components/header/notification.d.ts +9 -0
- package/dist/components/header/subheaderStyled.d.ts +2 -0
- package/dist/components/header/type.d.ts +20 -0
- package/dist/components/header/userProfile.d.ts +10 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/constants/apis.d.ts +4 -0
- package/dist/constants/common.d.ts +77 -0
- package/dist/constants/dates.d.ts +3 -0
- package/dist/constants/env.d.ts +9 -0
- package/dist/constants/index.d.ts +6 -0
- package/dist/constants/routes.d.ts +19 -0
- package/dist/constants/validation.d.ts +4 -0
- package/dist/index.cjs.js +5673 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +5657 -0
- package/dist/index.es.js.map +1 -0
- package/dist/main.d.ts +0 -0
- package/dist/types/custom.d.ts +24 -0
- package/dist/types/htmlElements.d.ts +6 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/reactTypes.d.ts +4 -0
- package/dist/utils/common.d.ts +13 -0
- package/dist/utils/date.d.ts +3 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/vite-env.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const transformNotifications: (itm: any) => any;
|
|
2
|
+
export declare const transformUser: (userData: any) => {
|
|
3
|
+
name: any;
|
|
4
|
+
email: any;
|
|
5
|
+
user_profile: any;
|
|
6
|
+
};
|
|
7
|
+
export declare const transformMenuBuilderData: (itm: any) => {
|
|
8
|
+
label: any;
|
|
9
|
+
value: any;
|
|
10
|
+
target: any;
|
|
11
|
+
id: any;
|
|
12
|
+
order: any;
|
|
13
|
+
children: any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type ServerError = {
|
|
2
|
+
message: string
|
|
3
|
+
data: any
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export type SuccessResult<T> = {
|
|
7
|
+
remote: Extract<RemoteDataStatus, "success">
|
|
8
|
+
status?: number
|
|
9
|
+
data: T
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type ErrorResult = {
|
|
13
|
+
remote: Extract<RemoteDataStatus, "failure">
|
|
14
|
+
error: ServerError
|
|
15
|
+
status?: number
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type RemoteDataStatus = "success" | "failure"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function getDropDownMenuAPI(params: any): Promise<import('./types/base').ErrorResult | {
|
|
2
|
+
remote: "success";
|
|
3
|
+
data: any;
|
|
4
|
+
}>;
|
|
5
|
+
export declare function notificationApi(data: any): Promise<import('./types/base').ErrorResult | {
|
|
6
|
+
remote: "success";
|
|
7
|
+
data: any;
|
|
8
|
+
}>;
|