@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
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
import type { ModelCatalogEntry, RootStepSupply } from '../types/models.js';
|
|
28
28
|
import type { PostprocessorType } from '../types/pipeline-step.js';
|
|
29
29
|
/** Steps whose effect a root label can BE. */
|
|
30
|
-
export declare const LABEL_SUPPLY_STEP_IDS: readonly [
|
|
30
|
+
export declare const LABEL_SUPPLY_STEP_IDS: readonly ['animal-classifier', 'vehicle-classifier', 'package-detection'];
|
|
31
31
|
export type LabelSupplyStepId = (typeof LABEL_SUPPLY_STEP_IDS)[number];
|
|
32
32
|
/** Steps whose box a root detection can BE. */
|
|
33
|
-
export declare const CROP_SUPPLY_STEP_IDS: readonly [
|
|
33
|
+
export declare const CROP_SUPPLY_STEP_IDS: readonly ['plate-detection', 'face-detection'];
|
|
34
34
|
export type CropSupplyStepId = (typeof CROP_SUPPLY_STEP_IDS)[number];
|
|
35
35
|
/**
|
|
36
36
|
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
@@ -38,7 +38,7 @@ export type CropSupplyStepId = (typeof CROP_SUPPLY_STEP_IDS)[number];
|
|
|
38
38
|
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
39
39
|
* no camera tree carries.)
|
|
40
40
|
*/
|
|
41
|
-
export declare const MASK_SUPPLY_STEP_IDS: readonly [
|
|
41
|
+
export declare const MASK_SUPPLY_STEP_IDS: readonly ['segmentation'];
|
|
42
42
|
export type MaskSupplyStepId = (typeof MASK_SUPPLY_STEP_IDS)[number];
|
|
43
43
|
/** Every step a root model can supply. */
|
|
44
44
|
export declare const ROOT_SUPPLIABLE_STEP_IDS: readonly ["animal-classifier", "vehicle-classifier", "package-detection", "plate-detection", "face-detection", "segmentation"];
|
|
@@ -12,10 +12,10 @@ import { type CompositionProblemCode } from './composition-report.js';
|
|
|
12
12
|
export declare const ComposableFieldSchema: z.ZodObject<{
|
|
13
13
|
path: z.ZodString;
|
|
14
14
|
kind: z.ZodEnum<{
|
|
15
|
-
string: "string";
|
|
16
|
-
number: "number";
|
|
17
15
|
boolean: "boolean";
|
|
18
16
|
enum: "enum";
|
|
17
|
+
number: "number";
|
|
18
|
+
string: "string";
|
|
19
19
|
}>;
|
|
20
20
|
nullable: z.ZodBoolean;
|
|
21
21
|
required: z.ZodBoolean;
|
|
@@ -27,10 +27,10 @@ export declare const ComposableCapabilitySchema: z.ZodObject<{
|
|
|
27
27
|
fields: z.ZodArray<z.ZodObject<{
|
|
28
28
|
path: z.ZodString;
|
|
29
29
|
kind: z.ZodEnum<{
|
|
30
|
-
string: "string";
|
|
31
|
-
number: "number";
|
|
32
30
|
boolean: "boolean";
|
|
33
31
|
enum: "enum";
|
|
32
|
+
number: "number";
|
|
33
|
+
string: "string";
|
|
34
34
|
}>;
|
|
35
35
|
nullable: z.ZodBoolean;
|
|
36
36
|
required: z.ZodBoolean;
|
|
@@ -48,10 +48,10 @@ export declare const ComposableCapabilitiesSchema: z.ZodObject<{
|
|
|
48
48
|
fields: z.ZodArray<z.ZodObject<{
|
|
49
49
|
path: z.ZodString;
|
|
50
50
|
kind: z.ZodEnum<{
|
|
51
|
-
string: "string";
|
|
52
|
-
number: "number";
|
|
53
51
|
boolean: "boolean";
|
|
54
52
|
enum: "enum";
|
|
53
|
+
number: "number";
|
|
54
|
+
string: "string";
|
|
55
55
|
}>;
|
|
56
56
|
nullable: z.ZodBoolean;
|
|
57
57
|
required: z.ZodBoolean;
|
|
@@ -4,65 +4,65 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export declare const CompositionProblemCodeSchema: z.ZodEnum<{
|
|
7
|
-
|
|
8
|
-
"
|
|
7
|
+
cycle: "cycle";
|
|
8
|
+
"duplicate-target": "duplicate-target";
|
|
9
|
+
"expression-invalid": "expression-invalid";
|
|
10
|
+
"has-commands": "has-commands";
|
|
11
|
+
"item-field-reserved": "item-field-reserved";
|
|
9
12
|
"kind-mismatch": "kind-mismatch";
|
|
13
|
+
"may-be-null": "may-be-null";
|
|
14
|
+
"missing-field": "missing-field";
|
|
15
|
+
"nested-field": "nested-field";
|
|
10
16
|
"not-composable": "not-composable";
|
|
17
|
+
"not-item-array": "not-item-array";
|
|
18
|
+
"not-replaceable": "not-replaceable";
|
|
11
19
|
"reserved-variant": "reserved-variant";
|
|
12
|
-
"unknown-capability": "unknown-capability";
|
|
13
|
-
"wrong-device-type": "wrong-device-type";
|
|
14
|
-
"has-commands": "has-commands";
|
|
15
|
-
"nested-field": "nested-field";
|
|
16
|
-
"missing-field": "missing-field";
|
|
17
|
-
"may-be-null": "may-be-null";
|
|
18
|
-
"source-unreadable": "source-unreadable";
|
|
19
20
|
"source-capability-missing": "source-capability-missing";
|
|
20
21
|
"source-field-unknown": "source-field-unknown";
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"duplicate-target": "duplicate-target";
|
|
24
|
-
"not-item-array": "not-item-array";
|
|
25
|
-
"item-field-reserved": "item-field-reserved";
|
|
22
|
+
"source-missing": "source-missing";
|
|
23
|
+
"source-unreadable": "source-unreadable";
|
|
26
24
|
"target-missing": "target-missing";
|
|
27
25
|
"target-unreadable": "target-unreadable";
|
|
28
|
-
"
|
|
26
|
+
"unknown-capability": "unknown-capability";
|
|
27
|
+
"unknown-field": "unknown-field";
|
|
28
|
+
"wrong-device-type": "wrong-device-type";
|
|
29
29
|
}>;
|
|
30
30
|
export type CompositionProblemCode = z.infer<typeof CompositionProblemCodeSchema>;
|
|
31
31
|
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
|
|
32
32
|
export declare const CompositionProblemSchema: z.ZodObject<{
|
|
33
33
|
code: z.ZodEnum<{
|
|
34
|
-
|
|
35
|
-
"
|
|
34
|
+
cycle: "cycle";
|
|
35
|
+
"duplicate-target": "duplicate-target";
|
|
36
|
+
"expression-invalid": "expression-invalid";
|
|
37
|
+
"has-commands": "has-commands";
|
|
38
|
+
"item-field-reserved": "item-field-reserved";
|
|
36
39
|
"kind-mismatch": "kind-mismatch";
|
|
40
|
+
"may-be-null": "may-be-null";
|
|
41
|
+
"missing-field": "missing-field";
|
|
42
|
+
"nested-field": "nested-field";
|
|
37
43
|
"not-composable": "not-composable";
|
|
44
|
+
"not-item-array": "not-item-array";
|
|
45
|
+
"not-replaceable": "not-replaceable";
|
|
38
46
|
"reserved-variant": "reserved-variant";
|
|
39
|
-
"unknown-capability": "unknown-capability";
|
|
40
|
-
"wrong-device-type": "wrong-device-type";
|
|
41
|
-
"has-commands": "has-commands";
|
|
42
|
-
"nested-field": "nested-field";
|
|
43
|
-
"missing-field": "missing-field";
|
|
44
|
-
"may-be-null": "may-be-null";
|
|
45
|
-
"source-unreadable": "source-unreadable";
|
|
46
47
|
"source-capability-missing": "source-capability-missing";
|
|
47
48
|
"source-field-unknown": "source-field-unknown";
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
"duplicate-target": "duplicate-target";
|
|
51
|
-
"not-item-array": "not-item-array";
|
|
52
|
-
"item-field-reserved": "item-field-reserved";
|
|
49
|
+
"source-missing": "source-missing";
|
|
50
|
+
"source-unreadable": "source-unreadable";
|
|
53
51
|
"target-missing": "target-missing";
|
|
54
52
|
"target-unreadable": "target-unreadable";
|
|
55
|
-
"
|
|
53
|
+
"unknown-capability": "unknown-capability";
|
|
54
|
+
"unknown-field": "unknown-field";
|
|
55
|
+
"wrong-device-type": "wrong-device-type";
|
|
56
56
|
}>;
|
|
57
57
|
path: z.ZodString;
|
|
58
58
|
message: z.ZodString;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
export type CompositionProblem = z.infer<typeof CompositionProblemSchema>;
|
|
61
61
|
export declare const CompositionFieldKindSchema: z.ZodEnum<{
|
|
62
|
-
string: "string";
|
|
63
|
-
number: "number";
|
|
64
62
|
boolean: "boolean";
|
|
65
63
|
enum: "enum";
|
|
64
|
+
number: "number";
|
|
65
|
+
string: "string";
|
|
66
66
|
}>;
|
|
67
67
|
export type CompositionFieldKind = z.infer<typeof CompositionFieldKindSchema>;
|
|
68
68
|
/**
|
|
@@ -73,9 +73,9 @@ export type CompositionFieldKind = z.infer<typeof CompositionFieldKindSchema>;
|
|
|
73
73
|
*/
|
|
74
74
|
export declare const CompositionUnavailableModeSchema: z.ZodEnum<{
|
|
75
75
|
null: "null";
|
|
76
|
-
unknown: "unknown";
|
|
77
76
|
offline: "offline";
|
|
78
77
|
release: "release";
|
|
78
|
+
unknown: "unknown";
|
|
79
79
|
}>;
|
|
80
80
|
export type CompositionUnavailableMode = z.infer<typeof CompositionUnavailableModeSchema>;
|
|
81
81
|
/**
|
|
@@ -84,10 +84,10 @@ export type CompositionUnavailableMode = z.infer<typeof CompositionUnavailableMo
|
|
|
84
84
|
* `accumulator` advances from the target's seed/current output.
|
|
85
85
|
*/
|
|
86
86
|
export declare const CompositionFieldRoleSchema: z.ZodEnum<{
|
|
87
|
-
|
|
87
|
+
accumulator: "accumulator";
|
|
88
88
|
clock: "clock";
|
|
89
89
|
constant: "constant";
|
|
90
|
-
|
|
90
|
+
derived: "derived";
|
|
91
91
|
}>;
|
|
92
92
|
export type CompositionFieldRole = z.infer<typeof CompositionFieldRoleSchema>;
|
|
93
93
|
/** The item a planned field belongs to; its `path` is then the dotted path INSIDE the item. */
|
|
@@ -107,24 +107,24 @@ export declare const CompositionFieldPlanSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strip>>;
|
|
108
108
|
featureIndex: z.ZodNumber;
|
|
109
109
|
kind: z.ZodEnum<{
|
|
110
|
-
string: "string";
|
|
111
|
-
number: "number";
|
|
112
110
|
boolean: "boolean";
|
|
113
111
|
enum: "enum";
|
|
112
|
+
number: "number";
|
|
113
|
+
string: "string";
|
|
114
114
|
}>;
|
|
115
115
|
nullable: z.ZodBoolean;
|
|
116
116
|
required: z.ZodBoolean;
|
|
117
117
|
unavailable: z.ZodEnum<{
|
|
118
118
|
null: "null";
|
|
119
|
-
unknown: "unknown";
|
|
120
119
|
offline: "offline";
|
|
121
120
|
release: "release";
|
|
121
|
+
unknown: "unknown";
|
|
122
122
|
}>;
|
|
123
123
|
role: z.ZodEnum<{
|
|
124
|
-
|
|
124
|
+
accumulator: "accumulator";
|
|
125
125
|
clock: "clock";
|
|
126
126
|
constant: "constant";
|
|
127
|
-
|
|
127
|
+
derived: "derived";
|
|
128
128
|
}>;
|
|
129
129
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
130
130
|
source: z.ZodObject<{
|
|
@@ -171,18 +171,18 @@ export declare function compositionFieldKey(plan: Pick<CompositionFieldPlan, 'ca
|
|
|
171
171
|
* `replace`s named fields of one it has natively.
|
|
172
172
|
*/
|
|
173
173
|
export declare const CompositionFeatureModeSchema: z.ZodEnum<{
|
|
174
|
-
replace: "replace";
|
|
175
|
-
new: "new";
|
|
176
174
|
add: "add";
|
|
175
|
+
new: "new";
|
|
176
|
+
replace: "replace";
|
|
177
177
|
}>;
|
|
178
178
|
export type CompositionFeatureMode = z.infer<typeof CompositionFeatureModeSchema>;
|
|
179
179
|
export declare const CompositionFeaturePlanSchema: z.ZodObject<{
|
|
180
180
|
featureIndex: z.ZodNumber;
|
|
181
181
|
cap: z.ZodString;
|
|
182
182
|
mode: z.ZodEnum<{
|
|
183
|
-
replace: "replace";
|
|
184
|
-
new: "new";
|
|
185
183
|
add: "add";
|
|
184
|
+
new: "new";
|
|
185
|
+
replace: "replace";
|
|
186
186
|
}>;
|
|
187
187
|
}, z.core.$strip>;
|
|
188
188
|
export type CompositionFeaturePlan = z.infer<typeof CompositionFeaturePlanSchema>;
|
|
@@ -190,28 +190,28 @@ export declare const CompositionValidationSchema: z.ZodObject<{
|
|
|
190
190
|
ok: z.ZodBoolean;
|
|
191
191
|
problems: z.ZodArray<z.ZodObject<{
|
|
192
192
|
code: z.ZodEnum<{
|
|
193
|
-
|
|
194
|
-
"
|
|
193
|
+
cycle: "cycle";
|
|
194
|
+
"duplicate-target": "duplicate-target";
|
|
195
|
+
"expression-invalid": "expression-invalid";
|
|
196
|
+
"has-commands": "has-commands";
|
|
197
|
+
"item-field-reserved": "item-field-reserved";
|
|
195
198
|
"kind-mismatch": "kind-mismatch";
|
|
199
|
+
"may-be-null": "may-be-null";
|
|
200
|
+
"missing-field": "missing-field";
|
|
201
|
+
"nested-field": "nested-field";
|
|
196
202
|
"not-composable": "not-composable";
|
|
203
|
+
"not-item-array": "not-item-array";
|
|
204
|
+
"not-replaceable": "not-replaceable";
|
|
197
205
|
"reserved-variant": "reserved-variant";
|
|
198
|
-
"unknown-capability": "unknown-capability";
|
|
199
|
-
"wrong-device-type": "wrong-device-type";
|
|
200
|
-
"has-commands": "has-commands";
|
|
201
|
-
"nested-field": "nested-field";
|
|
202
|
-
"missing-field": "missing-field";
|
|
203
|
-
"may-be-null": "may-be-null";
|
|
204
|
-
"source-unreadable": "source-unreadable";
|
|
205
206
|
"source-capability-missing": "source-capability-missing";
|
|
206
207
|
"source-field-unknown": "source-field-unknown";
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
"duplicate-target": "duplicate-target";
|
|
210
|
-
"not-item-array": "not-item-array";
|
|
211
|
-
"item-field-reserved": "item-field-reserved";
|
|
208
|
+
"source-missing": "source-missing";
|
|
209
|
+
"source-unreadable": "source-unreadable";
|
|
212
210
|
"target-missing": "target-missing";
|
|
213
211
|
"target-unreadable": "target-unreadable";
|
|
214
|
-
"
|
|
212
|
+
"unknown-capability": "unknown-capability";
|
|
213
|
+
"unknown-field": "unknown-field";
|
|
214
|
+
"wrong-device-type": "wrong-device-type";
|
|
215
215
|
}>;
|
|
216
216
|
path: z.ZodString;
|
|
217
217
|
message: z.ZodString;
|
|
@@ -226,24 +226,24 @@ export declare const CompositionValidationSchema: z.ZodObject<{
|
|
|
226
226
|
}, z.core.$strip>>;
|
|
227
227
|
featureIndex: z.ZodNumber;
|
|
228
228
|
kind: z.ZodEnum<{
|
|
229
|
-
string: "string";
|
|
230
|
-
number: "number";
|
|
231
229
|
boolean: "boolean";
|
|
232
230
|
enum: "enum";
|
|
231
|
+
number: "number";
|
|
232
|
+
string: "string";
|
|
233
233
|
}>;
|
|
234
234
|
nullable: z.ZodBoolean;
|
|
235
235
|
required: z.ZodBoolean;
|
|
236
236
|
unavailable: z.ZodEnum<{
|
|
237
237
|
null: "null";
|
|
238
|
-
unknown: "unknown";
|
|
239
238
|
offline: "offline";
|
|
240
239
|
release: "release";
|
|
240
|
+
unknown: "unknown";
|
|
241
241
|
}>;
|
|
242
242
|
role: z.ZodEnum<{
|
|
243
|
-
|
|
243
|
+
accumulator: "accumulator";
|
|
244
244
|
clock: "clock";
|
|
245
245
|
constant: "constant";
|
|
246
|
-
|
|
246
|
+
derived: "derived";
|
|
247
247
|
}>;
|
|
248
248
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
249
249
|
source: z.ZodObject<{
|
|
@@ -285,9 +285,9 @@ export declare const CompositionValidationSchema: z.ZodObject<{
|
|
|
285
285
|
featureIndex: z.ZodNumber;
|
|
286
286
|
cap: z.ZodString;
|
|
287
287
|
mode: z.ZodEnum<{
|
|
288
|
-
replace: "replace";
|
|
289
|
-
new: "new";
|
|
290
288
|
add: "add";
|
|
289
|
+
new: "new";
|
|
290
|
+
replace: "replace";
|
|
291
291
|
}>;
|
|
292
292
|
}, z.core.$strip>>;
|
|
293
293
|
events: z.ZodArray<z.ZodObject<{
|
|
@@ -306,17 +306,17 @@ export type CompositionValidation = z.infer<typeof CompositionValidationSchema>;
|
|
|
306
306
|
* source is unavailable (ruling S1b, D663) — the reason names each such field.
|
|
307
307
|
*/
|
|
308
308
|
export declare const CompositionRunStatusSchema: z.ZodEnum<{
|
|
309
|
-
|
|
309
|
+
degraded: "degraded";
|
|
310
310
|
failed: "failed";
|
|
311
|
-
|
|
311
|
+
running: "running";
|
|
312
312
|
starting: "starting";
|
|
313
|
-
|
|
313
|
+
stopped: "stopped";
|
|
314
314
|
}>;
|
|
315
315
|
export type CompositionRunStatus = z.infer<typeof CompositionRunStatusSchema>;
|
|
316
316
|
export declare const CompositionFieldStateKindSchema: z.ZodEnum<{
|
|
317
|
+
fresh: "fresh";
|
|
317
318
|
stale: "stale";
|
|
318
319
|
unavailable: "unavailable";
|
|
319
|
-
fresh: "fresh";
|
|
320
320
|
}>;
|
|
321
321
|
export type CompositionFieldStateKind = z.infer<typeof CompositionFieldStateKindSchema>;
|
|
322
322
|
export declare const CompositionFieldStateSchema: z.ZodObject<{
|
|
@@ -328,9 +328,9 @@ export declare const CompositionFieldStateSchema: z.ZodObject<{
|
|
|
328
328
|
label: z.ZodString;
|
|
329
329
|
}, z.core.$strip>>;
|
|
330
330
|
state: z.ZodEnum<{
|
|
331
|
+
fresh: "fresh";
|
|
331
332
|
stale: "stale";
|
|
332
333
|
unavailable: "unavailable";
|
|
333
|
-
fresh: "fresh";
|
|
334
334
|
}>;
|
|
335
335
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
336
336
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -340,11 +340,11 @@ export declare const CompositionBlockStateSchema: z.ZodObject<{
|
|
|
340
340
|
blockId: z.ZodString;
|
|
341
341
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
342
342
|
status: z.ZodEnum<{
|
|
343
|
-
|
|
343
|
+
degraded: "degraded";
|
|
344
344
|
failed: "failed";
|
|
345
|
-
|
|
345
|
+
running: "running";
|
|
346
346
|
starting: "starting";
|
|
347
|
-
|
|
347
|
+
stopped: "stopped";
|
|
348
348
|
}>;
|
|
349
349
|
reason: z.ZodOptional<z.ZodString>;
|
|
350
350
|
fields: z.ZodArray<z.ZodObject<{
|
|
@@ -356,9 +356,9 @@ export declare const CompositionBlockStateSchema: z.ZodObject<{
|
|
|
356
356
|
label: z.ZodString;
|
|
357
357
|
}, z.core.$strip>>;
|
|
358
358
|
state: z.ZodEnum<{
|
|
359
|
+
fresh: "fresh";
|
|
359
360
|
stale: "stale";
|
|
360
361
|
unavailable: "unavailable";
|
|
361
|
-
fresh: "fresh";
|
|
362
362
|
}>;
|
|
363
363
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
364
364
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
* (D536).
|
|
45
45
|
*/
|
|
46
46
|
/** The pinned jellyfin-ffmpeg release. Changing this is the version change. */
|
|
47
|
-
export declare const FFMPEG_RELEASE:
|
|
47
|
+
export declare const FFMPEG_RELEASE: '8.1.2-5';
|
|
48
48
|
/** ffmpeg 8.1.2 is what this release builds — for the log line, not resolution. */
|
|
49
|
-
export declare const FFMPEG_VERSION:
|
|
49
|
+
export declare const FFMPEG_VERSION: '8.1.2';
|
|
50
50
|
export interface FfmpegArtifact {
|
|
51
51
|
readonly url: string;
|
|
52
52
|
readonly archiveFormat: 'zip' | 'tar.gz' | 'tar.xz';
|
|
@@ -68,7 +68,7 @@ import { z } from 'zod';
|
|
|
68
68
|
* Every icon id a location may carry. Kebab-case lucide icon ids — see the
|
|
69
69
|
* module docblock for why the vocabulary names the drawing and not the room.
|
|
70
70
|
*/
|
|
71
|
-
export declare const LOCATION_ICON_IDS: readonly [
|
|
71
|
+
export declare const LOCATION_ICON_IDS: readonly ['map-pin', 'house', 'door-open', 'sofa', 'utensils', 'bed-double', 'bath', 'briefcase', 'car', 'circle-parking', 'route', 'trees', 'umbrella', 'waves-ladder', 'fence', 'package', 'warehouse', 'store', 'sun', 'radar'];
|
|
72
72
|
/** One member of {@link LOCATION_ICON_IDS}. */
|
|
73
73
|
/**
|
|
74
74
|
* Inferred from the schema, not re-derived from the tuple.
|
|
@@ -87,26 +87,26 @@ export type LocationIconId = z.infer<typeof LocationIconIdSchema>;
|
|
|
87
87
|
export declare const LOCATION_ICON_FALLBACK: LocationIconId;
|
|
88
88
|
/** Wire/storage schema for one icon id. */
|
|
89
89
|
export declare const LocationIconIdSchema: z.ZodEnum<{
|
|
90
|
-
package: "package";
|
|
91
|
-
"map-pin": "map-pin";
|
|
92
|
-
house: "house";
|
|
93
|
-
"door-open": "door-open";
|
|
94
|
-
sofa: "sofa";
|
|
95
|
-
utensils: "utensils";
|
|
96
|
-
"bed-double": "bed-double";
|
|
97
90
|
bath: "bath";
|
|
91
|
+
"bed-double": "bed-double";
|
|
98
92
|
briefcase: "briefcase";
|
|
99
93
|
car: "car";
|
|
100
94
|
"circle-parking": "circle-parking";
|
|
95
|
+
"door-open": "door-open";
|
|
96
|
+
fence: "fence";
|
|
97
|
+
house: "house";
|
|
98
|
+
"map-pin": "map-pin";
|
|
99
|
+
package: "package";
|
|
100
|
+
radar: "radar";
|
|
101
101
|
route: "route";
|
|
102
|
+
sofa: "sofa";
|
|
103
|
+
store: "store";
|
|
104
|
+
sun: "sun";
|
|
102
105
|
trees: "trees";
|
|
103
106
|
umbrella: "umbrella";
|
|
104
|
-
|
|
105
|
-
fence: "fence";
|
|
107
|
+
utensils: "utensils";
|
|
106
108
|
warehouse: "warehouse";
|
|
107
|
-
|
|
108
|
-
sun: "sun";
|
|
109
|
-
radar: "radar";
|
|
109
|
+
"waves-ladder": "waves-ladder";
|
|
110
110
|
}>;
|
|
111
111
|
/**
|
|
112
112
|
* One (location, icon) assignment as it travels.
|
|
@@ -121,26 +121,26 @@ export declare const LocationIconIdSchema: z.ZodEnum<{
|
|
|
121
121
|
export declare const LocationIconAssignmentSchema: z.ZodObject<{
|
|
122
122
|
locationKey: z.ZodString;
|
|
123
123
|
icon: z.ZodEnum<{
|
|
124
|
-
package: "package";
|
|
125
|
-
"map-pin": "map-pin";
|
|
126
|
-
house: "house";
|
|
127
|
-
"door-open": "door-open";
|
|
128
|
-
sofa: "sofa";
|
|
129
|
-
utensils: "utensils";
|
|
130
|
-
"bed-double": "bed-double";
|
|
131
124
|
bath: "bath";
|
|
125
|
+
"bed-double": "bed-double";
|
|
132
126
|
briefcase: "briefcase";
|
|
133
127
|
car: "car";
|
|
134
128
|
"circle-parking": "circle-parking";
|
|
129
|
+
"door-open": "door-open";
|
|
130
|
+
fence: "fence";
|
|
131
|
+
house: "house";
|
|
132
|
+
"map-pin": "map-pin";
|
|
133
|
+
package: "package";
|
|
134
|
+
radar: "radar";
|
|
135
135
|
route: "route";
|
|
136
|
+
sofa: "sofa";
|
|
137
|
+
store: "store";
|
|
138
|
+
sun: "sun";
|
|
136
139
|
trees: "trees";
|
|
137
140
|
umbrella: "umbrella";
|
|
138
|
-
|
|
139
|
-
fence: "fence";
|
|
141
|
+
utensils: "utensils";
|
|
140
142
|
warehouse: "warehouse";
|
|
141
|
-
|
|
142
|
-
sun: "sun";
|
|
143
|
-
radar: "radar";
|
|
143
|
+
"waves-ladder": "waves-ladder";
|
|
144
144
|
}>;
|
|
145
145
|
}, z.core.$strip>;
|
|
146
146
|
/** @see LocationIconAssignmentSchema */
|
|
@@ -44,26 +44,26 @@ export declare const SiteZoneSchema: z.ZodObject<{
|
|
|
44
44
|
zoneKey: z.ZodString;
|
|
45
45
|
label: z.ZodString;
|
|
46
46
|
icon: z.ZodNullable<z.ZodEnum<{
|
|
47
|
-
package: "package";
|
|
48
|
-
"map-pin": "map-pin";
|
|
49
|
-
house: "house";
|
|
50
|
-
"door-open": "door-open";
|
|
51
|
-
sofa: "sofa";
|
|
52
|
-
utensils: "utensils";
|
|
53
|
-
"bed-double": "bed-double";
|
|
54
47
|
bath: "bath";
|
|
48
|
+
"bed-double": "bed-double";
|
|
55
49
|
briefcase: "briefcase";
|
|
56
50
|
car: "car";
|
|
57
51
|
"circle-parking": "circle-parking";
|
|
52
|
+
"door-open": "door-open";
|
|
53
|
+
fence: "fence";
|
|
54
|
+
house: "house";
|
|
55
|
+
"map-pin": "map-pin";
|
|
56
|
+
package: "package";
|
|
57
|
+
radar: "radar";
|
|
58
58
|
route: "route";
|
|
59
|
+
sofa: "sofa";
|
|
60
|
+
store: "store";
|
|
61
|
+
sun: "sun";
|
|
59
62
|
trees: "trees";
|
|
60
63
|
umbrella: "umbrella";
|
|
61
|
-
|
|
62
|
-
fence: "fence";
|
|
64
|
+
utensils: "utensils";
|
|
63
65
|
warehouse: "warehouse";
|
|
64
|
-
|
|
65
|
-
sun: "sun";
|
|
66
|
-
radar: "radar";
|
|
66
|
+
"waves-ladder": "waves-ladder";
|
|
67
67
|
}>>;
|
|
68
68
|
locationKeys: z.ZodArray<z.ZodString>;
|
|
69
69
|
}, z.core.$strip>;
|
package/dist/encode-profile.d.ts
CHANGED
|
@@ -13,13 +13,13 @@ import { z } from 'zod';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const VideoEncodeSchema: z.ZodObject<{
|
|
15
15
|
codec: z.ZodEnum<{
|
|
16
|
+
copy: "copy";
|
|
16
17
|
h264: "h264";
|
|
17
18
|
h265: "h265";
|
|
18
|
-
copy: "copy";
|
|
19
19
|
}>;
|
|
20
20
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
high: "high";
|
|
22
21
|
baseline: "baseline";
|
|
22
|
+
high: "high";
|
|
23
23
|
main: "main";
|
|
24
24
|
}>>;
|
|
25
25
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -30,28 +30,28 @@ export declare const VideoEncodeSchema: z.ZodObject<{
|
|
|
30
30
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
33
|
-
ultrafast: "ultrafast";
|
|
34
|
-
superfast: "superfast";
|
|
35
|
-
veryfast: "veryfast";
|
|
36
|
-
faster: "faster";
|
|
37
33
|
fast: "fast";
|
|
34
|
+
faster: "faster";
|
|
38
35
|
medium: "medium";
|
|
36
|
+
superfast: "superfast";
|
|
37
|
+
ultrafast: "ultrafast";
|
|
38
|
+
veryfast: "veryfast";
|
|
39
39
|
}>>;
|
|
40
40
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
41
|
-
zerolatency: "zerolatency";
|
|
42
|
-
film: "film";
|
|
43
41
|
animation: "animation";
|
|
42
|
+
film: "film";
|
|
43
|
+
zerolatency: "zerolatency";
|
|
44
44
|
}>>;
|
|
45
45
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
export type VideoEncode = z.infer<typeof VideoEncodeSchema>;
|
|
48
48
|
export declare const AudioEncodeSchema: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
49
49
|
codec: z.ZodEnum<{
|
|
50
|
-
|
|
51
|
-
pcma: "pcma";
|
|
50
|
+
aac: "aac";
|
|
52
51
|
copy: "copy";
|
|
53
52
|
opus: "opus";
|
|
54
|
-
|
|
53
|
+
pcma: "pcma";
|
|
54
|
+
pcmu: "pcmu";
|
|
55
55
|
}>;
|
|
56
56
|
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
@@ -61,13 +61,13 @@ export type AudioEncode = z.infer<typeof AudioEncodeSchema>;
|
|
|
61
61
|
export declare const EncodeProfileSchema: z.ZodObject<{
|
|
62
62
|
video: z.ZodObject<{
|
|
63
63
|
codec: z.ZodEnum<{
|
|
64
|
+
copy: "copy";
|
|
64
65
|
h264: "h264";
|
|
65
66
|
h265: "h265";
|
|
66
|
-
copy: "copy";
|
|
67
67
|
}>;
|
|
68
68
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
high: "high";
|
|
70
69
|
baseline: "baseline";
|
|
70
|
+
high: "high";
|
|
71
71
|
main: "main";
|
|
72
72
|
}>>;
|
|
73
73
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -78,27 +78,27 @@ export declare const EncodeProfileSchema: z.ZodObject<{
|
|
|
78
78
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
80
80
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
ultrafast: "ultrafast";
|
|
82
|
-
superfast: "superfast";
|
|
83
|
-
veryfast: "veryfast";
|
|
84
|
-
faster: "faster";
|
|
85
81
|
fast: "fast";
|
|
82
|
+
faster: "faster";
|
|
86
83
|
medium: "medium";
|
|
84
|
+
superfast: "superfast";
|
|
85
|
+
ultrafast: "ultrafast";
|
|
86
|
+
veryfast: "veryfast";
|
|
87
87
|
}>>;
|
|
88
88
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
89
|
-
zerolatency: "zerolatency";
|
|
90
|
-
film: "film";
|
|
91
89
|
animation: "animation";
|
|
90
|
+
film: "film";
|
|
91
|
+
zerolatency: "zerolatency";
|
|
92
92
|
}>>;
|
|
93
93
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
94
94
|
}, z.core.$strip>;
|
|
95
95
|
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
96
96
|
codec: z.ZodEnum<{
|
|
97
|
-
|
|
98
|
-
pcma: "pcma";
|
|
97
|
+
aac: "aac";
|
|
99
98
|
copy: "copy";
|
|
100
99
|
opus: "opus";
|
|
101
|
-
|
|
100
|
+
pcma: "pcma";
|
|
101
|
+
pcmu: "pcmu";
|
|
102
102
|
}>;
|
|
103
103
|
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
104
104
|
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|