Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
fix: #3
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Oct 27, 2021
1 parent 6ab27b8 commit dd96dea
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rittaschool/shared",
"version": "0.0.8",
"version": "0.0.9",
"main": "./lib/index.cjs.js",
"module": "./lib/index.esm.js",
"types": "./lib/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/classes/dto/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { CreateUserDto } from "./CreateUser.dto";
8 changes: 8 additions & 0 deletions src/classes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ export class Event<T> {
this.payload = payload;
}
}

export { BackupCode } from "./BackupCode";
export { Location } from "./Location";
export { MFAOptions } from "./MFAOptions";
export { Oauth2Identifiers } from "./Oauth2Identifiers";
export { User } from "./User";
export { YubikeyOptions } from "./YubikeyOptions";
export * from "./dto/";
11 changes: 10 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
export { Event } from "./classes/index";
export {
Event,
YubikeyOptions,
User,
Oauth2Identifiers,
MFAOptions,
Location,
CreateUserDto,
BackupCode,
} from "./classes/index";
export {
IAccount,
IBackupCode,
Expand Down

0 comments on commit dd96dea

Please sign in to comment.