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

@@ -23,7 +23,7 @@ interface SimpleParamTypeAlias {
children?: SimpleParamTypeAlias[];
}
// 使用 zod 创建校验规则,只校验 name description
// Use zod to create validation rules, only name and description are validated
const createParameterValueSchema = (): ZodSchema<SimpleParamTypeAlias> =>
z.lazy(() =>
z.object({
@@ -34,7 +34,7 @@ const createParameterValueSchema = (): ZodSchema<SimpleParamTypeAlias> =>
const parametersValueSchema = z.array(createParameterValueSchema());
// 定义 validValue 函数,使用 zod 进行校验
// Define the validValue function and use zod for verification
export default function validValue(
values: ParameterValue[],
): ParametersError[] | undefined {