fix: session api update

This commit is contained in:
2024-07-30 18:20:11 -06:00
parent c979e6540f
commit 4e03c43ded
4 changed files with 4 additions and 60 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
import { createSlice, type PayloadAction } from '@reduxjs/toolkit'
import { type Models } from 'appwrite'
import { type ClanList } from 'entgamers-database/frontend/clanes'
import { type UserWithPreferences } from 'entgamers-database/frontend/session'
import { type User } from 'entgamers-database/frontend/session'
export type SessionState =
| {
status: 'idle' | 'loading' | 'initializing'
session?: Models.Session
user?: UserWithPreferences
user?: User
clanes?: ClanList
}