@camstack/addon-mqtt-broker 1.2.68 → 1.2.69
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/mqtt-broker.addon.js +45 -1
- package/dist/mqtt-broker.addon.mjs +45 -1
- package/package.json +1 -1
|
@@ -19118,6 +19118,33 @@ var RecentTracksQueryInput = object({
|
|
|
19118
19118
|
*/
|
|
19119
19119
|
classes: array(string()).optional()
|
|
19120
19120
|
});
|
|
19121
|
+
/**
|
|
19122
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19123
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19124
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19125
|
+
* member visible has been materialised.
|
|
19126
|
+
*/
|
|
19127
|
+
var SummarySchema = object({
|
|
19128
|
+
id: string(),
|
|
19129
|
+
deviceId: number(),
|
|
19130
|
+
openedAt: number(),
|
|
19131
|
+
lastActiveAt: number(),
|
|
19132
|
+
sealedAt: number().nullable(),
|
|
19133
|
+
memberCount: number().int().nonnegative(),
|
|
19134
|
+
groupShotKey: string().nullable()
|
|
19135
|
+
});
|
|
19136
|
+
var SummariesQueryInput = object({
|
|
19137
|
+
deviceIds: array(number()).min(1),
|
|
19138
|
+
since: number().optional(),
|
|
19139
|
+
until: number().optional(),
|
|
19140
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19141
|
+
});
|
|
19142
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19143
|
+
var SummaryDetailSchema = object({
|
|
19144
|
+
summary: SummarySchema,
|
|
19145
|
+
/** Member track ids, in absorption order. */
|
|
19146
|
+
trackIds: array(string()).readonly()
|
|
19147
|
+
});
|
|
19121
19148
|
var RecentTracksPageSchema = object({
|
|
19122
19149
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19123
19150
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19518,7 +19545,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19518
19545
|
* timeline would read as a camera that saw nothing.
|
|
19519
19546
|
*/
|
|
19520
19547
|
classes: array(string()).optional()
|
|
19521
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19548
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19522
19549
|
kind: "mutation",
|
|
19523
19550
|
auth: "admin"
|
|
19524
19551
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -32473,6 +32500,12 @@ Object.freeze({
|
|
|
32473
32500
|
addonId: null,
|
|
32474
32501
|
access: "view"
|
|
32475
32502
|
},
|
|
32503
|
+
"pipelineAnalytics.getSummary": {
|
|
32504
|
+
capName: "pipeline-analytics",
|
|
32505
|
+
capScope: "device",
|
|
32506
|
+
addonId: null,
|
|
32507
|
+
access: "view"
|
|
32508
|
+
},
|
|
32476
32509
|
"pipelineAnalytics.getTrack": {
|
|
32477
32510
|
capName: "pipeline-analytics",
|
|
32478
32511
|
capScope: "device",
|
|
@@ -32551,6 +32584,12 @@ Object.freeze({
|
|
|
32551
32584
|
addonId: null,
|
|
32552
32585
|
access: "view"
|
|
32553
32586
|
},
|
|
32587
|
+
"pipelineAnalytics.listSummaries": {
|
|
32588
|
+
capName: "pipeline-analytics",
|
|
32589
|
+
capScope: "device",
|
|
32590
|
+
addonId: null,
|
|
32591
|
+
access: "view"
|
|
32592
|
+
},
|
|
32554
32593
|
"pipelineAnalytics.listTrackMedia": {
|
|
32555
32594
|
capName: "pipeline-analytics",
|
|
32556
32595
|
capScope: "device",
|
|
@@ -36246,6 +36285,11 @@ Object.freeze({
|
|
|
36246
36285
|
form: "array",
|
|
36247
36286
|
optional: true
|
|
36248
36287
|
}],
|
|
36288
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36289
|
+
name: "deviceIds",
|
|
36290
|
+
form: "array",
|
|
36291
|
+
optional: false
|
|
36292
|
+
}],
|
|
36249
36293
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36250
36294
|
name: "deviceId",
|
|
36251
36295
|
form: "single",
|
|
@@ -19113,6 +19113,33 @@ var RecentTracksQueryInput = object({
|
|
|
19113
19113
|
*/
|
|
19114
19114
|
classes: array(string()).optional()
|
|
19115
19115
|
});
|
|
19116
|
+
/**
|
|
19117
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19118
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19119
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19120
|
+
* member visible has been materialised.
|
|
19121
|
+
*/
|
|
19122
|
+
var SummarySchema = object({
|
|
19123
|
+
id: string(),
|
|
19124
|
+
deviceId: number(),
|
|
19125
|
+
openedAt: number(),
|
|
19126
|
+
lastActiveAt: number(),
|
|
19127
|
+
sealedAt: number().nullable(),
|
|
19128
|
+
memberCount: number().int().nonnegative(),
|
|
19129
|
+
groupShotKey: string().nullable()
|
|
19130
|
+
});
|
|
19131
|
+
var SummariesQueryInput = object({
|
|
19132
|
+
deviceIds: array(number()).min(1),
|
|
19133
|
+
since: number().optional(),
|
|
19134
|
+
until: number().optional(),
|
|
19135
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19136
|
+
});
|
|
19137
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19138
|
+
var SummaryDetailSchema = object({
|
|
19139
|
+
summary: SummarySchema,
|
|
19140
|
+
/** Member track ids, in absorption order. */
|
|
19141
|
+
trackIds: array(string()).readonly()
|
|
19142
|
+
});
|
|
19116
19143
|
var RecentTracksPageSchema = object({
|
|
19117
19144
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19118
19145
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19513,7 +19540,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19513
19540
|
* timeline would read as a camera that saw nothing.
|
|
19514
19541
|
*/
|
|
19515
19542
|
classes: array(string()).optional()
|
|
19516
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19543
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19517
19544
|
kind: "mutation",
|
|
19518
19545
|
auth: "admin"
|
|
19519
19546
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -32468,6 +32495,12 @@ Object.freeze({
|
|
|
32468
32495
|
addonId: null,
|
|
32469
32496
|
access: "view"
|
|
32470
32497
|
},
|
|
32498
|
+
"pipelineAnalytics.getSummary": {
|
|
32499
|
+
capName: "pipeline-analytics",
|
|
32500
|
+
capScope: "device",
|
|
32501
|
+
addonId: null,
|
|
32502
|
+
access: "view"
|
|
32503
|
+
},
|
|
32471
32504
|
"pipelineAnalytics.getTrack": {
|
|
32472
32505
|
capName: "pipeline-analytics",
|
|
32473
32506
|
capScope: "device",
|
|
@@ -32546,6 +32579,12 @@ Object.freeze({
|
|
|
32546
32579
|
addonId: null,
|
|
32547
32580
|
access: "view"
|
|
32548
32581
|
},
|
|
32582
|
+
"pipelineAnalytics.listSummaries": {
|
|
32583
|
+
capName: "pipeline-analytics",
|
|
32584
|
+
capScope: "device",
|
|
32585
|
+
addonId: null,
|
|
32586
|
+
access: "view"
|
|
32587
|
+
},
|
|
32549
32588
|
"pipelineAnalytics.listTrackMedia": {
|
|
32550
32589
|
capName: "pipeline-analytics",
|
|
32551
32590
|
capScope: "device",
|
|
@@ -36241,6 +36280,11 @@ Object.freeze({
|
|
|
36241
36280
|
form: "array",
|
|
36242
36281
|
optional: true
|
|
36243
36282
|
}],
|
|
36283
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36284
|
+
name: "deviceIds",
|
|
36285
|
+
form: "array",
|
|
36286
|
+
optional: false
|
|
36287
|
+
}],
|
|
36244
36288
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36245
36289
|
name: "deviceId",
|
|
36246
36290
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.69",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|