Completed notification functionality

Minor code cleanup
This commit is contained in:
Isaac Abadi
2022-11-25 17:47:30 -05:00
parent 4583e3e5d4
commit b51f45c704
17 changed files with 232 additions and 99 deletions

View File

@@ -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