├── client ├── src │ ├── website │ │ ├── configs │ │ │ └── .gitkeep │ │ ├── services │ │ │ ├── chat │ │ │ │ └── .gitkeep │ │ │ ├── notify │ │ │ │ ├── @notify-service.dto.ts │ │ │ │ ├── index.ts │ │ │ │ └── @notify-service.api.ts │ │ │ ├── http │ │ │ │ ├── index.ts │ │ │ │ └── @interceptors │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── res-error-catcher.ts │ │ │ │ │ ├── res-data.ts │ │ │ │ │ └── request-type.ts │ │ │ ├── category │ │ │ │ ├── index.ts │ │ │ │ └── @category-service.api.ts │ │ │ ├── markdown-service │ │ │ │ ├── index.ts │ │ │ │ ├── @plugins │ │ │ │ │ ├── index.ts │ │ │ │ │ └── inline-processor.tsx │ │ │ │ └── @markdown-config.ts │ │ │ ├── observer │ │ │ │ ├── index.ts │ │ │ │ ├── observer.ts │ │ │ │ └── subject.ts │ │ │ ├── regex │ │ │ │ ├── index.ts │ │ │ │ ├── regex.ts │ │ │ │ └── regex-utils.ts │ │ │ ├── time │ │ │ │ ├── index.ts │ │ │ │ ├── time-utils.ts │ │ │ │ └── time-service.ts │ │ │ ├── user │ │ │ │ ├── index.ts │ │ │ │ ├── @user-service.api.ts │ │ │ │ └── user-service.dto.ts │ │ │ ├── document │ │ │ │ ├── index.ts │ │ │ │ ├── document-service.dto.ts │ │ │ │ └── @document-service.api.ts │ │ │ ├── route │ │ │ │ ├── guards │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── deactivated-guard.ts │ │ │ │ │ └── activated-guard.ts │ │ │ │ └── index.ts │ │ │ ├── permission │ │ │ │ ├── index.ts │ │ │ │ ├── @permission-service.api.ts │ │ │ │ ├── permission-service.dto.ts │ │ │ │ └── permission-service.ts │ │ │ ├── organization │ │ │ │ ├── index.ts │ │ │ │ ├── @organization-service.api.ts │ │ │ │ └── organization-service.dto.ts │ │ │ ├── dialog │ │ │ │ └── index.ts │ │ │ ├── message │ │ │ │ ├── index.ts │ │ │ │ └── message-service.api.ts │ │ │ ├── arrow-cache.ts │ │ │ ├── catalog-service.ts │ │ │ ├── tab-service.ts │ │ │ ├── backdrop-service.ts │ │ │ ├── doc-service.ts │ │ │ ├── toast.ts │ │ │ ├── jwt-service.ts │ │ │ ├── index.ts │ │ │ ├── todo-service.ts │ │ │ └── draft-service.ts │ │ ├── assets │ │ │ ├── index.ts │ │ │ ├── static │ │ │ │ ├── main.png │ │ │ │ ├── wand.png │ │ │ │ ├── github.png │ │ │ │ ├── phone.png │ │ │ │ ├── rabbit.png │ │ │ │ ├── wizard.png │ │ │ │ ├── loading.gif │ │ │ │ ├── magic_wand.png │ │ │ │ ├── main_cover.png │ │ │ │ ├── wizard-card.png │ │ │ │ ├── advantage │ │ │ │ │ ├── chat.png │ │ │ │ │ ├── phone.png │ │ │ │ │ ├── font_docs.png │ │ │ │ │ ├── swagger.png │ │ │ │ │ └── open_source.png │ │ │ │ ├── organization.png │ │ │ │ ├── wizard-white.jpg │ │ │ │ ├── wizard_person.png │ │ │ │ ├── magic_wand_white.png │ │ │ │ ├── default_categories.png │ │ │ │ ├── register_successful.png │ │ │ │ ├── wizard-card-variant.png │ │ │ │ ├── wizard_person_white.png │ │ │ │ └── wizard-card-variant2.png │ │ │ ├── iconfont │ │ │ │ ├── iconfont.eot │ │ │ │ ├── iconfont.ttf │ │ │ │ ├── iconfont.woff │ │ │ │ └── iconfont.woff2 │ │ │ └── svg.tsx │ │ ├── ui │ │ │ ├── menu │ │ │ │ └── index.ts │ │ │ ├── drawer │ │ │ │ ├── index.ts │ │ │ │ └── drawer.tsx │ │ │ ├── search │ │ │ │ ├── index.ts │ │ │ │ └── @search-prompt.tsx │ │ │ ├── catalog │ │ │ │ └── index.ts │ │ │ ├── breadcrumbs │ │ │ │ └── index.ts │ │ │ ├── upload │ │ │ │ ├── index.ts │ │ │ │ └── type-upload.tsx │ │ │ ├── tree-view │ │ │ │ └── index.ts │ │ │ ├── form-control │ │ │ │ └── index.ts │ │ │ ├── input │ │ │ │ ├── index.ts │ │ │ │ ├── normal.tsx │ │ │ │ └── input.ts │ │ │ ├── button │ │ │ │ ├── index.ts │ │ │ │ └── button.ts │ │ │ ├── link.tsx │ │ │ ├── view-way.tsx │ │ │ ├── carpet.tsx │ │ │ ├── form-text-field.tsx │ │ │ ├── center.tsx │ │ │ ├── index.ts │ │ │ ├── line.tsx │ │ │ └── drawer-header.tsx │ │ ├── utils │ │ │ ├── page.ts │ │ │ ├── svg-generator.tsx │ │ │ ├── diff.ts │ │ │ ├── MIME.ts │ │ │ ├── sync.ts │ │ │ ├── color-generator.ts │ │ │ ├── initialize.ts │ │ │ ├── import.ts │ │ │ ├── viewport-listener.ts │ │ │ ├── store-injector.ts │ │ │ ├── index.ts │ │ │ ├── env.ts │ │ │ └── storage.ts │ │ ├── components │ │ │ ├── footer │ │ │ │ ├── index.ts │ │ │ │ ├── @panel │ │ │ │ │ ├── index.ts │ │ │ │ │ └── footer-panel.tsx │ │ │ │ └── footer.tsx │ │ │ ├── doc │ │ │ │ ├── share │ │ │ │ │ ├── index.ts │ │ │ │ │ └── @shape.tsx │ │ │ │ ├── index.ts │ │ │ │ └── doc-page │ │ │ │ │ ├── index.ts │ │ │ │ │ └── organization-info-card.tsx │ │ │ ├── overview │ │ │ │ ├── @common │ │ │ │ │ ├── index.ts │ │ │ │ │ └── form.tsx │ │ │ │ ├── overview-side │ │ │ │ │ └── index.ts │ │ │ │ ├── overview-header │ │ │ │ │ ├── index.ts │ │ │ │ │ └── overview-header.tsx │ │ │ │ ├── overview-docs │ │ │ │ │ ├── category │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── document │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── document-title.tsx │ │ │ │ │ │ └── create-document-header.tsx │ │ │ │ │ └── overview-doc-cards.tsx │ │ │ │ ├── organization-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── member-manager │ │ │ │ │ │ ├── invite-member-dialog │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── pen │ │ │ │ ├── original │ │ │ │ │ └── index.ts │ │ │ │ ├── utils │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── @list-utils.ts │ │ │ │ │ ├── @text-utils.ts │ │ │ │ │ ├── @func-utils.ts │ │ │ │ │ └── @markdown-utils.ts │ │ │ │ ├── viewer │ │ │ │ │ ├── index.ts │ │ │ │ │ └── viewer.tsx │ │ │ │ ├── index.ts │ │ │ │ ├── pen-header.tsx │ │ │ │ └── pen.tsx │ │ │ ├── register │ │ │ │ └── index.ts │ │ │ ├── common │ │ │ │ ├── side-bar │ │ │ │ │ └── index.ts │ │ │ │ ├── upload │ │ │ │ │ ├── index.ts │ │ │ │ │ └── image-upload.tsx │ │ │ │ ├── transition-fab │ │ │ │ │ └── index.ts │ │ │ │ ├── markdown │ │ │ │ │ ├── @function-pannel │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── function-panel.tsx │ │ │ │ │ │ └── @document-info-block.tsx │ │ │ │ │ ├── document-comments │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── render-components │ │ │ │ │ │ ├── link.tsx │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── text.tsx │ │ │ │ │ │ ├── inline-code.tsx │ │ │ │ │ │ ├── block-quote.tsx │ │ │ │ │ │ ├── heading.tsx │ │ │ │ │ │ └── img.tsx │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── @document-catalog.tsx │ │ │ │ │ └── markdown-header.tsx │ │ │ │ ├── avatar │ │ │ │ │ ├── index.ts │ │ │ │ │ └── current-avatar.tsx │ │ │ │ ├── dialogs │ │ │ │ │ └── index.ts │ │ │ │ ├── invite-member-box │ │ │ │ │ └── index.ts │ │ │ │ ├── tab │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── tab-content.tsx │ │ │ │ │ └── tab-content-item.tsx │ │ │ │ ├── loading │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── normal-loading.tsx │ │ │ │ │ ├── backdrop-loading.tsx │ │ │ │ │ └── inline-loading.tsx │ │ │ │ ├── fab.tsx │ │ │ │ ├── lazy-loading.tsx │ │ │ │ ├── overview-title.tsx │ │ │ │ ├── md-render.tsx │ │ │ │ ├── login-permission.tsx │ │ │ │ ├── fab-card.tsx │ │ │ │ ├── layout-toggle.tsx │ │ │ │ ├── index.ts │ │ │ │ └── default-view.tsx │ │ │ ├── main │ │ │ │ ├── knowledge-card │ │ │ │ │ └── index.ts │ │ │ │ ├── main-header-bar │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── main-header-bar.tsx │ │ │ │ │ └── @main-header-buttons.tsx │ │ │ │ ├── index.ts │ │ │ │ ├── graphic │ │ │ │ │ └── index.ts │ │ │ │ ├── @skew-block.tsx │ │ │ │ ├── advantage-cards.tsx │ │ │ │ └── main-content.tsx │ │ │ ├── community │ │ │ │ ├── document-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── document-list.tsx │ │ │ │ └── index.ts │ │ │ ├── message-center │ │ │ │ ├── message-side │ │ │ │ │ ├── index.ts │ │ │ │ │ └── message-side.tsx │ │ │ │ ├── message-header │ │ │ │ │ └── index.ts │ │ │ │ ├── message-overview │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── @message-tag.tsx │ │ │ │ │ └── @message-tag-config.tsx │ │ │ │ ├── views │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── message-trash.tsx │ │ │ │ │ ├── user-message.tsx │ │ │ │ │ ├── system-message.tsx │ │ │ │ │ └── message-panel.tsx │ │ │ │ ├── index.ts │ │ │ │ └── message-switcher.tsx │ │ │ ├── access │ │ │ │ ├── props.tsx │ │ │ │ └── username.tsx │ │ │ ├── optional-tip │ │ │ │ ├── index.ts │ │ │ │ └── todo │ │ │ │ │ └── index.ts │ │ │ ├── about │ │ │ │ ├── index.ts │ │ │ │ ├── contributors.tsx │ │ │ │ └── contributor-avatar.tsx │ │ │ ├── release-banner │ │ │ │ ├── index.ts │ │ │ │ ├── release-tag.tsx │ │ │ │ └── release-banner.tsx │ │ │ ├── user-detail │ │ │ │ ├── index.ts │ │ │ │ ├── organization-detail-card.tsx │ │ │ │ └── user-card.tsx │ │ │ ├── header-bar │ │ │ │ ├── index.ts │ │ │ │ └── @icon-funcs.tsx │ │ │ ├── user │ │ │ │ ├── index.ts │ │ │ │ └── @user-avatar │ │ │ │ │ └── index.ts │ │ │ ├── user-settings │ │ │ │ ├── index.ts │ │ │ │ └── settings-title.tsx │ │ │ ├── @login.tsx │ │ │ ├── organization │ │ │ │ └── index.ts │ │ │ ├── doc-recent-update-drawer.tsx │ │ │ └── index.ts │ │ ├── pages │ │ │ ├── document-pages │ │ │ │ ├── index.ts │ │ │ │ └── document-center.tsx │ │ │ ├── organization-pages │ │ │ │ ├── index.ts │ │ │ │ └── select-organization │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── select-organization.tsx │ │ │ │ │ └── empty-organization.tsx │ │ │ ├── overview │ │ │ │ ├── index.ts │ │ │ │ └── overview-organization.tsx │ │ │ ├── why-use.tsx │ │ │ ├── page-not-found.tsx │ │ │ ├── user-pages │ │ │ │ ├── index.ts │ │ │ │ ├── user-settings │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── user-settings-phone.tsx │ │ │ │ │ └── user-settings.tsx │ │ │ │ └── user-detail.tsx │ │ │ ├── common-style-component │ │ │ │ ├── tip.tsx │ │ │ │ ├── access-wrapper.tsx │ │ │ │ └── center.tsx │ │ │ ├── community.tsx │ │ │ ├── doc.tsx │ │ │ ├── public-space.tsx │ │ │ ├── message-center.tsx │ │ │ └── document-detail.tsx │ │ ├── guards │ │ │ ├── organizations │ │ │ │ ├── index.ts │ │ │ │ └── organization-empty-guard.ts │ │ │ ├── index.ts │ │ │ └── overview │ │ │ │ ├── index.ts │ │ │ │ ├── overview-auth.ts │ │ │ │ └── organization-guard.ts │ │ ├── constant │ │ │ ├── apis │ │ │ │ ├── doc.ts │ │ │ │ ├── upload.ts │ │ │ │ ├── todo.ts │ │ │ │ ├── index.ts │ │ │ │ ├── organization.ts │ │ │ │ └── user.ts │ │ │ ├── links.ts │ │ │ ├── index.ts │ │ │ ├── routes.ts │ │ │ └── advantage-config.ts │ │ ├── types │ │ │ ├── dialog.ts │ │ │ ├── globals.d.ts │ │ │ ├── images.d.ts │ │ │ ├── environment.ts │ │ │ ├── type-utils.ts │ │ │ └── decorators.d.ts │ │ ├── .config │ │ │ ├── server-config.dev.json │ │ │ └── server-config.prod.json │ │ ├── theme │ │ │ ├── index.ts │ │ │ ├── palette.ts │ │ │ └── with-theme.tsx │ │ ├── animations │ │ │ ├── index.ts │ │ │ ├── router-animation.tsx │ │ │ ├── @common-animation.tsx │ │ │ ├── swipe.tsx │ │ │ └── animation-mounted-controller.tsx │ │ ├── routes │ │ │ ├── index.ts │ │ │ ├── community-route.ts │ │ │ ├── public-space-route.ts │ │ │ ├── team-route.ts │ │ │ ├── app-route.ts │ │ │ ├── doc-route.ts │ │ │ └── organization-route.ts │ │ └── index.tsx │ ├── index.tsx │ └── test │ │ └── utils │ │ └── env.spec.ts ├── webpack │ ├── utils │ │ ├── index.ts │ │ └── path.ts │ ├── tsconfig-for-webpack-config.json │ ├── webpack.config.prod.ts │ └── webpack.config.dev.ts ├── tsconfig.prod.json ├── tsconfig.test.json ├── config │ ├── jest │ │ ├── typescriptTransform.js │ │ ├── fileTransform.js │ │ └── cssTransform.js │ └── polyfills.js ├── .parcelrc ├── .gitignore ├── public │ └── index.html ├── tsconfig.json ├── tslint.json └── jest.config.js ├── packages ├── http-request │ ├── example │ │ ├── ts │ │ │ └── .gitkeep │ │ ├── js │ │ │ ├── index.js │ │ │ ├── http │ │ │ │ ├── interceptors │ │ │ │ │ ├── res-error-catcher.js │ │ │ │ │ ├── req-logger.js │ │ │ │ │ └── res-logger.js │ │ │ │ └── http-service.js │ │ │ ├── github-service.js │ │ │ └── main.js │ │ └── configs │ │ │ └── sever-config.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── index.ts │ │ │ └── interceptor.ts │ ├── .babelrc │ ├── README.md │ ├── tsconfig.json │ └── package.json ├── markdown │ ├── src │ │ ├── components │ │ │ ├── index.ts │ │ │ └── header.tsx │ │ └── index.ts │ ├── package.json │ └── tsconfig.json ├── http-utils │ ├── src │ │ ├── index.ts │ │ └── rate-limiter.ts │ ├── tsconfig.json │ └── package.json └── injector │ ├── src │ └── index.ts │ ├── package.json │ └── tsconfig.json ├── .prettierignore ├── server ├── src │ ├── constants │ │ ├── index.ts │ │ └── auth.ts │ ├── decorators │ │ ├── auth │ │ │ ├── index.ts │ │ │ └── jwt.ts │ │ ├── graphql │ │ │ └── index.ts │ │ └── index.ts │ ├── guards │ │ ├── auth │ │ │ ├── index.ts │ │ │ └── auth.guard.ts │ │ ├── index.ts │ │ └── graphql.guard.ts │ ├── middlewares │ │ ├── index.ts │ │ └── reverse-proxy.ts │ ├── controllers │ │ ├── category │ │ │ ├── index.ts │ │ │ └── category.controller.ts │ │ ├── document │ │ │ └── index.ts │ │ ├── index.ts │ │ └── user │ │ │ └── index.ts │ ├── modules │ │ ├── index.ts │ │ ├── static-server.module.ts │ │ └── user.module.ts │ ├── services │ │ ├── interceptors │ │ │ ├── index.ts │ │ │ ├── res-error.ts │ │ │ └── res-data.ts │ │ ├── index.ts │ │ └── auth.service.ts │ ├── filters │ │ ├── index.ts │ │ ├── transfer-request.ts │ │ └── global-error-filter.ts │ ├── .config │ │ └── proxy-config.json │ ├── typings │ │ └── env.d.ts │ ├── app.service.ts │ ├── app.controller.ts │ ├── main.ts │ └── app.module.ts ├── nest-cli.json ├── tsconfig.build.json ├── .gitignore ├── tslint.json └── tsconfig.json ├── shared ├── src │ ├── dto │ │ ├── category │ │ │ ├── index.ts │ │ │ └── category.dto.ts │ │ ├── document │ │ │ └── index.ts │ │ └── index.ts │ ├── index.ts │ └── lib │ │ ├── index.ts │ │ ├── array.ts │ │ ├── request-payload-parser.ts │ │ └── helpers.ts ├── package.json └── tsconfig.json ├── doc ├── react.png ├── golang.png ├── wizard.png └── md │ └── DEVELOPMENT.md ├── .dockerignore ├── lerna.json ├── prettier.config.js ├── .gitignore ├── .vscode ├── typescriptreact.code-snippets └── settings.json ├── Dockerfile └── tsconfig.react.json /client/src/website/configs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/website/services/chat/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/http-request/example/ts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | lerna.json 2 | package.json 3 | -------------------------------------------------------------------------------- /client/src/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './website'; 2 | -------------------------------------------------------------------------------- /client/webpack/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './path'; 2 | -------------------------------------------------------------------------------- /server/src/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth'; 2 | -------------------------------------------------------------------------------- /client/src/website/assets/index.ts: -------------------------------------------------------------------------------- 1 | export * from './svg'; 2 | -------------------------------------------------------------------------------- /client/src/website/ui/menu/index.ts: -------------------------------------------------------------------------------- 1 | export * from './menu'; 2 | -------------------------------------------------------------------------------- /server/src/decorators/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './jwt'; 2 | -------------------------------------------------------------------------------- /client/src/website/ui/drawer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './drawer'; 2 | -------------------------------------------------------------------------------- /client/src/website/ui/search/index.ts: -------------------------------------------------------------------------------- 1 | export * from './search'; 2 | -------------------------------------------------------------------------------- /client/src/website/utils/page.ts: -------------------------------------------------------------------------------- 1 | export const INIT_PAGE = 1; 2 | -------------------------------------------------------------------------------- /client/tsconfig.prod.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json" 3 | } -------------------------------------------------------------------------------- /server/src/guards/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.guard'; 2 | -------------------------------------------------------------------------------- /server/src/middlewares/index.ts: -------------------------------------------------------------------------------- 1 | export * from './reverse-proxy'; 2 | -------------------------------------------------------------------------------- /shared/src/dto/category/index.ts: -------------------------------------------------------------------------------- 1 | export * from './category.dto'; 2 | -------------------------------------------------------------------------------- /shared/src/dto/document/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document.dto'; 2 | -------------------------------------------------------------------------------- /client/src/website/services/notify/@notify-service.dto.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /client/src/website/ui/catalog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './catalog'; 2 | -------------------------------------------------------------------------------- /client/tsconfig.test.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/markdown/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './header'; 2 | -------------------------------------------------------------------------------- /shared/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib'; 2 | export * from './dto'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/footer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './footer'; 2 | -------------------------------------------------------------------------------- /client/src/website/services/http/index.ts: -------------------------------------------------------------------------------- 1 | export * from './http-service'; 2 | -------------------------------------------------------------------------------- /client/src/website/ui/breadcrumbs/index.ts: -------------------------------------------------------------------------------- 1 | export * from './breadcrumbs'; 2 | -------------------------------------------------------------------------------- /doc/react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/doc/react.png -------------------------------------------------------------------------------- /server/src/constants/auth.ts: -------------------------------------------------------------------------------- 1 | export const AUTH_KEY = 'authentication'; 2 | -------------------------------------------------------------------------------- /server/src/decorators/graphql/index.ts: -------------------------------------------------------------------------------- 1 | export * from './graphql-client'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/doc/share/index.ts: -------------------------------------------------------------------------------- 1 | export * from './share-pop'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/overview/@common/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/pen/original/index.ts: -------------------------------------------------------------------------------- 1 | export * from './original'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/pen/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './utils-box'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/pen/viewer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './viewer'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/register/index.ts: -------------------------------------------------------------------------------- 1 | export * from './register'; 2 | -------------------------------------------------------------------------------- /client/src/website/services/notify/index.ts: -------------------------------------------------------------------------------- 1 | export * from './notify-service'; 2 | -------------------------------------------------------------------------------- /doc/golang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/doc/golang.png -------------------------------------------------------------------------------- /doc/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/doc/wizard.png -------------------------------------------------------------------------------- /server/src/controllers/category/index.ts: -------------------------------------------------------------------------------- 1 | export * from './category.controller'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/common/side-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './side-bar'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/common/upload/index.ts: -------------------------------------------------------------------------------- 1 | export * from './image-upload'; 2 | -------------------------------------------------------------------------------- /client/src/website/pages/document-pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-center'; 2 | -------------------------------------------------------------------------------- /client/src/website/services/category/index.ts: -------------------------------------------------------------------------------- 1 | export * from './category-service'; 2 | -------------------------------------------------------------------------------- /shared/src/dto/index.ts: -------------------------------------------------------------------------------- 1 | export * from './category'; 2 | export * from './document'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/markdown-service/index.ts: -------------------------------------------------------------------------------- 1 | export * from './markdown-service'; 2 | -------------------------------------------------------------------------------- /server/src/controllers/document/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-processor.controller'; 2 | -------------------------------------------------------------------------------- /server/src/decorators/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth'; 2 | export * from './graphql'; 3 | -------------------------------------------------------------------------------- /server/src/guards/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth'; 2 | export * from './graphql.guard'; 3 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | doc 3 | .github 4 | .vscode 5 | yarn-error.log 6 | client 7 | -------------------------------------------------------------------------------- /client/src/website/components/common/transition-fab/index.ts: -------------------------------------------------------------------------------- 1 | export * from './transition-fab'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/main/knowledge-card/index.ts: -------------------------------------------------------------------------------- 1 | export * from './knowledge-card'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/main/main-header-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './main-header-bar'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/overview/overview-side/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview-side'; 2 | -------------------------------------------------------------------------------- /client/src/website/guards/organizations/index.ts: -------------------------------------------------------------------------------- 1 | export * from './organization-empty-guard'; 2 | -------------------------------------------------------------------------------- /packages/http-request/example/js/index.js: -------------------------------------------------------------------------------- 1 | require("@babel/register") 2 | require("./main.js") 3 | -------------------------------------------------------------------------------- /client/src/website/components/community/document-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-list'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/doc/index.ts: -------------------------------------------------------------------------------- 1 | export * from './share'; 2 | export * from './doc-page'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/message-center/message-side/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message-side'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/overview/overview-header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview-header'; 2 | -------------------------------------------------------------------------------- /client/src/website/guards/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview'; 2 | export * from './organizations'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/upload/index.ts: -------------------------------------------------------------------------------- 1 | export * from './upload'; 2 | export * from './type-upload'; 3 | -------------------------------------------------------------------------------- /packages/markdown/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | export * from './markdown-editor'; 3 | -------------------------------------------------------------------------------- /server/nest-cli.json: -------------------------------------------------------------------------------- 1 | { 2 | "collection": "@nestjs/schematics", 3 | "sourceRoot": "src" 4 | } 5 | -------------------------------------------------------------------------------- /client/src/website/components/access/props.tsx: -------------------------------------------------------------------------------- 1 | export interface AccessProps { 2 | name: string; 3 | } 4 | -------------------------------------------------------------------------------- /client/src/website/components/message-center/message-header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message-header'; 2 | -------------------------------------------------------------------------------- /client/src/website/constant/apis/doc.ts: -------------------------------------------------------------------------------- 1 | export const enum DOC_API { 2 | WIZARD = '/doc/wizard', 3 | } 4 | -------------------------------------------------------------------------------- /client/src/website/services/observer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './observer'; 2 | export * from './subject'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/regex/index.ts: -------------------------------------------------------------------------------- 1 | export * from './regex-utils'; 2 | export * from './regex'; 3 | -------------------------------------------------------------------------------- /packages/http-utils/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './url-decorators'; 2 | export * from './rate-limiter'; 3 | -------------------------------------------------------------------------------- /server/src/modules/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user.module'; 2 | export * from './static-server.module'; 3 | -------------------------------------------------------------------------------- /server/src/services/interceptors/index.ts: -------------------------------------------------------------------------------- 1 | export * from './res-data'; 2 | export * from './res-error'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/common/markdown/@function-pannel/index.ts: -------------------------------------------------------------------------------- 1 | export * from './function-panel'; 2 | -------------------------------------------------------------------------------- /client/src/website/components/common/markdown/document-comments/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-comments'; 2 | -------------------------------------------------------------------------------- /client/src/website/services/time/index.ts: -------------------------------------------------------------------------------- 1 | export * from './time-service'; 2 | export * from './time-utils'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/tree-view/index.ts: -------------------------------------------------------------------------------- 1 | export * from './tree-view'; 2 | export * from './tree-view-item'; 3 | -------------------------------------------------------------------------------- /server/src/filters/index.ts: -------------------------------------------------------------------------------- 1 | export * from './global-error-filter'; 2 | export * from './transfer-request'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/optional-tip/index.ts: -------------------------------------------------------------------------------- 1 | export * from './optional-tip'; 2 | export * from './todo'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/optional-tip/todo/index.ts: -------------------------------------------------------------------------------- 1 | export * from './todo-item'; 2 | export * from './todos'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/user/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-service'; 2 | export * from './user-service.dto'; 3 | -------------------------------------------------------------------------------- /client/src/website/types/dialog.ts: -------------------------------------------------------------------------------- 1 | export interface DefaultDialogProps { 2 | handleDialogClose?(): void; 3 | } 4 | -------------------------------------------------------------------------------- /client/src/website/components/about/index.ts: -------------------------------------------------------------------------------- 1 | export * from './contributors'; 2 | export * from './contributor-avatar'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/common/avatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './avatar'; 2 | export * from './current-avatar'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/common/dialogs/index.ts: -------------------------------------------------------------------------------- 1 | export * from './dialog'; 2 | export * from './confirm-dialog'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/footer/@panel/index.ts: -------------------------------------------------------------------------------- 1 | export * from './footer-panel'; 2 | export * from './link-column'; 3 | -------------------------------------------------------------------------------- /client/src/website/constant/apis/upload.ts: -------------------------------------------------------------------------------- 1 | export const UPLOAD_API = { 2 | getToken: '/upload/qiniu/token', 3 | }; 4 | -------------------------------------------------------------------------------- /client/src/website/guards/overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview-auth'; 2 | export * from './organization-guard'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/form-control/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form-control'; 2 | export * from './form-control-type'; 3 | -------------------------------------------------------------------------------- /server/src/controllers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './category'; 2 | export * from './document'; 3 | export * from './user'; 4 | -------------------------------------------------------------------------------- /client/src/website/components/community/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-list'; 2 | export * from './community-banner'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/release-banner/index.ts: -------------------------------------------------------------------------------- 1 | export * from './release-banner'; 2 | export * from './release-tag'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/input/index.ts: -------------------------------------------------------------------------------- 1 | export * from './input'; 2 | export * from './normal'; 3 | export * from './with-icon'; 4 | -------------------------------------------------------------------------------- /packages/http-request/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './http-request'; 2 | export * from 'axios'; 3 | export * from './lib'; 4 | -------------------------------------------------------------------------------- /server/src/controllers/user/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-access.controller'; 2 | export * from './user-follow.controller'; 3 | -------------------------------------------------------------------------------- /client/src/website/assets/static/main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/main.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wand.png -------------------------------------------------------------------------------- /client/src/website/components/doc/doc-page/index.ts: -------------------------------------------------------------------------------- 1 | export * from './page-paper'; 2 | export * from './organization-info-card'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/user-detail/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-card'; 2 | export * from './organization-detail-card'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/document/index.ts: -------------------------------------------------------------------------------- 1 | export * from './document-service.dto'; 2 | export * from './document-service'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/route/guards/index.ts: -------------------------------------------------------------------------------- 1 | export * from './activated-guard'; 2 | export * from './deactivated-guard'; 3 | -------------------------------------------------------------------------------- /client/src/website/assets/static/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/github.png -------------------------------------------------------------------------------- /client/src/website/assets/static/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/phone.png -------------------------------------------------------------------------------- /client/src/website/assets/static/rabbit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/rabbit.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard.png -------------------------------------------------------------------------------- /client/src/website/constant/links.ts: -------------------------------------------------------------------------------- 1 | export class Links { 2 | static readonly GitHub = 'https://github.com/wizaaard/wizard'; 3 | } 4 | -------------------------------------------------------------------------------- /client/src/website/pages/organization-pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from './select-organization'; 2 | export * from './new-organization'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/permission/index.ts: -------------------------------------------------------------------------------- 1 | export * from './permission-service.dto'; 2 | export * from './permission-service'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/input/normal.tsx: -------------------------------------------------------------------------------- 1 | import {TextField} from '@material-ui/core'; 2 | 3 | export const NormalInput = TextField; 4 | -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "lerna": "3.13.1", 3 | "version": "independent", 4 | "npmClient": "yarn", 5 | "useWorkspaces": true 6 | } 7 | -------------------------------------------------------------------------------- /packages/http-request/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env"], 3 | "plugins": ["@babel/plugin-transform-runtime"] 4 | } 5 | -------------------------------------------------------------------------------- /server/src/services/index.ts: -------------------------------------------------------------------------------- 1 | export * from './interceptors'; 2 | export * from './auth.service'; 3 | export * from './http.service'; 4 | -------------------------------------------------------------------------------- /client/src/website/assets/static/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/loading.gif -------------------------------------------------------------------------------- /client/src/website/services/markdown-service/@plugins/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-processor'; 2 | export * from './inline-processor'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/organization/index.ts: -------------------------------------------------------------------------------- 1 | export * from './organization-service'; 2 | export * from './organization-service.dto'; 3 | -------------------------------------------------------------------------------- /client/src/website/services/route/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router-service'; 2 | export * from './guards'; 3 | export * from './route'; 4 | -------------------------------------------------------------------------------- /server/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /client/src/website/assets/iconfont/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/iconfont/iconfont.eot -------------------------------------------------------------------------------- /client/src/website/assets/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /client/src/website/assets/iconfont/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/iconfont/iconfont.woff -------------------------------------------------------------------------------- /client/src/website/assets/static/magic_wand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/magic_wand.png -------------------------------------------------------------------------------- /client/src/website/assets/static/main_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/main_cover.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard-card.png -------------------------------------------------------------------------------- /client/src/website/components/common/invite-member-box/index.ts: -------------------------------------------------------------------------------- 1 | export * from './invite-member-box'; 2 | export * from './user-search-line'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/message-center/message-overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message-overview'; 2 | export * from './message-item'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/button/index.ts: -------------------------------------------------------------------------------- 1 | export * from './button'; 2 | export * from './toggle-button'; 3 | export * from './permission-button'; 4 | -------------------------------------------------------------------------------- /server/src/.config/proxy-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "localhost", 3 | "port": 4000, 4 | "protocol": "http", 5 | "mode": "prod" 6 | } 7 | -------------------------------------------------------------------------------- /client/src/website/assets/iconfont/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/iconfont/iconfont.woff2 -------------------------------------------------------------------------------- /client/src/website/assets/static/advantage/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/advantage/chat.png -------------------------------------------------------------------------------- /client/src/website/assets/static/organization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/organization.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard-white.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard-white.jpg -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard_person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard_person.png -------------------------------------------------------------------------------- /client/src/website/components/common/tab/index.ts: -------------------------------------------------------------------------------- 1 | export * from './tab'; 2 | export * from './tab-content'; 3 | export * from './tab-content-item'; 4 | -------------------------------------------------------------------------------- /client/src/website/components/header-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './header-bar-tabs'; 2 | export * from './header-bar'; 3 | export * from './logo'; 4 | -------------------------------------------------------------------------------- /client/src/website/components/overview/overview-docs/category/index.ts: -------------------------------------------------------------------------------- 1 | export * from './create-category-dialog'; 2 | export * from './category-card'; 3 | -------------------------------------------------------------------------------- /client/src/website/components/user/index.ts: -------------------------------------------------------------------------------- 1 | export * from './profile'; 2 | export * from './user-item'; 3 | export * from './valid-email-dialog'; 4 | -------------------------------------------------------------------------------- /client/src/website/assets/static/advantage/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/advantage/phone.png -------------------------------------------------------------------------------- /client/src/website/assets/static/magic_wand_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/magic_wand_white.png -------------------------------------------------------------------------------- /client/src/website/constant/apis/todo.ts: -------------------------------------------------------------------------------- 1 | export const TODO_API = { 2 | add: '/todo/add', 3 | remove: '/todo/remove', 4 | all: '/todo/all', 5 | }; 6 | -------------------------------------------------------------------------------- /client/src/website/pages/organization-pages/select-organization/index.ts: -------------------------------------------------------------------------------- 1 | export * from './select-organization'; 2 | export * from './empty-organization'; 3 | -------------------------------------------------------------------------------- /client/src/website/.config/server-config.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "localhost", 3 | "port": 3000, 4 | "protocol": "http", 5 | "prefix": "api" 6 | } 7 | -------------------------------------------------------------------------------- /client/src/website/assets/static/advantage/font_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/advantage/font_docs.png -------------------------------------------------------------------------------- /client/src/website/assets/static/advantage/swagger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/advantage/swagger.png -------------------------------------------------------------------------------- /client/src/website/assets/static/default_categories.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/default_categories.png -------------------------------------------------------------------------------- /client/src/website/assets/static/register_successful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/register_successful.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard-card-variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard-card-variant.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard_person_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard_person_white.png -------------------------------------------------------------------------------- /client/src/website/constant/index.ts: -------------------------------------------------------------------------------- 1 | export * from './links'; 2 | export * from './advantage-config'; 3 | export * from './routes'; 4 | export * from './apis'; 5 | -------------------------------------------------------------------------------- /client/src/website/services/dialog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './dialog-service'; 2 | export * from './confirm-dialog-service'; 3 | export * from './dialog-pool'; 4 | -------------------------------------------------------------------------------- /client/src/website/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './palette'; 2 | export * from './style'; 3 | export * from './global-style'; 4 | export * from './with-theme'; 5 | -------------------------------------------------------------------------------- /shared/src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export * from './array'; 2 | export * from './helpers'; 3 | export * from './typeof'; 4 | export * from './request-payload-parser'; 5 | -------------------------------------------------------------------------------- /client/src/website/.config/server-config.prod.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "182.254.131.141", 3 | "port": 3000, 4 | "protocol": "http", 5 | "prefix": "api" 6 | } 7 | -------------------------------------------------------------------------------- /client/src/website/assets/static/advantage/open_source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/advantage/open_source.png -------------------------------------------------------------------------------- /client/src/website/assets/static/wizard-card-variant2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wizardoc/wizard/HEAD/client/src/website/assets/static/wizard-card-variant2.png -------------------------------------------------------------------------------- /client/src/website/components/user/@user-avatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-avatar'; 2 | export * from './avatar-selector'; 3 | export * from './scalable-box'; 4 | -------------------------------------------------------------------------------- /client/webpack/utils/path.ts: -------------------------------------------------------------------------------- 1 | import {join} from 'path'; 2 | 3 | export const withWebpackPath = (...path: string[]) => 4 | join(__dirname, '..', '..', ...path); 5 | -------------------------------------------------------------------------------- /packages/http-request/example/configs/sever-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "api.github.com", 3 | "port": 80, 4 | "protocol": "https", 5 | "mode": "prod" 6 | } 7 | -------------------------------------------------------------------------------- /client/src/website/components/user-settings/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-settings-sidebar'; 2 | export * from './settings-title'; 3 | export * from './update-email'; 4 | -------------------------------------------------------------------------------- /client/src/website/services/message/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message-service'; 2 | export * from './message-service.dto'; 3 | export * from './message-service.api'; 4 | -------------------------------------------------------------------------------- /client/src/website/ui/button/button.ts: -------------------------------------------------------------------------------- 1 | import {ToggleButton} from './toggle-button'; 2 | 3 | export namespace Button { 4 | export const Toggle = ToggleButton; 5 | } 6 | -------------------------------------------------------------------------------- /client/src/website/animations/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router-animation'; 2 | export * from './swipe'; 3 | export * from './slide'; 4 | export * from './animation-mounted-controller'; 5 | -------------------------------------------------------------------------------- /client/src/website/components/overview/organization-edit/index.ts: -------------------------------------------------------------------------------- 1 | export * from './base-edit-card'; 2 | export * from './member-manager'; 3 | export * from './organization-function'; 4 | -------------------------------------------------------------------------------- /client/src/website/components/overview/organization-edit/member-manager/invite-member-dialog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './invite-member-dialog'; 2 | export * from './invite-search-box'; 3 | -------------------------------------------------------------------------------- /client/src/website/ui/link.tsx: -------------------------------------------------------------------------------- 1 | import {Link} from '@material-ui/core'; 2 | import styled from 'styled-components'; 3 | 4 | export const A = styled(Link)` 5 | cursor: pointer; 6 | `; 7 | -------------------------------------------------------------------------------- /client/src/website/constant/apis/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user'; 2 | export * from './doc'; 3 | export * from './organization'; 4 | export * from './todo'; 5 | export * from './upload'; 6 | -------------------------------------------------------------------------------- /server/src/typings/env.d.ts: -------------------------------------------------------------------------------- 1 | declare global { 2 | namespace NodeJS { 3 | interface ProcessEnv { 4 | CLIENT_PORT: string; 5 | } 6 | } 7 | } 8 | 9 | export {}; 10 | -------------------------------------------------------------------------------- /client/src/website/components/overview/organization-edit/member-manager/index.ts: -------------------------------------------------------------------------------- 1 | export * from './member-overview'; 2 | export * from './member-box'; 3 | export * from './invite-member-dialog'; 4 | -------------------------------------------------------------------------------- /client/src/website/components/pen/index.ts: -------------------------------------------------------------------------------- 1 | export * from './original'; 2 | export * from './pen-header'; 3 | export * from './pen'; 4 | export * from './viewer'; 5 | export * from './utils'; 6 | -------------------------------------------------------------------------------- /client/src/website/constant/apis/organization.ts: -------------------------------------------------------------------------------- 1 | export const ORGANIZATION = { 2 | JOIN: '/organization/join', 3 | REMOVE: (name: string): string => `/organization/remove/${name}`, 4 | }; 5 | -------------------------------------------------------------------------------- /client/src/website/components/common/loading/index.ts: -------------------------------------------------------------------------------- 1 | export * from './inline-loading'; 2 | export * from './normal-loading'; 3 | export * from './fetch-data'; 4 | export * from './backdrop-loading'; 5 | -------------------------------------------------------------------------------- /packages/http-request/example/js/http/interceptors/res-error-catcher.js: -------------------------------------------------------------------------------- 1 | export class ResErrorCatcher { 2 | catchRes(err) { 3 | console.info("Error: ", err) 4 | 5 | throw err 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /server/src/app.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@nestjs/common'; 2 | 3 | @Injectable() 4 | export class AppService { 5 | getHello(): string { 6 | return 'Hello World!'; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /client/src/website/components/common/markdown/render-components/link.tsx: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | import {Link} from '@material-ui/core'; 3 | 4 | export const MDLink = styled(Link)``; 5 | -------------------------------------------------------------------------------- /client/src/website/components/message-center/views/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message-panel'; 2 | export * from './message-trash'; 3 | export * from './system-message'; 4 | export * from './user-message'; 5 | -------------------------------------------------------------------------------- /client/src/website/pages/overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview-organization'; 2 | export * from './overview-page'; 3 | export * from './organization-edit-page'; 4 | export * from './overview-docs'; 5 | -------------------------------------------------------------------------------- /client/src/website/pages/why-use.tsx: -------------------------------------------------------------------------------- 1 | import React, {Component, ReactNode} from 'react'; 2 | 3 | export class WhyUse extends Component { 4 | render(): ReactNode { 5 | return <>>; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /client/src/website/components/overview/overview-docs/index.ts: -------------------------------------------------------------------------------- 1 | export * from './overview-docs-header'; 2 | export * from './category'; 3 | export * from './overview-doc-cards'; 4 | export * from './document'; 5 | -------------------------------------------------------------------------------- /packages/http-request/README.md: -------------------------------------------------------------------------------- 1 | # @Wizardoc/http-request 2 | 3 | ## Motivation 4 | 5 | ## Where do I need to catch errors 6 | 7 | ## Interceptors 8 | 9 | ## Excape callback 10 | 11 | ## License 12 | -------------------------------------------------------------------------------- /client/src/website/components/@login.tsx: -------------------------------------------------------------------------------- 1 | import React, {Component, ReactNode} from 'react'; 2 | 3 | export class Login extends Component { 4 | render(): ReactNode { 5 | return
{
11 | render(): ReactNode {
12 | return Loading...
15 |
21 | );
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/client/src/website/services/observer/observer.ts:
--------------------------------------------------------------------------------
1 | import {NotifyMessage, ChatMessage} from '../message';
2 |
3 | export interface NotifyMessageObserver {
4 | onNotifyMessage(msg: NotifyMessage): void;
5 | onNotifyMessageAppended(msgs: NotifyMessage[]): void;
6 | }
7 |
8 | export interface ChatMessageObserver {
9 | onChatMessage(msg: ChatMessage): void;
10 | onChatMessageAppended(msgs: ChatMessage[]): void;
11 | }
12 |
13 | type Observers = NotifyMessageObserver & ChatMessageObserver;
14 |
15 | export type Observer = PartialContributors
35 |