UNPKG

@talentsoft-opensource/widget-display-tool

Version:

Widget Simulator

14 lines (13 loc) 527 B
import { RequestOptions, HttpResponse } from "@talentsoft-opensource/integration-widget-contract"; /** * This objects allows the viewer to simulate the talentsoft behavior. You can either mock */ export interface HostMock { proxyMode?: boolean, secretKey?: string, login?: string, configuration?: {[key: string]: string}, requestExternalResource?: (options: RequestOptions) => Promise<HttpResponse>, loadData?: () => Promise<object[]>, getAutoConnectUrl?: (url: string) => string, }