chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -18,7 +18,7 @@
interface Window {
/**
* tea 实例
* Tea example
*/
Tea?: any;
}

View File

@@ -26,8 +26,8 @@ export type SpaceRequest<T> = Omit<T, 'space_id'>;
type D = DeveloperApiService<BotAPIRequestConfig>;
// 这些是暴露出来需要被调用的函数列表
// 新增函数请在该列表后面追加即可
// This is the exposed list of functions that need to be called
// To add new functions, please add them after the list.
type ExportFunctions =
| 'GetPlaygroundPluginList'
| 'GetDraftBotList'
@@ -85,7 +85,7 @@ type ExportFunctions =
type ExportService = {
[K in ExportFunctions]: (
// 这里主要是为了 omit space_id 这个参数,而做的二次封装
// Here is mainly to omit the space_id this parameter, and do the secondary encapsulation
params: SpaceRequest<Parameters<D[K]>[0]>,
options?: Parameters<D[K]>[1],
) => ReturnType<D[K]>;

View File

@@ -60,7 +60,7 @@ type ExportSpaceService = {
const getSpaceId = () => useSpaceStore.getState().getSpaceId();
// 需要注入store space id的api
// API that needs to store space id
// eslint-disable-next-line @typescript-eslint/naming-convention
export const SpaceApiV2 = new Proxy(Object.create(null), {
get(_, funcName: ApiType) {