@camstack/addon-admin-ui 1.2.646 → 1.2.647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/assets/{Addons-XDq92kO2.js → Addons-C1rCMYSj.js} +1 -1
- package/dist/assets/{AdminPage-Bdna98Ou.js → AdminPage-Cve4EeKX.js} +1 -1
- package/dist/assets/{AdminSectionedPage-BReYGJXb.js → AdminSectionedPage-V0guU8PD.js} +1 -1
- package/dist/assets/{AiProfiles-Bw8hGoO0.js → AiProfiles-COv7z6F-.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-c18LdxYs.js → BootstrapSettingsForm-DtS11lHd.js} +1 -1
- package/dist/assets/Build-D5T3SI7b.js +40 -0
- package/dist/assets/{Calendars-B2Wez_3o.js → Calendars-BhsUg2gV.js} +1 -1
- package/dist/assets/{CameraGrids-BpGte0K0.js → CameraGrids-CM8Yxxdq.js} +1 -1
- package/dist/assets/{Cluster-CAB19PAX.js → Cluster-BP9fRDMS.js} +1 -1
- package/dist/assets/CompositionBlockEditor-xQIVx_j0.js +2 -0
- package/dist/assets/{CompositionEditorPage-7ta40LxI.js → CompositionEditorPage-DHUcurin.js} +1 -1
- package/dist/assets/{Data-C_ebBdlu.js → Data-DJbrnaPU.js} +1 -1
- package/dist/assets/DeviceDetail-CaQ51F0f.js +2 -0
- package/dist/assets/{Devices-C42wiSOq.js → Devices-Cf3ZTJ1J.js} +1 -1
- package/dist/assets/{EmbedDevicePage-SFb5MyT-.js → EmbedDevicePage-B9J6ucMX.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-DUcN1y4L.js → EmbedPlayerPage-DP7b5VUK.js} +1 -1
- package/dist/assets/{History-B1fPhKG2.js → History-Dx7eMiJH.js} +1 -1
- package/dist/assets/{Identity-Bp3HGCWd.js → Identity-D3MJ59NJ.js} +1 -1
- package/dist/assets/{InstancesTable-BGtfLCCP.js → InstancesTable-bYSuSJuI.js} +1 -1
- package/dist/assets/{IntegrationDetail-CMMQieRt.js → IntegrationDetail-c2pjtV64.js} +1 -1
- package/dist/assets/{IntegrationWizard-BaM2i4NA.js → IntegrationWizard-DpekcaJ2.js} +1 -1
- package/dist/assets/{Integrations-GPlT8cKN.js → Integrations-B4MvBXRJ.js} +1 -1
- package/dist/assets/{Integrations-Cx2N6swv.js → Integrations-Ci8Mqya9.js} +1 -1
- package/dist/assets/{Library-Bz4-Eas4.js → Library-D0tz7PS_.js} +1 -1
- package/dist/assets/{Locations-DmfVYXMw.js → Locations-BFeQBE-F.js} +1 -1
- package/dist/assets/{Logs-CIvaD3Yw.js → Logs-DtjMaCC4.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-niZe5zHf.js → MaskShapeCanvas-DsRgL9Jd.js} +1 -1
- package/dist/assets/{MotionZonesSettings-Dsi2Uff2.js → MotionZonesSettings-BWECPN2p.js} +1 -1
- package/dist/assets/{MyAccess-D7pNURUg.js → MyAccess-B83bBSQi.js} +1 -1
- package/dist/assets/{Network-B7ImKtCW.js → Network-BF1ofy4e.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-B1FzoINc.js → NodeAddonsSettingsPanel-BhNHsNDz.js} +1 -1
- package/dist/assets/{Notifications-BHBA5V_j.js → Notifications-BDmKjk8l.js} +1 -1
- package/dist/assets/{Pipeline-DIMjhsfr.js → Pipeline-3BkMMjQC.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-CwxOqudr.js → PrivacyMaskSettings-CxsDkPmw.js} +1 -1
- package/dist/assets/{Recordings-DULk3APi.js → Recordings-CdbZm7N3.js} +1 -1
- package/dist/assets/{RemoteGrid-B9MFH8gq.js → RemoteGrid-D9lQtkK4.js} +1 -1
- package/dist/assets/{ScanSubnetEditor-ChB1ff9j.js → ScanSubnetEditor-D1wWQv5l.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-DjbQscIc.js → SceneMonitorEditor-Bgq5w1mw.js} +1 -1
- package/dist/assets/{SessionsList-GQ9o6e6I.js → SessionsList-AtYEgm7p.js} +1 -1
- package/dist/assets/{Showroom-B4IQCR63.js → Showroom-BCX4Yyt6.js} +1 -1
- package/dist/assets/{StorageLocationsTable-51VLoqz4.js → StorageLocationsTable-CInEvHND.js} +1 -1
- package/dist/assets/{System-DMGCcspI.js → System-DvinM4KN.js} +1 -1
- package/dist/assets/{Templates-DWije3Aq.js → Templates-AolwZ6TI.js} +1 -1
- package/dist/assets/{Terminal-D20GDY9B.js → Terminal-DoBiePC-.js} +1 -1
- package/dist/assets/{TrainingProviders-BHjFCr-v.js → TrainingProviders-BKZ0teUD.js} +1 -1
- package/dist/assets/{Viewer-DBUCXKwT.js → Viewer-q6dKXR67.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CgTKovwO.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-M59fwoAQ.js} +1 -1
- package/dist/assets/{action-draft-BGdFoh4X.js → action-draft-DB5j6cca.js} +1 -1
- package/dist/assets/{ai-page.helpers-WItq2Zfb.js → ai-page.helpers-CQPhp13c.js} +1 -1
- package/dist/assets/{assignment-candidates-BP248h74.js → assignment-candidates-C5pHZht5.js} +1 -1
- package/dist/assets/{authed-media-BbpEDtXm.js → authed-media-Q5YVSoIj.js} +1 -1
- package/dist/assets/{board-model-v3Qi2ADW.js → board-model-CpqXB5lD.js} +1 -1
- package/dist/assets/client-Dzzkm60X.js +1114 -0
- package/dist/assets/{command-vocab-kJ1oxCcS.js → command-vocab-Dk_f6ivd.js} +1 -1
- package/dist/assets/{create-composition-fA2f0nzR.js → create-composition-k03FONcQ.js} +1 -1
- package/dist/assets/{device-detail-9hSNMll_.js → device-detail-okAAAxvr.js} +1 -1
- package/dist/assets/{device-integration-icon-Cyu0nfTA.js → device-integration-icon-CzQF4KNa.js} +1 -1
- package/dist/assets/device-picker-model-DkSaYUyU.js +1 -0
- package/dist/assets/dist-C0Eyz4-R.js +1114 -0
- package/dist/assets/{dist-C25WO9pF.js → dist-Dx1IuG2H.js} +1 -1
- package/dist/assets/{format-D-8gnxE4.js → format-BoPK6WDS.js} +1 -1
- package/dist/assets/{hostInit-Bi8yQqpB.js → hostInit-JJE2ncUY.js} +1 -1
- package/dist/assets/i18n-DWUEvjgE.js +1 -0
- package/dist/assets/{icons-DMftZDY6.js → icons-Dhc1mBIs.js} +1 -1
- package/dist/assets/{index-56F3KEmN.js → index-DKKQtgP2.js} +3 -3
- package/dist/assets/{linked-devices-model-BHQYp9mv.js → linked-devices-model-XNuspKgG.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-3894ac98.js → mf-entry-bootstrap-0-0cbecd57.js} +2 -2
- package/dist/assets/mount-DkSaYUyU.js +1 -0
- package/dist/assets/{notification-rule-status-OMG9AAuW.js → notification-rule-status-7H1KxBu5.js} +1 -1
- package/dist/assets/{player-overlays-COha2Q7D.js → player-overlays-DpoShe47.js} +1 -1
- package/dist/assets/remoteEntry-DhUUWtf1.js +1 -0
- package/dist/assets/src-CvlhNDJc.js +253 -0
- package/dist/assets/{step-inspector-model-B2KsfsAh.js → step-inspector-model-B1WjzUY-.js} +1 -1
- package/dist/assets/{use-scenes-feed-BUwlMJxG.js → use-scenes-feed-Dx37Wfqx.js} +1 -1
- package/dist/assets/{use-stationary-objects-BadkNxb8.js → use-stationary-objects-CVyIgKy4.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-B63tTVbh.js → useAdminDeviceRemoval-Dfw_WOjy.js} +1 -1
- package/dist/assets/useEventInvalidation-DkSaYUyU.js +1 -0
- package/dist/assets/{useNodeUrlSelection-CWhY2Xjn.js → useNodeUrlSelection-C7M0t1Bu.js} +1 -1
- package/dist/assets/useTemplateSave-BXH2v4XY.js +1 -0
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BMXyrASR.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BZIvKvKs.js} +2 -2
- package/dist/index.html +7 -7
- package/dist/server/addon.js +115 -70
- package/package.json +2 -2
- package/dist/assets/Build-48zeU1Yw.js +0 -40
- package/dist/assets/CompositionBlockEditor-BN5J817G.js +0 -2
- package/dist/assets/DeviceDetail-GEBcTe6R.js +0 -2
- package/dist/assets/client-CqZcg6J1.js +0 -1057
- package/dist/assets/device-picker-model-CtTFN_cS.js +0 -1
- package/dist/assets/dist-CYAeZRwB.js +0 -1057
- package/dist/assets/i18n-jsJQRNVP.js +0 -1
- package/dist/assets/mount-CtTFN_cS.js +0 -1
- package/dist/assets/remoteEntry-D7QWxsvZ.js +0 -1
- package/dist/assets/src-COXDtqhI.js +0 -253
- package/dist/assets/useEventInvalidation-CtTFN_cS.js +0 -1
- package/dist/assets/useTemplateSave-BHO2U-WX.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -42878,6 +42878,41 @@ function macroOnly(macro) {
|
|
|
42878
42878
|
};
|
|
42879
42879
|
}
|
|
42880
42880
|
}
|
|
42881
|
+
var EventVocabularyKindSchema = _enum([
|
|
42882
|
+
"press",
|
|
42883
|
+
"long-press",
|
|
42884
|
+
"long-press-start",
|
|
42885
|
+
"release",
|
|
42886
|
+
"repeat",
|
|
42887
|
+
"double-press",
|
|
42888
|
+
"other"
|
|
42889
|
+
]);
|
|
42890
|
+
/** The part of the device an event comes from: a button, a channel. */
|
|
42891
|
+
var EventVocabularySourceSchema = object({
|
|
42892
|
+
id: string().min(1),
|
|
42893
|
+
label: string().min(1)
|
|
42894
|
+
});
|
|
42895
|
+
/** One scalar field of an event's `data`, by dotted path. */
|
|
42896
|
+
var EventVocabularyFieldSchema = object({
|
|
42897
|
+
path: string().min(1),
|
|
42898
|
+
kind: _enum([
|
|
42899
|
+
"string",
|
|
42900
|
+
"number",
|
|
42901
|
+
"boolean",
|
|
42902
|
+
"enum"
|
|
42903
|
+
]),
|
|
42904
|
+
enumValues: array(string()).optional(),
|
|
42905
|
+
label: string().min(1).optional()
|
|
42906
|
+
});
|
|
42907
|
+
var EventVocabularyEntrySchema = object({
|
|
42908
|
+
/** The native token, verbatim. */
|
|
42909
|
+
id: string().min(1),
|
|
42910
|
+
source: EventVocabularySourceSchema.optional(),
|
|
42911
|
+
label: string().min(1),
|
|
42912
|
+
description: string().optional(),
|
|
42913
|
+
kind: EventVocabularyKindSchema.optional(),
|
|
42914
|
+
payload: array(EventVocabularyFieldSchema).optional()
|
|
42915
|
+
});
|
|
42881
42916
|
Math.PI / 180;
|
|
42882
42917
|
/**
|
|
42883
42918
|
* WHEN something happens, as data (D983) — the one time vocabulary of the
|
|
@@ -43085,6 +43120,33 @@ var ScheduleLeafSchema = object({
|
|
|
43085
43120
|
/** @deprecated legacy cron — new schedules use `at`. */
|
|
43086
43121
|
cron: string().min(1).max(120).optional()
|
|
43087
43122
|
}).refine((leaf) => leaf.at === void 0 !== (leaf.cron === void 0), { message: "a schedule names exactly one of `at` (a time spec) and `cron` (legacy)" }).refine((leaf) => leaf.days === void 0 || leaf.at !== void 0, { message: "`days` goes with `at`; a cron expression carries its own days" });
|
|
43123
|
+
/**
|
|
43124
|
+
* One payload predicate of a `device-fired` row: the value at `path` inside
|
|
43125
|
+
* the fire's `data` (dotted) equals `equals`. Compared strictly, no coercion.
|
|
43126
|
+
*/
|
|
43127
|
+
var DeviceFiredMatchSchema = object({
|
|
43128
|
+
path: string().min(1).max(120),
|
|
43129
|
+
equals: union([
|
|
43130
|
+
string(),
|
|
43131
|
+
number$1(),
|
|
43132
|
+
boolean()
|
|
43133
|
+
])
|
|
43134
|
+
});
|
|
43135
|
+
/**
|
|
43136
|
+
* "fires": one device of the `event-emitter` capability reported an event
|
|
43137
|
+
* (D1045). Every list is an OR, the lists together an AND; an absent list does
|
|
43138
|
+
* not narrow. `eventIds` are the device's own tokens, `sourceIds` the parts of
|
|
43139
|
+
* the device (a button), `kinds` the shared press kinds of its vocabulary.
|
|
43140
|
+
*/
|
|
43141
|
+
var DeviceFiredLeafSchema = object({
|
|
43142
|
+
kind: literal("device-fired"),
|
|
43143
|
+
...eventLeafId,
|
|
43144
|
+
deviceId: number$1().int().nonnegative(),
|
|
43145
|
+
eventIds: array(string().min(1)).min(1).max(64).optional(),
|
|
43146
|
+
sourceIds: array(string().min(1)).min(1).max(64).optional(),
|
|
43147
|
+
kinds: array(EventVocabularyKindSchema).min(1).optional(),
|
|
43148
|
+
match: array(DeviceFiredMatchSchema).min(1).max(8).optional()
|
|
43149
|
+
});
|
|
43088
43150
|
var ManualLeafSchema = object({
|
|
43089
43151
|
kind: literal("manual"),
|
|
43090
43152
|
...eventLeafId
|
|
@@ -43226,6 +43288,7 @@ var AutomationWhenSchema = lazy(() => discriminatedUnion("kind", [
|
|
|
43226
43288
|
}),
|
|
43227
43289
|
DeviceBecomesLeafSchema,
|
|
43228
43290
|
DeviceEventLeafSchema,
|
|
43291
|
+
DeviceFiredLeafSchema,
|
|
43229
43292
|
ScheduleLeafSchema,
|
|
43230
43293
|
ManualLeafSchema,
|
|
43231
43294
|
IntervalLeafSchema,
|
|
@@ -43240,6 +43303,7 @@ var AutomationWhenSchema = lazy(() => discriminatedUnion("kind", [
|
|
|
43240
43303
|
var EVENT_KINDS = new Set([
|
|
43241
43304
|
"device-becomes",
|
|
43242
43305
|
"device-event",
|
|
43306
|
+
"device-fired",
|
|
43243
43307
|
"schedule",
|
|
43244
43308
|
"manual",
|
|
43245
43309
|
"interval",
|
|
@@ -43320,6 +43384,7 @@ function hasEmptyContainer(node) {
|
|
|
43320
43384
|
var LEAF_WORDS = {
|
|
43321
43385
|
"device-becomes": "a device value that becomes",
|
|
43322
43386
|
"device-event": "a device event",
|
|
43387
|
+
"device-fired": "a device firing an event",
|
|
43323
43388
|
schedule: "a schedule",
|
|
43324
43389
|
manual: "a manual run",
|
|
43325
43390
|
interval: "an interval",
|
|
@@ -43963,6 +44028,16 @@ var BECOMES_DESCRIPTIONS = {
|
|
|
43963
44028
|
from: "the value before the change, empty when it is not known",
|
|
43964
44029
|
to: "the value it changed to"
|
|
43965
44030
|
};
|
|
44031
|
+
/**
|
|
44032
|
+
* A fire's payload is offered too, as `data.<path>` (`{{vars.data.channel}}`):
|
|
44033
|
+
* those names depend on the device, so they are not in this list.
|
|
44034
|
+
*/
|
|
44035
|
+
var FIRED_DESCRIPTIONS = {
|
|
44036
|
+
deviceId: "the device that fired",
|
|
44037
|
+
eventType: "the event, as the device names it",
|
|
44038
|
+
sourceId: "the part of the device that fired (a button), empty when it names none",
|
|
44039
|
+
eventKind: "the kind of press (press, long-press …), empty when the device declares none"
|
|
44040
|
+
};
|
|
43966
44041
|
function describe$1(descriptions) {
|
|
43967
44042
|
return Object.entries(descriptions).map(([name, description]) => ({
|
|
43968
44043
|
name,
|
|
@@ -43971,12 +44046,50 @@ function describe$1(descriptions) {
|
|
|
43971
44046
|
}
|
|
43972
44047
|
describe$1(DETECTION_DESCRIPTIONS);
|
|
43973
44048
|
describe$1(STATIONARY_DESCRIPTIONS);
|
|
44049
|
+
describe$1(FIRED_DESCRIPTIONS).map((v) => v.name === "deviceId" ? {
|
|
44050
|
+
...v,
|
|
44051
|
+
hintKey: "firedDeviceId"
|
|
44052
|
+
} : v);
|
|
43974
44053
|
describe$1(BECOMES_DESCRIPTIONS).map((v) => v.name === "deviceId" ? {
|
|
43975
44054
|
...v,
|
|
43976
44055
|
hintKey: "becomesDeviceId"
|
|
43977
44056
|
} : v);
|
|
43978
44057
|
new Set(Object.values(COCO_TO_MACRO.mapping));
|
|
43979
44058
|
/**
|
|
44059
|
+
* Generic stateless event emitter. Installed on a `DeviceType.EventEmitter`
|
|
44060
|
+
* device. Carries the device's EXACT declared event vocabulary verbatim
|
|
44061
|
+
* (NO normalization). Two shapes:
|
|
44062
|
+
* - structured source (HA `event.*` entity) → `vocabulary` is the fixed
|
|
44063
|
+
* declared set (e.g. press_short, press_long, …).
|
|
44064
|
+
* - generic/legacy source (HA bus events, e.g. zha_event) → `vocabulary`
|
|
44065
|
+
* is [] (open) and `lastEvent.data` carries the complex payload.
|
|
44066
|
+
* `vocabulary` (D1044) names each event for a person and types it for a
|
|
44067
|
+
* rule; `eventTypes` is its list of native tokens, kept for older readers.
|
|
44068
|
+
* A fire names the part of the device it came from in `sourceId` when the
|
|
44069
|
+
* vocabulary declares sources (a remote's buttons).
|
|
44070
|
+
* `seq` is monotonic so two identical events still produce distinct slice writes.
|
|
44071
|
+
*/
|
|
44072
|
+
var EventFireSchema = object({
|
|
44073
|
+
deviceId: number$1(),
|
|
44074
|
+
eventType: string(),
|
|
44075
|
+
sourceId: string().optional(),
|
|
44076
|
+
data: record(string(), unknown()).nullable(),
|
|
44077
|
+
timestamp: number$1().meta(readingMeta("none")),
|
|
44078
|
+
seq: number$1().meta(readingMeta("count"))
|
|
44079
|
+
});
|
|
44080
|
+
var EventEmitterStatusSchema = object({
|
|
44081
|
+
eventTypes: array(string()),
|
|
44082
|
+
/**
|
|
44083
|
+
* Required of a provider by the type. A status written before the field
|
|
44084
|
+
* existed still parses, as an empty vocabulary: read it through
|
|
44085
|
+
* `readEventVocabulary`, which then answers with the plain tokens.
|
|
44086
|
+
*/
|
|
44087
|
+
vocabulary: array(EventVocabularyEntrySchema).default([]),
|
|
44088
|
+
lastEvent: EventFireSchema.nullable(),
|
|
44089
|
+
eventCountSinceStart: number$1().meta(readingMeta("count"))
|
|
44090
|
+
});
|
|
44091
|
+
DeviceType.EventEmitter;
|
|
44092
|
+
/**
|
|
43980
44093
|
* Schedulers (D983) — an entity that performs actions over the day.
|
|
43981
44094
|
*
|
|
43982
44095
|
* A scheduler has profiles; a profile has weekdays and a timeline of POINTS.
|
|
@@ -44234,6 +44347,7 @@ var AutomationConditionTraceNodeSchema = object({
|
|
|
44234
44347
|
"triggered-by",
|
|
44235
44348
|
"device-becomes",
|
|
44236
44349
|
"device-event",
|
|
44350
|
+
"device-fired",
|
|
44237
44351
|
"schedule",
|
|
44238
44352
|
"interval",
|
|
44239
44353
|
"manual",
|
|
@@ -53948,75 +54062,6 @@ var EnumSensorStatusSchema = object({
|
|
|
53948
54062
|
lastFetchedAt: number$1()
|
|
53949
54063
|
});
|
|
53950
54064
|
DeviceType.Sensor;
|
|
53951
|
-
var EventVocabularyKindSchema = _enum([
|
|
53952
|
-
"press",
|
|
53953
|
-
"long-press",
|
|
53954
|
-
"long-press-start",
|
|
53955
|
-
"release",
|
|
53956
|
-
"repeat",
|
|
53957
|
-
"double-press",
|
|
53958
|
-
"other"
|
|
53959
|
-
]);
|
|
53960
|
-
/** The part of the device an event comes from: a button, a channel. */
|
|
53961
|
-
var EventVocabularySourceSchema = object({
|
|
53962
|
-
id: string().min(1),
|
|
53963
|
-
label: string().min(1)
|
|
53964
|
-
});
|
|
53965
|
-
/** One scalar field of an event's `data`, by dotted path. */
|
|
53966
|
-
var EventVocabularyFieldSchema = object({
|
|
53967
|
-
path: string().min(1),
|
|
53968
|
-
kind: _enum([
|
|
53969
|
-
"string",
|
|
53970
|
-
"number",
|
|
53971
|
-
"boolean",
|
|
53972
|
-
"enum"
|
|
53973
|
-
]),
|
|
53974
|
-
enumValues: array(string()).optional(),
|
|
53975
|
-
label: string().min(1).optional()
|
|
53976
|
-
});
|
|
53977
|
-
var EventVocabularyEntrySchema = object({
|
|
53978
|
-
/** The native token, verbatim. */
|
|
53979
|
-
id: string().min(1),
|
|
53980
|
-
source: EventVocabularySourceSchema.optional(),
|
|
53981
|
-
label: string().min(1),
|
|
53982
|
-
description: string().optional(),
|
|
53983
|
-
kind: EventVocabularyKindSchema.optional(),
|
|
53984
|
-
payload: array(EventVocabularyFieldSchema).optional()
|
|
53985
|
-
});
|
|
53986
|
-
/**
|
|
53987
|
-
* Generic stateless event emitter. Installed on a `DeviceType.EventEmitter`
|
|
53988
|
-
* device. Carries the device's EXACT declared event vocabulary verbatim
|
|
53989
|
-
* (NO normalization). Two shapes:
|
|
53990
|
-
* - structured source (HA `event.*` entity) → `vocabulary` is the fixed
|
|
53991
|
-
* declared set (e.g. press_short, press_long, …).
|
|
53992
|
-
* - generic/legacy source (HA bus events, e.g. zha_event) → `vocabulary`
|
|
53993
|
-
* is [] (open) and `lastEvent.data` carries the complex payload.
|
|
53994
|
-
* `vocabulary` (D1044) names each event for a person and types it for a
|
|
53995
|
-
* rule; `eventTypes` is its list of native tokens, kept for older readers.
|
|
53996
|
-
* A fire names the part of the device it came from in `sourceId` when the
|
|
53997
|
-
* vocabulary declares sources (a remote's buttons).
|
|
53998
|
-
* `seq` is monotonic so two identical events still produce distinct slice writes.
|
|
53999
|
-
*/
|
|
54000
|
-
var EventFireSchema = object({
|
|
54001
|
-
deviceId: number$1(),
|
|
54002
|
-
eventType: string(),
|
|
54003
|
-
sourceId: string().optional(),
|
|
54004
|
-
data: record(string(), unknown()).nullable(),
|
|
54005
|
-
timestamp: number$1().meta(readingMeta("none")),
|
|
54006
|
-
seq: number$1().meta(readingMeta("count"))
|
|
54007
|
-
});
|
|
54008
|
-
var EventEmitterStatusSchema = object({
|
|
54009
|
-
eventTypes: array(string()),
|
|
54010
|
-
/**
|
|
54011
|
-
* Required of a provider by the type. A status written before the field
|
|
54012
|
-
* existed still parses, as an empty vocabulary: read it through
|
|
54013
|
-
* `readEventVocabulary`, which then answers with the plain tokens.
|
|
54014
|
-
*/
|
|
54015
|
-
vocabulary: array(EventVocabularyEntrySchema).default([]),
|
|
54016
|
-
lastEvent: EventFireSchema.nullable(),
|
|
54017
|
-
eventCountSinceStart: number$1().meta(readingMeta("count"))
|
|
54018
|
-
});
|
|
54019
|
-
DeviceType.EventEmitter;
|
|
54020
54065
|
var IdentitySchema = object({
|
|
54021
54066
|
id: string(),
|
|
54022
54067
|
name: string(),
|
|
@@ -95744,7 +95789,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
95744
95789
|
capability: adminUiCapability,
|
|
95745
95790
|
provider: {
|
|
95746
95791
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
95747
|
-
getVersion: async () => ({ version: "1.2.
|
|
95792
|
+
getVersion: async () => ({ version: "1.2.647" })
|
|
95748
95793
|
}
|
|
95749
95794
|
}];
|
|
95750
95795
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.647",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.843"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|