UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

21 lines (20 loc) 1.12 kB
import { IAuthType, IUnleash, IUnleashConfig, IUnleashOptions, IUnleashServices, RoleName } from './types'; 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'; 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'; declare function start(opts?: IUnleashOptions): Promise<IUnleash>; declare function create(opts: IUnleashOptions): Promise<IUnleash>; declare const _default: { start: typeof start; create: typeof create; }; export default _default; export { start, create, Controller, AuthenticationRequired, User, ApiUser, LogLevel, RoleName, IAuthType, Knex, permissions, eventType, }; export type { Logger, IUnleash, IUnleashOptions, IUnleashConfig, IUser, IUnleashServices, IAuthRequest, SimpleAuthSettings, };