-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.d.ts
35 lines (31 loc) · 799 Bytes
/
app.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// https://supabase.com/docs/guides/auth/auth-helpers/sveltekit
// https://supabase.com/blog/supabase-auth-helpers-with-sveltekit-support
declare namespace App {
interface Supabase {
Database: import('./src/schema').Database;
SchemaName: 'public';
}
// interface Locals {}
interface PageData {
session: import('@supabase/supabase-js').Session | null;
}
// interface Error {}
// interface Platform {}
interface MdsvexFile {
default: import('svelte/internal').SvelteComponent;
metadata: Record<string, string>;
}
type MdsvexResolver = () => Promise<MdsvexFile>;
interface BlogPost {
slug: string;
title: string;
author: string;
description: string;
date: string;
loc: string;
lastmod: string;
changefreq: string;
priority: string;
published: boolean;
}
}