Skip to content

zentao-api / ZentaoProfileConfig

Interface: ZentaoProfileConfig

保存到本地 profile 中的客户端偏好配置。

Indexable

[key: string]: unknown

允许上层应用保存自定义配置。

Properties

PropertyTypeDescription
batchFailFast?boolean是否在批量操作出错时停止执行后续操作。
defaultOutputFormat?"markdown" | "json" | "raw"默认输出格式,供 CLI 等上层应用复用。
defaultRecPerPage?number默认分页大小。
htmlToMarkdown?boolean是否将对象属性中的 HTML 转换为 Markdown。
insecure?boolean是否跳过 TLS 证书验证;仅 Node.js 运行时支持。
jsonPretty?booleanJSON 格式化时是否添加缩进。
lang?string界面语言。
pagers?Record<string, number>模块级分页偏好。
timeout?number请求超时时间,单位毫秒。

Released under the MIT License.