You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
511 B
23 lines
511 B
/// <reference types="@sveltejs/kit" />
|
|
|
|
import type { ScopeEntry } from "$lib/models/scope";
|
|
import type Scope from "$lib/models/scope";
|
|
import type User from "$lib/models/user";
|
|
|
|
// See https://kit.svelte.dev/docs/types#the-app-namespace
|
|
// for information about these interfaces
|
|
declare global {
|
|
declare namespace App {
|
|
interface Locals {
|
|
user: User,
|
|
scopes: ScopeEntry[],
|
|
}
|
|
|
|
// interface Platform {}
|
|
// interface Session {}
|
|
interface Stuff {
|
|
scope?: Scope
|
|
scopePath?: string
|
|
}
|
|
}
|
|
}
|