Skip to content

Commit

Permalink
Merge pull request #61 from ainize-team/feat/woojae/typedoc.json
Browse files Browse the repository at this point in the history
fix: entrypoint
  • Loading branch information
akastercomcom authored Sep 25, 2023
2 parents ecfc4ee + df20068 commit 812e3eb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "rm -rf ./dist && tsc",
"dev": "rm -rf ./dist && tsc",
"test": "NODE_ENV=dev jest --passWithNoTests",
"docs": "yarn build && typedoc --out docs"
"docs": "yarn build && typedoc --options typedoc.json --out docs"
},
"engines": {
"node": ">=16"
Expand Down
4 changes: 2 additions & 2 deletions src/ainize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { Account } from "@ainblockchain/ain-util";
export default class Ainize {
private cache: NodeCache;
private handler: Handler = Handler.getInstance();
ain: AinModule = AinModule.getInstance();
private ain: AinModule = AinModule.getInstance();
middleware: Middleware;
internal: Internal;
appController: AppController = AppController.getInstance();
private appController: AppController = AppController.getInstance();

constructor(chainId: 1 | 0) {
this.ain.initAin(chainId);
Expand Down
17 changes: 15 additions & 2 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"excludeNotDocumented": true,
}
"out": "./docs/dist/api/",
"includes": "./src",
"exclude": [
"**/src/controllers/**/*",
"**/src/handlers/**/*",
"**/src/middlewares/**/*",
"**/src/ain.ts",
"**/src/internal.ts",
"**/src/utils/**/*",
"**/src/constants.ts",
],

"excludeExternals": true,
"excludePrivate": true
}

0 comments on commit 812e3eb

Please sign in to comment.