mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-24 04:03:19 +03:00
Completed notification functionality
Minor code cleanup
This commit is contained in:
@@ -2764,27 +2764,30 @@ components:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
text:
|
||||
type: string
|
||||
$ref: '#/components/schemas/NotificationType'
|
||||
uid:
|
||||
type: string
|
||||
user_uid:
|
||||
type: string
|
||||
action:
|
||||
$ref: '#/components/schemas/NotificationAction'
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/NotificationAction'
|
||||
read:
|
||||
type: boolean
|
||||
data:
|
||||
type: object
|
||||
NotificationAction:
|
||||
required:
|
||||
- type
|
||||
- icon
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
icon:
|
||||
type: string
|
||||
type: string
|
||||
enum:
|
||||
- play
|
||||
- retry_download
|
||||
- view_download_error
|
||||
NotificationType:
|
||||
type: string
|
||||
enum:
|
||||
- download_complete
|
||||
- download_error
|
||||
BaseChangePermissionsRequest:
|
||||
required:
|
||||
- permission
|
||||
|
||||
Reference in New Issue
Block a user