wcz-test 4.3.0 → 4.3.1
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/index.d.ts +14 -14
- package/dist/index.js +1191 -1191
- package/dist/index.js.map +1 -1
- package/package.json +5 -10
package/dist/index.d.ts
CHANGED
|
@@ -118,6 +118,20 @@ interface RouterErrorProps {
|
|
|
118
118
|
}
|
|
119
119
|
declare const RouterError: FC<RouterErrorProps>;
|
|
120
120
|
|
|
121
|
+
interface User {
|
|
122
|
+
employeeId: string;
|
|
123
|
+
name: string;
|
|
124
|
+
department: string;
|
|
125
|
+
email?: string;
|
|
126
|
+
company: string;
|
|
127
|
+
category: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface NavigationParams {
|
|
131
|
+
user: User;
|
|
132
|
+
t: TFunction<"translation", undefined>;
|
|
133
|
+
}
|
|
134
|
+
|
|
121
135
|
interface NavigationPageItem extends Pick<LinkOptions, "to">, Partial<Pick<LinkOptions, "href" | "params" | "search">> {
|
|
122
136
|
title: string;
|
|
123
137
|
icon: React.ReactNode;
|
|
@@ -136,20 +150,6 @@ interface NavigationHeader {
|
|
|
136
150
|
type NavigationItem = NavigationPageItem | NavigationDivider | NavigationHeader;
|
|
137
151
|
type Navigation = Array<NavigationItem>;
|
|
138
152
|
|
|
139
|
-
interface User {
|
|
140
|
-
employeeId: string;
|
|
141
|
-
name: string;
|
|
142
|
-
department: string;
|
|
143
|
-
email?: string;
|
|
144
|
-
company: string;
|
|
145
|
-
category: string;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
interface NavigationParams {
|
|
149
|
-
user: User;
|
|
150
|
-
t: TFunction<"translation", undefined>;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
153
|
interface ProvidersProps {
|
|
154
154
|
getNavigation?: (parameters: NavigationParams) => Navigation;
|
|
155
155
|
theme?: Pick<CssVarsThemeOptions, "colorSchemes" | "components">;
|