@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,9 +27,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
27
27
|
*/
|
|
28
28
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
29
29
|
export declare const MethodAccessSchema: z.ZodEnum<{
|
|
30
|
-
view: "view";
|
|
31
30
|
create: "create";
|
|
32
31
|
delete: "delete";
|
|
32
|
+
view: "view";
|
|
33
33
|
}>;
|
|
34
34
|
export type MethodAccess = z.infer<typeof MethodAccessSchema>;
|
|
35
35
|
export declare const CapScopeSchema: z.ZodEnum<{
|
|
@@ -86,9 +86,9 @@ declare const DeviceTokenScopeSchema: z.ZodObject<{
|
|
|
86
86
|
locations: z.ZodArray<z.ZodString>;
|
|
87
87
|
}, z.core.$strip>], "kind">;
|
|
88
88
|
access: z.ZodArray<z.ZodEnum<{
|
|
89
|
-
view: "view";
|
|
90
89
|
create: "create";
|
|
91
90
|
delete: "delete";
|
|
91
|
+
view: "view";
|
|
92
92
|
}>>;
|
|
93
93
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
94
94
|
}, z.core.$strip>;
|
|
@@ -99,25 +99,25 @@ export declare const TokenScopeSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[
|
|
|
99
99
|
system: "system";
|
|
100
100
|
}>;
|
|
101
101
|
access: z.ZodArray<z.ZodEnum<{
|
|
102
|
-
view: "view";
|
|
103
102
|
create: "create";
|
|
104
103
|
delete: "delete";
|
|
104
|
+
view: "view";
|
|
105
105
|
}>>;
|
|
106
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
107
|
type: z.ZodLiteral<"capability">;
|
|
108
108
|
target: z.ZodString;
|
|
109
109
|
access: z.ZodArray<z.ZodEnum<{
|
|
110
|
-
view: "view";
|
|
111
110
|
create: "create";
|
|
112
111
|
delete: "delete";
|
|
112
|
+
view: "view";
|
|
113
113
|
}>>;
|
|
114
114
|
}, z.core.$strip>, z.ZodObject<{
|
|
115
115
|
type: z.ZodLiteral<"addon">;
|
|
116
116
|
target: z.ZodString;
|
|
117
117
|
access: z.ZodArray<z.ZodEnum<{
|
|
118
|
-
view: "view";
|
|
119
118
|
create: "create";
|
|
120
119
|
delete: "delete";
|
|
120
|
+
view: "view";
|
|
121
121
|
}>>;
|
|
122
122
|
}, z.core.$strip>, z.ZodObject<{
|
|
123
123
|
type: z.ZodLiteral<"device">;
|
|
@@ -134,9 +134,9 @@ export declare const TokenScopeSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[
|
|
|
134
134
|
locations: z.ZodArray<z.ZodString>;
|
|
135
135
|
}, z.core.$strip>], "kind">;
|
|
136
136
|
access: z.ZodArray<z.ZodEnum<{
|
|
137
|
-
view: "view";
|
|
138
137
|
create: "create";
|
|
139
138
|
delete: "delete";
|
|
139
|
+
view: "view";
|
|
140
140
|
}>>;
|
|
141
141
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
142
142
|
}, z.core.$strip>], "type">>;
|
|
@@ -157,25 +157,25 @@ export declare const UserRecordSchema: z.ZodObject<{
|
|
|
157
157
|
system: "system";
|
|
158
158
|
}>;
|
|
159
159
|
access: z.ZodArray<z.ZodEnum<{
|
|
160
|
-
view: "view";
|
|
161
160
|
create: "create";
|
|
162
161
|
delete: "delete";
|
|
162
|
+
view: "view";
|
|
163
163
|
}>>;
|
|
164
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
165
|
type: z.ZodLiteral<"capability">;
|
|
166
166
|
target: z.ZodString;
|
|
167
167
|
access: z.ZodArray<z.ZodEnum<{
|
|
168
|
-
view: "view";
|
|
169
168
|
create: "create";
|
|
170
169
|
delete: "delete";
|
|
170
|
+
view: "view";
|
|
171
171
|
}>>;
|
|
172
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
173
|
type: z.ZodLiteral<"addon">;
|
|
174
174
|
target: z.ZodString;
|
|
175
175
|
access: z.ZodArray<z.ZodEnum<{
|
|
176
|
-
view: "view";
|
|
177
176
|
create: "create";
|
|
178
177
|
delete: "delete";
|
|
178
|
+
view: "view";
|
|
179
179
|
}>>;
|
|
180
180
|
}, z.core.$strip>, z.ZodObject<{
|
|
181
181
|
type: z.ZodLiteral<"device">;
|
|
@@ -192,9 +192,9 @@ export declare const UserRecordSchema: z.ZodObject<{
|
|
|
192
192
|
locations: z.ZodArray<z.ZodString>;
|
|
193
193
|
}, z.core.$strip>], "kind">;
|
|
194
194
|
access: z.ZodArray<z.ZodEnum<{
|
|
195
|
-
view: "view";
|
|
196
195
|
create: "create";
|
|
197
196
|
delete: "delete";
|
|
197
|
+
view: "view";
|
|
198
198
|
}>>;
|
|
199
199
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
200
200
|
}, z.core.$strip>], "type">>>>;
|
|
@@ -227,25 +227,25 @@ export declare const ScopedTokenSchema: z.ZodObject<{
|
|
|
227
227
|
system: "system";
|
|
228
228
|
}>;
|
|
229
229
|
access: z.ZodArray<z.ZodEnum<{
|
|
230
|
-
view: "view";
|
|
231
230
|
create: "create";
|
|
232
231
|
delete: "delete";
|
|
232
|
+
view: "view";
|
|
233
233
|
}>>;
|
|
234
234
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
235
|
type: z.ZodLiteral<"capability">;
|
|
236
236
|
target: z.ZodString;
|
|
237
237
|
access: z.ZodArray<z.ZodEnum<{
|
|
238
|
-
view: "view";
|
|
239
238
|
create: "create";
|
|
240
239
|
delete: "delete";
|
|
240
|
+
view: "view";
|
|
241
241
|
}>>;
|
|
242
242
|
}, z.core.$strip>, z.ZodObject<{
|
|
243
243
|
type: z.ZodLiteral<"addon">;
|
|
244
244
|
target: z.ZodString;
|
|
245
245
|
access: z.ZodArray<z.ZodEnum<{
|
|
246
|
-
view: "view";
|
|
247
246
|
create: "create";
|
|
248
247
|
delete: "delete";
|
|
248
|
+
view: "view";
|
|
249
249
|
}>>;
|
|
250
250
|
}, z.core.$strip>, z.ZodObject<{
|
|
251
251
|
type: z.ZodLiteral<"device">;
|
|
@@ -262,9 +262,9 @@ export declare const ScopedTokenSchema: z.ZodObject<{
|
|
|
262
262
|
locations: z.ZodArray<z.ZodString>;
|
|
263
263
|
}, z.core.$strip>], "kind">;
|
|
264
264
|
access: z.ZodArray<z.ZodEnum<{
|
|
265
|
-
view: "view";
|
|
266
265
|
create: "create";
|
|
267
266
|
delete: "delete";
|
|
267
|
+
view: "view";
|
|
268
268
|
}>>;
|
|
269
269
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
270
270
|
}, z.core.$strip>], "type">>>;
|
|
@@ -20,10 +20,10 @@ export declare const TRAINING_RESULT_SCHEMA = "camstack.training-result/v1";
|
|
|
20
20
|
export declare const CAMSTACK_EVENT_PREFIX = "CAMSTACK_EVENT ";
|
|
21
21
|
/** What the trainer can export. Edge TPU is a later, separate image. */
|
|
22
22
|
export declare const TrainingExportSchema: z.ZodEnum<{
|
|
23
|
+
"coreml-fp16": "coreml-fp16";
|
|
23
24
|
onnx: "onnx";
|
|
24
25
|
"openvino-fp16": "openvino-fp16";
|
|
25
26
|
"openvino-int8": "openvino-int8";
|
|
26
|
-
"coreml-fp16": "coreml-fp16";
|
|
27
27
|
}>;
|
|
28
28
|
export type TrainingExport = z.infer<typeof TrainingExportSchema>;
|
|
29
29
|
export declare const TrainingJobSpecSchema: z.ZodObject<{
|
|
@@ -68,10 +68,10 @@ export declare const TrainingJobSpecSchema: z.ZodObject<{
|
|
|
68
68
|
count: z.ZodNumber;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
exports: z.ZodArray<z.ZodEnum<{
|
|
71
|
+
"coreml-fp16": "coreml-fp16";
|
|
71
72
|
onnx: "onnx";
|
|
72
73
|
"openvino-fp16": "openvino-fp16";
|
|
73
74
|
"openvino-int8": "openvino-int8";
|
|
74
|
-
"coreml-fp16": "coreml-fp16";
|
|
75
75
|
}>>;
|
|
76
76
|
calibration: z.ZodObject<{
|
|
77
77
|
maxFrames: z.ZodNumber;
|
|
@@ -95,14 +95,14 @@ export declare const TrainingResultFileSchema: z.ZodObject<{
|
|
|
95
95
|
bytes: z.ZodNumber;
|
|
96
96
|
sha256: z.ZodString;
|
|
97
97
|
format: z.ZodEnum<{
|
|
98
|
-
onnx: "onnx";
|
|
99
98
|
coreml: "coreml";
|
|
99
|
+
onnx: "onnx";
|
|
100
100
|
openvino: "openvino";
|
|
101
101
|
pt: "pt";
|
|
102
102
|
}>;
|
|
103
103
|
variant: z.ZodEnum<{
|
|
104
|
-
int8: "int8";
|
|
105
104
|
base: "base";
|
|
105
|
+
int8: "int8";
|
|
106
106
|
}>;
|
|
107
107
|
}, z.core.$strip>;
|
|
108
108
|
export type TrainingResultFile = z.infer<typeof TrainingResultFileSchema>;
|
|
@@ -303,14 +303,14 @@ export declare const TrainingResultSchema: z.ZodObject<{
|
|
|
303
303
|
bytes: z.ZodNumber;
|
|
304
304
|
sha256: z.ZodString;
|
|
305
305
|
format: z.ZodEnum<{
|
|
306
|
-
onnx: "onnx";
|
|
307
306
|
coreml: "coreml";
|
|
307
|
+
onnx: "onnx";
|
|
308
308
|
openvino: "openvino";
|
|
309
309
|
pt: "pt";
|
|
310
310
|
}>;
|
|
311
311
|
variant: z.ZodEnum<{
|
|
312
|
-
int8: "int8";
|
|
313
312
|
base: "base";
|
|
313
|
+
int8: "int8";
|
|
314
314
|
}>;
|
|
315
315
|
}, z.core.$strip>>>;
|
|
316
316
|
bundle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -400,27 +400,29 @@ export declare const TrainingResultSchema: z.ZodObject<{
|
|
|
400
400
|
}, z.core.$strip>;
|
|
401
401
|
export type TrainingResult = z.infer<typeof TrainingResultSchema>;
|
|
402
402
|
export declare const TrainingStageSchema: z.ZodEnum<{
|
|
403
|
+
eval: "eval";
|
|
404
|
+
export: "export";
|
|
403
405
|
package: "package";
|
|
406
|
+
prepare: "prepare";
|
|
404
407
|
replay: "replay";
|
|
405
408
|
train: "train";
|
|
406
|
-
export: "export";
|
|
407
|
-
prepare: "prepare";
|
|
408
|
-
eval: "eval";
|
|
409
409
|
}>;
|
|
410
410
|
export type TrainingStage = z.infer<typeof TrainingStageSchema>;
|
|
411
411
|
export declare const TrainingEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
412
|
+
v: z.ZodLiteral<1>;
|
|
413
|
+
ts: z.ZodNumber;
|
|
412
414
|
type: z.ZodLiteral<"stage">;
|
|
413
415
|
stage: z.ZodEnum<{
|
|
416
|
+
eval: "eval";
|
|
417
|
+
export: "export";
|
|
414
418
|
package: "package";
|
|
419
|
+
prepare: "prepare";
|
|
415
420
|
replay: "replay";
|
|
416
421
|
train: "train";
|
|
417
|
-
export: "export";
|
|
418
|
-
prepare: "prepare";
|
|
419
|
-
eval: "eval";
|
|
420
422
|
}>;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
424
|
v: z.ZodLiteral<1>;
|
|
422
425
|
ts: z.ZodNumber;
|
|
423
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
424
426
|
type: z.ZodLiteral<"epoch">;
|
|
425
427
|
epoch: z.ZodNumber;
|
|
426
428
|
epochs: z.ZodNumber;
|
|
@@ -428,37 +430,35 @@ export declare const TrainingEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
430
|
map50: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
429
431
|
map50_95: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
430
432
|
etaSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
431
434
|
v: z.ZodLiteral<1>;
|
|
432
435
|
ts: z.ZodNumber;
|
|
433
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
434
436
|
type: z.ZodLiteral<"metric">;
|
|
435
437
|
name: z.ZodString;
|
|
436
438
|
value: z.ZodNumber;
|
|
439
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
437
440
|
v: z.ZodLiteral<1>;
|
|
438
441
|
ts: z.ZodNumber;
|
|
439
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
440
442
|
type: z.ZodLiteral<"artifact">;
|
|
441
443
|
path: z.ZodString;
|
|
442
444
|
bytes: z.ZodNumber;
|
|
443
445
|
sha256: z.ZodString;
|
|
446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
444
447
|
v: z.ZodLiteral<1>;
|
|
445
448
|
ts: z.ZodNumber;
|
|
446
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
447
449
|
type: z.ZodLiteral<"done">;
|
|
448
450
|
status: z.ZodEnum<{
|
|
449
451
|
failed: "failed";
|
|
450
452
|
succeeded: "succeeded";
|
|
451
453
|
}>;
|
|
452
454
|
resultSha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
453
456
|
v: z.ZodLiteral<1>;
|
|
454
457
|
ts: z.ZodNumber;
|
|
455
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
456
458
|
type: z.ZodLiteral<"error">;
|
|
457
459
|
stage: z.ZodString;
|
|
458
460
|
code: z.ZodString;
|
|
459
461
|
message: z.ZodString;
|
|
460
|
-
v: z.ZodLiteral<1>;
|
|
461
|
-
ts: z.ZodNumber;
|
|
462
462
|
}, z.core.$strip>], "type">;
|
|
463
463
|
export type TrainingEvent = z.infer<typeof TrainingEventSchema>;
|
|
464
464
|
/**
|
|
@@ -40,10 +40,10 @@ export type ClipModelMeta = z.infer<typeof ClipModelMetaSchema>;
|
|
|
40
40
|
* says what that means in its own cosine band. On MobileCLIP (floor 0.2) these
|
|
41
41
|
* reproduce the admin UI's historical absolute presets 0.20 / 0.25 / 0.30.
|
|
42
42
|
*/
|
|
43
|
-
export declare const CLIP_SEARCH_STRICTNESS: readonly [
|
|
43
|
+
export declare const CLIP_SEARCH_STRICTNESS: readonly ['loose', 'balanced', 'strict'];
|
|
44
44
|
export declare const ClipSearchStrictnessSchema: z.ZodEnum<{
|
|
45
|
-
loose: "loose";
|
|
46
45
|
balanced: "balanced";
|
|
46
|
+
loose: "loose";
|
|
47
47
|
strict: "strict";
|
|
48
48
|
}>;
|
|
49
49
|
export type ClipSearchStrictness = z.infer<typeof ClipSearchStrictnessSchema>;
|
package/dist/types/labels.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface ClassMapDefinition {
|
|
|
21
21
|
readonly preserveOriginal: boolean;
|
|
22
22
|
}
|
|
23
23
|
/** Detection-macro targets a catalog `classMap` may resolve to. */
|
|
24
|
-
export declare const CLASS_MAP_MACRO_TARGETS: readonly [
|
|
24
|
+
export declare const CLASS_MAP_MACRO_TARGETS: readonly ['person', 'vehicle', 'animal', 'package'];
|
|
25
25
|
/**
|
|
26
26
|
* The FIRST-LEVEL macro classes: those an object detector emits and that
|
|
27
27
|
* an operator can select.
|
|
@@ -40,7 +40,7 @@ export declare const CLASS_MAP_MACRO_TARGETS: readonly ["person", "vehicle", "an
|
|
|
40
40
|
* (`RecordingTriggers.objectClasses`) would have made the later divergence
|
|
41
41
|
* invisible.
|
|
42
42
|
*/
|
|
43
|
-
export declare const FIRST_LEVEL_MACRO_CLASSES: readonly [
|
|
43
|
+
export declare const FIRST_LEVEL_MACRO_CLASSES: readonly ['person', 'vehicle', 'animal'];
|
|
44
44
|
export type FirstLevelMacroClass = (typeof FIRST_LEVEL_MACRO_CLASSES)[number];
|
|
45
45
|
/**
|
|
46
46
|
* True when `value` is a first-level macro. Type guard, not cast: a
|
|
@@ -69,10 +69,10 @@ export declare function isFirstLevelMacroClass(value: string): value is FirstLev
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const DetectionCatalogClassMapSchema: z.ZodObject<{
|
|
71
71
|
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
72
|
-
person: "person";
|
|
73
|
-
vehicle: "vehicle";
|
|
74
72
|
animal: "animal";
|
|
75
73
|
package: "package";
|
|
74
|
+
person: "person";
|
|
75
|
+
vehicle: "vehicle";
|
|
76
76
|
}>>;
|
|
77
77
|
preserveOriginal: z.ZodBoolean;
|
|
78
78
|
}, z.core.$strip>;
|
package/dist/types/models.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { ClassMapDefinition, LabelDefinition } from './labels.js';
|
|
3
3
|
import type { PostprocessorType } from './pipeline-step.js';
|
|
4
|
-
export declare const MODEL_FORMATS: readonly [
|
|
4
|
+
export declare const MODEL_FORMATS: readonly ['onnx', 'coreml', 'openvino', 'tflite', 'pt', 'gguf'];
|
|
5
5
|
export type ModelFormat = (typeof MODEL_FORMATS)[number];
|
|
6
6
|
export type ModelOutputFormat = 'yolo' | 'ssd' | 'embedding' | 'classification' | 'ocr' | 'segmentation';
|
|
7
7
|
/**
|
|
@@ -36,8 +36,8 @@ export type ModelFormatEntry = z.infer<typeof ModelFormatEntrySchema>;
|
|
|
36
36
|
* reclaimable bytes and a copy about to be replaced.
|
|
37
37
|
*/
|
|
38
38
|
export declare const ModelOnDiskStateSchema: z.ZodEnum<{
|
|
39
|
-
missing: "missing";
|
|
40
39
|
current: "current";
|
|
40
|
+
missing: "missing";
|
|
41
41
|
stale: "stale";
|
|
42
42
|
}>;
|
|
43
43
|
export type ModelOnDiskState = z.infer<typeof ModelOnDiskStateSchema>;
|
|
@@ -47,8 +47,8 @@ export type ModelOnDiskState = z.infer<typeof ModelOnDiskStateSchema>;
|
|
|
47
47
|
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
48
48
|
*/
|
|
49
49
|
export declare const ModelFormatPrecisionSchema: z.ZodEnum<{
|
|
50
|
-
fp32: "fp32";
|
|
51
50
|
fp16: "fp16";
|
|
51
|
+
fp32: "fp32";
|
|
52
52
|
int8: "int8";
|
|
53
53
|
}>;
|
|
54
54
|
export type ModelFormatPrecision = z.infer<typeof ModelFormatPrecisionSchema>;
|
|
@@ -61,13 +61,13 @@ export declare const PipelineModelFormatStatusSchema: z.ZodObject<{
|
|
|
61
61
|
downloaded: z.ZodBoolean;
|
|
62
62
|
sizeMB: z.ZodNumber;
|
|
63
63
|
onDisk: z.ZodOptional<z.ZodEnum<{
|
|
64
|
-
missing: "missing";
|
|
65
64
|
current: "current";
|
|
65
|
+
missing: "missing";
|
|
66
66
|
stale: "stale";
|
|
67
67
|
}>>;
|
|
68
68
|
precision: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
fp32: "fp32";
|
|
70
69
|
fp16: "fp16";
|
|
70
|
+
fp32: "fp32";
|
|
71
71
|
int8: "int8";
|
|
72
72
|
}>>;
|
|
73
73
|
}, z.core.$strip>;
|
|
@@ -178,10 +178,10 @@ export type ModelVariantGroup = z.infer<typeof ModelVariantGroupSchema>;
|
|
|
178
178
|
* registry rows — {@link inferModelProvider} fills it at read time. Built-in
|
|
179
179
|
* catalog entries omit it and `getSchema` treats them as `camstack`.
|
|
180
180
|
*/
|
|
181
|
-
export declare const MODEL_PROVIDER_IDS: readonly [
|
|
181
|
+
export declare const MODEL_PROVIDER_IDS: readonly ['camstack', 'frigate', 'scrypted', 'custom'];
|
|
182
182
|
export declare const ModelProviderIdSchema: z.ZodEnum<{
|
|
183
|
-
custom: "custom";
|
|
184
183
|
camstack: "camstack";
|
|
184
|
+
custom: "custom";
|
|
185
185
|
frigate: "frigate";
|
|
186
186
|
scrypted: "scrypted";
|
|
187
187
|
}>;
|
|
@@ -198,7 +198,7 @@ export interface InferModelProviderInput {
|
|
|
198
198
|
* NOT a Scrypted signal — CamStack ships that family too.
|
|
199
199
|
*/
|
|
200
200
|
export declare function inferModelProvider(entry: InferModelProviderInput): ModelProviderId;
|
|
201
|
-
export declare const MODEL_HOSTING: readonly [
|
|
201
|
+
export declare const MODEL_HOSTING: readonly ['camstack-hf', 'third-party', 'built-in'];
|
|
202
202
|
export type ModelHosting = (typeof MODEL_HOSTING)[number];
|
|
203
203
|
/**
|
|
204
204
|
* The licence of a model, as a record rather than a bare SPDX string: a
|
|
@@ -228,9 +228,9 @@ export declare const ModelLicenseSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
228
228
|
attribution: z.ZodOptional<z.ZodString>;
|
|
229
229
|
modifications: z.ZodOptional<z.ZodString>;
|
|
230
230
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
"built-in": "built-in";
|
|
231
232
|
"camstack-hf": "camstack-hf";
|
|
232
233
|
"third-party": "third-party";
|
|
233
|
-
"built-in": "built-in";
|
|
234
234
|
}>>;
|
|
235
235
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
236
236
|
}, z.core.$strip>>;
|
|
@@ -254,16 +254,16 @@ export declare const RootStepSupplySchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
254
254
|
kind: z.ZodLiteral<"label">;
|
|
255
255
|
stepId: z.ZodEnum<{
|
|
256
256
|
"animal-classifier": "animal-classifier";
|
|
257
|
-
"vehicle-classifier": "vehicle-classifier";
|
|
258
257
|
"package-detection": "package-detection";
|
|
258
|
+
"vehicle-classifier": "vehicle-classifier";
|
|
259
259
|
}>;
|
|
260
260
|
labelToEffect: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
261
261
|
uncovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
262
262
|
}, z.core.$strip>, z.ZodObject<{
|
|
263
263
|
kind: z.ZodLiteral<"crop">;
|
|
264
264
|
stepId: z.ZodEnum<{
|
|
265
|
-
"plate-detection": "plate-detection";
|
|
266
265
|
"face-detection": "face-detection";
|
|
266
|
+
"plate-detection": "plate-detection";
|
|
267
267
|
}>;
|
|
268
268
|
rootLabels: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
269
269
|
parentMacro: z.ZodEnum<{
|
|
@@ -365,10 +365,10 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
365
365
|
nhwc: "nhwc";
|
|
366
366
|
}>>;
|
|
367
367
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
368
|
-
none: "none";
|
|
369
|
-
"zero-one": "zero-one";
|
|
370
368
|
imagenet: "imagenet";
|
|
369
|
+
none: "none";
|
|
371
370
|
scrfd: "scrfd";
|
|
371
|
+
"zero-one": "zero-one";
|
|
372
372
|
}>>;
|
|
373
373
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
374
374
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -379,8 +379,8 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
379
379
|
defaultConfidence: z.ZodOptional<z.ZodNumber>;
|
|
380
380
|
defaultClassFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
381
381
|
gpuInferencePrecision: z.ZodOptional<z.ZodEnum<{
|
|
382
|
-
f32: "f32";
|
|
383
382
|
f16: "f16";
|
|
383
|
+
f32: "f32";
|
|
384
384
|
}>>;
|
|
385
385
|
suppliedLabelFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
386
386
|
faceAlignment: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -410,9 +410,9 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
410
410
|
attribution: z.ZodOptional<z.ZodString>;
|
|
411
411
|
modifications: z.ZodOptional<z.ZodString>;
|
|
412
412
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
413
|
+
"built-in": "built-in";
|
|
413
414
|
"camstack-hf": "camstack-hf";
|
|
414
415
|
"third-party": "third-party";
|
|
415
|
-
"built-in": "built-in";
|
|
416
416
|
}>>;
|
|
417
417
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
418
418
|
}, z.core.$strip>>>;
|
|
@@ -430,17 +430,17 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
430
430
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
431
431
|
}, z.core.$strip>>;
|
|
432
432
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
433
|
-
custom: "custom";
|
|
434
433
|
camstack: "camstack";
|
|
434
|
+
custom: "custom";
|
|
435
435
|
frigate: "frigate";
|
|
436
436
|
scrypted: "scrypted";
|
|
437
437
|
}>>;
|
|
438
438
|
classMap: z.ZodOptional<z.ZodObject<{
|
|
439
439
|
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
440
|
-
person: "person";
|
|
441
|
-
vehicle: "vehicle";
|
|
442
440
|
animal: "animal";
|
|
443
441
|
package: "package";
|
|
442
|
+
person: "person";
|
|
443
|
+
vehicle: "vehicle";
|
|
444
444
|
}>>;
|
|
445
445
|
preserveOriginal: z.ZodBoolean;
|
|
446
446
|
}, z.core.$strip>>;
|
|
@@ -448,16 +448,16 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
448
448
|
kind: z.ZodLiteral<"label">;
|
|
449
449
|
stepId: z.ZodEnum<{
|
|
450
450
|
"animal-classifier": "animal-classifier";
|
|
451
|
-
"vehicle-classifier": "vehicle-classifier";
|
|
452
451
|
"package-detection": "package-detection";
|
|
452
|
+
"vehicle-classifier": "vehicle-classifier";
|
|
453
453
|
}>;
|
|
454
454
|
labelToEffect: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
455
455
|
uncovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
456
456
|
}, z.core.$strip>, z.ZodObject<{
|
|
457
457
|
kind: z.ZodLiteral<"crop">;
|
|
458
458
|
stepId: z.ZodEnum<{
|
|
459
|
-
"plate-detection": "plate-detection";
|
|
460
459
|
"face-detection": "face-detection";
|
|
460
|
+
"plate-detection": "plate-detection";
|
|
461
461
|
}>;
|
|
462
462
|
rootLabels: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
463
463
|
parentMacro: z.ZodEnum<{
|
|
@@ -549,10 +549,10 @@ export declare const ModelConvertMetadataSchema: z.ZodObject<{
|
|
|
549
549
|
nhwc: "nhwc";
|
|
550
550
|
}>>;
|
|
551
551
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
552
|
-
none: "none";
|
|
553
|
-
"zero-one": "zero-one";
|
|
554
552
|
imagenet: "imagenet";
|
|
553
|
+
none: "none";
|
|
555
554
|
scrfd: "scrfd";
|
|
555
|
+
"zero-one": "zero-one";
|
|
556
556
|
}>>;
|
|
557
557
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
558
558
|
letterbox: "letterbox";
|
|
@@ -560,19 +560,19 @@ export declare const ModelConvertMetadataSchema: z.ZodObject<{
|
|
|
560
560
|
}>>;
|
|
561
561
|
outputFormat: z.ZodEnum<{
|
|
562
562
|
classification: "classification";
|
|
563
|
-
segmentation: "segmentation";
|
|
564
|
-
yolo: "yolo";
|
|
565
|
-
ssd: "ssd";
|
|
566
563
|
embedding: "embedding";
|
|
567
564
|
ocr: "ocr";
|
|
565
|
+
segmentation: "segmentation";
|
|
566
|
+
ssd: "ssd";
|
|
567
|
+
yolo: "yolo";
|
|
568
568
|
}>;
|
|
569
569
|
faceAlignment: z.ZodOptional<z.ZodBoolean>;
|
|
570
570
|
classMap: z.ZodOptional<z.ZodObject<{
|
|
571
571
|
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
572
|
-
person: "person";
|
|
573
|
-
vehicle: "vehicle";
|
|
574
572
|
animal: "animal";
|
|
575
573
|
package: "package";
|
|
574
|
+
person: "person";
|
|
575
|
+
vehicle: "vehicle";
|
|
576
576
|
}>>;
|
|
577
577
|
preserveOriginal: z.ZodBoolean;
|
|
578
578
|
}, z.core.$strip>>;
|
|
@@ -580,12 +580,12 @@ export declare const ModelConvertMetadataSchema: z.ZodObject<{
|
|
|
580
580
|
export type ModelConvertMetadata = z.infer<typeof ModelConvertMetadataSchema>;
|
|
581
581
|
export declare const ConvertArtifactSchema: z.ZodObject<{
|
|
582
582
|
format: z.ZodEnum<{
|
|
583
|
-
onnx: "onnx";
|
|
584
583
|
coreml: "coreml";
|
|
584
|
+
gguf: "gguf";
|
|
585
|
+
onnx: "onnx";
|
|
585
586
|
openvino: "openvino";
|
|
586
|
-
tflite: "tflite";
|
|
587
587
|
pt: "pt";
|
|
588
|
-
|
|
588
|
+
tflite: "tflite";
|
|
589
589
|
}>;
|
|
590
590
|
precision: z.ZodOptional<z.ZodEnum<{
|
|
591
591
|
fp16: "fp16";
|
|
@@ -680,10 +680,10 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
680
680
|
nhwc: "nhwc";
|
|
681
681
|
}>>;
|
|
682
682
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
683
|
-
none: "none";
|
|
684
|
-
"zero-one": "zero-one";
|
|
685
683
|
imagenet: "imagenet";
|
|
684
|
+
none: "none";
|
|
686
685
|
scrfd: "scrfd";
|
|
686
|
+
"zero-one": "zero-one";
|
|
687
687
|
}>>;
|
|
688
688
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
689
689
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -694,8 +694,8 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
694
694
|
defaultConfidence: z.ZodOptional<z.ZodNumber>;
|
|
695
695
|
defaultClassFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
696
696
|
gpuInferencePrecision: z.ZodOptional<z.ZodEnum<{
|
|
697
|
-
f32: "f32";
|
|
698
697
|
f16: "f16";
|
|
698
|
+
f32: "f32";
|
|
699
699
|
}>>;
|
|
700
700
|
suppliedLabelFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
701
701
|
faceAlignment: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -725,9 +725,9 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
725
725
|
attribution: z.ZodOptional<z.ZodString>;
|
|
726
726
|
modifications: z.ZodOptional<z.ZodString>;
|
|
727
727
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
728
|
+
"built-in": "built-in";
|
|
728
729
|
"camstack-hf": "camstack-hf";
|
|
729
730
|
"third-party": "third-party";
|
|
730
|
-
"built-in": "built-in";
|
|
731
731
|
}>>;
|
|
732
732
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
733
733
|
}, z.core.$strip>>>;
|
|
@@ -745,17 +745,17 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
745
745
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
746
746
|
}, z.core.$strip>>;
|
|
747
747
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
748
|
-
custom: "custom";
|
|
749
748
|
camstack: "camstack";
|
|
749
|
+
custom: "custom";
|
|
750
750
|
frigate: "frigate";
|
|
751
751
|
scrypted: "scrypted";
|
|
752
752
|
}>>;
|
|
753
753
|
classMap: z.ZodOptional<z.ZodObject<{
|
|
754
754
|
mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
755
|
-
person: "person";
|
|
756
|
-
vehicle: "vehicle";
|
|
757
755
|
animal: "animal";
|
|
758
756
|
package: "package";
|
|
757
|
+
person: "person";
|
|
758
|
+
vehicle: "vehicle";
|
|
759
759
|
}>>;
|
|
760
760
|
preserveOriginal: z.ZodBoolean;
|
|
761
761
|
}, z.core.$strip>>;
|
|
@@ -763,16 +763,16 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
763
763
|
kind: z.ZodLiteral<"label">;
|
|
764
764
|
stepId: z.ZodEnum<{
|
|
765
765
|
"animal-classifier": "animal-classifier";
|
|
766
|
-
"vehicle-classifier": "vehicle-classifier";
|
|
767
766
|
"package-detection": "package-detection";
|
|
767
|
+
"vehicle-classifier": "vehicle-classifier";
|
|
768
768
|
}>;
|
|
769
769
|
labelToEffect: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
770
770
|
uncovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
771
771
|
}, z.core.$strip>, z.ZodObject<{
|
|
772
772
|
kind: z.ZodLiteral<"crop">;
|
|
773
773
|
stepId: z.ZodEnum<{
|
|
774
|
-
"plate-detection": "plate-detection";
|
|
775
774
|
"face-detection": "face-detection";
|
|
775
|
+
"plate-detection": "plate-detection";
|
|
776
776
|
}>;
|
|
777
777
|
rootLabels: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
778
778
|
parentMacro: z.ZodEnum<{
|
|
@@ -802,12 +802,12 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
artifacts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
804
804
|
format: z.ZodEnum<{
|
|
805
|
-
onnx: "onnx";
|
|
806
805
|
coreml: "coreml";
|
|
806
|
+
gguf: "gguf";
|
|
807
|
+
onnx: "onnx";
|
|
807
808
|
openvino: "openvino";
|
|
808
|
-
tflite: "tflite";
|
|
809
809
|
pt: "pt";
|
|
810
|
-
|
|
810
|
+
tflite: "tflite";
|
|
811
811
|
}>;
|
|
812
812
|
precision: z.ZodOptional<z.ZodEnum<{
|
|
813
813
|
fp16: "fp16";
|