|
|
@ -1,9 +1,8 @@
|
|
|
|
from __future__ import annotations
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
|
|
from typing import TYPE_CHECKING, TypedDict
|
|
|
|
from typing import TypedDict
|
|
|
|
|
|
|
|
|
|
|
|
if TYPE_CHECKING:
|
|
|
|
from mipac.types.user import IUserDetailedNotMeSchema
|
|
|
|
from mipac.types.user import IUserDetailed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class IUserIP(TypedDict):
|
|
|
|
class IUserIP(TypedDict):
|
|
|
@ -30,7 +29,7 @@ class IModerationLog(TypedDict):
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
info: dict # TODO: これ何?
|
|
|
|
info: dict # TODO: これ何?
|
|
|
|
user_id: str
|
|
|
|
user_id: str
|
|
|
|
user: IUserDetailed
|
|
|
|
user: IUserDetailedNotMeSchema
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class IServerInfoCpu(TypedDict):
|
|
|
|
class IServerInfoCpu(TypedDict):
|
|
|
|