chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -13,20 +13,20 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/** bot详情页来源:目前只有bot和explore列表 */
|
||||
|
||||
/** Bot details page source: currently only bot and explore list */
|
||||
export enum BotPageFromEnum {
|
||||
Bot = 'bot', //bot列表
|
||||
Explore = 'explore', //explore列表
|
||||
Bot = 'bot', //bot list
|
||||
Explore = 'explore', //Explore List
|
||||
Store = 'store',
|
||||
Template = 'template',
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- 不得不 any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- had to any
|
||||
export type Obj = Record<string, any>;
|
||||
|
||||
/**
|
||||
* 展示完整类型
|
||||
* Show the full type
|
||||
*
|
||||
* @example
|
||||
* type Intersection = { a: string } & { b: number };
|
||||
@@ -38,7 +38,7 @@ export type Expand<T extends Obj> = T extends infer U
|
||||
: never;
|
||||
|
||||
/**
|
||||
* 只对特定字段做 required,常用于修正服务端类型声明错误
|
||||
* Required only for specific fields, often used to correct server level type declaration errors
|
||||
*
|
||||
* @example
|
||||
* interface Agent {
|
||||
|
||||
@@ -33,7 +33,7 @@ declare namespace DataItem {
|
||||
interface UserInfo {
|
||||
app_id: number;
|
||||
/**
|
||||
* @deprecated 会因为溢出丢失精度,使用 user_id_str
|
||||
* @Deprecated will lose precision due to overflow, use user_id_str
|
||||
*/
|
||||
user_id: number;
|
||||
user_id_str: string;
|
||||
@@ -109,7 +109,7 @@ declare namespace DataItem {
|
||||
name?: string;
|
||||
[key: string]: unknown;
|
||||
}; // Record<string, unknown>;
|
||||
// int值。1审核中,2审核通过,3审核不通过
|
||||
// int value. 1 During the review, 2 passed the review, and 3 failed the review.
|
||||
audit_status: 1 | 2 | 3;
|
||||
details: Record<string, unknown>;
|
||||
is_auditing: boolean;
|
||||
@@ -119,7 +119,7 @@ declare namespace DataItem {
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送验证码的返回数据结构
|
||||
* The return data structure for sending the verification code
|
||||
*/
|
||||
interface SendCodeData {
|
||||
mobile: string;
|
||||
|
||||
@@ -28,7 +28,7 @@ export interface DynamicParams extends Record<string, string | undefined> {
|
||||
mock_set_id?: string;
|
||||
conversation_id: string;
|
||||
commit_version?: string;
|
||||
/** 社会场景 */
|
||||
/** social scene */
|
||||
scene_id?: string;
|
||||
post_id?: string;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ declare type MicroComponentsMapItem = {
|
||||
|
||||
interface Window {
|
||||
/**
|
||||
* IDE plugin iframe 中挂载的用于卸载的方法
|
||||
* IDE plugin iframe mount method for unmounting
|
||||
*/
|
||||
editorDispose?: any;
|
||||
MonacoEnvironment?: any;
|
||||
|
||||
Reference in New Issue
Block a user