1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-14 00:19:16 +01:00

fix: expose ApiUser out of Unleash

This commit is contained in:
Ivar Conradi Østhus 2022-01-04 20:01:18 +01:00
parent e1139a4847
commit c051eb9149
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09
2 changed files with 2 additions and 2 deletions

View File

@ -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';
@ -163,6 +164,7 @@ export {
Controller,
AuthenticationRequired,
User,
ApiUser,
LogLevel,
RoleName,
IAuthType,

View File

@ -39,5 +39,3 @@ export default class ApiUser {
this.type = type;
}
}
module.exports = ApiUser;