Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

712 B
Raw Blame
interface ImportMetaEnv {
  readonly DATA_APP_MB_URL: string | undefined;
  readonly DATA_APP_MB_API_KEY: string | undefined;
}

interface ImportMeta {
  readonly env: ImportMetaEnv;
  readonly hot?: {
    on(event: string, cb: (...args: unknown[]) => void): void;
    off(event: string, cb: (...args: unknown[]) => void): void;
    send(event: string, data?: unknown): void;
  };
}

declare module "virtual:metabase-data-app-dev-config" {
  export const allowedHosts: string[];
  export const appSlug: string;
  export const bundleUrl: string;
  export const buildIdHeader: string;
  export const rebuiltEvent: string;
  export const diagnosticsChangedEvent: string;
  export const sdkVersion: string | null;
}