add interface

This commit is contained in:
2025-08-17 19:24:03 -03:00
parent 21f6eb030f
commit b1cff154d4
11 changed files with 320 additions and 16 deletions

View File

@@ -0,0 +1,12 @@
import { createCookieSessionStorage } from 'react-router'
const { getSession, commitSession, destroySession } =
createCookieSessionStorage({
cookie: {
name: 'session_id',
httpOnly: true,
secure: true
}
})
export { getSession, commitSession, destroySession }