@synopackageland/sdk 0.37.0 → 0.38.1

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/README.md CHANGED
@@ -75,9 +75,17 @@ banner visibly names this App, the shell hides its duplicate brand block. It
75
75
  also hides its default account footer while DSM's account menu is visible;
76
76
  a custom `sidebar-footer` stays. Detection reads only the containing DSM
77
77
  standalone window's DOM, with no settings API or administrator permission.
78
- Hidden, missing or unrecognized banner markup keeps the shell's own chrome. `AppShell` reads only
79
- `fullPage` (or `host`), `displayName`, `appIcon` and `user` (`ShellContext`),
80
- so the DSM window's ctx works as it is.
78
+ Hidden, missing or unrecognized banner markup keeps the shell's own chrome.
79
+
80
+ An App whose own frame already names it and shows the account (a full-page
81
+ web App) can drop DSM's banner with the CLI's `ui.banner: hidden` in
82
+ `dsm-package.yaml`. The shell then shows the account, and on a DSM full page a
83
+ Sign out button under it that calls `ctx.host.signOut()`, DSM's banner sign-out.
84
+ An App with its own `sidebar-footer` offers sign-out itself with the same call;
85
+ it answers `unsupported` outside DSM and is absent with CLIs before `ui.banner`.
86
+ Keep the banner (the default) when the App relies on DSM for the account menu.
87
+ `AppShell` reads only `fullPage` (or `host`), `displayName`, `appIcon` and
88
+ `user` (`ShellContext`), so the DSM window's ctx works as it is.
81
89
 
82
90
  ```vue
83
91
  <AppShell v-model="page" :ctx="ctx" :locale="ctx.locale" :pages="pages" sidebar-storage-key="HelloGo" />
@@ -485,8 +493,17 @@ with `capabilities.root`.
485
493
  `signal` rejects it with `{code: 'request_canceled'}`, for a page the user
486
494
  leaves; past `clientTimeout(ctx.requestTimeout)` it rejects with `{code:
487
495
  'request_timeout'}`.
488
- Without `ctx.requestTimeout` the deadline is `DEFAULT_REQUEST_TIMEOUT`, 60
489
- seconds like the backend's, and the client waits 62.
496
+ Without `ctx.requestTimeout` the deadline is `DEFAULT_REQUEST_TIMEOUT`, 300
497
+ seconds like the backend's, and the client waits 302. Explicit App deadlines
498
+ still take precedence; set the backend and browser together.
499
+
500
+ For NAS work of uncertain duration, submit to the existing background worker,
501
+ return its original job ID and poll authorized status/result endpoints. Show
502
+ queued/running as still working, optionally labeling a long wait as slow; do not
503
+ infer failure from elapsed time or a failed status request. A timeout after a
504
+ mutation was sent leaves its completion uncertain: read back the original job
505
+ or operation, without automatically submitting a new one. See
506
+ [request deadlines](../docs/request-deadlines.md).
490
507
 
491
508
  ```ts
492
509
  const controller = new AbortController()
@@ -3,6 +3,7 @@
3
3
  "background": "Hintergrundaufträge",
4
4
  "administrator": "Administrator",
5
5
  "dsmUser": "DSM-Benutzer",
6
+ "signOut": "Abmelden",
6
7
  "deniedTitle": "Kein Zugriff",
7
8
  "deniedMessage": "Ihr DSM-Konto darf diese App nicht verwenden. Bitten Sie einen Administrator, sie in den DSM-Anwendungsberechtigungen freizugeben.",
8
9
  "notes": "Hinweise",
@@ -3,6 +3,7 @@
3
3
  "background": "Background jobs",
4
4
  "administrator": "Administrator",
5
5
  "dsmUser": "DSM user",
6
+ "signOut": "Sign out",
6
7
  "deniedTitle": "No access",
7
8
  "deniedMessage": "Your DSM account is not allowed to use this app. Ask an administrator to allow it in DSM Application Privileges.",
8
9
  "notes": "Notes",
@@ -3,6 +3,7 @@
3
3
  "background": "Tareas en segundo plano",
4
4
  "administrator": "Administrador",
5
5
  "dsmUser": "Usuario DSM",
6
+ "signOut": "Cerrar sesión",
6
7
  "deniedTitle": "Sin acceso",
7
8
  "deniedMessage": "Su cuenta de DSM no tiene permiso para usar esta aplicación. Pida a un administrador que la permita en los privilegios de aplicaciones de DSM.",
8
9
  "notes": "Notas",
@@ -3,6 +3,7 @@
3
3
  "background": "Tâches en arrière-plan",
4
4
  "administrator": "Administrateur",
5
5
  "dsmUser": "Utilisateur DSM",
6
+ "signOut": "Se déconnecter",
6
7
  "deniedTitle": "Accès refusé",
7
8
  "deniedMessage": "Votre compte DSM n’est pas autorisé à utiliser cette application. Demandez à un administrateur de l’autoriser dans les privilèges d’application de DSM.",
8
9
  "notes": "Remarques",
@@ -3,6 +3,7 @@
3
3
  "background": "Attività in background",
4
4
  "administrator": "Amministratore",
5
5
  "dsmUser": "Utente DSM",
6
+ "signOut": "Esci",
6
7
  "deniedTitle": "Accesso negato",
7
8
  "deniedMessage": "L’account DSM non è autorizzato a usare questa app. Chiedere a un amministratore di consentirlo nei privilegi delle applicazioni DSM.",
8
9
  "notes": "Note",
@@ -3,6 +3,7 @@
3
3
  "background": "バックグラウンドジョブ",
4
4
  "administrator": "管理者",
5
5
  "dsmUser": "DSM ユーザー",
6
+ "signOut": "サインアウト",
6
7
  "deniedTitle": "アクセスできません",
7
8
  "deniedMessage": "この DSM アカウントにはこのアプリを使用する権限がありません。DSM のアプリケーション権限で許可するよう管理者に依頼してください。",
8
9
  "notes": "注記",
@@ -3,6 +3,7 @@
3
3
  "background": "백그라운드 작업",
4
4
  "administrator": "관리자",
5
5
  "dsmUser": "DSM 사용자",
6
+ "signOut": "로그아웃",
6
7
  "deniedTitle": "액세스할 수 없음",
7
8
  "deniedMessage": "이 DSM 계정에는 이 앱을 사용할 권한이 없습니다. 관리자에게 DSM 응용 프로그램 권한에서 허용하도록 요청하십시오.",
8
9
  "notes": "참고",
@@ -3,6 +3,7 @@
3
3
  "background": "后台工作",
4
4
  "administrator": "管理员",
5
5
  "dsmUser": "DSM 用户",
6
+ "signOut": "注销",
6
7
  "deniedTitle": "无法访问",
7
8
  "deniedMessage": "你的 DSM 账号无权使用此应用程序。请管理员在 DSM 的应用程序权限中开放给你。",
8
9
  "notes": "附注",
@@ -3,6 +3,7 @@
3
3
  "background": "背景工作",
4
4
  "administrator": "管理員",
5
5
  "dsmUser": "DSM 使用者",
6
+ "signOut": "登出",
6
7
  "deniedTitle": "無法存取",
7
8
  "deniedMessage": "你的 DSM 帳號無權使用此應用程式。請管理員在 DSM 的應用程式權限中開放給你。",
8
9
  "notes": "附註",