refactor(api): ♻️ Replace old client library with new version (@versia/client)

This commit is contained in:
Jesse Wierzbinski 2024-08-26 19:40:15 +02:00
parent 7708bff31f
commit fbe86043b7
No known key found for this signature in database
45 changed files with 51 additions and 54 deletions

View file

@ -323,8 +323,8 @@ avatars = []
# Bridges must be hosted separately from the main Versia Server process
[federation.bridge]
enabled = false
# Only lysand-ap exists for now
software = "lysand-ap"
# Only versia-ap exists for now
software = "versia-ap"
# If this is empty, any bridge with the correct token
# will be able to send data to your instance
allowed_ips = ["192.168.1.0/24"]

View file

@ -3346,7 +3346,7 @@
"anyOf": [
{
"type": "string",
"enum": ["lysand-ap"]
"enum": ["versia-ap"]
},
{
"type": "string"
@ -3372,7 +3372,7 @@
"additionalProperties": false,
"default": {
"enabled": false,
"software": "lysand-ap",
"software": "versia-ap",
"allowed_ips": [],
"token": ""
}
@ -3396,7 +3396,7 @@
},
"bridge": {
"enabled": false,
"software": "lysand-ap",
"software": "versia-ap",
"allowed_ips": [],
"token": ""
}