@camstack/addon-agent-ui 1.2.178 → 1.2.179
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/addon.js +31 -21
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -15934,6 +15934,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
15934
15934
|
kind: "mutation",
|
|
15935
15935
|
auth: "admin"
|
|
15936
15936
|
});
|
|
15937
|
+
var HUB_ADDRESS_ROLES = [
|
|
15938
|
+
"appConnections",
|
|
15939
|
+
"notificationTaps",
|
|
15940
|
+
"internal",
|
|
15941
|
+
"publicEndpoint"
|
|
15942
|
+
];
|
|
15937
15943
|
/**
|
|
15938
15944
|
* Transport bounds for AI capability methods.
|
|
15939
15945
|
*
|
|
@@ -20105,7 +20111,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20105
20111
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20106
20112
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20107
20113
|
*/
|
|
20108
|
-
notifySensorRewatched: boolean().optional()
|
|
20114
|
+
notifySensorRewatched: boolean().optional(),
|
|
20115
|
+
/**
|
|
20116
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20117
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20118
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20119
|
+
*/
|
|
20120
|
+
notifySensorIgnored: boolean().optional()
|
|
20109
20121
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20110
20122
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20111
20123
|
mode: AlarmArmModeSchema,
|
|
@@ -20118,7 +20130,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20118
20130
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20119
20131
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20120
20132
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20121
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20133
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20134
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20135
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20122
20136
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20123
20137
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20124
20138
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -30623,7 +30637,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
30623
30637
|
localPort: AdvertisedLocalPortSchema
|
|
30624
30638
|
});
|
|
30625
30639
|
/**
|
|
30626
|
-
* The address flagged for notification
|
|
30640
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
30627
30641
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
30628
30642
|
* so the UI can show it either way.
|
|
30629
30643
|
*/
|
|
@@ -30658,8 +30672,8 @@ var ViewerEndpointsSchema = object({
|
|
|
30658
30672
|
});
|
|
30659
30673
|
/**
|
|
30660
30674
|
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
30661
|
-
*
|
|
30662
|
-
*
|
|
30675
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
30676
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
30663
30677
|
*/
|
|
30664
30678
|
var HubAddressSnapshotSchema = object({
|
|
30665
30679
|
override: string().nullable(),
|
|
@@ -30675,15 +30689,11 @@ var HubAddressesSchema = object({
|
|
|
30675
30689
|
browser: HubAddressSnapshotSchema
|
|
30676
30690
|
});
|
|
30677
30691
|
/**
|
|
30678
|
-
* What an address is used for (`hub-address.ts
|
|
30679
|
-
* `
|
|
30692
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
30693
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
30694
|
+
* by at most one address.
|
|
30680
30695
|
*/
|
|
30681
|
-
var HubAddressRoleSchema = _enum(
|
|
30682
|
-
"viewer",
|
|
30683
|
-
"notifications",
|
|
30684
|
-
"agents",
|
|
30685
|
-
"signIn"
|
|
30686
|
-
]);
|
|
30696
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
30687
30697
|
var RoleSourceSchema = _enum([
|
|
30688
30698
|
"flagged",
|
|
30689
30699
|
"auto",
|
|
@@ -30697,8 +30707,8 @@ var HubAddressRoleResolutionSchema = object({
|
|
|
30697
30707
|
resolved: string().nullable(),
|
|
30698
30708
|
source: RoleSourceSchema
|
|
30699
30709
|
});
|
|
30700
|
-
var
|
|
30701
|
-
/** The addresses flagged `
|
|
30710
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
30711
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
30702
30712
|
flagged: array(string()).readonly(),
|
|
30703
30713
|
/** What the apps race right now. */
|
|
30704
30714
|
resolved: array(string()).readonly(),
|
|
@@ -30718,10 +30728,10 @@ var HubAddressBookSchema = object({
|
|
|
30718
30728
|
eligible: array(HubAddressRoleSchema).readonly()
|
|
30719
30729
|
})).readonly(),
|
|
30720
30730
|
roles: object({
|
|
30721
|
-
|
|
30722
|
-
|
|
30723
|
-
|
|
30724
|
-
|
|
30731
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
30732
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
30733
|
+
internal: HubAddressRoleResolutionSchema,
|
|
30734
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
30725
30735
|
}),
|
|
30726
30736
|
/** The `hub=` an app link carries (D709), or null. */
|
|
30727
30737
|
appLinkHub: string().nullable()
|
|
@@ -30769,7 +30779,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30769
30779
|
* tunnel always emits `https://` regardless. */
|
|
30770
30780
|
scheme: _enum(["http", "https"]).optional(),
|
|
30771
30781
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
30772
|
-
* an address notification
|
|
30782
|
+
* an address notification taps can be flagged with, not a hub
|
|
30773
30783
|
* route. Default `false`: racers and rankers never see it. */
|
|
30774
30784
|
includeAppLink: boolean().optional()
|
|
30775
30785
|
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
@@ -48682,7 +48692,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
48682
48692
|
capability: adminUiCapability,
|
|
48683
48693
|
provider: {
|
|
48684
48694
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
48685
|
-
getVersion: async () => ({ version: "1.2.
|
|
48695
|
+
getVersion: async () => ({ version: "1.2.179" })
|
|
48686
48696
|
}
|
|
48687
48697
|
}];
|
|
48688
48698
|
}
|