fix: resolve TypeScript type-check errors

- Add cacheHitRate to ProxyMetricsService, handler, and router schema
- Fix StatCard to support string values and purple accent
- Fix duplicate tabs keys in i18n translations (EN/ZH/RU)
- Add missing cacheStatus translations across all languages
This commit is contained in:
Gemini Nexus Bot committed 2026-04-23 02:50:09 -03:00
1 parent 0be7d7fea2
commit fd1b2b8bc0
250 files changed
+49653 -60

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
#pragma once
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
#ifdef __cplusplus
extern "C" {
#endif
// functions
/********************************************************************
AppFreeCommandLineArgs - frees argv from AppParseCommandLine.
********************************************************************/
void DAPI AppFreeCommandLineArgs(
__in LPWSTR* argv
);
void DAPI AppInitialize(
__in_ecount(cSafelyLoadSystemDlls) LPCWSTR rgsczSafelyLoadSystemDlls[],
__in DWORD cSafelyLoadSystemDlls
);
/********************************************************************
AppInitializeUnsafe - initializes without the full standard safety
precautions for an application.
********************************************************************/
void DAPI AppInitializeUnsafe();
/********************************************************************
AppParseCommandLine - parses the command line using CommandLineToArgvW.
The caller must free the value of pArgv on success
by calling AppFreeCommandLineArgs.
********************************************************************/
DAPI_(HRESULT) AppParseCommandLine(
__in LPCWSTR wzCommandLine,
__in int* argc,
__in LPWSTR** pArgv
);
#ifdef __cplusplus
}
#endif