unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
22 lines • 1.36 kB
TypeScript
import { type CustomAuthHandler, IAuthType, type IUnleash, type IUnleashConfig, type IUnleashOptions, type IUnleashServices, RoleName } from './types';
import User, { type IAuditUser, type IUser } from './types/user';
import ApiUser, { type IApiUser } from './types/api-user';
import { type Logger, LogLevel } from './logger';
import AuthenticationRequired from './types/authentication-required';
import Controller from './routes/controller';
import type { IApiRequest, IAuthRequest } from './routes/unleash-types';
import type { SimpleAuthSettings } from './types/settings/simple-auth-settings';
import { Knex } from 'knex';
import * as permissions from './types/permissions';
import * as eventType from './types/events';
import { Db } from './db/db';
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, Db, permissions, eventType, };
export type { Logger, IUnleash, IUnleashOptions, IUnleashConfig, IUser, IApiUser, IAuditUser, IUnleashServices, IAuthRequest, IApiRequest, SimpleAuthSettings, CustomAuthHandler, };
//# sourceMappingURL=server-impl.d.ts.map