@decisions/api-helpers
Version:
JavaScript toolkit for REST, etc. for external UIs using Decisions as a back-end.
12 lines (11 loc) • 341 B
TypeScript
/**
* Config object. Depends on either a `DecisionsRestConfig` variable defined on the
* global namespace, or `rest-config.json` at the same path as the application.
*/
export declare const ApiConfig: {
cors: boolean;
getFetchMode(): RequestMode;
isLoaded: boolean;
loadConfig(): void;
restRoot: string;
};