@synopackageland/sdk 0.10.8 → 0.10.10

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 (56) hide show
  1. package/README.md +73 -29
  2. package/dist/i18n/authorization/de.json +6 -1
  3. package/dist/i18n/authorization/en.json +6 -1
  4. package/dist/i18n/authorization/es.json +6 -1
  5. package/dist/i18n/authorization/fr.json +6 -1
  6. package/dist/i18n/authorization/it.json +6 -1
  7. package/dist/i18n/authorization/ja.json +6 -1
  8. package/dist/i18n/authorization/ko.json +6 -1
  9. package/dist/i18n/authorization/zh-CN.json +6 -1
  10. package/dist/i18n/authorization/zh-TW.json +6 -1
  11. package/dist/i18n/delegate/de.json +19 -12
  12. package/dist/i18n/delegate/en.json +19 -12
  13. package/dist/i18n/delegate/es.json +19 -12
  14. package/dist/i18n/delegate/fr.json +19 -12
  15. package/dist/i18n/delegate/it.json +19 -12
  16. package/dist/i18n/delegate/ja.json +19 -12
  17. package/dist/i18n/delegate/ko.json +19 -12
  18. package/dist/i18n/delegate/zh-CN.json +19 -12
  19. package/dist/i18n/delegate/zh-TW.json +19 -12
  20. package/dist/i18n/save/de.json +3 -25
  21. package/dist/i18n/save/en.json +3 -25
  22. package/dist/i18n/save/es.json +3 -25
  23. package/dist/i18n/save/fr.json +3 -25
  24. package/dist/i18n/save/it.json +3 -25
  25. package/dist/i18n/save/ja.json +3 -25
  26. package/dist/i18n/save/ko.json +3 -25
  27. package/dist/i18n/save/zh-CN.json +3 -25
  28. package/dist/i18n/save/zh-TW.json +3 -25
  29. package/dist/index.js +2796 -2817
  30. package/dist/src/authorization/failure.d.ts +2 -0
  31. package/dist/src/authorization/refusal.d.ts +10 -0
  32. package/dist/src/background/BackgroundPanel.vue.d.ts +1 -1
  33. package/dist/src/background/i18n.d.ts +1 -1
  34. package/dist/src/delegate/BackgroundSavePanel.vue.d.ts +1 -1
  35. package/dist/src/delegate/BackgroundSaveSettings.vue.d.ts +3 -6
  36. package/dist/src/delegate/DelegatePanel.vue.d.ts +1 -1
  37. package/dist/src/delegate/ExecutorApproval.vue.d.ts +1 -0
  38. package/dist/src/delegate/ExecutorConsent.vue.d.ts +20 -0
  39. package/dist/src/delegate/ExecutorNotice.vue.d.ts +1 -0
  40. package/dist/src/delegate/ExecutorSettings.vue.d.ts +3 -0
  41. package/dist/src/delegate/copy.d.ts +25 -11
  42. package/dist/src/delegate/save-copy.d.ts +1 -67
  43. package/dist/src/delegate/use-scope-approval.d.ts +3 -2
  44. package/dist/src/dsm/session.d.ts +15 -0
  45. package/dist/src/files/FileBrowser.vue.d.ts +1 -0
  46. package/dist/src/identity/session.d.ts +6 -0
  47. package/dist/src/index.d.ts +2 -0
  48. package/dist/src/nas/NasPicker.vue.d.ts +1 -0
  49. package/dist/src/nas/locale.d.ts +1 -1
  50. package/dist/src/shell/app-pages.d.ts +2 -0
  51. package/dist/style.css +1 -1
  52. package/dist/vue.js +2067 -2204
  53. package/package.json +2 -2
  54. package/spec/protocol/v1/README.md +2 -2
  55. package/dist/src/delegate/SaveOperations.vue.d.ts +0 -24
  56. package/dist/src/delegate/saves-height.d.ts +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/sdk",
3
- "version": "0.10.8",
3
+ "version": "0.10.10",
4
4
  "description": "Frontend SDK for DSM packages built with synopkgland: headless client and Vue components",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/ts#readme",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@lucide/vue": "1.48.0",
60
- "@synopackageland/ui": "0.9.8",
60
+ "@synopackageland/ui": "0.9.9",
61
61
  "@types/node": "24.19.2",
62
62
  "@vitejs/plugin-vue": "6.0.9",
63
63
  "jsdom": "27.4.0",
@@ -110,7 +110,7 @@ browser waits 2 seconds past the request (`timeouts.json` holds the values).
110
110
  caller MAY repeat the request.
111
111
  - Such a client answers `EXECUTOR_UNAVAILABLE` only for a package that runs
112
112
  and was not started in the last 10 seconds, yet whose executor does not
113
- listen: it is not approved, awaits approval after an upgrade, or failed.
113
+ listen: it is not approved, awaits approval for a changed policy, or failed.
114
114
  `retryable` says that nothing was sent, not that waiting helps: a browser
115
115
  client repeats `APP_STARTING` and `EXECUTOR_STARTING` on its own for a few
116
116
  seconds (the DSM window: 4 s), since a start ends by itself, but shows
@@ -130,7 +130,7 @@ executor would refuse is never shown as ready. While a due start step runs
130
130
  `"starting"` and both digests. The executor MUST NOT report the SDK version; the binary
131
131
  digest MUST change only when the executor source changes.
132
132
 
133
- Since 0.10.8, `status` also answers `tasks`, the executor's own readback of
133
+ `status` also answers `tasks`, the executor's own readback of
134
134
  its approval tasks (`../../scheduler/v1`): `{"state", "checked_at"}`. `state`
135
135
  is `checking` until the first readback after the executor started ends, then
136
136
  `ready` (both tasks are exactly the canonical ones under this executor's
@@ -1,24 +0,0 @@
1
- import type { BackgroundSaveFacade, SaveOperation } from './long-running';
2
- type __VLS_Props = {
3
- sdk: BackgroundSaveFacade;
4
- locale: string;
5
- initial?: SaveOperation[];
6
- };
7
- declare var __VLS_28: {
8
- busy: boolean;
9
- run: (work: () => Promise<unknown>) => Promise<void>;
10
- };
11
- type __VLS_Slots = {} & {
12
- default?: (props: typeof __VLS_28) => any;
13
- };
14
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
15
- refresh: () => Promise<void>;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
- declare const _default: typeof __VLS_export;
19
- export default _default;
20
- type __VLS_WithSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,4 +0,0 @@
1
- export declare const SAVES_PAGE = 5;
2
- export declare function savesHeight(count: number | undefined): string;
3
- export declare function rememberSaves(count: number): void;
4
- export declare function rememberedSaves(): number | undefined;