|
|
|
@ -70,6 +70,8 @@ declare module '@capital/common' {
|
|
|
|
|
*/
|
|
|
|
|
export const Loadable: any;
|
|
|
|
|
|
|
|
|
|
export const useIsMobile: any;
|
|
|
|
|
|
|
|
|
|
export const getGlobalState: any;
|
|
|
|
|
|
|
|
|
|
export const useGlobalSocketEvent: <T>(
|
|
|
|
@ -77,6 +79,8 @@ declare module '@capital/common' {
|
|
|
|
|
callback: (data: T) => void
|
|
|
|
|
) => void;
|
|
|
|
|
|
|
|
|
|
export const setUserJWT: any;
|
|
|
|
|
|
|
|
|
|
export const getJWTUserInfo: () => Promise<{
|
|
|
|
|
_id?: string;
|
|
|
|
|
nickname?: string;
|
|
|
|
@ -94,6 +98,8 @@ declare module '@capital/common' {
|
|
|
|
|
|
|
|
|
|
export const getServiceWorkerRegistration: any;
|
|
|
|
|
|
|
|
|
|
export const postMessageEvent: any;
|
|
|
|
|
|
|
|
|
|
export const getServiceUrl: () => string;
|
|
|
|
|
|
|
|
|
|
export const getCachedUserInfo: (
|
|
|
|
@ -174,6 +180,10 @@ declare module '@capital/common' {
|
|
|
|
|
|
|
|
|
|
export const useConverseMessageContext: any;
|
|
|
|
|
|
|
|
|
|
export const loginWithToken: any;
|
|
|
|
|
|
|
|
|
|
export const useWatch: any;
|
|
|
|
|
|
|
|
|
|
export const navigate: any;
|
|
|
|
|
|
|
|
|
|
export const useLocation: any;
|
|
|
|
@ -190,6 +200,8 @@ declare module '@capital/common' {
|
|
|
|
|
*/
|
|
|
|
|
export const fieldSchema: any;
|
|
|
|
|
|
|
|
|
|
export const getTextColorHex: any;
|
|
|
|
|
|
|
|
|
|
export const useCurrentUserInfo: any;
|
|
|
|
|
|
|
|
|
|
export const createPluginRequest: (pluginName: string) => {
|
|
|
|
@ -340,6 +352,10 @@ declare module '@capital/common' {
|
|
|
|
|
|
|
|
|
|
export const regPluginGroupConfigItem: any;
|
|
|
|
|
|
|
|
|
|
export const pluginLoginAction: any;
|
|
|
|
|
|
|
|
|
|
export const regLoginAction: any;
|
|
|
|
|
|
|
|
|
|
export const useGroupIdContext: () => string;
|
|
|
|
|
|
|
|
|
|
export const useGroupPanelContext: () => {
|
|
|
|
@ -392,6 +408,8 @@ declare module '@capital/component' {
|
|
|
|
|
|
|
|
|
|
export const Tag: any;
|
|
|
|
|
|
|
|
|
|
export const Skeleton: any;
|
|
|
|
|
|
|
|
|
|
export const TextArea: any;
|
|
|
|
|
|
|
|
|
|
export const Avatar: any;
|
|
|
|
@ -553,4 +571,6 @@ declare module '@capital/component' {
|
|
|
|
|
export const JumpToGroupPanelButton: any;
|
|
|
|
|
|
|
|
|
|
export const JumpToConverseButton: any;
|
|
|
|
|
|
|
|
|
|
export const NoData: any;
|
|
|
|
|
}
|
|
|
|
|