@camstack/types 1.2.336 → 1.2.338
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +285 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +78 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/index.js +111 -2
- package/dist/index.mjs +111 -2
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/platform.d.ts +6 -1
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +100 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* deployable one addon at a time across three nodes.
|
|
41
41
|
*/
|
|
42
42
|
/** Every byte format the audio chunk plane can carry. `f32le` is the default. */
|
|
43
|
-
export declare const AUDIO_CHUNK_FORMATS: readonly [
|
|
43
|
+
export declare const AUDIO_CHUNK_FORMATS: readonly ['f32le', 'pcmu', 'pcma'];
|
|
44
44
|
/**
|
|
45
45
|
* The byte format of a decoded audio chunk's `data`.
|
|
46
46
|
*
|
|
@@ -41,14 +41,14 @@ export declare const MAX_CONDITION_LEAVES = 32;
|
|
|
41
41
|
/** How a leaf compares a device field to a value. Derived from the field's
|
|
42
42
|
* `kind` in `deviceManager.getWireableFields`, never hand-maintained. */
|
|
43
43
|
export declare const AutomationConditionOperatorSchema: z.ZodEnum<{
|
|
44
|
-
|
|
44
|
+
contains: "contains";
|
|
45
45
|
eq: "eq";
|
|
46
|
-
ne: "ne";
|
|
47
46
|
gt: "gt";
|
|
48
47
|
gte: "gte";
|
|
48
|
+
in: "in";
|
|
49
49
|
lt: "lt";
|
|
50
50
|
lte: "lte";
|
|
51
|
-
|
|
51
|
+
ne: "ne";
|
|
52
52
|
}>;
|
|
53
53
|
export type AutomationConditionOperator = z.infer<typeof AutomationConditionOperatorSchema>;
|
|
54
54
|
/** A catalog leaf: one device field compared to one value. */
|
|
@@ -30,10 +30,10 @@ export declare const AccessoriesStatusSchema: z.ZodObject<{
|
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
export type AccessoriesStatus = z.infer<typeof AccessoriesStatusSchema>;
|
|
32
32
|
export declare const accessoriesCapability: {
|
|
33
|
-
readonly name:
|
|
34
|
-
readonly scope:
|
|
33
|
+
readonly name: 'accessories';
|
|
34
|
+
readonly scope: 'device';
|
|
35
35
|
readonly deviceNative: true;
|
|
36
|
-
readonly mode:
|
|
36
|
+
readonly mode: 'singleton';
|
|
37
37
|
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Light, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Cover, DeviceType.Lock, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Generic];
|
|
38
38
|
readonly methods: {
|
|
39
39
|
/**
|
|
@@ -83,7 +83,7 @@ export declare const accessoriesCapability: {
|
|
|
83
83
|
childDeviceIds: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
84
84
|
hiddenChildIds: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
85
85
|
}, z.core.$strip>;
|
|
86
|
-
readonly kind:
|
|
86
|
+
readonly kind: 'command-driven';
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
export type IAccessoriesProvider = InferProvider<typeof accessoriesCapability>;
|
|
@@ -23,9 +23,9 @@ declare const AddonPageDeclarationSchema: z.ZodObject<{
|
|
|
23
23
|
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
export declare const addonPagesSourceCapability: {
|
|
26
|
-
readonly name:
|
|
27
|
-
readonly scope:
|
|
28
|
-
readonly mode:
|
|
26
|
+
readonly name: 'addon-pages-source';
|
|
27
|
+
readonly scope: 'system';
|
|
28
|
+
readonly mode: 'collection';
|
|
29
29
|
readonly internal: true;
|
|
30
30
|
readonly methods: {
|
|
31
31
|
/**
|
|
@@ -15,9 +15,9 @@ declare const AddonPageInfoSchema: z.ZodObject<{
|
|
|
15
15
|
bundleUrl: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
export declare const addonPagesCapability: {
|
|
18
|
-
readonly name:
|
|
19
|
-
readonly scope:
|
|
20
|
-
readonly mode:
|
|
18
|
+
readonly name: 'addon-pages';
|
|
19
|
+
readonly scope: 'system';
|
|
20
|
+
readonly mode: 'singleton';
|
|
21
21
|
readonly methods: {
|
|
22
22
|
readonly listPages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
23
23
|
addonId: z.ZodString;
|
|
@@ -30,24 +30,24 @@ declare const InvokeReplyEnvelopeSchema: z.ZodObject<{
|
|
|
30
30
|
contentType: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
export declare const addonRoutesCapability: {
|
|
33
|
-
readonly name:
|
|
34
|
-
readonly scope:
|
|
35
|
-
readonly mode:
|
|
33
|
+
readonly name: 'addon-routes';
|
|
34
|
+
readonly scope: 'system';
|
|
35
|
+
readonly mode: 'collection';
|
|
36
36
|
readonly internal: true;
|
|
37
37
|
readonly methods: {
|
|
38
38
|
readonly getRoutes: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
|
|
39
39
|
method: z.ZodEnum<{
|
|
40
|
-
PUT: "PUT";
|
|
41
|
-
POST: "POST";
|
|
42
|
-
GET: "GET";
|
|
43
40
|
DELETE: "DELETE";
|
|
41
|
+
GET: "GET";
|
|
44
42
|
PATCH: "PATCH";
|
|
43
|
+
POST: "POST";
|
|
44
|
+
PUT: "PUT";
|
|
45
45
|
}>;
|
|
46
46
|
path: z.ZodString;
|
|
47
47
|
access: z.ZodOptional<z.ZodEnum<{
|
|
48
|
-
public: "public";
|
|
49
48
|
admin: "admin";
|
|
50
49
|
authenticated: "authenticated";
|
|
50
|
+
public: "public";
|
|
51
51
|
}>>;
|
|
52
52
|
description: z.ZodOptional<z.ZodString>;
|
|
53
53
|
rateLimit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -85,7 +85,7 @@ export declare const addonRoutesCapability: {
|
|
|
85
85
|
};
|
|
86
86
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
87
87
|
readonly mount: {
|
|
88
|
-
readonly kind:
|
|
88
|
+
readonly kind: 'skip';
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
export type IAddonRoutesProvider = InferProvider<typeof addonRoutesCapability>;
|
|
@@ -11,8 +11,8 @@ declare const ConfigSectionWithValuesSchema: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodString;
|
|
12
12
|
description: z.ZodOptional<z.ZodString>;
|
|
13
13
|
style: z.ZodOptional<z.ZodEnum<{
|
|
14
|
-
card: "card";
|
|
15
14
|
accordion: "accordion";
|
|
15
|
+
card: "card";
|
|
16
16
|
}>>;
|
|
17
17
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -36,8 +36,8 @@ declare const SettingsSchemaWithValuesSchema: z.ZodObject<{
|
|
|
36
36
|
title: z.ZodString;
|
|
37
37
|
description: z.ZodOptional<z.ZodString>;
|
|
38
38
|
style: z.ZodOptional<z.ZodEnum<{
|
|
39
|
-
card: "card";
|
|
40
39
|
accordion: "accordion";
|
|
40
|
+
card: "card";
|
|
41
41
|
}>>;
|
|
42
42
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -83,10 +83,10 @@ declare const SettingsUpdateResultSchema: z.ZodObject<{
|
|
|
83
83
|
* `CapabilityDefinition.nodeIdMode` for the contract.
|
|
84
84
|
*/
|
|
85
85
|
export declare const addonSettingsCapability: {
|
|
86
|
-
readonly name:
|
|
87
|
-
readonly scope:
|
|
88
|
-
readonly mode:
|
|
89
|
-
readonly nodeIdMode:
|
|
86
|
+
readonly name: 'addon-settings';
|
|
87
|
+
readonly scope: 'system';
|
|
88
|
+
readonly mode: 'singleton';
|
|
89
|
+
readonly nodeIdMode: 'data';
|
|
90
90
|
readonly methods: {
|
|
91
91
|
readonly getGlobalSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
92
92
|
addonId: z.ZodString;
|
|
@@ -105,8 +105,8 @@ export declare const addonSettingsCapability: {
|
|
|
105
105
|
title: z.ZodString;
|
|
106
106
|
description: z.ZodOptional<z.ZodString>;
|
|
107
107
|
style: z.ZodOptional<z.ZodEnum<{
|
|
108
|
-
card: "card";
|
|
109
108
|
accordion: "accordion";
|
|
109
|
+
card: "card";
|
|
110
110
|
}>>;
|
|
111
111
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
112
112
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -141,8 +141,8 @@ export declare const addonSettingsCapability: {
|
|
|
141
141
|
title: z.ZodString;
|
|
142
142
|
description: z.ZodOptional<z.ZodString>;
|
|
143
143
|
style: z.ZodOptional<z.ZodEnum<{
|
|
144
|
-
card: "card";
|
|
145
144
|
accordion: "accordion";
|
|
145
|
+
card: "card";
|
|
146
146
|
}>>;
|
|
147
147
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -171,8 +171,8 @@ export declare const addonSettingsCapability: {
|
|
|
171
171
|
title: z.ZodString;
|
|
172
172
|
description: z.ZodOptional<z.ZodString>;
|
|
173
173
|
style: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
card: "card";
|
|
175
174
|
accordion: "accordion";
|
|
175
|
+
card: "card";
|
|
176
176
|
}>>;
|
|
177
177
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
178
178
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
@@ -22,16 +22,16 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
22
22
|
*/
|
|
23
23
|
/** Where the widget makes sense to render — maps to a contribution `tab`. */
|
|
24
24
|
declare const WidgetHostEnum: z.ZodEnum<{
|
|
25
|
-
"device-tab": "device-tab";
|
|
26
25
|
dashboard: "dashboard";
|
|
26
|
+
"device-tab": "device-tab";
|
|
27
27
|
"integration-detail": "integration-detail";
|
|
28
28
|
}>;
|
|
29
29
|
declare const WidgetSizeEnum: z.ZodEnum<{
|
|
30
|
-
xs: "xs";
|
|
31
|
-
sm: "sm";
|
|
32
|
-
md: "md";
|
|
33
30
|
lg: "lg";
|
|
31
|
+
md: "md";
|
|
32
|
+
sm: "sm";
|
|
34
33
|
xl: "xl";
|
|
34
|
+
xs: "xs";
|
|
35
35
|
}>;
|
|
36
36
|
/**
|
|
37
37
|
* MF remote descriptor — mirrors `UiContributionRemote` from
|
|
@@ -90,8 +90,8 @@ declare const WidgetMetadataSchema: z.ZodObject<{
|
|
|
90
90
|
icon: z.ZodOptional<z.ZodString>;
|
|
91
91
|
bundle: z.ZodString;
|
|
92
92
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
93
|
-
"device-tab": "device-tab";
|
|
94
93
|
dashboard: "dashboard";
|
|
94
|
+
"device-tab": "device-tab";
|
|
95
95
|
"integration-detail": "integration-detail";
|
|
96
96
|
}>>>;
|
|
97
97
|
requires: z.ZodObject<{
|
|
@@ -100,26 +100,26 @@ declare const WidgetMetadataSchema: z.ZodObject<{
|
|
|
100
100
|
}, z.core.$strip>;
|
|
101
101
|
preAuth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
102
102
|
defaultSize: z.ZodDefault<z.ZodEnum<{
|
|
103
|
-
xs: "xs";
|
|
104
|
-
sm: "sm";
|
|
105
|
-
md: "md";
|
|
106
103
|
lg: "lg";
|
|
104
|
+
md: "md";
|
|
105
|
+
sm: "sm";
|
|
107
106
|
xl: "xl";
|
|
107
|
+
xs: "xs";
|
|
108
108
|
}>>;
|
|
109
109
|
allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
110
|
-
xs: "xs";
|
|
111
|
-
sm: "sm";
|
|
112
|
-
md: "md";
|
|
113
110
|
lg: "lg";
|
|
111
|
+
md: "md";
|
|
112
|
+
sm: "sm";
|
|
114
113
|
xl: "xl";
|
|
114
|
+
xs: "xs";
|
|
115
115
|
}>>>>;
|
|
116
116
|
defaultColumns: z.ZodDefault<z.ZodNumber>;
|
|
117
117
|
defaultRows: z.ZodDefault<z.ZodNumber>;
|
|
118
118
|
}, z.core.$strip>;
|
|
119
119
|
export declare const addonWidgetsSourceCapability: {
|
|
120
|
-
readonly name:
|
|
121
|
-
readonly scope:
|
|
122
|
-
readonly mode:
|
|
120
|
+
readonly name: 'addon-widgets-source';
|
|
121
|
+
readonly scope: 'system';
|
|
122
|
+
readonly mode: 'collection';
|
|
123
123
|
readonly internal: true;
|
|
124
124
|
readonly methods: {
|
|
125
125
|
/**
|
|
@@ -150,8 +150,8 @@ export declare const addonWidgetsSourceCapability: {
|
|
|
150
150
|
icon: z.ZodOptional<z.ZodString>;
|
|
151
151
|
bundle: z.ZodString;
|
|
152
152
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
153
|
-
"device-tab": "device-tab";
|
|
154
153
|
dashboard: "dashboard";
|
|
154
|
+
"device-tab": "device-tab";
|
|
155
155
|
"integration-detail": "integration-detail";
|
|
156
156
|
}>>>;
|
|
157
157
|
requires: z.ZodObject<{
|
|
@@ -160,18 +160,18 @@ export declare const addonWidgetsSourceCapability: {
|
|
|
160
160
|
}, z.core.$strip>;
|
|
161
161
|
preAuth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
162
162
|
defaultSize: z.ZodDefault<z.ZodEnum<{
|
|
163
|
-
xs: "xs";
|
|
164
|
-
sm: "sm";
|
|
165
|
-
md: "md";
|
|
166
163
|
lg: "lg";
|
|
164
|
+
md: "md";
|
|
165
|
+
sm: "sm";
|
|
167
166
|
xl: "xl";
|
|
167
|
+
xs: "xs";
|
|
168
168
|
}>>;
|
|
169
169
|
allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
170
|
-
xs: "xs";
|
|
171
|
-
sm: "sm";
|
|
172
|
-
md: "md";
|
|
173
170
|
lg: "lg";
|
|
171
|
+
md: "md";
|
|
172
|
+
sm: "sm";
|
|
174
173
|
xl: "xl";
|
|
174
|
+
xs: "xs";
|
|
175
175
|
}>>>>;
|
|
176
176
|
defaultColumns: z.ZodDefault<z.ZodNumber>;
|
|
177
177
|
defaultRows: z.ZodDefault<z.ZodNumber>;
|
|
@@ -32,8 +32,8 @@ declare const EnrichedWidgetMetadataSchema: z.ZodObject<{
|
|
|
32
32
|
icon: z.ZodOptional<z.ZodString>;
|
|
33
33
|
bundle: z.ZodString;
|
|
34
34
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
35
|
-
"device-tab": "device-tab";
|
|
36
35
|
dashboard: "dashboard";
|
|
36
|
+
"device-tab": "device-tab";
|
|
37
37
|
"integration-detail": "integration-detail";
|
|
38
38
|
}>>>;
|
|
39
39
|
requires: z.ZodObject<{
|
|
@@ -42,18 +42,18 @@ declare const EnrichedWidgetMetadataSchema: z.ZodObject<{
|
|
|
42
42
|
}, z.core.$strip>;
|
|
43
43
|
preAuth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
44
44
|
defaultSize: z.ZodDefault<z.ZodEnum<{
|
|
45
|
-
xs: "xs";
|
|
46
|
-
sm: "sm";
|
|
47
|
-
md: "md";
|
|
48
45
|
lg: "lg";
|
|
46
|
+
md: "md";
|
|
47
|
+
sm: "sm";
|
|
49
48
|
xl: "xl";
|
|
49
|
+
xs: "xs";
|
|
50
50
|
}>>;
|
|
51
51
|
allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
52
|
-
xs: "xs";
|
|
53
|
-
sm: "sm";
|
|
54
|
-
md: "md";
|
|
55
52
|
lg: "lg";
|
|
53
|
+
md: "md";
|
|
54
|
+
sm: "sm";
|
|
56
55
|
xl: "xl";
|
|
56
|
+
xs: "xs";
|
|
57
57
|
}>>>>;
|
|
58
58
|
defaultColumns: z.ZodDefault<z.ZodNumber>;
|
|
59
59
|
defaultRows: z.ZodDefault<z.ZodNumber>;
|
|
@@ -61,9 +61,9 @@ declare const EnrichedWidgetMetadataSchema: z.ZodObject<{
|
|
|
61
61
|
bundleUrl: z.ZodString;
|
|
62
62
|
}, z.core.$strip>;
|
|
63
63
|
export declare const addonWidgetsCapability: {
|
|
64
|
-
readonly name:
|
|
65
|
-
readonly scope:
|
|
66
|
-
readonly mode:
|
|
64
|
+
readonly name: 'addon-widgets';
|
|
65
|
+
readonly scope: 'system';
|
|
66
|
+
readonly mode: 'singleton';
|
|
67
67
|
readonly methods: {
|
|
68
68
|
readonly listWidgets: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
69
69
|
tab: z.ZodString;
|
|
@@ -81,8 +81,8 @@ export declare const addonWidgetsCapability: {
|
|
|
81
81
|
icon: z.ZodOptional<z.ZodString>;
|
|
82
82
|
bundle: z.ZodString;
|
|
83
83
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
84
|
-
"device-tab": "device-tab";
|
|
85
84
|
dashboard: "dashboard";
|
|
85
|
+
"device-tab": "device-tab";
|
|
86
86
|
"integration-detail": "integration-detail";
|
|
87
87
|
}>>>;
|
|
88
88
|
requires: z.ZodObject<{
|
|
@@ -91,18 +91,18 @@ export declare const addonWidgetsCapability: {
|
|
|
91
91
|
}, z.core.$strip>;
|
|
92
92
|
preAuth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
93
93
|
defaultSize: z.ZodDefault<z.ZodEnum<{
|
|
94
|
-
xs: "xs";
|
|
95
|
-
sm: "sm";
|
|
96
|
-
md: "md";
|
|
97
94
|
lg: "lg";
|
|
95
|
+
md: "md";
|
|
96
|
+
sm: "sm";
|
|
98
97
|
xl: "xl";
|
|
98
|
+
xs: "xs";
|
|
99
99
|
}>>;
|
|
100
100
|
allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
101
|
-
xs: "xs";
|
|
102
|
-
sm: "sm";
|
|
103
|
-
md: "md";
|
|
104
101
|
lg: "lg";
|
|
102
|
+
md: "md";
|
|
103
|
+
sm: "sm";
|
|
105
104
|
xl: "xl";
|
|
105
|
+
xs: "xs";
|
|
106
106
|
}>>>>;
|
|
107
107
|
defaultColumns: z.ZodDefault<z.ZodNumber>;
|
|
108
108
|
defaultRows: z.ZodDefault<z.ZodNumber>;
|