@synopackageland/templates 0.15.1 → 0.15.2

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 (36) hide show
  1. package/README.md +6 -4
  2. package/package.json +1 -1
  3. package/templates/binary/ui/app.css +21 -4
  4. package/templates/compose/dsm-package.yaml +1 -1
  5. package/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +1 -1
  6. package/templates/native-go/backend/go.mod +1 -1
  7. package/templates/native-go/backend/go.sum +2 -2
  8. package/templates/native-go/i18n/messages/de.json +4 -3
  9. package/templates/native-go/i18n/messages/en.json +4 -3
  10. package/templates/native-go/i18n/messages/es.json +4 -3
  11. package/templates/native-go/i18n/messages/fr.json +4 -3
  12. package/templates/native-go/i18n/messages/it.json +4 -3
  13. package/templates/native-go/i18n/messages/ja.json +4 -3
  14. package/templates/native-go/i18n/messages/ko.json +4 -3
  15. package/templates/native-go/i18n/messages/zh-CN.json +4 -3
  16. package/templates/native-go/i18n/messages/zh-TW.json +4 -3
  17. package/templates/native-go/ui/app.css +57 -25
  18. package/templates/native-go/ui/app.js +7 -4
  19. package/templates/native-go-vue/frontend/package-lock.json +118 -193
  20. package/templates/native-go-vue/frontend/package.json +3 -3
  21. package/templates/native-go-vue/frontend/src/App.vue +7 -3
  22. package/templates/native-go-vue/frontend/src/i18n/de.json +5 -2
  23. package/templates/native-go-vue/frontend/src/i18n/en.json +5 -2
  24. package/templates/native-go-vue/frontend/src/i18n/es.json +5 -2
  25. package/templates/native-go-vue/frontend/src/i18n/fr.json +5 -2
  26. package/templates/native-go-vue/frontend/src/i18n/it.json +5 -2
  27. package/templates/native-go-vue/frontend/src/i18n/ja.json +5 -2
  28. package/templates/native-go-vue/frontend/src/i18n/ko.json +5 -2
  29. package/templates/native-go-vue/frontend/src/i18n/zh-CN.json +5 -2
  30. package/templates/native-go-vue/frontend/src/i18n/zh-TW.json +5 -2
  31. package/templates/native-go-vue/frontend/src/style.css +2 -2
  32. package/templates/native-go-vue/frontend/test/apps.test.ts +2 -2
  33. package/templates/native-node/dsm-package.yaml +1 -1
  34. package/templates/native-python/dsm-package.yaml +1 -1
  35. package/templates/native-rust/backend/Cargo.lock +2 -2
  36. package/templates/native-rust/backend/Cargo.toml +1 -1
@@ -4,7 +4,7 @@
4
4
  "settings": "Impostazioni del pacchetto",
5
5
  "actionRequired": "Azione richiesta",
6
6
  "statusTitle": "Stato del pacchetto",
7
- "statusError": "Impossibile caricare lo stato. Aggiornare e riprovare.",
7
+ "statusError": "Stato non disponibile. Aggiornare la pagina.",
8
8
  "greeting": "Saluto",
9
9
  "save": "Salva",
10
10
  "saved": "Saluto salvato.",
@@ -14,5 +14,8 @@
14
14
  "app_privilege_denied": "I privilegi delle applicazioni DSM non consentono a questo account di usare questa app.",
15
15
  "auth_unavailable": "L’autenticazione DSM non è disponibile. Aggiornare e riprovare.",
16
16
  "request_failed": "Richiesta non riuscita ({code}). Aggiornare e riprovare."
17
- }
17
+ },
18
+ "packageName": "Nome pacchetto",
19
+ "user": "Utente",
20
+ "version": "Versione"
18
21
  }
@@ -4,7 +4,7 @@
4
4
  "settings": "パッケージ設定",
5
5
  "actionRequired": "対応が必要です",
6
6
  "statusTitle": "パッケージの状態",
7
- "statusError": "状態を読み込めませんでした。最新の情報に更新してから、もう一度お試しください。",
7
+ "statusError": "ステータスを読み込めません。更新してください。",
8
8
  "greeting": "あいさつ",
9
9
  "save": "保存",
10
10
  "saved": "あいさつを保存しました。",
@@ -14,5 +14,8 @@
14
14
  "app_privilege_denied": "DSM のアプリケーション権限により、このアカウントはこのアプリを使用できません。",
15
15
  "auth_unavailable": "DSM 認証を利用できません。最新の情報に更新してから、もう一度お試しください。",
16
16
  "request_failed": "リクエストに失敗しました({code})。最新の情報に更新してから、もう一度お試しください。"
17
- }
17
+ },
18
+ "packageName": "パッケージ名",
19
+ "user": "ユーザー",
20
+ "version": "バージョン"
18
21
  }
@@ -4,7 +4,7 @@
4
4
  "settings": "패키지 설정",
5
5
  "actionRequired": "조치 필요",
6
6
  "statusTitle": "패키지 상태",
7
- "statusError": "상태를 불러올 수 없습니다. 새로 고친 후 다시 시도하십시오.",
7
+ "statusError": "상태를 불러올 수 없습니다. 새로 고침하십시오.",
8
8
  "greeting": "인사말",
9
9
  "save": "저장",
10
10
  "saved": "인사말이 저장되었습니다.",
@@ -14,5 +14,8 @@
14
14
  "app_privilege_denied": "DSM 응용 프로그램 권한에서 이 계정의 앱 사용이 허용되지 않습니다.",
15
15
  "auth_unavailable": "DSM 인증을 사용할 수 없습니다. 새로 고친 후 다시 시도하십시오.",
16
16
  "request_failed": "요청이 실패했습니다({code}). 새로 고친 후 다시 시도하십시오."
17
- }
17
+ },
18
+ "packageName": "패키지 이름",
19
+ "user": "사용자",
20
+ "version": "버전"
18
21
  }
@@ -4,7 +4,7 @@
4
4
  "settings": "套件设置",
5
5
  "actionRequired": "需要处理",
6
6
  "statusTitle": "套件状态",
7
- "statusError": "无法加载状态,请刷新后重试。",
7
+ "statusError": "无法加载状态,请刷新。",
8
8
  "greeting": "问候语",
9
9
  "save": "保存",
10
10
  "saved": "问候语已保存。",
@@ -14,5 +14,8 @@
14
14
  "app_privilege_denied": "DSM 应用程序权限不允许此账户使用此 App。",
15
15
  "auth_unavailable": "DSM 验证暂时不可用,请刷新后重试。",
16
16
  "request_failed": "请求失败({code}),请刷新后重试。"
17
- }
17
+ },
18
+ "packageName": "套件名称",
19
+ "user": "用户帐号",
20
+ "version": "版本"
18
21
  }
@@ -4,7 +4,7 @@
4
4
  "settings": "套件設定",
5
5
  "actionRequired": "需要處理",
6
6
  "statusTitle": "套件狀態",
7
- "statusError": "無法載入狀態,請重新整理後再試。",
7
+ "statusError": "無法載入狀態,請重新整理。",
8
8
  "greeting": "問候語",
9
9
  "save": "儲存",
10
10
  "saved": "問候語已儲存。",
@@ -14,5 +14,8 @@
14
14
  "app_privilege_denied": "DSM 應用程式權限不允許此帳號使用這個 App。",
15
15
  "auth_unavailable": "DSM 驗證目前無法使用,請重新整理後再試。",
16
16
  "request_failed": "要求失敗({code}),請重新整理後再試。"
17
- }
17
+ },
18
+ "packageName": "套件名稱",
19
+ "user": "使用者帳號",
20
+ "version": "版本"
18
21
  }
@@ -1,7 +1,7 @@
1
1
  .dsmapp-vue-root {height: 100%; min-height: 0; width: 100%; overflow: hidden;}
2
- [data-ui-app] .integration-app {padding: 0 var(--ui-page-padding-x, 16px); color: var(--ui-text); font-family: var(--ui-font-sans); font-size: 13px; line-height: 1.5;}
2
+ [data-ui-app] .integration-app {padding: 0 var(--ui-page-padding-x); color: var(--ui-text); font-family: var(--ui-font-sans); font-size: var(--ui-font-size); line-height: var(--ui-line-height);}
3
3
  /* The App's pages and their sections stack at the UI section gap, as PageContent's children do. */
4
4
  [data-ui-app] .integration-app, [data-ui-app] .integration-app > [data-page] {display: flex; flex-direction: column; gap: var(--ui-section-gap);}
5
5
  [data-ui-app] .integration-help {color: var(--ui-text);}
6
- [data-ui-app] .integration-actions {display: flex; flex-wrap: wrap; gap: 8px;}
6
+ [data-ui-app] .integration-actions {display: flex; flex-wrap: wrap; gap: var(--ui-space-2);}
7
7
  [data-ui-app] .nas-picker {max-height: 55vh; overflow: auto; overflow-wrap: anywhere;}
@@ -85,7 +85,7 @@ test('the app renders and loads status while the session check is still pending'
85
85
  try{
86
86
  await settle()
87
87
  expect(root.textContent).not.toContain('Checking session')
88
- expect(root.textContent).toContain('Eager · admin · 1')
88
+ expect([...root.querySelectorAll('[data-app-status] [data-app-value]')].map(node=>node.textContent)).toEqual(['Eager','admin','1'])
89
89
  }finally{app.unmount();root.remove()}
90
90
  })
91
91
  test('a status request that raced the session check is retried once the session is confirmed',async()=>{
@@ -106,7 +106,7 @@ test('a status request that raced the session check is retried once the session
106
106
  try{
107
107
  await settle();rejectEarly({code:'session_required'});await settle()
108
108
  expect(root.textContent).not.toContain('Your DSM session expired')
109
- expect(root.textContent).toContain('Raced · admin · 1')
109
+ expect([...root.querySelectorAll('[data-app-status] [data-app-value]')].map(node=>node.textContent)).toEqual(['Raced','admin','1'])
110
110
  }finally{app.unmount();root.remove()}
111
111
  })
112
112
  function hosted(host:'dsm'|'standalone-web'){
@@ -49,7 +49,7 @@ backend:
49
49
  runtime: node
50
50
  dir: backend/app
51
51
  entry: main.js
52
- sdk: 0.15.1
52
+ sdk: 0.15.2
53
53
  node: { package: Node.js_v20 }
54
54
 
55
55
  ui:
@@ -47,7 +47,7 @@ backend:
47
47
  runtime: python
48
48
  dir: backend/app
49
49
  entry: main.py
50
- sdk: 0.15.1
50
+ sdk: 0.15.2
51
51
 
52
52
  ui:
53
53
  # Non-UI-SDK frontends open a full page; Portal is a separate opt-in.
@@ -104,8 +104,8 @@ dependencies = [
104
104
 
105
105
  [[package]]
106
106
  name = "syno-pkg-land-app"
107
- version = "0.15.1"
108
- source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.15.1#ff453241ef9eff897e6e534d8e88ecb31f52706a"
107
+ version = "0.15.2"
108
+ source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.15.2#be41eaef61f2a4e67b77902efd5d86abfc38cd63"
109
109
  dependencies = [
110
110
  "libc",
111
111
  "serde",
@@ -9,7 +9,7 @@ libc = "0.2"
9
9
  serde = { version = "1", features = ["derive"] }
10
10
  serde_json = "1"
11
11
  # The SDK version is the tag; `synopkgland check` reads it from Cargo.lock.
12
- syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.15.1" }
12
+ syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.15.2" }
13
13
 
14
14
  [profile.release]
15
15
  # A handler panic becomes an "internal" reply; abort would end the App without one.