mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-26 03:20:17 +00:00
21 lines
378 B
Python
21 lines
378 B
Python
from typing import TypedDict
|
|
|
|
class Logging(TypedDict):
|
|
debug: bool
|
|
|
|
class Display(TypedDict):
|
|
useRemainingTime: bool
|
|
|
|
class Server(TypedDict, total = False):
|
|
name: str
|
|
blacklistedLibraries: list[str]
|
|
whitelistedLibraries: list[str]
|
|
|
|
class User(TypedDict):
|
|
token: str
|
|
servers: list[Server]
|
|
|
|
class Config(TypedDict):
|
|
logging: Logging
|
|
display: Display
|
|
users: list[User]
|