| 
						
						
						
					 | 
					 | 
					@ -1,5 +1,5 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import type { GetServerSidePropsContext } from "next"
 | 
					 | 
					 | 
					 | 
					import type { GetServerSidePropsContext } from "next"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { unstable_getServerSession } from "next-auth/next"
 | 
					 | 
					 | 
					 | 
					import { getServerSession } from "next-auth/next"
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { authOptions } from "./auth"
 | 
					 | 
					 | 
					 | 
					import { authOptions } from "./auth"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					type Params = {
 | 
					 | 
					 | 
					 | 
					type Params = {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -8,8 +8,8 @@ type Params = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export async function getSession(params?: Params) {
 | 
					 | 
					 | 
					 | 
					export async function getSession(params?: Params) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						if (!params) return await unstable_getServerSession(authOptions)
 | 
					 | 
					 | 
					 | 
						if (!params) return await getServerSession(authOptions)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						return await unstable_getServerSession(params.req, params.res, authOptions)
 | 
					 | 
					 | 
					 | 
						return await getServerSession(params.req, params.res, authOptions)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export async function getCurrentUser(params?: Params) {
 | 
					 | 
					 | 
					 | 
					export async function getCurrentUser(params?: Params) {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |