1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-14 18:24:26 +07:00
verdaccio-ui/types/index.ts
2020-03-31 08:44:59 +02:00

19 lines
425 B
TypeScript

// FIXME: this should comes from @verdaccio/types
export interface VerdaccioOptions {
url_prefix: string;
base: string;
language?: string;
darkMode?: boolean;
}
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;
}
}