Initial commit: Spark Platform with Cartesian SEO Engine

This commit is contained in:
cawcenter
2025-12-11 23:21:35 -05:00
commit abd964a745
68 changed files with 7960 additions and 0 deletions

21
frontend/src/env.d.ts vendored Normal file
View 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';
}
}