This commit is contained in:
11
src/apps/users/v1/schema.py
Normal file
11
src/apps/users/v1/schema.py
Normal file
@ -0,0 +1,11 @@
|
||||
from typing import TypedDict
|
||||
|
||||
|
||||
class Notification(TypedDict):
|
||||
id: int
|
||||
title: str
|
||||
description: str
|
||||
|
||||
|
||||
class Notifications(TypedDict):
|
||||
notifications: list[Notification]
|
||||
Reference in New Issue
Block a user