@camstack/addon-pipeline-orchestrator 1.2.7 → 1.2.8
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/assets/viewer/.viewer-version +1 -1
- package/assets/viewer/_expo/static/js/web/{index-5cf9036bb7b6333a2cef8b0993e711cf.js → index-a9cd3e5e842d2062d6382605f7acc657.js} +7 -7
- package/assets/viewer/index.html +1 -1
- package/dist/_stub.js +1 -1
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-CrE4gCH2.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DcpCkgQs.mjs} +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CA-uN9f1.mjs +26 -0
- package/dist/{hostInit-B7Ff0DIK.mjs → hostInit-BIAeQI3N.mjs} +1 -1
- package/dist/index.js +269 -1
- package/dist/index.mjs +269 -1
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DHNu12AF.mjs +0 -26
package/assets/viewer/index.html
CHANGED
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
</noscript>
|
|
37
37
|
<!-- The root element for your Expo app. -->
|
|
38
38
|
<div id="root"></div>
|
|
39
|
-
<script src="/viewer/camstack/_expo/static/js/web/index-
|
|
39
|
+
<script src="/viewer/camstack/_expo/static/js/web/index-a9cd3e5e842d2062d6382605f7acc657.js" defer></script>
|
|
40
40
|
</body>
|
|
41
41
|
</html>
|
package/dist/_stub.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BiLBDmU5.mjs";
|
|
2
|
-
import { n as t, r as n, t as r } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
2
|
+
import { n as t, r as n, t as r } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CA-uN9f1.mjs";
|
|
3
3
|
import { a as i, c as a, i as o, n as s, o as c, r as l, s as u, t as d } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.js-a8tvh93M.mjs";
|
|
4
4
|
import { C as f, S as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, o as E, p as D, r as O, s as k, t as A, u as j, v as M, w as N, x as P, y as F } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B7HemRvT.mjs";
|
|
5
5
|
import { n as I, r as L, t as R } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-yD-rMaFX.mjs";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region \0virtual:mf:__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
+
var e = "__mf_init__virtual:mf:__mfe_internal__addon_pipeline_orchestrator_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
+
if (!t) {
|
|
4
|
+
let n, r, i = new Promise((e, t) => {
|
|
5
|
+
n = e, r = t;
|
|
6
|
+
});
|
|
7
|
+
t = globalThis[e] = {
|
|
8
|
+
initPromise: i,
|
|
9
|
+
initResolve: n,
|
|
10
|
+
initReject: r
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
+
globalThis[r] ||= {
|
|
15
|
+
share: {},
|
|
16
|
+
remote: {}
|
|
17
|
+
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
+
var i = globalThis[r], a, o, s, c = (e) => {
|
|
19
|
+
e.ACCESSORY_LABEL, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusSchema, e.CameraStreamSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEFAULT_SCRUB_THUMBNAIL_PRESET, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceLinkModeSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventSourceType, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionEvalError, e.ExpressionParseError, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, a = e.MACRO_LABELS, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.NC_CONDITION_CATALOG, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcDeliverySchema, e.NcMediaPolicySchema, e.NcPlateMatcherSchema, e.NcRuleInputSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcTestResultSchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RESERVED_BINDING_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SCRUB_THUMBNAIL_PRESETS, e.SCRUB_THUMBNAIL_PRESET_LABELS, e.SCRUB_THUMBNAIL_PRESET_ORDER, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.ScrubThumbnailPresetSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.TestResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, o = e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.advancedNotifierCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.applyTransform, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioMetricsCapability, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildEventKindDescriptor, e.buildModelVariantGroups, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.colorForKind, e.compileExpression, e.compileExpressionSafe, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.cosineSimilarity, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createExpressionScope, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dayNightCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.describeModelVariant, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateLinkExpression, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.isNode, e.isObjectInput, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.metricsProviderCapability, e.migrateConfigToBands, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.petFeederCapability, e.pickAccessoryControl, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveFormat, s = e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveMutate, e.resolveRunnerId, e.resolveScrubThumbnailGeometry, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.sceneMonitorCapability, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.subKindsOf, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toStreamSourceEntry, e.toastCapability, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.valveCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
+
}, l = i.share["default:@camstack/types"];
|
|
21
|
+
l === void 0 ? n.then(() => {
|
|
22
|
+
if (l = i.share["default:@camstack/types"], l === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
+
c(l);
|
|
24
|
+
}) : c(l);
|
|
25
|
+
//#endregion
|
|
26
|
+
export { o as n, s as r, a as t };
|
package/dist/index.js
CHANGED
|
@@ -7273,7 +7273,6 @@ object({ deviceId: number() }), object({ deviceId: number() }), object({
|
|
|
7273
7273
|
patch: record(string(), unknown())
|
|
7274
7274
|
}), object({ success: literal(true) });
|
|
7275
7275
|
object({ deviceId: number() }), unknown().nullable();
|
|
7276
|
-
/** Shorthand to define a method schema */
|
|
7277
7276
|
function method(input, output, options) {
|
|
7278
7277
|
return {
|
|
7279
7278
|
input,
|
|
@@ -7281,6 +7280,7 @@ function method(input, output, options) {
|
|
|
7281
7280
|
kind: options?.kind ?? "query",
|
|
7282
7281
|
auth: options?.auth ?? "protected",
|
|
7283
7282
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
7283
|
+
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
7284
7284
|
timeoutMs: options?.timeoutMs
|
|
7285
7285
|
};
|
|
7286
7286
|
}
|
|
@@ -16821,6 +16821,226 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
16821
16821
|
enabled: boolean()
|
|
16822
16822
|
}), _void(), { kind: "mutation" });
|
|
16823
16823
|
/**
|
|
16824
|
+
* notification-rules — the Notification Center rule surface (P1 core).
|
|
16825
|
+
*
|
|
16826
|
+
* Spec: `docs/superpowers/specs/2026-07-22-notification-center-requirements.md`
|
|
16827
|
+
* (operator decisions D-1/D-2/D-3 are binding):
|
|
16828
|
+
*
|
|
16829
|
+
* - D-2: rule EVALUATION lives in `addon-post-analysis` (the
|
|
16830
|
+
* `notification-center` module), hooked on the durable persistence
|
|
16831
|
+
* moments (object-event insert, TrackCloser.closeExpired) with a
|
|
16832
|
+
* persisted outbox + retry — never the lossy telemetry bus (D8).
|
|
16833
|
+
* - D-3: urgency belongs to the RULE. `delivery: 'immediate'` fires on the
|
|
16834
|
+
* FIRST persisted detection matching the conditions (per-track dedup,
|
|
16835
|
+
* `maxPerTrack` fixed at 1 — see {@link NC_MAX_PER_TRACK_IMMEDIATE});
|
|
16836
|
+
* `delivery: 'track-end'` evaluates the finalized track record at close.
|
|
16837
|
+
* - DISPATCH stays behind `notification-output` (rules reference targets
|
|
16838
|
+
* by id; per-backend params are a passthrough blob capped by the
|
|
16839
|
+
* target kind's own caps/degrade engine).
|
|
16840
|
+
*
|
|
16841
|
+
* P1 scope: admin-authored rules only (`createdBy` stamped from the
|
|
16842
|
+
* server-injected caller identity — the first `caller: 'required'`
|
|
16843
|
+
* adopter). The P1 condition subset is: devices, classes(+exclude),
|
|
16844
|
+
* minConfidence, admin zones (any/all + exclude), weekly schedule
|
|
16845
|
+
* windows, and the optional label/identity/plate matchers. User rules,
|
|
16846
|
+
* private zones, per-recipient fan-out and the wider condition table are
|
|
16847
|
+
* P2+ (see spec §7).
|
|
16848
|
+
*
|
|
16849
|
+
* All schemas here are the single source of truth — `NcRule` etc. are
|
|
16850
|
+
* `z.infer` exports; no duplicate interfaces (the advanced-notifier
|
|
16851
|
+
* schema/interface drift is explicitly not repeated).
|
|
16852
|
+
*/
|
|
16853
|
+
/** D-3: the urgency of a rule — which persistence moment evaluates it. */
|
|
16854
|
+
var NcDeliverySchema = _enum(["immediate", "track-end"]);
|
|
16855
|
+
/** Weekly schedule — OR of windows; absence on the rule = always active. */
|
|
16856
|
+
var NcScheduleSchema = object({
|
|
16857
|
+
windows: array(object({
|
|
16858
|
+
/** Days of week the window STARTS on (0 = Sunday … 6 = Saturday). */
|
|
16859
|
+
days: array(number().int().min(0).max(6)).min(1),
|
|
16860
|
+
startMinute: number().int().min(0).max(1439),
|
|
16861
|
+
endMinute: number().int().min(0).max(1439)
|
|
16862
|
+
})).min(1),
|
|
16863
|
+
/** IANA timezone; default = hub host timezone. */
|
|
16864
|
+
timezone: string().optional(),
|
|
16865
|
+
/** Active OUTSIDE the windows (e.g. "only outside business hours"). */
|
|
16866
|
+
invert: boolean().optional()
|
|
16867
|
+
});
|
|
16868
|
+
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
16869
|
+
var NcPlateMatcherSchema = object({
|
|
16870
|
+
values: array(string().min(1)).min(1),
|
|
16871
|
+
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
16872
|
+
maxDistance: number().int().min(0).max(3).default(1)
|
|
16873
|
+
});
|
|
16874
|
+
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
16875
|
+
var NcZoneConditionSchema = object({
|
|
16876
|
+
ids: array(string().min(1)).min(1),
|
|
16877
|
+
/** Quantifier over `ids` — at least one / every one visited. */
|
|
16878
|
+
match: _enum(["any", "all"]).default("any")
|
|
16879
|
+
});
|
|
16880
|
+
/**
|
|
16881
|
+
* The P1 condition set — a flat AND of groups; absent group = pass;
|
|
16882
|
+
* membership lists are OR within the list (spec §2.3).
|
|
16883
|
+
*/
|
|
16884
|
+
var NcConditionsSchema = object({
|
|
16885
|
+
/** Device scope — absent = all devices. */
|
|
16886
|
+
devices: array(number()).optional(),
|
|
16887
|
+
/** Detector class names (any overlap with the record's class set). */
|
|
16888
|
+
classes: array(string().min(1)).optional(),
|
|
16889
|
+
/** Veto classes — any overlap fails the rule. */
|
|
16890
|
+
classesExclude: array(string().min(1)).optional(),
|
|
16891
|
+
/** Minimum detection confidence 0–1 (fails when the record has none). */
|
|
16892
|
+
minConfidence: number().min(0).max(1).optional(),
|
|
16893
|
+
/** Admin zone membership over event `zones` / track `zonesVisited`. */
|
|
16894
|
+
zones: NcZoneConditionSchema.optional(),
|
|
16895
|
+
/** Veto zones — any hit fails the rule. */
|
|
16896
|
+
zonesExclude: array(string().min(1)).optional(),
|
|
16897
|
+
/**
|
|
16898
|
+
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
16899
|
+
* (identity name / plate text / subclass).
|
|
16900
|
+
*/
|
|
16901
|
+
labelEquals: array(string().min(1)).optional(),
|
|
16902
|
+
/**
|
|
16903
|
+
* Identity matcher. P1 boundary: matched against the record's collapsed
|
|
16904
|
+
* `label` (the identity display name propagated by the face pipeline) —
|
|
16905
|
+
* identity-ID matching rides in P2 when identity ids reach the record.
|
|
16906
|
+
*/
|
|
16907
|
+
identities: array(string().min(1)).optional(),
|
|
16908
|
+
/** Fuzzy plate matcher against the record's `label` (plate text). */
|
|
16909
|
+
plates: NcPlateMatcherSchema.optional()
|
|
16910
|
+
});
|
|
16911
|
+
/** One delivery target: a `notification-output` Target ref + passthrough params. */
|
|
16912
|
+
var NcRuleTargetSchema = object({
|
|
16913
|
+
/** `notification-output` Target id. */
|
|
16914
|
+
targetId: string().min(1),
|
|
16915
|
+
/**
|
|
16916
|
+
* Per-backend passthrough. Recognized keys are mapped onto the canonical
|
|
16917
|
+
* Notification (`priority`, `level`, `sound`, `clickUrl`, `ttl`); the
|
|
16918
|
+
* degrade engine drops what the backend can't render.
|
|
16919
|
+
*/
|
|
16920
|
+
params: record(string(), unknown()).optional()
|
|
16921
|
+
});
|
|
16922
|
+
/**
|
|
16923
|
+
* Media attachment policy (P1 still-image subset). `best` = the best
|
|
16924
|
+
* AVAILABLE media at dispatch time (D-3); `best-matching` (track-end
|
|
16925
|
+
* condition-best) is deferred — operator open point.
|
|
16926
|
+
*/
|
|
16927
|
+
var NcMediaPolicySchema = object({ attach: _enum([
|
|
16928
|
+
"best",
|
|
16929
|
+
"keyFrame",
|
|
16930
|
+
"none"
|
|
16931
|
+
]).default("best") });
|
|
16932
|
+
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
16933
|
+
var NcThrottleSchema = object({
|
|
16934
|
+
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
16935
|
+
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
16936
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
16937
|
+
});
|
|
16938
|
+
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
16939
|
+
var NcRuleInputSchema = object({
|
|
16940
|
+
name: string().min(1).max(200),
|
|
16941
|
+
enabled: boolean().default(true),
|
|
16942
|
+
delivery: NcDeliverySchema,
|
|
16943
|
+
conditions: NcConditionsSchema.default({}),
|
|
16944
|
+
schedule: NcScheduleSchema.optional(),
|
|
16945
|
+
targets: array(NcRuleTargetSchema).min(1),
|
|
16946
|
+
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
16947
|
+
throttle: NcThrottleSchema.default({
|
|
16948
|
+
cooldownSec: 60,
|
|
16949
|
+
scope: "rule-device"
|
|
16950
|
+
}),
|
|
16951
|
+
/** `{{var}}` templating over camera/class/label/zones/confidence/time. */
|
|
16952
|
+
template: object({
|
|
16953
|
+
title: string().max(500).optional(),
|
|
16954
|
+
body: string().max(2e3).optional()
|
|
16955
|
+
}).optional(),
|
|
16956
|
+
/** Canonical notification priority ordinal (1..5); per-target overridable. */
|
|
16957
|
+
priority: number().int().min(1).max(5).default(3)
|
|
16958
|
+
});
|
|
16959
|
+
/** Partial patch for `updateRule` — any subset of the input fields. */
|
|
16960
|
+
var NcRulePatchSchema = NcRuleInputSchema.partial();
|
|
16961
|
+
/** A persisted rule. */
|
|
16962
|
+
var NcRuleSchema = NcRuleInputSchema.extend({
|
|
16963
|
+
id: string(),
|
|
16964
|
+
/** userId of the admin who created the rule (server-stamped caller). */
|
|
16965
|
+
createdBy: string(),
|
|
16966
|
+
createdAt: number(),
|
|
16967
|
+
updatedAt: number()
|
|
16968
|
+
});
|
|
16969
|
+
var NcTestResultSchema = object({
|
|
16970
|
+
recordId: string(),
|
|
16971
|
+
recordKind: _enum(["object-event", "track"]),
|
|
16972
|
+
deviceId: number(),
|
|
16973
|
+
timestamp: number(),
|
|
16974
|
+
wouldFire: boolean(),
|
|
16975
|
+
/** Condition id that failed (first failing group), when `wouldFire` is false. */
|
|
16976
|
+
failedCondition: string().optional(),
|
|
16977
|
+
className: string().optional(),
|
|
16978
|
+
label: string().optional()
|
|
16979
|
+
});
|
|
16980
|
+
var NcConditionDescriptorSchema = object({
|
|
16981
|
+
/** Field id inside `NcConditions` (or `'schedule'` for the rule-level group). */
|
|
16982
|
+
id: string(),
|
|
16983
|
+
group: _enum([
|
|
16984
|
+
"scope",
|
|
16985
|
+
"class",
|
|
16986
|
+
"zones",
|
|
16987
|
+
"quality",
|
|
16988
|
+
"label",
|
|
16989
|
+
"schedule"
|
|
16990
|
+
]),
|
|
16991
|
+
label: string(),
|
|
16992
|
+
/** Editor widget the UI renders — never hardcode per-condition forms. */
|
|
16993
|
+
valueType: _enum([
|
|
16994
|
+
"deviceIdList",
|
|
16995
|
+
"stringList",
|
|
16996
|
+
"number01",
|
|
16997
|
+
"zoneSelection",
|
|
16998
|
+
"zoneIdList",
|
|
16999
|
+
"schedule",
|
|
17000
|
+
"plateMatcher"
|
|
17001
|
+
]),
|
|
17002
|
+
operator: _enum([
|
|
17003
|
+
"in",
|
|
17004
|
+
"notIn",
|
|
17005
|
+
"anyOf",
|
|
17006
|
+
"allOf",
|
|
17007
|
+
"gte",
|
|
17008
|
+
"fuzzyIn",
|
|
17009
|
+
"withinSchedule"
|
|
17010
|
+
]),
|
|
17011
|
+
/** Which delivery kinds the condition applies to. */
|
|
17012
|
+
appliesTo: array(NcDeliverySchema),
|
|
17013
|
+
phase: string(),
|
|
17014
|
+
description: string().optional()
|
|
17015
|
+
});
|
|
17016
|
+
method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), method(object({ ruleId: string() }), object({ rule: NcRuleSchema.nullable() }), { auth: "admin" }), method(object({ rule: NcRuleInputSchema }), object({ rule: NcRuleSchema }), {
|
|
17017
|
+
kind: "mutation",
|
|
17018
|
+
auth: "admin",
|
|
17019
|
+
caller: "required"
|
|
17020
|
+
}), method(object({
|
|
17021
|
+
ruleId: string(),
|
|
17022
|
+
patch: NcRulePatchSchema
|
|
17023
|
+
}), object({ rule: NcRuleSchema }), {
|
|
17024
|
+
kind: "mutation",
|
|
17025
|
+
auth: "admin",
|
|
17026
|
+
caller: "required"
|
|
17027
|
+
}), method(object({ ruleId: string() }), object({ success: literal(true) }), {
|
|
17028
|
+
kind: "mutation",
|
|
17029
|
+
auth: "admin"
|
|
17030
|
+
}), method(object({
|
|
17031
|
+
ruleId: string(),
|
|
17032
|
+
enabled: boolean()
|
|
17033
|
+
}), object({ success: literal(true) }), {
|
|
17034
|
+
kind: "mutation",
|
|
17035
|
+
auth: "admin"
|
|
17036
|
+
}), method(object({
|
|
17037
|
+
rule: NcRuleInputSchema,
|
|
17038
|
+
lookbackMinutes: number().int().min(1).max(1440).default(60)
|
|
17039
|
+
}), object({ results: array(NcTestResultSchema) }), {
|
|
17040
|
+
kind: "mutation",
|
|
17041
|
+
auth: "admin"
|
|
17042
|
+
}), method(object({}), object({ catalog: array(NcConditionDescriptorSchema) }));
|
|
17043
|
+
/**
|
|
16824
17044
|
* Shared LLM generate contracts — imported by BOTH `llm.cap.ts` (consumer
|
|
16825
17045
|
* surface) and `llm-runtime.cap.ts` (node-side managed executor) so the two
|
|
16826
17046
|
* caps stay wire-compatible without a circular cap→cap import.
|
|
@@ -24469,6 +24689,54 @@ Object.freeze({
|
|
|
24469
24689
|
addonId: null,
|
|
24470
24690
|
access: "create"
|
|
24471
24691
|
},
|
|
24692
|
+
"notificationRules.createRule": {
|
|
24693
|
+
capName: "notification-rules",
|
|
24694
|
+
capScope: "system",
|
|
24695
|
+
addonId: null,
|
|
24696
|
+
access: "create"
|
|
24697
|
+
},
|
|
24698
|
+
"notificationRules.deleteRule": {
|
|
24699
|
+
capName: "notification-rules",
|
|
24700
|
+
capScope: "system",
|
|
24701
|
+
addonId: null,
|
|
24702
|
+
access: "delete"
|
|
24703
|
+
},
|
|
24704
|
+
"notificationRules.getConditionCatalog": {
|
|
24705
|
+
capName: "notification-rules",
|
|
24706
|
+
capScope: "system",
|
|
24707
|
+
addonId: null,
|
|
24708
|
+
access: "view"
|
|
24709
|
+
},
|
|
24710
|
+
"notificationRules.getRule": {
|
|
24711
|
+
capName: "notification-rules",
|
|
24712
|
+
capScope: "system",
|
|
24713
|
+
addonId: null,
|
|
24714
|
+
access: "view"
|
|
24715
|
+
},
|
|
24716
|
+
"notificationRules.listRules": {
|
|
24717
|
+
capName: "notification-rules",
|
|
24718
|
+
capScope: "system",
|
|
24719
|
+
addonId: null,
|
|
24720
|
+
access: "view"
|
|
24721
|
+
},
|
|
24722
|
+
"notificationRules.setRuleEnabled": {
|
|
24723
|
+
capName: "notification-rules",
|
|
24724
|
+
capScope: "system",
|
|
24725
|
+
addonId: null,
|
|
24726
|
+
access: "create"
|
|
24727
|
+
},
|
|
24728
|
+
"notificationRules.testRule": {
|
|
24729
|
+
capName: "notification-rules",
|
|
24730
|
+
capScope: "system",
|
|
24731
|
+
addonId: null,
|
|
24732
|
+
access: "create"
|
|
24733
|
+
},
|
|
24734
|
+
"notificationRules.updateRule": {
|
|
24735
|
+
capName: "notification-rules",
|
|
24736
|
+
capScope: "system",
|
|
24737
|
+
addonId: null,
|
|
24738
|
+
access: "create"
|
|
24739
|
+
},
|
|
24472
24740
|
"notifier.cancel": {
|
|
24473
24741
|
capName: "notifier",
|
|
24474
24742
|
capScope: "device",
|