@camstack/types 1.2.426 → 1.2.428
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/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this package are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.2.428] - 2026-10-27
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- The published package now includes its README and CHANGELOG.
|
|
15
|
+
|
|
16
|
+
## [1.2.427] - 2026-10-27
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- CamStack Types: Shared types, interfaces, and model catalogs for the CamStack detection ecosystem.
|
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CamStack Types
|
|
2
|
+
|
|
3
|
+
Shared types, interfaces, and model catalogs for the CamStack detection ecosystem.
|
|
4
|
+
|
|
5
|
+
<!-- readme:generated:start (derived from the manifest; edit outside this block) -->
|
|
6
|
+
|
|
7
|
+
Package `@camstack/types` on npm.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
- [docs/architecture/notifications.md](https://github.com/camstack/server/blob/main/docs/architecture/notifications.md)
|
|
12
|
+
- [docs/architecture/capabilities.md](https://github.com/camstack/server/blob/main/docs/architecture/capabilities.md)
|
|
13
|
+
- [docs/architecture/detection-execution.md](https://github.com/camstack/server/blob/main/docs/architecture/detection-execution.md)
|
|
14
|
+
- [docs/architecture/ffmpeg.md](https://github.com/camstack/server/blob/main/docs/architecture/ffmpeg.md)
|
|
15
|
+
- [packages/types/AGENTS.md](https://github.com/camstack/server/blob/main/packages/types/AGENTS.md)
|
|
16
|
+
|
|
17
|
+
See [CHANGELOG.md](./CHANGELOG.md) for what changed in each version.
|
|
18
|
+
|
|
19
|
+
<!-- readme:generated:end -->
|
|
@@ -29,7 +29,7 @@ export declare const batteryCapability: {
|
|
|
29
29
|
readonly scope: 'device';
|
|
30
30
|
readonly deviceNative: true;
|
|
31
31
|
readonly mode: 'singleton';
|
|
32
|
-
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat];
|
|
32
|
+
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter];
|
|
33
33
|
readonly methods: {
|
|
34
34
|
/**
|
|
35
35
|
* Explicitly wake the camera from low-power sleep ahead of a
|
|
@@ -177,7 +177,7 @@ export declare const batteryCapability: {
|
|
|
177
177
|
readonly cap: 'battery';
|
|
178
178
|
readonly stateField: 'percentage';
|
|
179
179
|
};
|
|
180
|
-
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat];
|
|
180
|
+
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter];
|
|
181
181
|
readonly apply: 'add';
|
|
182
182
|
readonly path: 'percentage';
|
|
183
183
|
readonly sources: readonly [{
|
|
@@ -38,7 +38,7 @@ export type NetworkEndpoint = z.infer<typeof NetworkEndpointSchema>;
|
|
|
38
38
|
export type NetworkTunnelStartedData = z.infer<typeof NetworkTunnelStartedDataSchema>;
|
|
39
39
|
/**
|
|
40
40
|
* Optional, richer endpoint shape returned by providers that expose
|
|
41
|
-
* MORE than one ingress concurrently (Tailscale
|
|
41
|
+
* MORE than one ingress concurrently (Tailscale Funnel with mixed
|
|
42
42
|
* serve+funnel rules, future ngrok multi-tunnel, …). Each entry carries
|
|
43
43
|
* the originating provider config (mode + sourcePort) so the
|
|
44
44
|
* orchestrator UI can label rows distinctly. Providers that expose only
|
|
@@ -9,7 +9,7 @@ export declare const CAP_CUSTOMIZE_CATALOG: {
|
|
|
9
9
|
readonly targets: readonly [{
|
|
10
10
|
readonly id: 'percentage';
|
|
11
11
|
readonly cardinality: 'scalar';
|
|
12
|
-
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat];
|
|
12
|
+
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter];
|
|
13
13
|
readonly apply: 'add';
|
|
14
14
|
readonly vocabularyCap: 'battery';
|
|
15
15
|
readonly vocabularyStateField: 'percentage';
|
package/dist/index.js
CHANGED
|
@@ -43856,7 +43856,7 @@ var NetworkAccessStatusSchema = zod.z.object({
|
|
|
43856
43856
|
});
|
|
43857
43857
|
/**
|
|
43858
43858
|
* Optional, richer endpoint shape returned by providers that expose
|
|
43859
|
-
* MORE than one ingress concurrently (Tailscale
|
|
43859
|
+
* MORE than one ingress concurrently (Tailscale Funnel with mixed
|
|
43860
43860
|
* serve+funnel rules, future ngrok multi-tunnel, …). Each entry carries
|
|
43861
43861
|
* the originating provider config (mode + sourcePort) so the
|
|
43862
43862
|
* orchestrator UI can label rows distinctly. Providers that expose only
|
|
@@ -62808,7 +62808,8 @@ var BATTERY_DEVICE_TYPES = [
|
|
|
62808
62808
|
require_err_msg.DeviceType.Switch,
|
|
62809
62809
|
require_err_msg.DeviceType.PetFeeder,
|
|
62810
62810
|
require_err_msg.DeviceType.Container,
|
|
62811
|
-
require_err_msg.DeviceType.Thermostat
|
|
62811
|
+
require_err_msg.DeviceType.Thermostat,
|
|
62812
|
+
require_err_msg.DeviceType.EventEmitter
|
|
62812
62813
|
];
|
|
62813
62814
|
/** Generic Customize target for the percentage reading (D936). */
|
|
62814
62815
|
var batteryCustomize = {
|
|
@@ -80516,7 +80517,8 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
80516
80517
|
require_err_msg.DeviceType.Switch,
|
|
80517
80518
|
require_err_msg.DeviceType.PetFeeder,
|
|
80518
80519
|
require_err_msg.DeviceType.Container,
|
|
80519
|
-
require_err_msg.DeviceType.Thermostat
|
|
80520
|
+
require_err_msg.DeviceType.Thermostat,
|
|
80521
|
+
require_err_msg.DeviceType.EventEmitter
|
|
80520
80522
|
],
|
|
80521
80523
|
apply: "add",
|
|
80522
80524
|
vocabularyCap: "battery",
|
package/dist/index.mjs
CHANGED
|
@@ -43855,7 +43855,7 @@ var NetworkAccessStatusSchema = z.object({
|
|
|
43855
43855
|
});
|
|
43856
43856
|
/**
|
|
43857
43857
|
* Optional, richer endpoint shape returned by providers that expose
|
|
43858
|
-
* MORE than one ingress concurrently (Tailscale
|
|
43858
|
+
* MORE than one ingress concurrently (Tailscale Funnel with mixed
|
|
43859
43859
|
* serve+funnel rules, future ngrok multi-tunnel, …). Each entry carries
|
|
43860
43860
|
* the originating provider config (mode + sourcePort) so the
|
|
43861
43861
|
* orchestrator UI can label rows distinctly. Providers that expose only
|
|
@@ -62807,7 +62807,8 @@ var BATTERY_DEVICE_TYPES = [
|
|
|
62807
62807
|
DeviceType.Switch,
|
|
62808
62808
|
DeviceType.PetFeeder,
|
|
62809
62809
|
DeviceType.Container,
|
|
62810
|
-
DeviceType.Thermostat
|
|
62810
|
+
DeviceType.Thermostat,
|
|
62811
|
+
DeviceType.EventEmitter
|
|
62811
62812
|
];
|
|
62812
62813
|
/** Generic Customize target for the percentage reading (D936). */
|
|
62813
62814
|
var batteryCustomize = {
|
|
@@ -80515,7 +80516,8 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
80515
80516
|
DeviceType.Switch,
|
|
80516
80517
|
DeviceType.PetFeeder,
|
|
80517
80518
|
DeviceType.Container,
|
|
80518
|
-
DeviceType.Thermostat
|
|
80519
|
+
DeviceType.Thermostat,
|
|
80520
|
+
DeviceType.EventEmitter
|
|
80519
80521
|
],
|
|
80520
80522
|
apply: "add",
|
|
80521
80523
|
vocabularyCap: "battery",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.428",
|
|
4
4
|
"description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -67,7 +67,9 @@
|
|
|
67
67
|
"description": "Shared cap definitions, schemas, and runtime contracts. Required at server boot; updating restarts the hub."
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
|
-
"dist"
|
|
70
|
+
"dist",
|
|
71
|
+
"README.md",
|
|
72
|
+
"CHANGELOG.md"
|
|
71
73
|
],
|
|
72
74
|
"scripts": {
|
|
73
75
|
"build": "vite build && vite build -c vite.client.config.ts && ../../scripts/tsc7 -p tsconfig.json --emitDeclarationOnly",
|