File tree Expand file tree Collapse file tree
application/CohortManager/src/Web Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import type { DefaultSession } from "next-auth" ;
2-
31declare module "next-auth" {
42 interface User {
53 uid : string ;
@@ -12,28 +10,6 @@ declare module "next-auth" {
1210 workgroups ?: string [ ] ;
1311 workgroups_codes ?: string [ ] ;
1412 }
15-
16- interface Session {
17- user ?: DefaultSession [ "user" ] & User ;
18- accessToken ?: string ;
19- idToken ?: string ;
20- }
21- }
22-
23- declare module "next-auth/jwt" {
24- interface JWT {
25- uid ?: string ;
26- firstName ?: string ;
27- lastName ?: string ;
28- sub ?: string ;
29- sid ?: string ;
30- odsCode ?: string ;
31- orgName ?: string ;
32- workgroups ?: string [ ] ;
33- workgroups_codes ?: string [ ] ;
34- accessToken ?: string ;
35- idToken ?: string ;
36- }
3713}
3814
3915export interface DecodedCIS2Token {
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "target" : " es5 " ,
3+ "target" : " ES2017 " ,
44 "lib" : [
55 " dom" ,
66 " dom.iterable" ,
1212 "forceConsistentCasingInFileNames" : true ,
1313 "noEmit" : true ,
1414 "esModuleInterop" : true ,
15- "module" : " commonjs " ,
16- "moduleResolution" : " node " ,
15+ "module" : " ESNext " ,
16+ "moduleResolution" : " bundler " ,
1717 "resolveJsonModule" : true ,
1818 "isolatedModules" : true ,
19- "jsx" : " react-jsx " ,
19+ "jsx" : " preserve " ,
2020 "incremental" : true ,
2121 "plugins" : [
2222 {
You can’t perform that action at this time.
0 commit comments