├── .gitignore ├── .npmignore ├── .prettierrc ├── LICENSE.md ├── README.md ├── demo ├── front │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── package.json │ ├── pnpm-lock.yaml │ ├── public │ │ └── index.html │ ├── sdk-generator.json │ ├── snowpack.config.mjs │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ ├── ArticleCard.tsx │ │ │ ├── AuthorDropdown.tsx │ │ │ └── CategoryDropdown.tsx │ │ ├── index.tsx │ │ ├── pages │ │ │ ├── ArticlePage.tsx │ │ │ ├── AuthorsPage.tsx │ │ │ ├── CategoriesPage.tsx │ │ │ ├── HomePage.tsx │ │ │ └── NewArticlePage.tsx │ │ └── sdk-interface.ts │ └── tsconfig.json └── server │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ ├── app.module.ts │ ├── main.ts │ ├── mikro-orm.config.ts │ └── modules │ │ ├── article │ │ ├── article.controller.ts │ │ ├── article.entity.ts │ │ ├── article.module.ts │ │ ├── article.service.ts │ │ └── dtos │ │ │ ├── article-create.dto.ts │ │ │ └── article-update.dto.ts │ │ ├── author │ │ ├── author.controller.ts │ │ ├── author.entity.ts │ │ ├── author.module.ts │ │ ├── author.service.ts │ │ └── dtos │ │ │ ├── author-create.dto.ts │ │ │ └── author-update.dto.ts │ │ └── category │ │ ├── category.controller.ts │ │ ├── category.entity.ts │ │ ├── category.module.ts │ │ ├── category.service.ts │ │ └── dtos │ │ ├── category-create.dto.ts │ │ └── category-update.dto.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── package.json ├── pnpm-lock.yaml ├── src ├── analyzer │ ├── builtin.ts │ ├── classdeps.ts │ ├── controller.ts │ ├── controllers.ts │ ├── decorator.ts │ ├── extractor.ts │ ├── index.ts │ ├── methods.ts │ ├── module.ts │ ├── params.ts │ ├── route.ts │ └── typedeps.ts ├── bin.ts ├── config.ts ├── generator │ ├── genmodules.ts │ ├── gentypes.ts │ ├── index.ts │ ├── prettier.ts │ └── sdk-interface.ts ├── logging.ts └── utils.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | demo 2 | front/src/sdk -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/README.md -------------------------------------------------------------------------------- /demo/front/.gitignore: -------------------------------------------------------------------------------- 1 | .snowpack 2 | build 3 | node_modules 4 | src/sdk -------------------------------------------------------------------------------- /demo/front/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/.prettierrc -------------------------------------------------------------------------------- /demo/front/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/README.md -------------------------------------------------------------------------------- /demo/front/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/package.json -------------------------------------------------------------------------------- /demo/front/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/pnpm-lock.yaml -------------------------------------------------------------------------------- /demo/front/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/public/index.html -------------------------------------------------------------------------------- /demo/front/sdk-generator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/sdk-generator.json -------------------------------------------------------------------------------- /demo/front/snowpack.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/snowpack.config.mjs -------------------------------------------------------------------------------- /demo/front/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/App.tsx -------------------------------------------------------------------------------- /demo/front/src/components/ArticleCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/components/ArticleCard.tsx -------------------------------------------------------------------------------- /demo/front/src/components/AuthorDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/components/AuthorDropdown.tsx -------------------------------------------------------------------------------- /demo/front/src/components/CategoryDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/components/CategoryDropdown.tsx -------------------------------------------------------------------------------- /demo/front/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/index.tsx -------------------------------------------------------------------------------- /demo/front/src/pages/ArticlePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/pages/ArticlePage.tsx -------------------------------------------------------------------------------- /demo/front/src/pages/AuthorsPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/pages/AuthorsPage.tsx -------------------------------------------------------------------------------- /demo/front/src/pages/CategoriesPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/pages/CategoriesPage.tsx -------------------------------------------------------------------------------- /demo/front/src/pages/HomePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/pages/HomePage.tsx -------------------------------------------------------------------------------- /demo/front/src/pages/NewArticlePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/pages/NewArticlePage.tsx -------------------------------------------------------------------------------- /demo/front/src/sdk-interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/src/sdk-interface.ts -------------------------------------------------------------------------------- /demo/front/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/front/tsconfig.json -------------------------------------------------------------------------------- /demo/server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/.gitignore -------------------------------------------------------------------------------- /demo/server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/.prettierrc -------------------------------------------------------------------------------- /demo/server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/README.md -------------------------------------------------------------------------------- /demo/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/package.json -------------------------------------------------------------------------------- /demo/server/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/pnpm-lock.yaml -------------------------------------------------------------------------------- /demo/server/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/app.module.ts -------------------------------------------------------------------------------- /demo/server/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/main.ts -------------------------------------------------------------------------------- /demo/server/src/mikro-orm.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/mikro-orm.config.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/article.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/article.controller.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/article.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/article.entity.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/article.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/article.module.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/article.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/article.service.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/dtos/article-create.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/dtos/article-create.dto.ts -------------------------------------------------------------------------------- /demo/server/src/modules/article/dtos/article-update.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/article/dtos/article-update.dto.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/author.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/author.controller.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/author.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/author.entity.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/author.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/author.module.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/author.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/author.service.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/dtos/author-create.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/dtos/author-create.dto.ts -------------------------------------------------------------------------------- /demo/server/src/modules/author/dtos/author-update.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/author/dtos/author-update.dto.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/category.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/category.controller.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/category.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/category.entity.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/category.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/category.module.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/category.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/category.service.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/dtos/category-create.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/dtos/category-create.dto.ts -------------------------------------------------------------------------------- /demo/server/src/modules/category/dtos/category-update.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/src/modules/category/dtos/category-update.dto.ts -------------------------------------------------------------------------------- /demo/server/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/tsconfig.build.json -------------------------------------------------------------------------------- /demo/server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/demo/server/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/analyzer/builtin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/builtin.ts -------------------------------------------------------------------------------- /src/analyzer/classdeps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/classdeps.ts -------------------------------------------------------------------------------- /src/analyzer/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/controller.ts -------------------------------------------------------------------------------- /src/analyzer/controllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/controllers.ts -------------------------------------------------------------------------------- /src/analyzer/decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/decorator.ts -------------------------------------------------------------------------------- /src/analyzer/extractor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/extractor.ts -------------------------------------------------------------------------------- /src/analyzer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/index.ts -------------------------------------------------------------------------------- /src/analyzer/methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/methods.ts -------------------------------------------------------------------------------- /src/analyzer/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/module.ts -------------------------------------------------------------------------------- /src/analyzer/params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/params.ts -------------------------------------------------------------------------------- /src/analyzer/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/route.ts -------------------------------------------------------------------------------- /src/analyzer/typedeps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/analyzer/typedeps.ts -------------------------------------------------------------------------------- /src/bin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/bin.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/generator/genmodules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/generator/genmodules.ts -------------------------------------------------------------------------------- /src/generator/gentypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/generator/gentypes.ts -------------------------------------------------------------------------------- /src/generator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/generator/index.ts -------------------------------------------------------------------------------- /src/generator/prettier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/generator/prettier.ts -------------------------------------------------------------------------------- /src/generator/sdk-interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/generator/sdk-interface.ts -------------------------------------------------------------------------------- /src/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/logging.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lonestone/nest-sdk-generator/HEAD/tsconfig.json --------------------------------------------------------------------------------