style: update tailchat.d.ts

pull/109/head
moonrailgun 2 years ago
parent 379cf485ae
commit ed6c9f3a8f

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

Loading…
Cancel
Save