增加了uploadMedia的aspect声明
This commit is contained in:
parent
166a72ea8f
commit
2f157bf423
|
|
@ -15,3 +15,9 @@ export declare function signatureJsSDK<ED extends EntityDict, Cxt extends Backen
|
|||
timestamp: number;
|
||||
appId: string;
|
||||
}>;
|
||||
export declare function uploadWechatMedia<ED extends EntityDict, Cxt extends BackendRuntimeContext<ED>>(params: {
|
||||
applicationId: string;
|
||||
file: any;
|
||||
}, context: Cxt): Promise<{
|
||||
mediaId: string;
|
||||
}>;
|
||||
|
|
|
|||
|
|
@ -56,3 +56,6 @@ export async function signatureJsSDK({ url, env }, context) {
|
|||
const result = await wechatInstance.signatureJsSDK({ url });
|
||||
return result;
|
||||
}
|
||||
export async function uploadWechatMedia(params, context) {
|
||||
throw new Error('method not implemented');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,5 +37,5 @@ export type Poi = {
|
|||
email?: string;
|
||||
businessArea?: string;
|
||||
};
|
||||
declare const Location: (props: LocationProps) => import("react/jsx-runtime").JSX.Element;
|
||||
declare const Location: (props: LocationProps) => JSX.Element;
|
||||
export default Location;
|
||||
|
|
|
|||
|
|
@ -29,5 +29,5 @@ export interface AMapProps extends APILoaderProps {
|
|||
securityJsCode?: string;
|
||||
serviceHost?: string;
|
||||
}
|
||||
declare const memo: (props: AMapProps) => import("react/jsx-runtime").JSX.Element;
|
||||
declare const memo: (props: AMapProps) => JSX.Element;
|
||||
export default memo;
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
|
|||
name: string;
|
||||
width: string;
|
||||
editor: any;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
|
|||
content?: string;
|
||||
html?: string;
|
||||
origin?: string;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
|
|||
content?: string;
|
||||
html?: string;
|
||||
origin?: string;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
|
|||
setCurrentArticle: (id: string) => void;
|
||||
}, {
|
||||
createOne: () => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ export default function Render(props: WebComponentProps<EntityDict, "article", f
|
|||
}>;
|
||||
clearContentTip: () => void;
|
||||
gotoPreview: (content?: string, title?: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
|
|||
createSubArticle: (name: string) => Promise<void>;
|
||||
createSubArticleMenu: (name: string) => Promise<void>;
|
||||
gotoDoc: (articleMenuId: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
|
|||
createOne: (name?: string) => Promise<void>;
|
||||
getDefaultArticle: (rows: EntityDict['articleMenu']['OpSchema'][]) => void;
|
||||
getSearchArticle: () => Promise<string[]>;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
|
|||
searchArticle: (searchValue: string) => void;
|
||||
getArticleMenuIdByArticle: (articleId: string, type: string) => void;
|
||||
gotoSearchArticleAndArticleMenu: (articleMenuId: string, articleId: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
setMobile: (value: string) => void;
|
||||
sendCaptcha: (mobile: string) => Promise<void>;
|
||||
onConfirmByMobile: (mobile: string, captcha: string, newPassword: string) => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
failTimes: number;
|
||||
}, {
|
||||
onConfirm: (prevPassword: string, password: string) => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
oakId: string;
|
||||
}, {
|
||||
goToMobile: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ type IDownloadProps = {
|
|||
style?: React.CSSProperties;
|
||||
filename?: string;
|
||||
};
|
||||
declare function Download(props: IDownloadProps): import("react/jsx-runtime").JSX.Element;
|
||||
declare function Download(props: IDownloadProps): JSX.Element;
|
||||
declare namespace Download {
|
||||
var onDownload: (arrayBuffer: ArrayBuffer, filename: string) => void;
|
||||
var base64ToBlob: (base64String: string) => Blob;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
import './index.less';
|
||||
declare const Empty: () => import("react/jsx-runtime").JSX.Element;
|
||||
declare const Empty: () => JSX.Element;
|
||||
export default Empty;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
import './index.less';
|
||||
declare const Empty: () => import("react/jsx-runtime").JSX.Element;
|
||||
declare const Empty: () => JSX.Element;
|
||||
export default Empty;
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ interface IErrorPageProps {
|
|||
children?: React.ReactNode;
|
||||
icon?: React.ReactNode;
|
||||
}
|
||||
declare function ErrorPage(props: IErrorPageProps): import("react/jsx-runtime").JSX.Element;
|
||||
declare function ErrorPage(props: IErrorPageProps): JSX.Element;
|
||||
export default ErrorPage;
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ type GridProps = {
|
|||
list: Array<Item>;
|
||||
onChange?: (index: number, event?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
||||
};
|
||||
declare const _default: React.MemoExoticComponent<(props: GridProps) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: GridProps) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ type PageHeaderProps = {
|
|||
children?: React.ReactNode;
|
||||
showHeader?: boolean;
|
||||
};
|
||||
declare const _default: React.MemoExoticComponent<(props: PageHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: PageHeaderProps) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ type IQrCodeProps = {
|
|||
successed?: boolean;
|
||||
type?: EntityDict['wechatLogin']['Schema']['type'];
|
||||
};
|
||||
declare function QrCode(props: IQrCodeProps): import("react/jsx-runtime").JSX.Element;
|
||||
declare function QrCode(props: IQrCodeProps): JSX.Element;
|
||||
export default QrCode;
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ type Props = {
|
|||
description?: string;
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
declare const _default: React.MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: Props) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ type Props = {
|
|||
description?: string;
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
declare const _default: React.MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: Props) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ interface GrantProps {
|
|||
rootStyle?: React.CSSProperties;
|
||||
rootClassName?: string;
|
||||
}
|
||||
declare function Grant(props: GrantProps): import("react/jsx-runtime").JSX.Element;
|
||||
declare function Grant(props: GrantProps): JSX.Element;
|
||||
export default Grant;
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ interface QrCodeProps {
|
|||
rootStyle?: React.CSSProperties;
|
||||
rootClassName?: string;
|
||||
}
|
||||
declare function QrCode(props: QrCodeProps): import("react/jsx-runtime").JSX.Element;
|
||||
declare function QrCode(props: QrCodeProps): JSX.Element;
|
||||
export default QrCode;
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ export default function render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
setValue: (path: string, value: string) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function Web(props: {
|
|||
setValue: (path: string, value: any) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function WechatMp(props: {
|
|||
setValue: (path: string, value: any) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ export default function WechatPublic(props: {
|
|||
setValue: (path: string, value: any) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ type StyleProps = {
|
|||
value?: StyleType | null;
|
||||
onChange: (value: StyleType) => void;
|
||||
};
|
||||
export default function Render(props: StyleProps): import("react/jsx-runtime").JSX.Element;
|
||||
export default function Render(props: StyleProps): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ export default function Account(props: {
|
|||
account: Required<Config>['Account'];
|
||||
setValue: (path: string, value: any) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
|
|||
export default function Cos(props: {
|
||||
cos: Required<Config>['Cos'];
|
||||
setValue: (path: string, value: any) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
|
|||
export default function Cos(props: {
|
||||
live: Required<Config>['Live'];
|
||||
setValue: (path: string, value: any) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
|
|||
export default function Cos(props: {
|
||||
map: Required<Config>['Map'];
|
||||
setValue: (path: string, value: any) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function Sms(props: {
|
|||
setValue: (path: string, value: any) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
setValue: (path: string, value: string) => void;
|
||||
removeItem: (path: string, index: number) => void;
|
||||
cleanKey: (path: string, key: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ export default function render(props: WebComponentProps<EntityDict, 'extraFile',
|
|||
avatarUrl?: string;
|
||||
}, {
|
||||
onPickByWeb: (files: File[]) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export default function render(): import("react/jsx-runtime").JSX.Element;
|
||||
export default function render(): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -19,5 +19,5 @@ export default function render(props: WebComponentProps<EntityDict, "extraFile",
|
|||
closeModal: () => void;
|
||||
onModal1Confirm: (value: number) => void;
|
||||
setSelectedId: (id: number) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { WebComponentProps } from "oak-frontend-base";
|
|||
import { EntityDict } from "../../../oak-app-domain";
|
||||
interface NewUploadFile extends UploadFile {
|
||||
id?: string;
|
||||
status?: 'done' | 'uploading' | 'error' | 'removed';
|
||||
status?: 'done' | 'uploading' | 'error' | 'success' | 'removed';
|
||||
}
|
||||
type Theme = "file" | "image" | "image-flow" | "custom";
|
||||
export default function render(props: WebComponentProps<EntityDict, "extraFile", true, {
|
||||
|
|
@ -34,5 +34,5 @@ export default function render(props: WebComponentProps<EntityDict, "extraFile",
|
|||
getUrl: (extraFile: EntityDict['extraFile']['OpSchema']) => string;
|
||||
getFileName: (extraFile: EntityDict['extraFile']['OpSchema']) => string;
|
||||
eFFormatBytes: (value: number) => string;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -27,4 +27,4 @@ export default function render(props: WebComponentProps<EntityDict, 'extraFile',
|
|||
}, {
|
||||
onDeleteByWeb: (file: UploadFile) => void;
|
||||
addFileByWeb: (file: UploadFile) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
action: string;
|
||||
}>;
|
||||
onActionClick: (action: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
action: string;
|
||||
}>;
|
||||
onActionClick: (action: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element | null;
|
||||
}>): JSX.Element | null;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ export default function render(props: WebComponentProps<EntityDict, 'address', t
|
|||
resetInitialData: () => void;
|
||||
downloadEnv: () => void;
|
||||
resetEnv: (data: Record<string, any>) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
size?: string;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
router: EntityDict['message']['Schema']['router'];
|
||||
visitState: EntityDict['message']['Schema']['visitState'];
|
||||
id: string;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
router: EntityDict['message']['Schema']['router'];
|
||||
}, {
|
||||
goPage: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
router: EntityDict['message']['Schema']['router'];
|
||||
}, {
|
||||
goPage: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', t
|
|||
messages: EntityDict['message']['Schema'][];
|
||||
}, {
|
||||
goDetailById: (id: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', t
|
|||
messages: RowWithActions<EntityDict, 'message'>[];
|
||||
}, {
|
||||
goDetailById: (id: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
|
|||
}, {
|
||||
goDetailById: (id: string) => void;
|
||||
goMessageList: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ export default function render(props: {
|
|||
data: {
|
||||
data: MessageProps;
|
||||
};
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
}): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'messageType
|
|||
dirtyIds: string[];
|
||||
messageTypes: string[];
|
||||
applicationId: string;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
|
|||
iconName?: string;
|
||||
iconLarger?: string;
|
||||
onClick?: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
|
|||
}, {
|
||||
logout: () => void;
|
||||
updateAttribute: (attr: string, value: any) => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
|
|||
}, {
|
||||
logout: () => void;
|
||||
updateAttribute: (attr: string, value: any) => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
style?: React.CSSProperties;
|
||||
}, {
|
||||
goMessageList: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
buttonClassName?: string;
|
||||
}, {
|
||||
goMessageList: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'userEntityG
|
|||
url: string;
|
||||
expiresAt: number;
|
||||
title?: string;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function render(props: WebComponentProps<EntityDict, 'parasite',
|
|||
loading: boolean;
|
||||
illegal: boolean;
|
||||
expired: boolean;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ export default function render(props: WebComponentProps<EntityDict, 'parasite',
|
|||
}, {
|
||||
cancel: () => void;
|
||||
getQrCode: () => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'parasite',
|
|||
onSearch: (value: string) => void;
|
||||
onSelect: (value: string) => void;
|
||||
setSearchValue: (value: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ export default function render(props: WebComponentProps<EntityDict, 'area', true
|
|||
setCheckedList: (station: string, flag: boolean) => void;
|
||||
cancel: () => void;
|
||||
confirm: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ interface IProps {
|
|||
defaultValue?: number | string;
|
||||
onChange: (color: string) => void;
|
||||
}
|
||||
declare const _default: React.MemoExoticComponent<(props: IProps) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: IProps) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@ interface IProps {
|
|||
onChange: (value?: any) => void;
|
||||
options: IOption[];
|
||||
}
|
||||
declare const _default: React.MemoExoticComponent<(props: IProps) => import("react/jsx-runtime").JSX.Element>;
|
||||
declare const _default: React.MemoExoticComponent<(props: IProps) => JSX.Element>;
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export default function Render(this: any): import("react/jsx-runtime").JSX.Element;
|
||||
export default function Render(this: any): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
|
|||
sendCaptcha: (mobile: string) => Promise<void>;
|
||||
loginByMobile: (mobile: string, password?: string, captcha?: string) => Promise<void>;
|
||||
setLoginMode: (value: number) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', true
|
|||
goUpsert: () => void;
|
||||
confirmDelete: (id: string) => Promise<void>;
|
||||
goUpdate: (id: string) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', true
|
|||
goUpsert: () => void;
|
||||
goUpdate: (id: string) => void;
|
||||
confirmDelete: (id: string) => Promise<void>;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export default function render(this: any): import("react/jsx-runtime").JSX.Element;
|
||||
export default function render(this: any): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'mobile', fa
|
|||
onMobileChange: (value: string) => Promise<void>;
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'mobile', fa
|
|||
onMobileChange: (value: string) => Promise<void>;
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
}, {
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
}, {
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ export default function render(props: WebComponentProps<EntityDict, 'userEntityG
|
|||
setInit: () => void;
|
||||
setPeriod: (p: number) => void;
|
||||
setUnit: (u: Unit) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ export default function render(props: WebComponentProps<EntityDict, 'userEntityG
|
|||
setInit: () => void;
|
||||
setPeriod: (p: number) => void;
|
||||
setUnit: (u: Unit) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
}[];
|
||||
}, {
|
||||
onRelationChange: (relation: EntityDict['relation']['OpSchema'], checked: boolean) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
}[];
|
||||
}, {
|
||||
onRelationChange: (relation: EntityDict['relation']['OpSchema'], checked: boolean) => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
onMobileChange: (value: string) => Promise<void>;
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
onMobileChange: (value: string) => Promise<void>;
|
||||
onConfirm: () => Promise<void>;
|
||||
onReset: () => void;
|
||||
}>): import("react/jsx-runtime").JSX.Element;
|
||||
}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'relation',
|
|||
entityId: string;
|
||||
relations: EntityDict['relation']['OpSchema'][];
|
||||
qrCodeType?: QrCodeType;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'wechatLogin
|
|||
loading: boolean;
|
||||
successed: boolean;
|
||||
type: EntityDict['wechatLogin']['Schema']['type'];
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ import { EntityDict } from '../../../oak-app-domain';
|
|||
import { WebComponentProps } from 'oak-frontend-base';
|
||||
export default function Render(props: WebComponentProps<EntityDict, 'wechatUser', true, {
|
||||
wechatUsers: EntityDict['wechatUser']['Schema'][];
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'wechatUser'
|
|||
wechatLoginId: string;
|
||||
qrCodeUrl: string;
|
||||
loading: boolean;
|
||||
}, {}>): import("react/jsx-runtime").JSX.Element;
|
||||
}, {}>): JSX.Element;
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@ export const desc = {
|
|||
name: 'index_entity_relation',
|
||||
attributes: [
|
||||
{
|
||||
name: 'destEntity'
|
||||
name: 'destEntity',
|
||||
},
|
||||
{
|
||||
name: "relationId"
|
||||
name: "relationId",
|
||||
},
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ const IActionDef = {
|
|||
stm: {
|
||||
send: ['unsent', 'sending'],
|
||||
success: ['sending', 'sent'],
|
||||
fail: ['sending', 'failure']
|
||||
fail: ['sending', 'failure'],
|
||||
},
|
||||
is: 'unsent'
|
||||
is: 'unsent',
|
||||
};
|
||||
export const actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "send", "success", "fail"];
|
||||
export const ActionDefDict = {
|
||||
|
|
|
|||
|
|
@ -52,17 +52,17 @@ export const desc = {
|
|||
attributes: [
|
||||
{
|
||||
name: 'mobile',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
},
|
||||
{
|
||||
name: 'code',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
},
|
||||
{
|
||||
name: '$$createAt$$',
|
||||
direction: 'DESC'
|
||||
direction: 'DESC',
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,13 +26,13 @@ export const desc = {
|
|||
attributes: [
|
||||
{
|
||||
name: 'email',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
},
|
||||
{
|
||||
name: 'ableState',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -42,15 +42,15 @@ export const desc = {
|
|||
name: 'namespace_language',
|
||||
attributes: [
|
||||
{
|
||||
name: 'namespace'
|
||||
name: 'namespace',
|
||||
},
|
||||
{
|
||||
name: 'language'
|
||||
name: 'language',
|
||||
}
|
||||
],
|
||||
config: {
|
||||
unique: true
|
||||
}
|
||||
unique: true,
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ export const actions = ["count", "stat", "download", "select", "aggregate", "cre
|
|||
const IActionDef = {
|
||||
stm: {
|
||||
succeed: ['sending', 'success'],
|
||||
fail: ['sending', 'failure']
|
||||
}
|
||||
fail: ['sending', 'failure'],
|
||||
},
|
||||
};
|
||||
const VisitActionDef = {
|
||||
stm: {
|
||||
visit: ['unvisited', 'visited']
|
||||
visit: ['unvisited', 'visited'],
|
||||
},
|
||||
is: 'unvisited'
|
||||
is: 'unvisited',
|
||||
};
|
||||
export const ActionDefDict = {
|
||||
iState: IActionDef,
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@ export const desc = {
|
|||
attributes: [
|
||||
{
|
||||
name: 'mobile',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
},
|
||||
{
|
||||
name: 'ableState',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
const IActionDef = {
|
||||
stm: {
|
||||
apply: ['active', 'applied'],
|
||||
abandon: ['active', 'abandoned']
|
||||
abandon: ['active', 'abandoned'],
|
||||
},
|
||||
is: 'active'
|
||||
is: 'active',
|
||||
};
|
||||
export const actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "apply", "abandon"];
|
||||
export const ActionDefDict = {
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ export const desc = {
|
|||
attributes: [
|
||||
{
|
||||
name: 'iState',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ export const actions = ["count", "stat", "download", "select", "aggregate", "cre
|
|||
const IActionDef = {
|
||||
stm: {
|
||||
succeed: ['sending', 'success'],
|
||||
fail: ['sending', 'failure']
|
||||
fail: ['sending', 'failure'],
|
||||
},
|
||||
is: 'sending'
|
||||
is: 'sending',
|
||||
};
|
||||
export const ActionDefDict = {
|
||||
iState: IActionDef
|
||||
|
|
|
|||
|
|
@ -35,18 +35,18 @@ export const desc = {
|
|||
name: 'index_targetEntity_entityId_name',
|
||||
attributes: [
|
||||
{
|
||||
name: 'entity'
|
||||
name: 'entity',
|
||||
},
|
||||
{
|
||||
name: 'entityId'
|
||||
name: 'entityId',
|
||||
},
|
||||
{
|
||||
name: 'name'
|
||||
name: 'name',
|
||||
}
|
||||
],
|
||||
config: {
|
||||
unique: true
|
||||
}
|
||||
unique: true,
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,18 +26,18 @@ export const desc = {
|
|||
name: 'index_entity_relation_path',
|
||||
attributes: [
|
||||
{
|
||||
name: "sourceRelationId"
|
||||
name: "sourceRelationId",
|
||||
},
|
||||
{
|
||||
name: 'path'
|
||||
name: 'path',
|
||||
},
|
||||
{
|
||||
name: "destRelationId"
|
||||
name: "destRelationId",
|
||||
},
|
||||
],
|
||||
config: {
|
||||
unique: true
|
||||
}
|
||||
unique: true,
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,20 +44,20 @@ export const desc = {
|
|||
name: 'index_name',
|
||||
attributes: [
|
||||
{
|
||||
name: 'name'
|
||||
name: 'name',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'index_entity',
|
||||
attributes: [
|
||||
{
|
||||
name: 'entity'
|
||||
name: 'entity',
|
||||
},
|
||||
{
|
||||
name: 'entityId'
|
||||
name: 'entityId',
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ const IdActionDef = {
|
|||
stm: {
|
||||
verify: ['unverified', 'verifying'],
|
||||
accept: [['unverified', 'verifying'], 'verified'],
|
||||
reject: [['verifying', 'verified'], 'unverified']
|
||||
reject: [['verifying', 'verified'], 'unverified'],
|
||||
},
|
||||
is: 'unverified'
|
||||
is: 'unverified',
|
||||
};
|
||||
const UserActionDef = {
|
||||
stm: {
|
||||
|
|
@ -12,8 +12,8 @@ const UserActionDef = {
|
|||
disable: [['normal', 'shadow'], 'disabled'],
|
||||
enable: ['disabled', 'normal'],
|
||||
mergeTo: [['normal', 'shadow'], 'merged'],
|
||||
mergeFrom: ['normal', 'normal']
|
||||
}
|
||||
mergeFrom: ['normal', 'normal'],
|
||||
},
|
||||
};
|
||||
export const actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "grant", "revoke", "activate", "disable", "enable", "mergeTo", "mergeFrom", "verify", "accept", "reject"];
|
||||
export const ActionDefDict = {
|
||||
|
|
|
|||
|
|
@ -60,33 +60,33 @@ export const desc = {
|
|||
attributes: [
|
||||
{
|
||||
name: 'birth',
|
||||
direction: 'ASC'
|
||||
direction: 'ASC',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'index_fulltext',
|
||||
attributes: [
|
||||
{
|
||||
name: 'name'
|
||||
name: 'name',
|
||||
},
|
||||
{
|
||||
name: 'nickname'
|
||||
name: 'nickname',
|
||||
}
|
||||
],
|
||||
config: {
|
||||
type: 'fulltext',
|
||||
parser: 'ngram'
|
||||
parser: 'ngram',
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'index_userState_refId',
|
||||
attributes: [
|
||||
{
|
||||
name: 'userState'
|
||||
name: 'userState',
|
||||
},
|
||||
{
|
||||
name: "refId"
|
||||
name: "refId",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue