2024-05-20 12:23:41 +02:00
|
|
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
|
|
/// <reference path="../.astro/types.d.ts" />
|
2024-04-20 10:48:50 +02:00
|
|
|
/// <reference types="astro/client" />
|
2024-05-20 12:23:41 +02:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
/// <reference types="../vendor/integration/types.d.ts" />
|
2024-05-20 12:48:34 +02:00
|
|
|
|
|
|
|
import PocketBase from 'pocketbase'
|
|
|
|
export interface ImportMetaEnv {
|
|
|
|
NODE_ENV: string
|
|
|
|
APP_URL: string
|
|
|
|
|
|
|
|
POCKETBASE_URL: string
|
|
|
|
|
|
|
|
GOOGLE_API_KEY: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
readonly env: ImportMetaEnv
|
|
|
|
}
|
|
|
|
|
|
|
|
declare global {
|
|
|
|
namespace App {
|
|
|
|
interface Locals {
|
|
|
|
pb: PocketBase
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|