Spaces:
Running
Running
Download src/app.d.ts from ML-Intern-lab/slackbot-staging: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/ML-Intern-lab/slackbot-staging/resolve/main/src/app.d.ts
- Command line
-
hf download hf://spaces/ML-Intern-lab/slackbot-staging/src/app.d.ts
-
curl -L -o app.d.ts https://huggingface.co/spaces/ML-Intern-lab/slackbot-staging/resolve/main/src/app.d.ts
1.15 kB
| /// <reference types="@sveltejs/kit" /> | |
| /// <reference types="unplugin-icons/types/svelte" /> | |
| import type { User } from "$lib/types/User"; | |
| // See https://kit.svelte.dev/docs/types#app | |
| // for information about these interfaces | |
| declare global { | |
| namespace App { | |
| // interface Error {} | |
| interface Locals { | |
| sessionId: string; | |
| user?: User; | |
| isAdmin: boolean; | |
| token?: string; | |
| /** Organization to bill inference, and ML Intern's Jobs and sandboxes, to (from settings) */ | |
| billingOrganization?: string; | |
| /** Enterprise resource group within billingOrganization used for cost attribution. */ | |
| billingResourceGroup?: string; | |
| /** Server-configured default Hub publishing namespace. */ | |
| publishNamespace?: string; | |
| } | |
| interface Error { | |
| message: string; | |
| errorId?: ReturnType<typeof crypto.randomUUID>; | |
| } | |
| // interface PageData {} | |
| // interface Platform {} | |
| interface PageState { | |
| /** First message text carried from the home/model page to a new conversation. */ | |
| pendingMessage?: string; | |
| /** Nonce for looking up File[] in the client-side pendingFiles Map. */ | |
| pendingFilesNonce?: string; | |
| } | |
| } | |
| } | |
| export {}; | |