fix toggling of ai instance discord properties

This commit is contained in:
wea_ondara
2024-05-27 19:30:10 +02:00
parent 916495479b
commit e356717fb8
4 changed files with 71 additions and 19 deletions

View File

@@ -162,6 +162,22 @@ const models: TsoaRoute.Models = {
"additionalProperties": false,
},
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
"DiscordOnlineVmV1": {
"dataType": "refObject",
"properties": {
"online": {"dataType":"boolean","required":true},
},
"additionalProperties": false,
},
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
"DiscordReactoToChatVmV1": {
"dataType": "refObject",
"properties": {
"reactToChat": {"dataType":"boolean","required":true},
},
"additionalProperties": false,
},
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
};
const templateService = new ExpressTemplateService(models, {"noImplicitAdditionalProperties":"throw-on-extras","bodyCoercion":true});
@@ -857,7 +873,7 @@ export function RegisterRoutes(app: Router) {
async function AiInstanceController_discordOnline(request: ExRequest, response: ExResponse, next: any) {
const args: Record<string, TsoaRoute.ParameterSchema> = {
id: {"in":"path","name":"id","required":true,"ref":"UUID"},
body: {"in":"body","name":"body","required":true,"dataType":"boolean"},
body: {"in":"body","name":"body","required":true,"ref":"DiscordOnlineVmV1"},
};
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
@@ -893,7 +909,7 @@ export function RegisterRoutes(app: Router) {
async function AiInstanceController_discordReactToChat(request: ExRequest, response: ExResponse, next: any) {
const args: Record<string, TsoaRoute.ParameterSchema> = {
id: {"in":"path","name":"id","required":true,"ref":"UUID"},
body: {"in":"body","name":"body","required":true,"dataType":"boolean"},
body: {"in":"body","name":"body","required":true,"ref":"DiscordReactoToChatVmV1"},
};
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa