Dough Git

clove/system

src/app.d.ts

back to src

/* src/app.d.ts
 * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
 * Licensed under the DASL-1.0 Licence.
 * See LICENCE.md in the project root for full licence information.
 */

/// <reference types="unplugin-icons/types/svelte5" />

declare global {
  namespace App {
    interface Error {
      message: string;
      title?: string;
    }

    interface Platform {
      env: Cloudflare.Env;
      ctx: ExecutionContext;
    }
  }

  namespace Cloudflare {
    interface Env {
      JWT_SECRET?: string;
      SSO_CLIENT_ID?: string;
      SSO_CLIENT_SECRET?: string;
      BOT_TOKEN?: string;
    }
  }
}

export {};