summary refs log tree commit diff
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-12-20 02:48:34 -0500
committerPuyodead1 <puyodead@proton.me>2023-12-20 02:48:34 -0500
commit836a72e57701cf3800ad37354e38c6308269d92f (patch)
treedcf2133fca48131200a050d9b0c761f2f5a7a476
parentupdated updates route for spacebar client (diff)
downloadserver-836a72e57701cf3800ad37354e38c6308269d92f.tar.xz
Update schemas.json
-rw-r--r--assets/schemas.json120
1 files changed, 70 insertions, 50 deletions
diff --git a/assets/schemas.json b/assets/schemas.json

index a0ab1697..fae08efb 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -478205,16 +478205,34 @@ "UpdatesResponse": { "type": "object", "properties": { + "version": { + "description": "Version to install.\nTauri Specific", + "type": "string" + }, "name": { + "description": "The latest host version.", "type": "string" }, "pub_date": { + "description": "When the update was published", "type": "string" }, "url": { - "type": "string" + "description": "The URL to the corresponding installer.\nOnly provided if auto updates are available for the selected platform.", + "type": [ + "null", + "string" + ] }, "notes": { + "description": "Any extra notes for the update\nOnly provided if auto updates are available for the selected platform.", + "type": [ + "null", + "string" + ] + }, + "signature": { + "description": "The signature of the update.\nTauri Specific", "type": [ "null", "string" @@ -478226,7 +478244,9 @@ "name", "notes", "pub_date", - "url" + "signature", + "url", + "version" ], "definitions": { "ChannelPermissionOverwriteType": { @@ -490966,29 +490986,35 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserRelationshipsResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/RelationshipType" - }, - "nickname": { - "type": "null" + "UserRelationsResponse": { + "type": "array", + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "public_flags": { + "type": "integer" + } }, - "user": { - "$ref": "#/definitions/PublicUser" - } + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] }, - "additionalProperties": false, - "required": [ - "id", - "nickname", - "type", - "user" - ], "definitions": { "ChannelPermissionOverwriteType": { "enum": [ @@ -495185,35 +495211,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserRelationsResponse": { - "type": "array", - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "avatar": { - "type": "string" - }, - "public_flags": { - "type": "integer" - } + "UserRelationshipsResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "discriminator", - "id", - "public_flags", - "username" - ] + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "nickname": { + "type": "null" + }, + "user": { + "$ref": "#/definitions/PublicUser" + } }, + "additionalProperties": false, + "required": [ + "id", + "nickname", + "type", + "user" + ], "definitions": { "ChannelPermissionOverwriteType": { "enum": [