* chore: initial ui prompt product analytic * chore: integrate posthog * chore: update event app_version * chore: update build env * feat: posthog config in ci * chore: resolve linter test CI * chore: resolve e2e * chore: disable capture unless property * chore: update e2e * chore: update privacy data analytic --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
26 lines
637 B
TypeScript
26 lines
637 B
TypeScript
import { APIFunctions } from '@janhq/core'
|
|
|
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
export {}
|
|
|
|
declare global {
|
|
declare const VERSION: string
|
|
declare const ANALYTICS_ID: string
|
|
declare const POSTHOG_KEY: string
|
|
declare const POSTHOG_HOST: string
|
|
declare const ANALYTICS_HOST: string
|
|
declare const API_BASE_URL: string
|
|
declare const isMac: boolean
|
|
declare const isWindows: boolean
|
|
declare const isLinux: boolean
|
|
declare const PLATFORM: string
|
|
interface Core {
|
|
api: APIFunctions
|
|
events: EventEmitter
|
|
}
|
|
interface Window {
|
|
core?: Core | undefined
|
|
electronAPI?: any | undefined
|
|
}
|
|
}
|