Skip to content

Commit

Permalink
fix: expose ApiUser out of Unleash
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Jan 4, 2022
1 parent e1139a4 commit c051eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lib/server-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { IUnleash } from './types/core';
import { IUnleashConfig, IUnleashOptions, IAuthType } from './types/option';
import { IUnleashServices } from './types/services';
import User, { IUser } from './types/user';
import ApiUser from './types/api-user';
import { Logger, LogLevel } from './logger';
import AuthenticationRequired from './types/authentication-required';
import Controller from './routes/controller';
Expand Down Expand Up @@ -163,6 +164,7 @@ export {
Controller,
AuthenticationRequired,
User,
ApiUser,
LogLevel,
RoleName,
IAuthType,
Expand Down
2 changes: 0 additions & 2 deletions src/lib/types/api-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ export default class ApiUser {
this.type = type;
}
}

module.exports = ApiUser;

0 comments on commit c051eb9

Please sign in to comment.