UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

16 lines (15 loc) 824 B
import { App, AppResponse, AuthProviderResponse, ProviderConfig, RuleCreator, RuleResponse, Service, ServiceConfig, ServiceResponse } from "mongodb-stitch-core-admin-client"; export default abstract class BaseStitchIntTestHarness { protected abstract readonly stitchBaseUrl: string; private groupId; private apps; private initialized; private readonly adminClient; setup(): Promise<void>; teardown(): Promise<void>; createApp(appName?: string): Promise<Array<App | AppResponse>>; addProvider(app: App, config: ProviderConfig): Promise<AuthProviderResponse>; enableApiKeyProvider(app: App): Promise<void>; addService(app: App, type: string, config: ServiceConfig): Promise<Array<ServiceResponse | Service>>; addRule(svc: Service, config: RuleCreator): Promise<RuleResponse>; }