Skip to content

Commit e81a4f5

Browse files
committed
feat: add current device model
1 parent b40e81c commit e81a4f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/spotify/schemas.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ class Device(BaseModel):
1212
volume_percent: int
1313

1414

15+
class CurrentDevice(BaseModel):
16+
device: Device
17+
index: int
18+
total: int
19+
20+
1521
class Track(BaseModel):
1622
id: str
1723

0 commit comments

Comments
 (0)