@7365admin1/layer-common 4.165.0 → 4.166.0
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/layer-common
|
|
2
2
|
|
|
3
|
+
## 4.166.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d26c7c7: CCTV Engine Events: show the event's written description (from the site engine, when it has one) in the event list and event detail.
|
|
8
|
+
|
|
3
9
|
## 4.165.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -3760,11 +3766,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
|
|
|
3760
3766
|
`utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
|
|
3761
3767
|
own rule from two endpoints the console already calls, unprojected:
|
|
3762
3768
|
|
|
3763
|
-
|
|
3764
|
-
|
|
3769
|
+
GET /api/members/user/:user/app/admin the Seven365 staff membership
|
|
3770
|
+
GET /api/roles/id/:role that membership's role document
|
|
3765
3771
|
|
|
3766
|
-
|
|
3767
|
-
|
|
3772
|
+
owner = member.type === "admin" && role.type === "admin" && role.default === true
|
|
3773
|
+
staff = member.type === "admin" && role.type === "admin"
|
|
3768
3774
|
|
|
3769
3775
|
`role.default` is the marker because it is the only property of a platform
|
|
3770
3776
|
staff role no API caller can set - `role.controller.ts` validates create and
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
<tr v-else><th>Object</th><td>{{ event.label }}<template v-if="event.subLabel"> ({{ event.subLabel }})</template></td></tr>
|
|
33
33
|
<tr v-if="event.faceName"><th>Face</th><td>{{ event.faceName }}</td></tr>
|
|
34
34
|
<tr v-if="event.plate"><th>Plate</th><td>{{ event.plate }}</td></tr>
|
|
35
|
+
<tr v-if="event.description"><th>Description</th><td data-test="event-description">{{ event.description }}</td></tr>
|
|
35
36
|
<tr v-if="!isClassification"><th>Zones</th><td>{{ (event.zones ?? []).join(", ") || "None" }}<template v-if="(event.enteredZones ?? []).length"> (entered: {{ event.enteredZones.join(" then ") }})</template></td></tr>
|
|
36
37
|
<!-- A smart detection result carries no score from the engine. -->
|
|
37
38
|
<tr v-if="!isClassification"><th>Confidence</th><td>{{ scoreText(event.score) }}</td></tr>
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
<v-chip v-if="e.severity === 'alert'" size="small" color="error" label class="mr-1">Alert</v-chip>
|
|
38
38
|
<v-chip size="small" label>{{ kindTitle(e.kind) }}</v-chip>
|
|
39
39
|
</template>
|
|
40
|
+
<div v-if="e.description" class="hero-muted text-truncate" data-test="event-description">{{ e.description }}</div>
|
|
40
41
|
</v-list-item>
|
|
41
42
|
</v-list>
|
|
42
43
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.166.0",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|