@camstack/types 1.0.1 → 1.0.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.
- package/dist/capabilities/addon-widgets.cap.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +1 -1
- package/dist/capabilities/network-quality.cap.d.ts +1 -1
- package/dist/capabilities/settings-store.cap.d.ts +1 -1
- package/dist/capabilities/snapshot.cap.d.ts +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/generated/addon-api.d.ts +2208 -2206
- package/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/dist/interfaces/addon.d.ts +3 -3
- package/dist/interfaces/api-shared.d.ts +1 -1
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +2 -2
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
12
12
|
* manual reload — same scheme used by `addon-pages`.
|
|
13
13
|
*
|
|
14
14
|
* The hub-local builtin `addon-widgets-aggregator` (see
|
|
15
|
-
* `@camstack/
|
|
15
|
+
* `@camstack/system/builtins/addon-widgets-aggregator`) registers the
|
|
16
16
|
* provider. Splitting the public aggregator from the raw collection
|
|
17
17
|
* keeps both ends in codegen — there's no hand-written wrapper.
|
|
18
18
|
*/
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
21
21
|
* via the same surface would leak internal topology with no upside.
|
|
22
22
|
*
|
|
23
|
-
* Implementation in `@camstack/
|
|
23
|
+
* Implementation in `@camstack/system/builtins/local-network/`.
|
|
24
24
|
*/
|
|
25
25
|
import { z } from 'zod';
|
|
26
26
|
import { type InferProvider } from './capability-definition.js';
|
|
@@ -5,7 +5,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
5
5
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
6
6
|
*
|
|
7
7
|
* Implementation lives in the server's `NetworkQualityService` (thin
|
|
8
|
-
* wrapper over the shared `NetworkQualityTracker` from `@camstack/
|
|
8
|
+
* wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
|
|
9
9
|
* The provider is registered from `trpc.router.ts` against the existing
|
|
10
10
|
* service instance — no addon owns this state.
|
|
11
11
|
*
|
|
@@ -63,7 +63,7 @@ declare const CollectionIndexSchema: z.ZodObject<{
|
|
|
63
63
|
* - With namespace: `{ namespace: 'events', collection: 'detections' }` →
|
|
64
64
|
* `"<addonId>:events:detections"`
|
|
65
65
|
*
|
|
66
|
-
* Implemented by `@camstack/
|
|
66
|
+
* Implemented by `@camstack/system/builtins/sqlite-settings` (SQLite WAL backend).
|
|
67
67
|
* Addons access it via `ctx.api.settingsStore.*`.
|
|
68
68
|
*/
|
|
69
69
|
export declare const settingsStoreCapability: {
|
|
@@ -23,7 +23,7 @@ declare const SnapshotImageSchema: z.ZodObject<{
|
|
|
23
23
|
* straight from the camera (HTTP snapshot URL, ONVIF action, etc.).
|
|
24
24
|
*
|
|
25
25
|
* - **Wrapper** providers (kind:'wrapper'): register as a system
|
|
26
|
-
* provider (SnapshotAddon in `@camstack/
|
|
26
|
+
* provider (SnapshotAddon in `@camstack/system/builtins/snapshot`). The
|
|
27
27
|
* wrapper owns the cache and invokes the native via
|
|
28
28
|
* `ctx.getNativeProvider(snapshotCapability, deviceId)` on miss.
|
|
29
29
|
*
|
package/dist/constants.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface RuntimeDefaultsShape {
|
|
|
44
44
|
* Runtime defaults -- used by ConfigManager.get() for backward compatibility
|
|
45
45
|
* until Plan B wires all runtime settings to the system_settings SQL table.
|
|
46
46
|
*
|
|
47
|
-
* Moved from @camstack/
|
|
48
|
-
* @camstack/
|
|
47
|
+
* Moved from @camstack/system/config-schema to @camstack/types so that
|
|
48
|
+
* @camstack/system can reference it without a cross-package kernel import.
|
|
49
49
|
*/
|
|
50
50
|
export declare const RUNTIME_DEFAULTS: RuntimeDefaultsShape;
|