|
1 | 1 | /* Options: |
2 | | -Date: 2025-11-05 18:02:25 |
| 2 | +Date: 2025-11-06 11:47:32 |
3 | 3 | Version: 8.91 |
4 | 4 | Tip: To override a DTO option, remove "//" prefix before updating |
5 | 5 | BaseUrl: http://localhost:20000 |
@@ -1375,26 +1375,8 @@ export class AdminDatabaseInfo { |
1375 | 1375 | /** @type {{ [index:string]: string; }} */ |
1376 | 1376 | meta; |
1377 | 1377 | } |
1378 | | -export class AiChatAnalytics { |
1379 | | - /** @param {{months?:string[]}} [init] */ |
1380 | | - constructor(init) { Object.assign(this, init) } |
1381 | | - /** @type {string[]} */ |
1382 | | - months; |
1383 | | -} |
1384 | | -export class AdminChatInfo { |
1385 | | - /** @param {{accessRole?:string,defaultLimit?:number,analytics?:AiChatAnalytics,meta?:{ [index:string]: string; }}} [init] */ |
1386 | | - constructor(init) { Object.assign(this, init) } |
1387 | | - /** @type {string} */ |
1388 | | - accessRole; |
1389 | | - /** @type {number} */ |
1390 | | - defaultLimit; |
1391 | | - /** @type {AiChatAnalytics} */ |
1392 | | - analytics; |
1393 | | - /** @type {{ [index:string]: string; }} */ |
1394 | | - meta; |
1395 | | -} |
1396 | 1378 | export class PluginInfo { |
1397 | | - /** @param {{loaded?:string[],auth?:AuthInfo,apiKey?:ApiKeyInfo,commands?:CommandsInfo,autoQuery?:AutoQueryInfo,validation?:ValidationInfo,sharpPages?:SharpPagesInfo,requestLogs?:RequestLogsInfo,profiling?:ProfilingInfo,filesUpload?:FilesUploadInfo,adminUsers?:AdminUsersInfo,adminIdentityUsers?:AdminIdentityUsersInfo,adminRedis?:AdminRedisInfo,adminDatabase?:AdminDatabaseInfo,adminChat?:AdminChatInfo,meta?:{ [index:string]: string; }}} [init] */ |
| 1379 | + /** @param {{loaded?:string[],auth?:AuthInfo,apiKey?:ApiKeyInfo,commands?:CommandsInfo,autoQuery?:AutoQueryInfo,validation?:ValidationInfo,sharpPages?:SharpPagesInfo,requestLogs?:RequestLogsInfo,profiling?:ProfilingInfo,filesUpload?:FilesUploadInfo,adminUsers?:AdminUsersInfo,adminIdentityUsers?:AdminIdentityUsersInfo,adminRedis?:AdminRedisInfo,adminDatabase?:AdminDatabaseInfo,meta?:{ [index:string]: string; }}} [init] */ |
1398 | 1380 | constructor(init) { Object.assign(this, init) } |
1399 | 1381 | /** @type {string[]} */ |
1400 | 1382 | loaded; |
@@ -1424,8 +1406,6 @@ export class PluginInfo { |
1424 | 1406 | adminRedis; |
1425 | 1407 | /** @type {AdminDatabaseInfo} */ |
1426 | 1408 | adminDatabase; |
1427 | | - /** @type {AdminChatInfo} */ |
1428 | | - adminChat; |
1429 | 1409 | /** @type {{ [index:string]: string; }} */ |
1430 | 1410 | meta; |
1431 | 1411 | } |
@@ -2366,10 +2346,12 @@ export class ChatResponse { |
2366 | 2346 | responseStatus; |
2367 | 2347 | } |
2368 | 2348 | export class AdminMonthlyChatCompletionAnalyticsResponse { |
2369 | | - /** @param {{month?:string,modelStats?:ChatCompletionStat[],providerStats?:ChatCompletionStat[],dailyStats?:ChatCompletionStat[]}} [init] */ |
| 2349 | + /** @param {{month?:string,availableMonths?:string[],modelStats?:ChatCompletionStat[],providerStats?:ChatCompletionStat[],dailyStats?:ChatCompletionStat[]}} [init] */ |
2370 | 2350 | constructor(init) { Object.assign(this, init) } |
2371 | 2351 | /** @type {string} */ |
2372 | 2352 | month; |
| 2353 | + /** @type {string[]} */ |
| 2354 | + availableMonths = []; |
2373 | 2355 | /** @type {ChatCompletionStat[]} */ |
2374 | 2356 | modelStats = []; |
2375 | 2357 | /** @type {ChatCompletionStat[]} */ |
|
0 commit comments