ysk-server-shared 1.1.20 → 1.1.22

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.
Files changed (78) hide show
  1. package/LICENSE +21 -0
  2. package/dist/browser.d.ts +2 -0
  3. package/dist/browser.d.ts.map +1 -1
  4. package/dist/browser.js +2 -0
  5. package/dist/browser.js.map +1 -1
  6. package/dist/index.d.ts +2 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +2 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/legal/en.d.ts +3 -0
  11. package/dist/legal/en.d.ts.map +1 -0
  12. package/dist/legal/en.js +545 -0
  13. package/dist/legal/en.js.map +1 -0
  14. package/dist/legal/index.d.ts +8 -0
  15. package/dist/legal/index.d.ts.map +1 -0
  16. package/dist/legal/index.js +16 -0
  17. package/dist/legal/index.js.map +1 -0
  18. package/dist/legal/types.d.ts +49 -0
  19. package/dist/legal/types.d.ts.map +1 -0
  20. package/dist/legal/types.js +103 -0
  21. package/dist/legal/types.js.map +1 -0
  22. package/dist/legal/zh-HK.d.ts +3 -0
  23. package/dist/legal/zh-HK.d.ts.map +1 -0
  24. package/dist/legal/zh-HK.js +545 -0
  25. package/dist/legal/zh-HK.js.map +1 -0
  26. package/locales/ar/legal.json +16 -0
  27. package/locales/ar/translation.json +31 -3
  28. package/locales/ar/updates.json +4 -1
  29. package/locales/ar/validators.json +11 -2
  30. package/locales/bn/legal.json +16 -0
  31. package/locales/bn/translation.json +31 -3
  32. package/locales/bn/updates.json +4 -1
  33. package/locales/bn/validators.json +11 -2
  34. package/locales/en/legal.json +16 -0
  35. package/locales/en/translation.json +29 -1
  36. package/locales/en/updates.json +3 -0
  37. package/locales/en/validators.json +10 -1
  38. package/locales/es/legal.json +16 -0
  39. package/locales/es/translation.json +31 -3
  40. package/locales/es/updates.json +4 -1
  41. package/locales/es/validators.json +11 -2
  42. package/locales/fr/legal.json +16 -0
  43. package/locales/fr/translation.json +31 -3
  44. package/locales/fr/updates.json +4 -1
  45. package/locales/fr/validators.json +11 -2
  46. package/locales/hi/legal.json +16 -0
  47. package/locales/hi/translation.json +31 -3
  48. package/locales/hi/updates.json +4 -1
  49. package/locales/hi/validators.json +11 -2
  50. package/locales/id/legal.json +16 -0
  51. package/locales/id/translation.json +31 -3
  52. package/locales/id/updates.json +4 -1
  53. package/locales/id/validators.json +11 -2
  54. package/locales/ja/legal.json +16 -0
  55. package/locales/ja/translation.json +31 -3
  56. package/locales/ja/updates.json +4 -1
  57. package/locales/ja/validators.json +11 -2
  58. package/locales/ko/legal.json +16 -0
  59. package/locales/ko/translation.json +31 -3
  60. package/locales/ko/updates.json +4 -1
  61. package/locales/ko/validators.json +11 -2
  62. package/locales/pt/legal.json +16 -0
  63. package/locales/pt/translation.json +31 -3
  64. package/locales/pt/updates.json +4 -1
  65. package/locales/pt/validators.json +11 -2
  66. package/locales/ur/legal.json +16 -0
  67. package/locales/ur/translation.json +31 -3
  68. package/locales/ur/updates.json +4 -1
  69. package/locales/ur/validators.json +11 -2
  70. package/locales/zh-CN/legal.json +16 -0
  71. package/locales/zh-CN/translation.json +31 -3
  72. package/locales/zh-CN/updates.json +4 -1
  73. package/locales/zh-CN/validators.json +11 -2
  74. package/locales/zh-HK/legal.json +16 -0
  75. package/locales/zh-HK/translation.json +29 -1
  76. package/locales/zh-HK/updates.json +3 -0
  77. package/locales/zh-HK/validators.json +10 -1
  78. package/package.json +1 -1
@@ -5106,6 +5106,22 @@
5106
5106
  "clearSessionConfirm": "This discards the resume snapshot for the previous browse session. You cannot restore those tabs afterwards.",
5107
5107
  "clearCookiesConfirm": "This clears cookies stored on the host for this browse session. Sites that were signed in will need to be signed in again."
5108
5108
  },
5109
+ "legal": {
5110
+ "hubTitle": "法律文件",
5111
+ "hubSub": "YSK Server 的使用条款、隐私政策与免责声明",
5112
+ "terms": "使用条款",
5113
+ "privacy": "隐私政策",
5114
+ "disclaimer": "免责声明",
5115
+ "updated": "最后更新日期:{{date}}",
5116
+ "englishPrevails": "正式语言为英文及香港书面中文。如有歧义,以英文为准。",
5117
+ "notOfficialLocale": "你的界面语言并非正式法律语言。除非你切换,以下具约束力的文本为英文。",
5118
+ "officialLang": "正式文本",
5119
+ "officialEn": "English",
5120
+ "officialZh": "繁體中文(香港)",
5121
+ "signIn": "登录",
5122
+ "mitNote": "源代码以 MIT 许可。本页为额外使用条件。",
5123
+ "backToIndex": "全部法律文件"
5124
+ },
5109
5125
  "listToolbar": {
5110
5126
  "searchPlaceholder": "搜索…",
5111
5127
  "searchAria": "搜索列表",
@@ -13371,7 +13387,10 @@
13371
13387
  "riskUnevaluated": "Not evaluated — run Scan + OSV",
13372
13388
  "footerNewVersion": "New version {{version}}",
13373
13389
  "applySelfConfirmTitle": "Apply panel update?",
13374
- "applySelfConfirmDesc": "Install {{from}} → {{to}} and restart the panel service. There is no dry-run."
13390
+ "applySelfConfirmDesc": "Install {{from}} → {{to}} and restart the panel service. There is no dry-run.",
13391
+ "reloadUi": "Reload UI",
13392
+ "reloadUiTitle": "Reload the panel UI?",
13393
+ "reloadUiDesc": "The panel service is {{version}}. This tab still has the previous frontend until you reload. Unsaved fields on this page will be lost."
13375
13394
  },
13376
13395
  "users": {
13377
13396
  "userCount": "{{count}} 用户",
@@ -13771,7 +13790,8 @@
13771
13790
  "pruned": "Keeps recent history only (Pruned). Smaller than archive, still usable for RPC.",
13772
13791
  "validator-ready": "Sized for a staking validator. Needs more disk than Minimal.",
13773
13792
  "rpc": "Public RPC node — not a staking validator."
13774
- }
13793
+ },
13794
+ "lowMemAcked": "可用内存低于此链的内存上限加 1 GiB 预留。你已确认仍要建立;节点可能因内存不足而中止。"
13775
13795
  },
13776
13796
  "actions": {
13777
13797
  "detail": "详情",
@@ -14172,7 +14192,15 @@
14172
14192
  "detachTitle": "Detach producer keys from {{id}}?",
14173
14193
  "detachDesc": "Hot keys are deleted from this host. Compose goes back to relay.",
14174
14194
  "detachC1": "The node will no longer produce blocks.",
14175
- "mainnet": "Mainnet: I understand this host will hold hot keys and sign blocks."
14195
+ "mainnet": "Mainnet: I understand this host will hold hot keys and sign blocks.",
14196
+ "presentShort": "On host",
14197
+ "queuedShort": "Ready",
14198
+ "queued": "Selected · {{name}}",
14199
+ "fileHint": "Typical name {{file}}",
14200
+ "dropOrBrowse": "Drop {{file}} here or browse",
14201
+ "dropping": "Drop to attach {{label}}",
14202
+ "browse": "Browse",
14203
+ "clearFile": "Remove"
14176
14204
  }
14177
14205
  },
14178
14206
  "vnc": {
@@ -238,5 +238,8 @@
238
238
  "riskUnevaluated": "Not evaluated — run Scan + OSV",
239
239
  "footerNewVersion": "New version {{version}}",
240
240
  "applySelfConfirmTitle": "Apply panel update?",
241
- "applySelfConfirmDesc": "Install {{from}} → {{to}} and restart the panel service. There is no dry-run."
241
+ "applySelfConfirmDesc": "Install {{from}} → {{to}} and restart the panel service. There is no dry-run.",
242
+ "reloadUi": "Reload UI",
243
+ "reloadUiTitle": "Reload the panel UI?",
244
+ "reloadUiDesc": "The panel service is {{version}}. This tab still has the previous frontend until you reload. Unsaved fields on this page will be lost."
242
245
  }
@@ -255,7 +255,8 @@
255
255
  "pruned": "Keeps recent history only (Pruned). Smaller than archive, still usable for RPC.",
256
256
  "validator-ready": "Sized for a staking validator. Needs more disk than Minimal.",
257
257
  "rpc": "Public RPC node — not a staking validator."
258
- }
258
+ },
259
+ "lowMemAcked": "可用内存低于此链的内存上限加 1 GiB 预留。你已确认仍要建立;节点可能因内存不足而中止。"
259
260
  },
260
261
  "actions": {
261
262
  "detail": "详情",
@@ -656,6 +657,14 @@
656
657
  "detachTitle": "Detach producer keys from {{id}}?",
657
658
  "detachDesc": "Hot keys are deleted from this host. Compose goes back to relay.",
658
659
  "detachC1": "The node will no longer produce blocks.",
659
- "mainnet": "Mainnet: I understand this host will hold hot keys and sign blocks."
660
+ "mainnet": "Mainnet: I understand this host will hold hot keys and sign blocks.",
661
+ "presentShort": "On host",
662
+ "queuedShort": "Ready",
663
+ "queued": "Selected · {{name}}",
664
+ "fileHint": "Typical name {{file}}",
665
+ "dropOrBrowse": "Drop {{file}} here or browse",
666
+ "dropping": "Drop to attach {{label}}",
667
+ "browse": "Browse",
668
+ "clearFile": "Remove"
660
669
  }
661
670
  }
@@ -0,0 +1,16 @@
1
+ {
2
+ "hubTitle": "法律文件",
3
+ "hubSub": "YSK Server 的使用條款、私隱政策與免責聲明",
4
+ "terms": "使用條款",
5
+ "privacy": "私隱政策",
6
+ "disclaimer": "免責聲明",
7
+ "updated": "最後更新日期:{{date}}",
8
+ "englishPrevails": "正式語言為英文及香港書面中文。如有歧義,以英文為準。",
9
+ "notOfficialLocale": "你的介面語言並非正式法律語言。除非你切換,以下具約束力的文本為英文。",
10
+ "officialLang": "正式文本",
11
+ "officialEn": "English",
12
+ "officialZh": "繁體中文(香港)",
13
+ "signIn": "登入",
14
+ "mitNote": "原始碼以 MIT 授權。本頁為額外使用條件。",
15
+ "backToIndex": "全部法律文件"
16
+ }
@@ -5106,6 +5106,22 @@
5106
5106
  "settingsDangerDlWarn": "允許經主機瀏覽器下載執行檔與腳本。請確認確實需要。",
5107
5107
  "settingsDangerConfirmTitle": "啟用高風險瀏覽設定?"
5108
5108
  },
5109
+ "legal": {
5110
+ "hubTitle": "法律文件",
5111
+ "hubSub": "YSK Server 的使用條款、私隱政策與免責聲明",
5112
+ "terms": "使用條款",
5113
+ "privacy": "私隱政策",
5114
+ "disclaimer": "免責聲明",
5115
+ "updated": "最後更新日期:{{date}}",
5116
+ "englishPrevails": "正式語言為英文及香港書面中文。如有歧義,以英文為準。",
5117
+ "notOfficialLocale": "你的介面語言並非正式法律語言。除非你切換,以下具約束力的文本為英文。",
5118
+ "officialLang": "正式文本",
5119
+ "officialEn": "English",
5120
+ "officialZh": "繁體中文(香港)",
5121
+ "signIn": "登入",
5122
+ "mitNote": "原始碼以 MIT 授權。本頁為額外使用條件。",
5123
+ "backToIndex": "全部法律文件"
5124
+ },
5109
5125
  "listToolbar": {
5110
5126
  "searchPlaceholder": "搜尋…",
5111
5127
  "searchAria": "搜尋列表",
@@ -13311,6 +13327,9 @@
13311
13327
  "panelRestarting": "面板正在重啟以載入新版本…",
13312
13328
  "panelRestarted": "面板已恢復 · {{version}}",
13313
13329
  "panelRestartWait": "已套用更新。若此頁未重新整理,請數秒後重新載入。",
13330
+ "reloadUi": "重新載入介面",
13331
+ "reloadUiTitle": "重新載入面板介面?",
13332
+ "reloadUiDesc": "面板服務已是 {{version}}。此分頁仍是舊前端,須重新載入才會換成新畫面。此頁未儲存的欄位會消失。",
13314
13333
  "aptCandidate": "套件管理 Candidate(候選版本)",
13315
13334
  "advice": {
13316
13335
  "update": "建議更新",
@@ -13646,7 +13665,7 @@
13646
13665
  "disk": "磁碟"
13647
13666
  },
13648
13667
  "cli": {
13649
- "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings|producer-keys|producer-detach [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--kes-file P] [--vrf-file P] [--opcert-file P] [--accept-low-disk] [--accept-mainnet] [--refresh] [--execute] [--json]"
13668
+ "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings|producer-keys|producer-detach [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--kes-file P] [--vrf-file P] [--opcert-file P] [--accept-low-disk] [--accept-low-mem] [--accept-mainnet] [--refresh] [--execute] [--json]"
13650
13669
  },
13651
13670
  "clients": {
13652
13671
  "el": "執行層客戶端",
@@ -13778,6 +13797,7 @@
13778
13797
  "mainnetWarn": "主網需要大量可用磁碟(ETH 常達 800 GiB 或以上)。建議先用測試網。",
13779
13798
  "mainnetAck": "我明白:主網會用很多磁碟空間。若把這台機器當驗證者,離線或設定錯誤,質押的幣可能被罰走。我仍要建立主網節點。",
13780
13799
  "lowDiskAcked": "可用磁碟低於建議值。你已確認仍要建立;空間不足時同步可能中斷。",
13800
+ "lowMemAcked": "可用記憶體低於此鏈的記憶體上限加 1 GiB 預留。你已確認仍要建立;節點可能因記憶體不足而中止。",
13781
13801
  "heavyWarn": "此鏈負載很重(大量磁碟與高 IOPS)。Solana 主網通常需要 2 TiB 或以上。",
13782
13802
  "memory": "記憶體上限",
13783
13803
  "cpus": "CPU 上限",
@@ -13860,6 +13880,14 @@
13860
13880
  "opcert": "opcert",
13861
13881
  "missing": "未掛上",
13862
13882
  "present": "已掛上 {{fp}}",
13883
+ "presentShort": "已在主機",
13884
+ "queuedShort": "待套用",
13885
+ "queued": "已選 · {{name}}",
13886
+ "fileHint": "常見檔名 {{file}}",
13887
+ "dropOrBrowse": "將 {{file}} 拖放至此,或瀏覽",
13888
+ "dropping": "放開以掛上 {{label}}",
13889
+ "browse": "瀏覽",
13890
+ "clearFile": "移除",
13863
13891
  "choose": "選擇檔案",
13864
13892
  "apply": "套用並以 block producer 重啟",
13865
13893
  "detach": "卸下並改回 relay",
@@ -178,6 +178,9 @@
178
178
  "panelRestarting": "面板正在重啟以載入新版本…",
179
179
  "panelRestarted": "面板已恢復 · {{version}}",
180
180
  "panelRestartWait": "已套用更新。若此頁未重新整理,請數秒後重新載入。",
181
+ "reloadUi": "重新載入介面",
182
+ "reloadUiTitle": "重新載入面板介面?",
183
+ "reloadUiDesc": "面板服務已是 {{version}}。此分頁仍是舊前端,須重新載入才會換成新畫面。此頁未儲存的欄位會消失。",
181
184
  "aptCandidate": "套件管理 Candidate(候選版本)",
182
185
  "advice": {
183
186
  "update": "建議更新",
@@ -130,7 +130,7 @@
130
130
  "disk": "磁碟"
131
131
  },
132
132
  "cli": {
133
- "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings|producer-keys|producer-detach [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--kes-file P] [--vrf-file P] [--opcert-file P] [--accept-low-disk] [--accept-mainnet] [--refresh] [--execute] [--json]"
133
+ "usage": "用法:ysk-server validators list|chains|disk|get|status|logs|create|start|stop|restart|clear|upgrade|set-version|versions|policy|mithril|prune|switch-network|snapshot|compose|settings|producer-keys|producer-detach [--chain C] [--network N] [--profile P] [--el EL] [--cl CL] [--el-tag T] [--cl-tag T] [--node-tag T] [--client ID] [--tag T] [--data-path P] [--rpc-port N] [--id ID] [--upgrade POLICY] [--confirm TOKEN] [--kes-file P] [--vrf-file P] [--opcert-file P] [--accept-low-disk] [--accept-low-mem] [--accept-mainnet] [--refresh] [--execute] [--json]"
134
134
  },
135
135
  "clients": {
136
136
  "el": "執行層客戶端",
@@ -262,6 +262,7 @@
262
262
  "mainnetWarn": "主網需要大量可用磁碟(ETH 常達 800 GiB 或以上)。建議先用測試網。",
263
263
  "mainnetAck": "我明白:主網會用很多磁碟空間。若把這台機器當驗證者,離線或設定錯誤,質押的幣可能被罰走。我仍要建立主網節點。",
264
264
  "lowDiskAcked": "可用磁碟低於建議值。你已確認仍要建立;空間不足時同步可能中斷。",
265
+ "lowMemAcked": "可用記憶體低於此鏈的記憶體上限加 1 GiB 預留。你已確認仍要建立;節點可能因記憶體不足而中止。",
265
266
  "heavyWarn": "此鏈負載很重(大量磁碟與高 IOPS)。Solana 主網通常需要 2 TiB 或以上。",
266
267
  "memory": "記憶體上限",
267
268
  "cpus": "CPU 上限",
@@ -344,6 +345,14 @@
344
345
  "opcert": "opcert",
345
346
  "missing": "未掛上",
346
347
  "present": "已掛上 {{fp}}",
348
+ "presentShort": "已在主機",
349
+ "queuedShort": "待套用",
350
+ "queued": "已選 · {{name}}",
351
+ "fileHint": "常見檔名 {{file}}",
352
+ "dropOrBrowse": "將 {{file}} 拖放至此,或瀏覽",
353
+ "dropping": "放開以掛上 {{label}}",
354
+ "browse": "瀏覽",
355
+ "clearFile": "移除",
347
356
  "choose": "選擇檔案",
348
357
  "apply": "套用並以 block producer 重啟",
349
358
  "detach": "卸下並改回 relay",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ysk-server-shared",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "Shared types, DTOs, and interfaces for YSK Server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",