110 lines
2.0 KiB
TypeScript
110 lines
2.0 KiB
TypeScript
/** 导出所有组件 */
|
|
import AuthorizeForm from "~/components/authorize-form";
|
|
import RootLayout from "~/components/root-layout";
|
|
import UserProfile from "~/components/user-profile";
|
|
import UserProfilePopup from "~/components/user-profile/popup";
|
|
import UserLevel from "~/components/user-level";
|
|
import CodeEditor from "~/components/code-editor";
|
|
import TiptapEditor from "~/components/tiptap-editor";
|
|
import TiptapView from "~/components/tiptap-view";
|
|
import ArticleEditor from "~/components/article-editor";
|
|
import ArticleView from "~/components/article-view";
|
|
import NotifyEditor from "~/components/notify-editor";
|
|
import NotifyView from "~/components/notify-view";
|
|
import AdminLayout from "~/components/admin-layout";
|
|
|
|
export default [
|
|
RootLayout,
|
|
AuthorizeForm,
|
|
UserProfile,
|
|
UserProfilePopup,
|
|
UserLevel,
|
|
CodeEditor,
|
|
TiptapEditor,
|
|
TiptapView,
|
|
ArticleEditor,
|
|
ArticleView,
|
|
NotifyEditor,
|
|
NotifyView,
|
|
AdminLayout
|
|
];
|
|
|
|
export {
|
|
RootLayout,
|
|
AuthorizeForm,
|
|
UserProfile,
|
|
UserProfilePopup,
|
|
UserLevel,
|
|
CodeEditor,
|
|
TiptapEditor,
|
|
TiptapView,
|
|
ArticleEditor,
|
|
ArticleView,
|
|
NotifyEditor,
|
|
NotifyView,
|
|
AdminLayout
|
|
};
|
|
|
|
export type {
|
|
AdminMenuGroup,
|
|
AdminMenuItem,
|
|
AdminMenuWidth
|
|
} from "./admin-layout";
|
|
|
|
export type {
|
|
CodeEditorExpose
|
|
} from "./code-editor";
|
|
|
|
export type {
|
|
TiptapEditorExpose
|
|
} from "./tiptap-editor";
|
|
|
|
export type {
|
|
ArticleEditorExpose
|
|
} from "./article-editor";
|
|
|
|
export type {
|
|
NotifyEditorExpose
|
|
} from "./notify-editor";
|
|
|
|
export type {
|
|
Article,
|
|
ArticleContentType,
|
|
Attachment,
|
|
UploadResult
|
|
} from "./article-editor";
|
|
|
|
export type {
|
|
NotifyContentType,
|
|
NotifyDetail
|
|
} from "./notify-editor";
|
|
|
|
export type {
|
|
CaptchaData,
|
|
CaptchaRequest,
|
|
CaptchaResult,
|
|
LoginHandler,
|
|
LoginRequest,
|
|
RegisterHandler,
|
|
RegisterRequest
|
|
} from "./authorize-form/types";
|
|
|
|
export {
|
|
ImageType
|
|
} from "./user-profile";
|
|
|
|
export type {
|
|
ImageTypeKey,
|
|
UserImageResolver,
|
|
UserProfileData,
|
|
UserView
|
|
} from "./user-profile";
|
|
|
|
export {
|
|
toUserLevel
|
|
} from "./user-level";
|
|
|
|
export type {
|
|
UserLevelInfo
|
|
} from "./user-level";
|