feat(storage): add storage backend management API and UI enhancements
Implement a comprehensive API for managing storage backends, including endpoints for listing, creating, updating, and deleting storage instances. Enhance the UI to support multi-instance configurations, allowing users to manage multiple storage types effectively. Update localization files for new storage backend features and improve error handling for connectivity tests. This update also includes detailed documentation for the storage backend API.
This commit is contained in:
@@ -1237,6 +1237,49 @@ export default {
|
||||
paddleocrVlEndpointHint: "填写 PaddleOCR-VL 完整服务(pipeline)地址,无需 /layout-parsing 后缀",
|
||||
paddleocrVlCloudTokenPlaceholder: "PaddleOCR-VL 飞桨星河社区 Token",
|
||||
},
|
||||
storageBackend: {
|
||||
description: "管理文件与图片使用的存储实例;同一种类型可以配置多个实例。",
|
||||
empty: "尚未配置存储实例",
|
||||
defaultTag: "默认",
|
||||
add: "添加存储实例",
|
||||
editTitle: "编辑存储实例",
|
||||
createTitle: "添加存储实例",
|
||||
editSubtitle: "修改此存储实例的连接配置。",
|
||||
createSubtitle: "为文件与图片新增一个存储实例。",
|
||||
basicSection: "基本信息",
|
||||
nameLabel: "名称",
|
||||
namePlaceholder: "例如:生产 COS、归档 COS",
|
||||
providerLabel: "存储类型",
|
||||
modeLabel: "部署模式",
|
||||
modeRemote: "远程实例",
|
||||
modeEnv: "环境变量",
|
||||
connectionSection: "连接配置",
|
||||
optionalPlaceholder: "可选",
|
||||
advancedSection: "高级选项",
|
||||
pathPrefixLabel: "路径前缀",
|
||||
useSslDesc: "使用 HTTPS 访问 MinIO",
|
||||
forcePathStyleDesc: "使用 Path Style",
|
||||
useTempBucketDesc: "使用临时桶",
|
||||
tempBucketLabel: "临时桶",
|
||||
tempBucketPlaceholder: "可选,用于临时文件",
|
||||
tempRegionLabel: "临时桶 Region",
|
||||
tempRegionPlaceholder: "留空时使用主 Region",
|
||||
testConnection: "测试连接",
|
||||
localStorage: "本地存储",
|
||||
setDefault: "设为默认",
|
||||
edit: "编辑",
|
||||
delete: "删除",
|
||||
testSuccess: "连接成功",
|
||||
testFailed: "连接失败",
|
||||
nameRequired: "请输入名称",
|
||||
saveSuccess: "保存成功",
|
||||
saveFailed: "保存失败",
|
||||
defaultUpdated: "默认存储已更新",
|
||||
deleteTitle: "删除存储实例",
|
||||
deleteConfirm: "确定删除“{name}”吗?",
|
||||
deleted: "已删除",
|
||||
deleteFailed: "删除失败",
|
||||
},
|
||||
storage: {
|
||||
title: "存储引擎",
|
||||
description: "配置文档与图片的存储方式。此处设置各引擎参数,知识库中仅选择使用哪个引擎。",
|
||||
@@ -5352,6 +5395,13 @@ export default {
|
||||
storage: {
|
||||
title: "存储引擎",
|
||||
description: "选择文件存储引擎,影响文档上传存储和文档中图片的存储方式。参数在全局设置中配置。",
|
||||
selectDescription: "选择此知识库绑定的具体存储实例。",
|
||||
defaultTag: "默认",
|
||||
instanceLabel: "存储实例",
|
||||
instanceDesc: "同一种存储类型可以配置多个不同 Endpoint、Bucket 或凭据的实例。",
|
||||
migrateHint: "知识库中已有文件,需通过存储迁移流程才能更换实例。",
|
||||
manageInstances: "管理存储实例",
|
||||
localStorage: "本地存储",
|
||||
loading: "加载中...",
|
||||
engineLabel: "存储引擎",
|
||||
engineDesc: "选择该知识库使用的存储引擎,需在全局设置中已配置对应引擎。",
|
||||
|
||||
Reference in New Issue
Block a user