File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- // See https://svelte.dev/docs/kit/types#app.d.ts
2- // for information about these interfaces
31declare global {
42 namespace App {
53 // interface Error {}
@@ -10,4 +8,13 @@ declare global {
108 }
119}
1210
11+ declare module '$env/static/private' {
12+ export const SESSION_DURATION : string ;
13+ export const SESSION_SECRET : string ;
14+ export const ZITADEL_CLIENT_ID : string ;
15+ export const ZITADEL_CLIENT_SECRET : string ;
16+ export const ZITADEL_DOMAIN : string ;
17+ export const ZITADEL_POST_LOGOUT_URL : string ;
18+ }
19+
1320export { } ;
Original file line number Diff line number Diff line change 1- // @ts -ignore
2-
31import { SvelteKitAuth } from '@auth/sveltekit' ;
42import Zitadel from '@auth/sveltekit/providers/zitadel' ;
53import { randomUUID } from 'crypto' ;
64import * as oidc from 'openid-client' ;
75import type { JWT } from '@auth/core/jwt' ;
86import { ZITADEL_SCOPES } from './scopes' ;
9- // @ts -nocheck
107import {
118 SESSION_DURATION ,
129 SESSION_SECRET ,
13- // @ts -nocheck
1410 ZITADEL_CLIENT_ID ,
15- // @ts -nocheck
1611 ZITADEL_CLIENT_SECRET ,
17- // @ts -nocheck
1812 ZITADEL_DOMAIN ,
19- // @ts -nocheck
2013 ZITADEL_POST_LOGOUT_URL ,
2114} from '$env/static/private' ;
2215
You can’t perform that action at this time.
0 commit comments