Initial commit: Spark Platform with Cartesian SEO Engine
This commit is contained in:
21
frontend/src/env.d.ts
vendored
Normal file
21
frontend/src/env.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/// <reference types="astro/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly PUBLIC_DIRECTUS_URL: string;
|
||||
readonly DIRECTUS_ADMIN_TOKEN: string;
|
||||
readonly PUBLIC_PLATFORM_DOMAIN: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
|
||||
declare namespace App {
|
||||
interface Locals {
|
||||
siteId: string | null;
|
||||
site: import('./types/schema').Site | null;
|
||||
isAdminRoute: boolean;
|
||||
isPlatformAdmin: boolean;
|
||||
scope: 'super-admin' | 'tenant';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user