@inceptionbg/main 2.0.87 → 2.0.88
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/types/global.d.ts +13 -0
- package/package.json +1 -1
package/dist/types/global.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NavigateFunction, Location, LinkProps } from 'react-router-dom';
|
|
2
|
+
|
|
1
3
|
declare const ModuleIds = [
|
|
2
4
|
'ADMIN',
|
|
3
5
|
'EARCHIVE',
|
|
@@ -632,6 +634,11 @@ declare global {
|
|
|
632
634
|
[id in IModuleId]?: string;
|
|
633
635
|
};
|
|
634
636
|
var axiosInstance: AxiosInstance;
|
|
637
|
+
var useNavigate: () => NavigateFunction;
|
|
638
|
+
var useLocation: () => Location;
|
|
639
|
+
var Link: React.ForwardRefExoticComponent<
|
|
640
|
+
LinkProps & React.RefAttributes<HTMLAnchorElement>
|
|
641
|
+
>;
|
|
635
642
|
var appVersion: string | undefined;
|
|
636
643
|
var api: {
|
|
637
644
|
apiUrl: string;
|
|
@@ -641,4 +648,10 @@ declare global {
|
|
|
641
648
|
additionalScopes?: string[];
|
|
642
649
|
redirectUrl?: string;
|
|
643
650
|
};
|
|
651
|
+
var zE: {
|
|
652
|
+
show: () => void;
|
|
653
|
+
hide: () => void;
|
|
654
|
+
activate: () => void;
|
|
655
|
+
setLocale: (locale: string) => void;
|
|
656
|
+
};
|
|
644
657
|
}
|