Files
Folo/apps/ssr/client/global.d.ts
T
Innei 4ae8bf21e8 chore: add Prettify helper
- Added APP_NAME constant with value "Folo" to global declarations in both desktop and SSR environments.
- Updated type definitions to use Prettify for improved type handling in context menu and component definitions.
- Enhanced the useTitle hook to incorporate APP_NAME in the title template for better context in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 16:52:39 +08:00

15 lines
283 B
TypeScript

// data hydrate
// e.g. window.__HYDRATE__['feeds.$get,query:id=41223694984583197']
declare global {
interface Window {
__HYDRATE__: Record<string, any>
}
export const GIT_COMMIT_SHA: string
export const APP_VERSION: string
export const APP_NAME: string
}
export {}