growthbook
Version:
The GrowthBook command-line interface (CLI) for working with the GrowthBook A/B testing, feature flagging, and experimentation platform
12 lines (11 loc) • 481 B
TypeScript
import { BaseApiRepository, BaseRepository, Pagination } from './base.repository';
import { Project, ProjectsApi } from '../generated/api';
export declare class ProjectsRepository extends BaseRepository implements BaseApiRepository<ProjectsApi> {
getProject(id: string): Promise<Project>;
listProjects(limit: number, offset: number): Promise<ListProjectsResponse>;
api(): ProjectsApi;
}
type ListProjectsResponse = Pagination & {
projects: Project[];
};
export {};