UNPKG

unleash-server

Version:

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

13 lines (12 loc) 581 B
import { Response } from 'express'; import Controller from '../../controller'; import { IUnleashConfig } from '../../../types/option'; import { IUnleashServices } from '../../../types/services'; import { ProjectsSchema } from '../../../openapi/spec/projects-schema'; import { IAuthRequest } from '../../unleash-types'; export default class ProjectApi extends Controller { private projectService; private openApiService; constructor(config: IUnleashConfig, services: IUnleashServices); getProjects(req: IAuthRequest, res: Response<ProjectsSchema>): Promise<void>; }