1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-26 14:14:28 +07:00
verdaccio-ui/types/index.ts
2019-10-06 18:32:51 +02:00

17 lines
382 B
TypeScript

// FIXME: this should comes from @verdaccio/types
export interface VerdaccioOptions {
url_prefix: string;
base: string;
}
declare global {
interface Window {
__VERDACCIO_BASENAME_UI_OPTIONS: VerdaccioOptions;
VERDACCIO_PRIMARY_COLOR: string;
VERDACCIO_LOGO: string;
VERDACCIO_SCOPE: string;
VERDACCIO_VERSION: string;
VERDACCIO_API_URL: string;
}
}