dsh-config-manager 0.1.79 → 0.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +1 -0
- package/lib/client.js +586 -533
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/sync/ancestor.d.ts +22 -0
- package/lib/sync/ancestor.js +66 -2
- package/lib/sync/gist/gist-transport.d.ts +8 -5
- package/lib/sync/gist/gist-transport.js +8 -30
- package/lib/sync/gist/messages.d.ts +0 -1
- package/lib/sync/gist/messages.js +1 -3
- package/lib/sync/s3/sigv4.js +11 -2
- package/lib/sync/sync-engine.d.ts +19 -4
- package/lib/sync/sync-engine.js +64 -21
- package/lib/ui/i18n.d.ts +1 -0
- package/lib/ui/i18n.js +2 -0
- package/package.json +1 -1
- package/src/client/common/api-base.test.ts +36 -0
- package/src/client/common/http.test.ts +12 -1
- package/src/client/common/http.ts +8 -2
- package/src/client/common/routes.ts +37 -3
- package/src/client/market/market-api.test.ts +3 -2
- package/src/client/sync/MergeModal.tsx +2 -1
- package/src/client/sync/MergePreviewView.tsx +1 -1
- package/src/client/sync/merge-view.test.ts +19 -5
- package/src/client/sync/merge-view.ts +34 -7
- package/src/client/sync/sync-api.test.ts +5 -3
- package/src/index.ts +1 -1
- package/src/sync/ancestor.ts +76 -2
- package/src/sync/gist/gist-conditional-write.test.ts +30 -50
- package/src/sync/gist/gist-transport.ts +13 -31
- package/src/sync/gist/messages.ts +1 -3
- package/src/sync/s3/s3-transport.test.ts +2 -1
- package/src/sync/s3/sigv4.test.ts +4 -1
- package/src/sync/s3/sigv4.ts +11 -2
- package/src/sync/sync-engine.test.ts +31 -19
- package/src/sync/sync-engine.ts +67 -21
- package/src/ui/i18n.ts +2 -0
package/lib/client.d.ts
CHANGED
|
@@ -1546,6 +1546,7 @@ declare const uiZh: {
|
|
|
1546
1546
|
readonly 'report.unit.notes': '条说明';
|
|
1547
1547
|
readonly 'report.action.done': '完成';
|
|
1548
1548
|
readonly 'error.notMounted': 'config-manager 服务未挂载(插件未加载):请确认 profile 中已安装 dsh-config-manager 并重启 DSH';
|
|
1549
|
+
readonly 'error.apiPathMissed': '接口路径未命中(HTTP {status}):请求前缀为 {base},但该路径没有返回 JSON —— 若你经反向代理挂在子路径下,请检查代理是否转发了这个前缀(issue #108)';
|
|
1549
1550
|
readonly 'error.httpInvalidJson': 'HTTP {status}: 无效的 JSON 响应';
|
|
1550
1551
|
readonly 'error.fallback': '操作失败';
|
|
1551
1552
|
readonly 'error.requestTimeout': '请求超时({seconds} 秒):未在时限内收到宿主响应,请重试';
|