@camstack/types 0.1.15 → 0.1.16

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 (64) hide show
  1. package/dist/auth-records-BDg37fy9.mjs +8297 -0
  2. package/dist/auth-records-BDg37fy9.mjs.map +1 -0
  3. package/dist/auth-records-D5ZNaUos.js +8296 -0
  4. package/dist/auth-records-D5ZNaUos.js.map +1 -0
  5. package/dist/capabilities/addons.cap.d.ts +76 -0
  6. package/dist/capabilities/addons.cap.d.ts.map +1 -1
  7. package/dist/capabilities/alerts.cap.d.ts +5 -5
  8. package/dist/capabilities/authentication.cap.d.ts +83 -0
  9. package/dist/capabilities/authentication.cap.d.ts.map +1 -0
  10. package/dist/capabilities/backup.cap.d.ts +224 -3
  11. package/dist/capabilities/backup.cap.d.ts.map +1 -1
  12. package/dist/capabilities/index.d.ts +16 -2
  13. package/dist/capabilities/index.d.ts.map +1 -1
  14. package/dist/capabilities/local-network.cap.d.ts +216 -0
  15. package/dist/capabilities/local-network.cap.d.ts.map +1 -0
  16. package/dist/capabilities/mesh-network.cap.d.ts +160 -0
  17. package/dist/capabilities/mesh-network.cap.d.ts.map +1 -0
  18. package/dist/capabilities/mesh-orchestrator.cap.d.ts +96 -0
  19. package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -0
  20. package/dist/capabilities/platform-probe.cap.d.ts.map +1 -1
  21. package/dist/capabilities/remote-access.cap.d.ts +103 -0
  22. package/dist/capabilities/remote-access.cap.d.ts.map +1 -0
  23. package/dist/capabilities/storage-provider.cap.d.ts +432 -0
  24. package/dist/capabilities/storage-provider.cap.d.ts.map +1 -0
  25. package/dist/capabilities/storage.cap.d.ts +287 -24
  26. package/dist/capabilities/storage.cap.d.ts.map +1 -1
  27. package/dist/capabilities/turn-orchestrator.cap.d.ts +74 -0
  28. package/dist/capabilities/turn-orchestrator.cap.d.ts.map +1 -0
  29. package/dist/device/base-device-provider.d.ts +8 -0
  30. package/dist/device/base-device-provider.d.ts.map +1 -1
  31. package/dist/disposer-chain.d.ts +32 -0
  32. package/dist/disposer-chain.d.ts.map +1 -0
  33. package/dist/enums/event-category.d.ts +34 -0
  34. package/dist/enums/event-category.d.ts.map +1 -1
  35. package/dist/generated/addon-api.d.ts +1433 -245
  36. package/dist/generated/addon-api.d.ts.map +1 -1
  37. package/dist/generated/capability-router-map.d.ts +25 -4
  38. package/dist/generated/capability-router-map.d.ts.map +1 -1
  39. package/dist/generated/system-proxy.d.ts +15 -3
  40. package/dist/generated/system-proxy.d.ts.map +1 -1
  41. package/dist/index.d.ts +5 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +805 -8331
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +607 -7715
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/interfaces/addon.d.ts +82 -0
  48. package/dist/interfaces/addon.d.ts.map +1 -1
  49. package/dist/interfaces/api-responses.d.ts +7 -0
  50. package/dist/interfaces/api-responses.d.ts.map +1 -1
  51. package/dist/interfaces/capability.d.ts +13 -2
  52. package/dist/interfaces/capability.d.ts.map +1 -1
  53. package/dist/interfaces/config-ui.d.ts +140 -3
  54. package/dist/interfaces/config-ui.d.ts.map +1 -1
  55. package/dist/interfaces/storage-location.d.ts +120 -0
  56. package/dist/interfaces/storage-location.d.ts.map +1 -0
  57. package/dist/interfaces/storage.d.ts +2 -6
  58. package/dist/interfaces/storage.d.ts.map +1 -1
  59. package/dist/node.js +141 -7243
  60. package/dist/node.js.map +1 -1
  61. package/dist/node.mjs +59 -7150
  62. package/dist/node.mjs.map +1 -1
  63. package/dist/storage/filesystem-storage-provider.d.ts.map +1 -1
  64. package/package.json +2 -2
@@ -44,6 +44,11 @@ declare const AddonListItemSchema: z.ZodObject<{
44
44
  packageName: z.ZodString;
45
45
  packageVersion: z.ZodString;
46
46
  packageDisplayName: z.ZodOptional<z.ZodString>;
47
+ bundle: z.ZodOptional<z.ZodObject<{
48
+ displayName: z.ZodString;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ icon: z.ZodOptional<z.ZodString>;
51
+ }, z.core.$strip>>;
47
52
  protected: z.ZodOptional<z.ZodBoolean>;
48
53
  removable: z.ZodOptional<z.ZodBoolean>;
49
54
  }, z.core.$strip>;
@@ -55,6 +60,25 @@ declare const AddonListItemSchema: z.ZodObject<{
55
60
  mode: z.ZodString;
56
61
  state: z.ZodString;
57
62
  }, z.core.$strip>>;
63
+ hasBackup: z.ZodOptional<z.ZodBoolean>;
64
+ health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65
+ phase: z.ZodEnum<{
66
+ pending: "pending";
67
+ healthy: "healthy";
68
+ failed: "failed";
69
+ }>;
70
+ retryCount: z.ZodNumber;
71
+ firstFailureAt: z.ZodNullable<z.ZodNumber>;
72
+ lastAttemptAt: z.ZodNullable<z.ZodNumber>;
73
+ lastError: z.ZodNullable<z.ZodObject<{
74
+ message: z.ZodString;
75
+ stack: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strip>>;
77
+ nextRetryAt: z.ZodNullable<z.ZodNumber>;
78
+ alertEmitted: z.ZodBoolean;
79
+ retrying: z.ZodBoolean;
80
+ inGracePeriod: z.ZodBoolean;
81
+ }, z.core.$strip>>>;
58
82
  }, z.core.$strip>;
59
83
  declare const InstalledPackageSchema: z.ZodObject<{
60
84
  name: z.ZodString;
@@ -130,6 +154,11 @@ export declare const addonsCapability: {
130
154
  packageName: z.ZodString;
131
155
  packageVersion: z.ZodString;
132
156
  packageDisplayName: z.ZodOptional<z.ZodString>;
157
+ bundle: z.ZodOptional<z.ZodObject<{
158
+ displayName: z.ZodString;
159
+ description: z.ZodOptional<z.ZodString>;
160
+ icon: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strip>>;
133
162
  protected: z.ZodOptional<z.ZodBoolean>;
134
163
  removable: z.ZodOptional<z.ZodBoolean>;
135
164
  }, z.core.$strip>;
@@ -141,6 +170,25 @@ export declare const addonsCapability: {
141
170
  mode: z.ZodString;
142
171
  state: z.ZodString;
143
172
  }, z.core.$strip>>;
173
+ hasBackup: z.ZodOptional<z.ZodBoolean>;
174
+ health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
175
+ phase: z.ZodEnum<{
176
+ pending: "pending";
177
+ healthy: "healthy";
178
+ failed: "failed";
179
+ }>;
180
+ retryCount: z.ZodNumber;
181
+ firstFailureAt: z.ZodNullable<z.ZodNumber>;
182
+ lastAttemptAt: z.ZodNullable<z.ZodNumber>;
183
+ lastError: z.ZodNullable<z.ZodObject<{
184
+ message: z.ZodString;
185
+ stack: z.ZodOptional<z.ZodString>;
186
+ }, z.core.$strip>>;
187
+ nextRetryAt: z.ZodNullable<z.ZodNumber>;
188
+ alertEmitted: z.ZodBoolean;
189
+ retrying: z.ZodBoolean;
190
+ inGracePeriod: z.ZodBoolean;
191
+ }, z.core.$strip>>>;
144
192
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
145
193
  readonly getLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
146
194
  addonId: z.ZodString;
@@ -197,6 +245,23 @@ export declare const addonsCapability: {
197
245
  name: z.ZodString;
198
246
  version: z.ZodOptional<z.ZodString>;
199
247
  }, z.core.$strip>, z.ZodUnknown, "mutation">;
248
+ /**
249
+ * Roll back an addon to the version it had before the most recent
250
+ * `updatePackage` call. The backup directory pointer is kept in the
251
+ * central addon manifest until the post-update health-check
252
+ * confirms the new install works (then it's cleared automatically),
253
+ * so this only succeeds when the most recent update either failed
254
+ * its restart or the user explicitly wants to revert.
255
+ *
256
+ * Returns `{ rolledBackTo: <version> }` on success, or
257
+ * `{ rolledBackTo: null }` when there's no backup to roll back to
258
+ * (caller can show a "no backup available" UI).
259
+ */
260
+ readonly rollbackPackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
261
+ name: z.ZodString;
262
+ }, z.core.$strip>, z.ZodObject<{
263
+ rolledBackTo: z.ZodNullable<z.ZodString>;
264
+ }, z.core.$strip>, "mutation">;
200
265
  readonly forceRefresh: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodUnknown, "mutation">;
201
266
  readonly restartServer: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
202
267
  confirm: z.ZodLiteral<true>;
@@ -212,6 +277,17 @@ export declare const addonsCapability: {
212
277
  readonly restartAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
213
278
  addonId: z.ZodString;
214
279
  }, z.core.$strip>, z.ZodUnknown, "mutation">;
280
+ /**
281
+ * Force-retry a failed addon NOW. Resets the retry counter so the
282
+ * next failure starts from the 60s interval again. Used by the
283
+ * "Retry now" button in the Addons admin page row + AlertCenter
284
+ * alert action. Idempotent on healthy addons (no-op).
285
+ */
286
+ readonly retryLoad: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
287
+ packageName: z.ZodString;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ success: z.ZodLiteral<true>;
290
+ }, z.core.$strip>, "mutation">;
215
291
  readonly getAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
216
292
  channel: z.ZodEnum<{
217
293
  off: "off";
@@ -1 +1 @@
1
- {"version":3,"file":"addons.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/addons.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;;;;GAcG;AAYH,QAAA,MAAM,cAAc;;;;;EAA6C,CAAA;AACjE,QAAA,MAAM,aAAa;;;;EAAoC,CAAA;AACvD,QAAA,MAAM,wBAAwB;;;;;EAA+C,CAAA;AA+B7E,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;iBAMvB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;iBAK1B,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;iBAMvB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;iBAK5B,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;iBAStB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;iBAG5B,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;EAA2B,CAAA;AAQtD,QAAA,MAAM,oBAAoB;;;;;iBAKxB,CAAA;AAQF,QAAA,MAAM,uBAAuB;;;;iBAI3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HY,CAAA;AAEzC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,CAAA"}
1
+ {"version":3,"file":"addons.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/addons.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;;;;GAcG;AAYH,QAAA,MAAM,cAAc;;;;;EAA6C,CAAA;AACjE,QAAA,MAAM,aAAa;;;;EAAoC,CAAA;AACvD,QAAA,MAAM,wBAAwB;;;;;EAA+C,CAAA;AAiE7E,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAevB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;iBAK1B,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;iBAMvB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;iBAK5B,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;iBAStB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;iBAG5B,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;EAA2B,CAAA;AAQtD,QAAA,MAAM,oBAAoB;;;;;iBAKxB,CAAA;AAQF,QAAA,MAAM,uBAAuB;;;;iBAI3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2DzB;;;;;;;;;;;WAWG;;;;;;;;;;;;;;;;;;;;;QAsBH;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDkC,CAAA;AAEzC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,CAAA"}
@@ -15,9 +15,9 @@ export declare const AlertSeveritySchema: z.ZodEnum<{
15
15
  }>;
16
16
  export declare const AlertStatusSchema: z.ZodEnum<{
17
17
  active: "active";
18
+ failed: "failed";
18
19
  "in-progress": "in-progress";
19
20
  completed: "completed";
20
- failed: "failed";
21
21
  dismissed: "dismissed";
22
22
  }>;
23
23
  export declare const AlertSourceSchema: z.ZodObject<{
@@ -37,9 +37,9 @@ export declare const AlertSchema: z.ZodObject<{
37
37
  message: z.ZodString;
38
38
  status: z.ZodEnum<{
39
39
  active: "active";
40
+ failed: "failed";
40
41
  "in-progress": "in-progress";
41
42
  completed: "completed";
42
- failed: "failed";
43
43
  dismissed: "dismissed";
44
44
  }>;
45
45
  progress: z.ZodOptional<z.ZodNumber>;
@@ -73,9 +73,9 @@ export declare const alertsCapability: {
73
73
  message: z.ZodString;
74
74
  status: z.ZodEnum<{
75
75
  active: "active";
76
+ failed: "failed";
76
77
  "in-progress": "in-progress";
77
78
  completed: "completed";
78
- failed: "failed";
79
79
  dismissed: "dismissed";
80
80
  }>;
81
81
  progress: z.ZodOptional<z.ZodNumber>;
@@ -103,9 +103,9 @@ export declare const alertsCapability: {
103
103
  message: z.ZodOptional<z.ZodString>;
104
104
  status: z.ZodOptional<z.ZodEnum<{
105
105
  active: "active";
106
+ failed: "failed";
106
107
  "in-progress": "in-progress";
107
108
  completed: "completed";
108
- failed: "failed";
109
109
  dismissed: "dismissed";
110
110
  }>>;
111
111
  progress: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -135,9 +135,9 @@ export declare const alertsCapability: {
135
135
  message: z.ZodString;
136
136
  status: z.ZodEnum<{
137
137
  active: "active";
138
+ failed: "failed";
138
139
  "in-progress": "in-progress";
139
140
  completed: "completed";
140
- failed: "failed";
141
141
  dismissed: "dismissed";
142
142
  }>;
143
143
  progress: z.ZodOptional<z.ZodNumber>;
@@ -0,0 +1,83 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * Authentication-provider summary metadata. Drives the admin UI's
5
+ * "Authentication Providers" page and the login screen's provider
6
+ * picker (Google / Microsoft / SAML / etc. buttons next to the
7
+ * username/password form).
8
+ *
9
+ * Keep the shape lean: the admin UI doesn't render runtime
10
+ * credentials, only enough to identify the provider and its UX
11
+ * affordances. Per-provider config still lives in the addon's own
12
+ * settings panel.
13
+ */
14
+ declare const AuthProviderInfoSchema: z.ZodObject<{
15
+ addonId: z.ZodString;
16
+ displayName: z.ZodString;
17
+ kind: z.ZodEnum<{
18
+ other: "other";
19
+ local: "local";
20
+ oidc: "oidc";
21
+ saml: "saml";
22
+ ldap: "ldap";
23
+ }>;
24
+ icon: z.ZodOptional<z.ZodString>;
25
+ hasRedirectFlow: z.ZodBoolean;
26
+ hasCredentialFlow: z.ZodBoolean;
27
+ status: z.ZodOptional<z.ZodString>;
28
+ enabled: z.ZodBoolean;
29
+ }, z.core.$strip>;
30
+ export type AuthProviderInfo = z.infer<typeof AuthProviderInfoSchema>;
31
+ /**
32
+ * `authentication` — singleton facade over the `auth-provider`
33
+ * collection. Consumed by:
34
+ * - Login page (enumerate provider buttons)
35
+ * - Admin UI Authentication page (list/configure/enable/disable)
36
+ *
37
+ * Mirrors the pattern of `backup` (singleton facade over the
38
+ * `backup-destination` collection) — UI consumers don't need to know
39
+ * about individual `auth-provider` providers; they call this and
40
+ * receive a curated view.
41
+ *
42
+ * The actual login flow still goes through the `auth-provider`
43
+ * collection (validateCredentials / getLoginUrl / handleCallback);
44
+ * this cap only listing/orchestration.
45
+ */
46
+ export declare const authenticationCapability: {
47
+ readonly name: "authentication";
48
+ readonly scope: "system";
49
+ readonly mode: "singleton";
50
+ readonly methods: {
51
+ /** All registered auth providers, both enabled and disabled. */
52
+ readonly listProviders: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
53
+ addonId: z.ZodString;
54
+ displayName: z.ZodString;
55
+ kind: z.ZodEnum<{
56
+ other: "other";
57
+ local: "local";
58
+ oidc: "oidc";
59
+ saml: "saml";
60
+ ldap: "ldap";
61
+ }>;
62
+ icon: z.ZodOptional<z.ZodString>;
63
+ hasRedirectFlow: z.ZodBoolean;
64
+ hasCredentialFlow: z.ZodBoolean;
65
+ status: z.ZodOptional<z.ZodString>;
66
+ enabled: z.ZodBoolean;
67
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
68
+ /**
69
+ * Toggle a provider's enabled flag. Disabled providers stay
70
+ * registered but aren't surfaced on the login page. The orchestrator
71
+ * persists the state in `addon-settings` so it survives restarts.
72
+ */
73
+ readonly setProviderEnabled: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
74
+ addonId: z.ZodString;
75
+ enabled: z.ZodBoolean;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ success: z.ZodLiteral<true>;
78
+ }, z.core.$strip>, "mutation">;
79
+ };
80
+ };
81
+ export type IAuthenticationProvider = InferProvider<typeof authenticationCapability>;
82
+ export { AuthProviderInfoSchema };
83
+ //# sourceMappingURL=authentication.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authentication.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/authentication.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;GAUG;AACH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;iBA2B1B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB;;;;;QAKjC,gEAAgE;;;;;;;;;;;;;;;;;QAEhE;;;;WAIG;;;;;;;;CAOkC,CAAA;AAEzC,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEpF,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
@@ -1,12 +1,116 @@
1
1
  import { z } from 'zod';
2
2
  import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * Per-destination metadata returned by `backup-destination.listDestinations`.
5
+ * Defined here (not in `backup-destination.cap.ts`) because both caps need
6
+ * it and `backup` is the foundation — the destination cap imports from us.
7
+ */
8
+ /**
9
+ * Provider-side destination metadata. The addon returns a SHORT id
10
+ * (`subId`) — orchestrator-internal-only routing prepends the addon's
11
+ * manifest id to produce the externally-visible globally-unique id.
12
+ *
13
+ * Why split: the addon shouldn't have to know its own manifest id.
14
+ * That id is owned by `package.json` and the kernel's registry; making
15
+ * the addon repeat it leaks framework state into addon code and
16
+ * breaks if the manifest is ever renamed.
17
+ */
18
+ declare const BackupSubDestinationInfoSchema: z.ZodObject<{
19
+ subId: z.ZodString;
20
+ displayName: z.ZodString;
21
+ description: z.ZodOptional<z.ZodString>;
22
+ kind: z.ZodString;
23
+ triggerSupported: z.ZodBoolean;
24
+ restoreSupported: z.ZodBoolean;
25
+ }, z.core.$strip>;
26
+ /**
27
+ * Orchestrator-side destination metadata. The orchestrator computes
28
+ * `id = <addonId>:<subId>` from its provider lookup so consumers
29
+ * (admin UI, restore flow) see one canonical key.
30
+ *
31
+ * Phase 4 (admin UI redesign) adds the per-destination policy fields
32
+ * (`enabled`, `retentionCount`, `label`) so the destinations table can
33
+ * render the joined view without a follow-up round-trip. The backend
34
+ * already joins these in `listDestinations` — we now surface them on
35
+ * the wire.
36
+ *
37
+ * `lastSuccessAt` / `lastSuccessSizeBytes` are computed from each
38
+ * location's `manifests.json` (newest archive). Optional — locations
39
+ * with no archives yet leave them undefined.
40
+ */
41
+ declare const BackupDestinationInfoSchema: z.ZodObject<{
42
+ subId: z.ZodString;
43
+ displayName: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ kind: z.ZodString;
46
+ triggerSupported: z.ZodBoolean;
47
+ restoreSupported: z.ZodBoolean;
48
+ id: z.ZodString;
49
+ addonId: z.ZodString;
50
+ enabled: z.ZodBoolean;
51
+ retentionCount: z.ZodNumber;
52
+ label: z.ZodOptional<z.ZodString>;
53
+ lastSuccessAt: z.ZodOptional<z.ZodNumber>;
54
+ lastSuccessSizeBytes: z.ZodOptional<z.ZodNumber>;
55
+ cron: z.ZodOptional<z.ZodString>;
56
+ nextRunAt: z.ZodOptional<z.ZodNumber>;
57
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$strip>;
59
+ /**
60
+ * Per-archive entry returned by `backup.listArchives({ destinationId })`.
61
+ * Same shape the destination drill-in renders. Sourced from the per-
62
+ * location `manifests.json` (no per-archive tarball read required).
63
+ */
64
+ declare const BackupArchiveEntrySchema: z.ZodObject<{
65
+ id: z.ZodString;
66
+ filename: z.ZodString;
67
+ createdAt: z.ZodNumber;
68
+ sizeBytes: z.ZodNumber;
69
+ label: z.ZodOptional<z.ZodString>;
70
+ locations: z.ZodReadonly<z.ZodArray<z.ZodString>>;
71
+ }, z.core.$strip>;
3
72
  declare const BackupEntrySchema: z.ZodObject<{
4
73
  id: z.ZodString;
74
+ destinationId: z.ZodOptional<z.ZodString>;
5
75
  label: z.ZodOptional<z.ZodString>;
6
76
  createdAt: z.ZodNumber;
7
77
  sizeBytes: z.ZodNumber;
8
78
  locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
79
  }, z.core.$strip>;
80
+ declare const ArchiveEntrySchema: z.ZodObject<{
81
+ path: z.ZodString;
82
+ kind: z.ZodEnum<{
83
+ file: "file";
84
+ dir: "dir";
85
+ symlink: "symlink";
86
+ }>;
87
+ sizeBytes: z.ZodNumber;
88
+ mtime: z.ZodNumber;
89
+ }, z.core.$strip>;
90
+ declare const ArchiveManifestSchema: z.ZodObject<{
91
+ archiveVersion: z.ZodLiteral<1>;
92
+ createdAt: z.ZodNumber;
93
+ dataDir: z.ZodString;
94
+ locations: z.ZodArray<z.ZodString>;
95
+ entries: z.ZodArray<z.ZodObject<{
96
+ path: z.ZodString;
97
+ kind: z.ZodEnum<{
98
+ file: "file";
99
+ dir: "dir";
100
+ symlink: "symlink";
101
+ }>;
102
+ sizeBytes: z.ZodNumber;
103
+ mtime: z.ZodNumber;
104
+ }, z.core.$strip>>;
105
+ totalBytes: z.ZodNumber;
106
+ totalFiles: z.ZodNumber;
107
+ }, z.core.$strip>;
108
+ declare const LocationStatSchema: z.ZodObject<{
109
+ name: z.ZodString;
110
+ sizeBytes: z.ZodNumber;
111
+ fileCount: z.ZodNumber;
112
+ present: z.ZodBoolean;
113
+ }, z.core.$strip>;
10
114
  /**
11
115
  * backup — singleton capability for backup management.
12
116
  *
@@ -18,31 +122,148 @@ export declare const backupCapability: {
18
122
  readonly scope: "system";
19
123
  readonly mode: "singleton";
20
124
  readonly methods: {
125
+ /**
126
+ * Flat aggregate of every destination across every registered
127
+ * `backup-destination` provider. This is the orchestrator-side
128
+ * surface; it expands per-addon `listDestinations()` results into
129
+ * one list the UI can render directly.
130
+ */
131
+ readonly listDestinations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
132
+ subId: z.ZodString;
133
+ displayName: z.ZodString;
134
+ description: z.ZodOptional<z.ZodString>;
135
+ kind: z.ZodString;
136
+ triggerSupported: z.ZodBoolean;
137
+ restoreSupported: z.ZodBoolean;
138
+ id: z.ZodString;
139
+ addonId: z.ZodString;
140
+ enabled: z.ZodBoolean;
141
+ retentionCount: z.ZodNumber;
142
+ label: z.ZodOptional<z.ZodString>;
143
+ lastSuccessAt: z.ZodOptional<z.ZodNumber>;
144
+ lastSuccessSizeBytes: z.ZodOptional<z.ZodNumber>;
145
+ cron: z.ZodOptional<z.ZodString>;
146
+ nextRunAt: z.ZodOptional<z.ZodNumber>;
147
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
148
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
149
+ /**
150
+ * Trigger a backup. Without `destinations` the orchestrator fans
151
+ * out to every destination flagged as enabled in the routing
152
+ * config; with it, only the listed addons receive the archive.
153
+ */
21
154
  readonly trigger: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
155
+ destinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
156
  locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
157
  label: z.ZodOptional<z.ZodString>;
24
- }, z.core.$strip>>, z.ZodObject<{
158
+ }, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
25
159
  id: z.ZodString;
160
+ destinationId: z.ZodOptional<z.ZodString>;
26
161
  label: z.ZodOptional<z.ZodString>;
27
162
  createdAt: z.ZodNumber;
28
163
  sizeBytes: z.ZodNumber;
29
164
  locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
- }, z.core.$strip>, "mutation">;
165
+ }, z.core.$strip>>>, "mutation">;
166
+ /** Union of every destination's archives, each tagged with `destinationId`. */
31
167
  readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
32
168
  id: z.ZodString;
169
+ destinationId: z.ZodOptional<z.ZodString>;
33
170
  label: z.ZodOptional<z.ZodString>;
34
171
  createdAt: z.ZodNumber;
35
172
  sizeBytes: z.ZodNumber;
36
173
  locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
174
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
175
+ /**
176
+ * Pre-backup snapshot of the well-known locations on disk — sizes
177
+ * + file counts. Powers the opt-in checklist that lets the
178
+ * operator pick which subsections of state get archived.
179
+ */
180
+ readonly listLocations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
181
+ name: z.ZodString;
182
+ sizeBytes: z.ZodNumber;
183
+ fileCount: z.ZodNumber;
184
+ present: z.ZodBoolean;
185
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
186
+ /**
187
+ * Read the embedded `.camstack-backup-manifest.json` from a
188
+ * previously-created archive. The manifest carries the full
189
+ * file/dir listing with sizes + mtimes — the readdir snapshot
190
+ * the UI shows in the "Contents" panel. Returns `null` when the
191
+ * archive predates manifests (created before this feature
192
+ * shipped).
193
+ */
194
+ readonly getEntries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
195
+ destinationId: z.ZodString;
196
+ backupId: z.ZodString;
197
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
198
+ archiveVersion: z.ZodLiteral<1>;
199
+ createdAt: z.ZodNumber;
200
+ dataDir: z.ZodString;
201
+ locations: z.ZodArray<z.ZodString>;
202
+ entries: z.ZodArray<z.ZodObject<{
203
+ path: z.ZodString;
204
+ kind: z.ZodEnum<{
205
+ file: "file";
206
+ dir: "dir";
207
+ symlink: "symlink";
208
+ }>;
209
+ sizeBytes: z.ZodNumber;
210
+ mtime: z.ZodNumber;
211
+ }, z.core.$strip>>;
212
+ totalBytes: z.ZodNumber;
213
+ totalFiles: z.ZodNumber;
214
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
38
215
  readonly restore: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
216
+ destinationId: z.ZodString;
39
217
  backupId: z.ZodString;
218
+ locations: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
219
  }, z.core.$strip>, z.ZodVoid, "mutation">;
41
220
  readonly delete: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
221
+ destinationId: z.ZodString;
42
222
  backupId: z.ZodString;
43
223
  }, z.core.$strip>, z.ZodVoid, "mutation">;
224
+ /**
225
+ * List archives at a single destination. Reads the per-location
226
+ * `manifests.json` and returns one entry per archive (newest
227
+ * first). Powers the destinations-table drill-in in admin UI.
228
+ */
229
+ readonly listArchives: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
230
+ destinationId: z.ZodString;
231
+ }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
232
+ id: z.ZodString;
233
+ filename: z.ZodString;
234
+ createdAt: z.ZodNumber;
235
+ sizeBytes: z.ZodNumber;
236
+ label: z.ZodOptional<z.ZodString>;
237
+ locations: z.ZodReadonly<z.ZodArray<z.ZodString>>;
238
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
239
+ /**
240
+ * Upsert a per-destination policy row. The `locationId` MUST be
241
+ * the id of an existing `backups`-typed `StorageLocation`. Used
242
+ * by the admin-UI destinations table (enable toggle + retention
243
+ * input + optional label).
244
+ */
245
+ readonly upsertDestinationPolicy: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
246
+ locationId: z.ZodString;
247
+ enabled: z.ZodBoolean;
248
+ retentionCount: z.ZodNumber;
249
+ label: z.ZodOptional<z.ZodString>;
250
+ cron: z.ZodOptional<z.ZodString>;
251
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
252
+ /**
253
+ * Validate a cron expression and peek the next N firing times.
254
+ * Used by the admin-UI CronEditor to render a live "next-run"
255
+ * preview as the operator edits the pattern.
256
+ */
257
+ readonly previewSchedule: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
258
+ cron: z.ZodString;
259
+ count: z.ZodOptional<z.ZodNumber>;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ ok: z.ZodBoolean;
262
+ error: z.ZodOptional<z.ZodString>;
263
+ nextRuns: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
264
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
44
265
  };
45
266
  };
46
267
  export type IBackupProvider = InferProvider<typeof backupCapability>;
47
- export { BackupEntrySchema };
268
+ export { BackupEntrySchema, BackupSubDestinationInfoSchema, BackupDestinationInfoSchema, BackupArchiveEntrySchema, ArchiveEntrySchema, ArchiveManifestSchema, LocationStatSchema, };
48
269
  //# sourceMappingURL=backup.cap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backup.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/backup.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG,QAAA,MAAM,iBAAiB;;;;;;iBAMrB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcY,CAAA;AAEzC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"backup.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/backup.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;GAIG;AACH;;;;;;;;;GASG;AACH,QAAA,MAAM,8BAA8B;;;;;;;iBAalC,CAAA;AAEF;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;iBAwB/B,CAAA;AAEF;;;;GAIG;AACH,QAAA,MAAM,wBAAwB;;;;;;;iBAQ5B,CAAA;AAEF,QAAA,MAAM,iBAAiB;;;;;;;iBAQrB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;iBAKtB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;iBAQzB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;iBAKtB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;QAKzB;;;;;WAKG;;;;;;;;;;;;;;;;;;;QAMH;;;;WAIG;;;;;;;;;;;;;QAWH,+EAA+E;;;;;;;;;QAE/E;;;;WAIG;;;;;;;QAEH;;;;;;;WAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2BH;;;;WAIG;;;;;;;;;;;QAMH;;;;;WAKG;;;;;;;;QAmBH;;;;WAIG;;;;;;;;;;CAakC,CAAA;AAEzC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,GACnB,CAAA"}
@@ -22,7 +22,8 @@ export { addonSettingsCapability, type IAddonSettingsProvider, SettingsSchemaWit
22
22
  export { alertsCapability, AlertSeveritySchema, AlertStatusSchema, AlertSourceSchema, AlertSchema } from './alerts.cap.js';
23
23
  export type { AlertSeverity, AlertStatus, Alert } from './alerts.cap.js';
24
24
  export { storageCapability, StorageLocationTypeSchema, type IStorageCapProvider } from './storage.cap.js';
25
- export { backupCapability, type IBackupProvider } from './backup.cap.js';
25
+ export { storageProviderCapability, type IStorageProviderImpl, ProviderInfoSchema as StorageProviderInfoSchema, TestLocationResultSchema as StorageTestLocationResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, } from './storage-provider.cap.js';
26
+ export { backupCapability, type IBackupProvider, BackupEntrySchema, BackupDestinationInfoSchema, ArchiveEntrySchema, ArchiveManifestSchema, LocationStatSchema, } from './backup.cap.js';
26
27
  export { settingsStoreCapability, type ISettingsStoreProvider, type SettingsStoreClient, QueryFilterSchema, SettingsRecordSchema, CollectionColumnSchema, CollectionIndexSchema, type CollectionColumn, type CollectionIndex, } from './settings-store.cap.js';
27
28
  export { logDestinationCapability, LogEntrySchema, LogLevelSchema } from './log-destination.cap.js';
28
29
  export { adminUiCapability } from './admin-ui.cap.js';
@@ -62,9 +63,12 @@ export { deviceManagerCapability, type IDeviceManagerProvider, DeviceInfoSchema,
62
63
  export type { DeviceInfo } from './device-manager.cap.js';
63
64
  export { deviceStateCapability } from './device-state.cap.js';
64
65
  export { authProviderCapability, AuthResultSchema } from './auth-provider.cap.js';
66
+ export { authenticationCapability, AuthProviderInfoSchema, type IAuthenticationProvider, type AuthProviderInfo } from './authentication.cap.js';
65
67
  export { networkAccessCapability, NetworkEndpointSchema, NetworkAccessStatusSchema } from './network-access.cap.js';
68
+ export { remoteAccessCapability, RemoteAccessEndpointSchema, RemoteAccessProviderInfoSchema, type IRemoteAccessOrchestrator, type RemoteAccessProviderInfo } from './remote-access.cap.js';
66
69
  export { turnProviderCapability, TurnServerSchema } from './turn-provider.cap.js';
67
70
  export type { ITurnProvider } from './turn-provider.cap.js';
71
+ export { turnOrchestratorCapability, TurnProviderInfoSchema, type ITurnOrchestratorProvider, type TurnProviderInfo } from './turn-orchestrator.cap.js';
68
72
  export { snapshotCapability, type ISnapshotOrchestrator, SnapshotImageSchema } from './snapshot.cap.js';
69
73
  export { snapshotProviderCapability, type ISnapshotProvider } from './snapshot-provider.cap.js';
70
74
  export { notificationOutputCapability, NotificationSchema } from './notification-output.cap.js';
@@ -99,6 +103,9 @@ export { intercomCapability, IntercomAbilitySchema, IntercomStatusSchema, type I
99
103
  export { doorbellCapability, DoorbellStatusSchema, DoorbellPressEventSchema, type DoorbellStatus, type DoorbellPressEvent, type IDoorbellProvider, } from './doorbell.cap.js';
100
104
  export { nativeObjectDetectionCapability, NativeObjectClassEnum, NativeDetectionSchema, NativeObjectDetectionStatusSchema, type NativeObjectClass, type NativeDetection, type NativeObjectDetectionStatus, type INativeObjectDetectionProvider, } from './native-object-detection.cap.js';
101
105
  export { platformProbeCapability, type IPlatformProbeProvider } from './platform-probe.cap.js';
106
+ export { localNetworkCapability, type ILocalNetworkProvider, type LocalInterface, type ConnectionEndpoint, } from './local-network.cap.js';
107
+ export { meshNetworkCapability, type IMeshNetworkProvider, type MeshEndpoint, type MeshPeer, type MeshStatus, } from './mesh-network.cap.js';
108
+ export { meshOrchestratorCapability, type IMeshOrchestrator, type MeshProviderInfo, } from './mesh-orchestrator.cap.js';
102
109
  export { userManagementCapability, type IUserManagementProvider } from './user-management.cap.js';
103
110
  export { systemCapability, type ISystemProvider, FeatureManifestSchema, HealthStatusSchema, NetworkAddressSchema, } from './system.cap.js';
104
111
  export { networkQualityCapability, type INetworkQualityProvider, StreamNetworkStatsSchema, ClientNetworkStatsSchema, DeviceNetworkStatsSchema, } from './network-quality.cap.js';
@@ -110,6 +117,7 @@ export { UserSummarySchema, CreateUserInputSchema, UpdateUserInputSchema, ApiKey
110
117
  import type { addonSettingsCapability } from './addon-settings.cap.js';
111
118
  import type { alertsCapability } from './alerts.cap.js';
112
119
  import type { storageCapability } from './storage.cap.js';
120
+ import type { storageProviderCapability } from './storage-provider.cap.js';
113
121
  import type { backupCapability } from './backup.cap.js';
114
122
  import type { settingsStoreCapability } from './settings-store.cap.js';
115
123
  import type { logDestinationCapability } from './log-destination.cap.js';
@@ -139,8 +147,11 @@ import type { deviceProviderCapability } from './device-provider.cap.js';
139
147
  import type { deviceManagerCapability } from './device-manager.cap.js';
140
148
  import type { deviceStateCapability } from './device-state.cap.js';
141
149
  import type { authProviderCapability } from './auth-provider.cap.js';
150
+ import type { authenticationCapability } from './authentication.cap.js';
142
151
  import type { networkAccessCapability } from './network-access.cap.js';
152
+ import type { remoteAccessCapability } from './remote-access.cap.js';
143
153
  import type { turnProviderCapability } from './turn-provider.cap.js';
154
+ import type { turnOrchestratorCapability } from './turn-orchestrator.cap.js';
144
155
  import type { snapshotCapability } from './snapshot.cap.js';
145
156
  import type { snapshotProviderCapability } from './snapshot-provider.cap.js';
146
157
  import type { notificationOutputCapability } from './notification-output.cap.js';
@@ -163,6 +174,9 @@ import type { motionCapability } from './motion.cap.js';
163
174
  import type { recordingCapability } from './recording.cap.js';
164
175
  import type { deviceOpsCapability } from './device-ops.cap.js';
165
176
  import type { platformProbeCapability } from './platform-probe.cap.js';
177
+ import type { localNetworkCapability } from './local-network.cap.js';
178
+ import type { meshNetworkCapability } from './mesh-network.cap.js';
179
+ import type { meshOrchestratorCapability } from './mesh-orchestrator.cap.js';
166
180
  import type { userManagementCapability } from './user-management.cap.js';
167
181
  import type { systemCapability } from './system.cap.js';
168
182
  import type { networkQualityCapability } from './network-quality.cap.js';
@@ -171,7 +185,7 @@ import type { nodesCapability } from './nodes.cap.js';
171
185
  import type { integrationsCapability } from './integrations.cap.js';
172
186
  import type { addonsCapability } from './addons.cap.js';
173
187
  import type { IReadinessRegistry } from '../interfaces/readiness.js';
174
- type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof restreamerCapability | typeof webrtcCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof streamingEngineCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof snapshotProviderCapability | typeof notificationOutputCapability | typeof advancedNotifierCapability | typeof recordingEngineCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof recordingCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof integrationsCapability | typeof addonsCapability;
188
+ type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof restreamerCapability | typeof webrtcCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof streamingEngineCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof authenticationCapability | typeof networkAccessCapability | typeof remoteAccessCapability | typeof turnProviderCapability | typeof turnOrchestratorCapability | typeof snapshotCapability | typeof snapshotProviderCapability | typeof notificationOutputCapability | typeof advancedNotifierCapability | typeof recordingEngineCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof recordingCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof meshOrchestratorCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof integrationsCapability | typeof addonsCapability;
175
189
  export type CapabilityName = AnyCapability['name'];
176
190
  export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
177
191
  //# sourceMappingURL=index.d.ts.map