diff --git a/package.json b/package.json index 0c26703..2eef563 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "Entity", "version": "1.0.0", "description": "This kind of project was built to present entity table type ORM", - "main": "dist/src/index.d.ts", + "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "scripts": { "dev": "nodemon", diff --git a/src/index.ts b/src/index.ts index 94438a9..8322bcc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,5 +5,24 @@ import { UserActivity } from "./entity/user_activity"; import { UserRefreshToken } from "./entity/user_refresh_token"; import { User } from "./entity/users"; import { UserRole } from "./entity/users_roles"; +import { ActivityType } from "./types/action"; +import { ErrorType, ErrorValidation } from "./types/error"; +import { Paging } from "./types/paging"; +import { RoleList } from "./types/role"; +import { Status } from "./types/status"; -export { User, UserRole, UserActivity, UserRefreshToken, TrialBalance, LNKOLEK, CifAccount }; \ No newline at end of file +export { + User, + UserRole, + UserActivity, + UserRefreshToken, + TrialBalance, + LNKOLEK, + CifAccount, + ActivityType, + ErrorType, + ErrorValidation, + Paging, + RoleList, + Status +}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 6f17fc4..961a3ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,10 +17,10 @@ // "baseUrl": "src/", "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, - "allowJs": true, - "declaration": true, - "emitDeclarationOnly": true, - "declarationMap": true + // "allowJs": true, + "declaration": true + // "emitDeclarationOnly": true, + // "declarationMap": true }, "include": ["src/swagger-output.json", "src/langs/json/*.json", "./src/**/*.tsx", "./src/**/*.ts"], "exclude": ["node_modules", "test/**/*.ts"]