From a165eb191c566d2aa025984d9ad6a4c6226c6298 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Mon, 21 Nov 2022 10:42:43 +0200 Subject: [PATCH] add back removed permissions and eventType from module exports (#2476) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: andreas-unleash This PR adds (back) the permissions and eventType module exports ## About the changes Closes # ### Important files ## Discussion points Signed-off-by: andreas-unleash --- src/lib/server-impl.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/server-impl.ts b/src/lib/server-impl.ts index 512dc86f7e..d44fcd6c3d 100644 --- a/src/lib/server-impl.ts +++ b/src/lib/server-impl.ts @@ -29,6 +29,8 @@ import Controller from './routes/controller'; import { IAuthRequest } from './routes/unleash-types'; import { SimpleAuthSettings } from './types/settings/simple-auth-settings'; import { Knex } from 'knex'; +import * as permissions from './types/permissions'; +import * as eventType from './types/events'; async function createApp( config: IUnleashConfig, @@ -180,6 +182,8 @@ export { RoleName, IAuthType, Knex, + permissions, + eventType, }; export type {