Implement FCM [WIP]

This commit is contained in:
2024-05-31 15:22:27 +02:00
parent 0ad82bb248
commit dfcee5dfc7
33 changed files with 665 additions and 337 deletions

View File

@@ -3037,7 +3037,7 @@
"type": "string"
},
"client_type": {
"type": "string"
"$ref": "#/definitions/models.ClientType"
},
"fcm_token": {
"type": "string"
@@ -3082,7 +3082,7 @@
"type": "string"
},
"client_type": {
"type": "string"
"$ref": "#/definitions/models.ClientType"
},
"fcm_token": {
"type": "string"
@@ -3653,11 +3653,17 @@
"type": "string",
"enum": [
"ANDROID",
"IOS"
"IOS",
"LINUX",
"MACOS",
"WINDOWS"
],
"x-enum-varnames": [
"ClientTypeAndroid",
"ClientTypeIOS"
"ClientTypeIOS",
"ClientTypeLinux",
"ClientTypeMacOS",
"ClientTypeWindows"
]
},
"models.CompatMessage": {

View File

@@ -128,7 +128,7 @@ definitions:
agent_version:
type: string
client_type:
type: string
$ref: '#/definitions/models.ClientType'
fcm_token:
type: string
required:
@@ -162,7 +162,7 @@ definitions:
agent_version:
type: string
client_type:
type: string
$ref: '#/definitions/models.ClientType'
fcm_token:
type: string
no_client:
@@ -538,10 +538,16 @@ definitions:
enum:
- ANDROID
- IOS
- LINUX
- MACOS
- WINDOWS
type: string
x-enum-varnames:
- ClientTypeAndroid
- ClientTypeIOS
- ClientTypeLinux
- ClientTypeMacOS
- ClientTypeWindows
models.CompatMessage:
properties:
body: