1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-23 17:35:08 +00:00

Finish all user routes

This commit is contained in:
RGBCube 2022-06-28 16:05:01 +03:00
parent 5d1ce5b572
commit ba8c827bc1
3 changed files with 327 additions and 41 deletions

View file

@ -6,13 +6,28 @@ if TYPE_CHECKING:
from typing_extensions import NotRequired
class LicenseSimple(TypedDict):
key: str
name: str
url: Optional[str]
spdx_id: Optional[str]
class SimpleUser(TypedDict):
name: NotRequired[Optional[str]]
email: NotRequired[Optional[str]]
login: str
id: int
node_id: str
html_url: NotRequired[str]
avatar_url: str
gravatar_id: Optional[str]
url: str
html_url: str
followers_url: str
following_url: str
gists_url: str
starred_url: str
subscriptions_url: str
organizations_url: str
repos_url: str
events_url: str
received_events_url: str
type: str
site_admin: bool
starred_at: NotRequired[str]
GeneratedObjectResult = List[LicenseSimple]
GeneratedObject = List[SimpleUser]