@dominevo/types 0.1.1 → 0.1.2
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 +7 -0
- package/dist/capabilities/local-network.cap.d.ts +1 -1
- package/dist/capabilities/user-management.cap.d.ts +8 -2
- package/dist/capabilities/viewer-link-url.d.ts +3 -3
- package/dist/esm/capabilities/local-network.cap.mjs +2 -2
- package/dist/esm/capabilities/user-management.cap.mjs +5 -1
- package/dist/esm/capabilities/viewer-link-url.mjs +1 -1
- package/dist/esm/generated/method-descriptions.mjs +1 -1
- package/dist/generated/addon-api.d.ts +38 -4
- package/dist/index.js +9 -5
- package/dist/index.mjs +9 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.2] - 2026-11-29
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- The Dominevo app link and the hosted viewer are now viewer.dominevo.app.
|
|
15
|
+
- Credential sessions list last use: address, client and use count (never used reads as never)
|
|
16
|
+
|
|
10
17
|
## [0.1.1] - 2026-11-28
|
|
11
18
|
|
|
12
19
|
### Changed
|
|
@@ -531,7 +531,7 @@ export declare const localNetworkCapability: {
|
|
|
531
531
|
/**
|
|
532
532
|
* The `notificationTaps` role (D734): where TAPPING a notification opens.
|
|
533
533
|
* `baseUrl: null` means AUTO, which is the Dominevo app link (D709): taps
|
|
534
|
-
* go through `https://
|
|
534
|
+
* go through `https://viewer.dominevo.app/…?hub=<appLinkHub>` and open the
|
|
535
535
|
* app. Any hub address the palette lists can be flagged instead; then a
|
|
536
536
|
* tap opens that address. Only the tap: action buttons, attachment /
|
|
537
537
|
* media links and admin links follow the `publicEndpoint` role
|
|
@@ -252,7 +252,10 @@ declare const OauthSessionSummarySchema: z.ZodObject<{
|
|
|
252
252
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
253
253
|
}, z.core.$strip>], "type">>>;
|
|
254
254
|
createdAt: z.ZodNumber;
|
|
255
|
-
lastUsedAt: z.ZodNumber
|
|
255
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
256
|
+
lastUsedFrom: z.ZodNullable<z.ZodString>;
|
|
257
|
+
lastUsedClient: z.ZodNullable<z.ZodString>;
|
|
258
|
+
useCount: z.ZodNumber;
|
|
256
259
|
revokedAt: z.ZodNullable<z.ZodNumber>;
|
|
257
260
|
}, z.core.$strip>;
|
|
258
261
|
/**
|
|
@@ -979,7 +982,10 @@ export declare const userManagementCapability: {
|
|
|
979
982
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
980
983
|
}, z.core.$strip>], "type">>>;
|
|
981
984
|
createdAt: z.ZodNumber;
|
|
982
|
-
lastUsedAt: z.ZodNumber
|
|
985
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
986
|
+
lastUsedFrom: z.ZodNullable<z.ZodString>;
|
|
987
|
+
lastUsedClient: z.ZodNullable<z.ZodString>;
|
|
988
|
+
useCount: z.ZodNumber;
|
|
983
989
|
revokedAt: z.ZodNullable<z.ZodNumber>;
|
|
984
990
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
985
991
|
/** Revoke one OAuth session so its tokens stop working. */
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
* notifications on the admin Network page (`local-network`'s notification
|
|
8
8
|
* endpoint — one flag, one store). Among the addresses that page lists,
|
|
9
9
|
* `local-network` adds one generic entry: the app link,
|
|
10
|
-
* `https://
|
|
10
|
+
* `https://viewer.dominevo.app`, and that entry carries the flag BY DEFAULT.
|
|
11
11
|
* Two forms follow from which address is flagged:
|
|
12
12
|
*
|
|
13
13
|
* - `app` — the app link is flagged:
|
|
14
|
-
* `https://
|
|
14
|
+
* `https://viewer.dominevo.app/<path>?<query>&hub=<hub origin>`. The central
|
|
15
15
|
* domain the native app claims as a Universal Link / App Link
|
|
16
16
|
* (docs/design/2026-08-19-central-link-redirect.md): on a phone with the app
|
|
17
17
|
* it opens the app on that page; anywhere else the hosted viewer opens and
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
*/
|
|
34
34
|
import type { ConnectionEndpoint } from './local-network.cap.js';
|
|
35
35
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
36
|
-
export declare const DOMINEVO_APP_LINK_ORIGIN = "https://
|
|
36
|
+
export declare const DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
|
|
37
37
|
/** Where the hub serves the viewer SPA. */
|
|
38
38
|
export declare const HUB_VIEWER_MOUNT = "/viewer/dominevo";
|
|
39
39
|
/** Which form a viewer link takes — see the module header. */
|
|
@@ -182,7 +182,7 @@ var NotificationEndpointSchema = /* @__PURE__ */ z.object({
|
|
|
182
182
|
baseUrl: /* @__PURE__ */ z.string().nullable(),
|
|
183
183
|
/**
|
|
184
184
|
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
185
|
-
* Dominevo app link `https://
|
|
185
|
+
* Dominevo app link `https://viewer.dominevo.app` (D709). A pre-D709 hub
|
|
186
186
|
* answered the public tunnel / mesh here, or null.
|
|
187
187
|
*/
|
|
188
188
|
resolved: /* @__PURE__ */ z.string().nullable(),
|
|
@@ -434,7 +434,7 @@ var localNetworkCapability = {
|
|
|
434
434
|
/**
|
|
435
435
|
* The `notificationTaps` role (D734): where TAPPING a notification opens.
|
|
436
436
|
* `baseUrl: null` means AUTO, which is the Dominevo app link (D709): taps
|
|
437
|
-
* go through `https://
|
|
437
|
+
* go through `https://viewer.dominevo.app/…?hub=<appLinkHub>` and open the
|
|
438
438
|
* app. Any hub address the palette lists can be flagged instead; then a
|
|
439
439
|
* tap opens that address. Only the tap: action buttons, attachment /
|
|
440
440
|
* media links and admin links follow the `publicEndpoint` role
|
|
@@ -46,7 +46,11 @@ var OauthSessionSummarySchema = /* @__PURE__ */ z.object({
|
|
|
46
46
|
instanceId: /* @__PURE__ */ z.string().nullable().optional(),
|
|
47
47
|
scopes: /* @__PURE__ */ z.array(TokenScopeSchema),
|
|
48
48
|
createdAt: /* @__PURE__ */ z.number(),
|
|
49
|
-
|
|
49
|
+
/** The last real use of an access token of this link; `null` = never used. A refresh is not a use. */
|
|
50
|
+
lastUsedAt: /* @__PURE__ */ z.number().nullable(),
|
|
51
|
+
lastUsedFrom: /* @__PURE__ */ z.string().nullable(),
|
|
52
|
+
lastUsedClient: /* @__PURE__ */ z.string().nullable(),
|
|
53
|
+
useCount: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
50
54
|
revokedAt: /* @__PURE__ */ z.number().nullable()
|
|
51
55
|
});
|
|
52
56
|
var TotpSetupResultSchema = /* @__PURE__ */ z.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/capabilities/viewer-link-url.ts
|
|
2
2
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
3
|
-
var DOMINEVO_APP_LINK_ORIGIN = "https://
|
|
3
|
+
var DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
|
|
4
4
|
/** Where the hub serves the viewer SPA. */
|
|
5
5
|
var HUB_VIEWER_MOUNT = "/viewer/dominevo";
|
|
6
6
|
/** True when `baseUrl` names the Dominevo app link rather than a hub address. */
|
|
@@ -667,7 +667,7 @@ var METHOD_DESCRIPTIONS = /* @__PURE__ */ Object.freeze({
|
|
|
667
667
|
"localNetwork.getAllowedAddresses": "Read the operator's allowlist. Empty = \"auto\" (no filter). Used by the admin UI's address selector to seed its checkbox state.",
|
|
668
668
|
"localNetwork.getConnectionEndpoints": "Ordered candidate base URLs (the palette the Network tab shows). Includes LAN IPv4, stable LAN IPv6, the public tunnel, and mesh when joined. Loopback is off by default. The SDK races the subset from getViewerEndpoints, not this full list — IPv6 stays here because WebRTC ICE gathers dual-stack regardless of the HTTP race. Honours getAllowedAddresses() when set — addresses outside the allowlist are dropped (the public tunnel is still included as an escape hatch).",
|
|
669
669
|
"localNetwork.getHubAddresses": "The hub's cluster and browser addresses (deprecated; use getAddresses).",
|
|
670
|
-
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://
|
|
670
|
+
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://viewer.dominevo.app/…?hub=<appLinkHub> and open the app. Any hub address the palette lists can be flagged instead; then a tap opens that address. Only the tap: action buttons, attachment / media links and admin links follow the publicEndpoint role (getAddresses().roles.publicEndpoint), never this one.",
|
|
671
671
|
"localNetwork.getPreferred": "Auto-selected outbound interface. Heuristic: 1. Skip internal / link-local / 169.254.*. 2. Prefer LAN/wifi (real Ethernet) over docker/vpn. 3. IPv4 wins over IPv6 (compat with legacy consumers). 4. Tie-break on lowest CIDR mask (most-specific subnet). Returns null only when the host has zero non-loopback addresses. Honours getAllowedAddresses() — if the operator pinned an allowlist, only those addresses are candidates.",
|
|
672
672
|
"localNetwork.getScanSubnets": "Extra subnets every scan covers besides the hub's own, as CIDR strings.",
|
|
673
673
|
"localNetwork.getTlsStatus": "Live TLS material for the Network → Local access certificate card. LAN HTTP / hostname are scoped settings (the cap's own form), not a second store — this query is status, not configuration.",
|
|
@@ -14800,6 +14800,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
14800
14800
|
createdAt: number;
|
|
14801
14801
|
expiresAt: number | null;
|
|
14802
14802
|
lastUsedAt: number | null;
|
|
14803
|
+
lastUsedFrom: string | null;
|
|
14804
|
+
lastUsedClient: string | null;
|
|
14805
|
+
useCount: number;
|
|
14803
14806
|
revokedAt: number | null;
|
|
14804
14807
|
};
|
|
14805
14808
|
};
|
|
@@ -14862,6 +14865,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
14862
14865
|
createdAt: number;
|
|
14863
14866
|
expiresAt: number | null;
|
|
14864
14867
|
lastUsedAt: number | null;
|
|
14868
|
+
lastUsedFrom: string | null;
|
|
14869
|
+
lastUsedClient: string | null;
|
|
14870
|
+
useCount: number;
|
|
14865
14871
|
revokedAt: number | null;
|
|
14866
14872
|
}[];
|
|
14867
14873
|
meta: object;
|
|
@@ -14924,6 +14930,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
14924
14930
|
createdAt: number;
|
|
14925
14931
|
expiresAt: number | null;
|
|
14926
14932
|
lastUsedAt: number | null;
|
|
14933
|
+
lastUsedFrom: string | null;
|
|
14934
|
+
lastUsedClient: string | null;
|
|
14935
|
+
useCount: number;
|
|
14927
14936
|
revokedAt: number | null;
|
|
14928
14937
|
};
|
|
14929
14938
|
meta: object;
|
|
@@ -14941,6 +14950,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
14941
14950
|
input: {
|
|
14942
14951
|
limit?: number | undefined;
|
|
14943
14952
|
userId?: string | undefined;
|
|
14953
|
+
credentialId?: string | undefined;
|
|
14944
14954
|
} | undefined;
|
|
14945
14955
|
output: {
|
|
14946
14956
|
id: string;
|
|
@@ -14948,6 +14958,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
14948
14958
|
action: string;
|
|
14949
14959
|
userId?: string | undefined;
|
|
14950
14960
|
ip?: string | undefined;
|
|
14961
|
+
credentialId?: string | undefined;
|
|
14951
14962
|
detail?: Record<string, string | number | boolean> | undefined;
|
|
14952
14963
|
}[];
|
|
14953
14964
|
meta: object;
|
|
@@ -15279,7 +15290,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
15279
15290
|
method: string;
|
|
15280
15291
|
refreshable: boolean;
|
|
15281
15292
|
createdAt: number;
|
|
15282
|
-
lastUsedAt: number;
|
|
15293
|
+
lastUsedAt: number | null;
|
|
15294
|
+
lastUsedFrom: string | null;
|
|
15295
|
+
lastUsedClient: string | null;
|
|
15296
|
+
useCount: number;
|
|
15283
15297
|
expiresAt: number;
|
|
15284
15298
|
client: string | null;
|
|
15285
15299
|
ip: string | null;
|
|
@@ -15306,7 +15320,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
15306
15320
|
method: string;
|
|
15307
15321
|
refreshable: boolean;
|
|
15308
15322
|
createdAt: number;
|
|
15309
|
-
lastUsedAt: number;
|
|
15323
|
+
lastUsedAt: number | null;
|
|
15324
|
+
lastUsedFrom: string | null;
|
|
15325
|
+
lastUsedClient: string | null;
|
|
15326
|
+
useCount: number;
|
|
15310
15327
|
expiresAt: number;
|
|
15311
15328
|
client: string | null;
|
|
15312
15329
|
ip: string | null;
|
|
@@ -15891,6 +15908,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
15891
15908
|
createdAt: number;
|
|
15892
15909
|
expiresAt: number | null;
|
|
15893
15910
|
lastUsedAt: number | null;
|
|
15911
|
+
lastUsedFrom: string | null;
|
|
15912
|
+
lastUsedClient: string | null;
|
|
15913
|
+
useCount: number;
|
|
15894
15914
|
revokedAt: number | null;
|
|
15895
15915
|
};
|
|
15896
15916
|
};
|
|
@@ -15953,6 +15973,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
15953
15973
|
createdAt: number;
|
|
15954
15974
|
expiresAt: number | null;
|
|
15955
15975
|
lastUsedAt: number | null;
|
|
15976
|
+
lastUsedFrom: string | null;
|
|
15977
|
+
lastUsedClient: string | null;
|
|
15978
|
+
useCount: number;
|
|
15956
15979
|
revokedAt: number | null;
|
|
15957
15980
|
}[];
|
|
15958
15981
|
meta: object;
|
|
@@ -16015,6 +16038,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
16015
16038
|
createdAt: number;
|
|
16016
16039
|
expiresAt: number | null;
|
|
16017
16040
|
lastUsedAt: number | null;
|
|
16041
|
+
lastUsedFrom: string | null;
|
|
16042
|
+
lastUsedClient: string | null;
|
|
16043
|
+
useCount: number;
|
|
16018
16044
|
revokedAt: number | null;
|
|
16019
16045
|
};
|
|
16020
16046
|
meta: object;
|
|
@@ -16032,6 +16058,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
16032
16058
|
input: {
|
|
16033
16059
|
limit?: number | undefined;
|
|
16034
16060
|
userId?: string | undefined;
|
|
16061
|
+
credentialId?: string | undefined;
|
|
16035
16062
|
} | undefined;
|
|
16036
16063
|
output: {
|
|
16037
16064
|
id: string;
|
|
@@ -16039,6 +16066,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
16039
16066
|
action: string;
|
|
16040
16067
|
userId?: string | undefined;
|
|
16041
16068
|
ip?: string | undefined;
|
|
16069
|
+
credentialId?: string | undefined;
|
|
16042
16070
|
detail?: Record<string, string | number | boolean> | undefined;
|
|
16043
16071
|
}[];
|
|
16044
16072
|
meta: object;
|
|
@@ -16370,7 +16398,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
16370
16398
|
method: string;
|
|
16371
16399
|
refreshable: boolean;
|
|
16372
16400
|
createdAt: number;
|
|
16373
|
-
lastUsedAt: number;
|
|
16401
|
+
lastUsedAt: number | null;
|
|
16402
|
+
lastUsedFrom: string | null;
|
|
16403
|
+
lastUsedClient: string | null;
|
|
16404
|
+
useCount: number;
|
|
16374
16405
|
expiresAt: number;
|
|
16375
16406
|
client: string | null;
|
|
16376
16407
|
ip: string | null;
|
|
@@ -16397,7 +16428,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
16397
16428
|
method: string;
|
|
16398
16429
|
refreshable: boolean;
|
|
16399
16430
|
createdAt: number;
|
|
16400
|
-
lastUsedAt: number;
|
|
16431
|
+
lastUsedAt: number | null;
|
|
16432
|
+
lastUsedFrom: string | null;
|
|
16433
|
+
lastUsedClient: string | null;
|
|
16434
|
+
useCount: number;
|
|
16401
16435
|
expiresAt: number;
|
|
16402
16436
|
client: string | null;
|
|
16403
16437
|
ip: string | null;
|
package/dist/index.js
CHANGED
|
@@ -73731,7 +73731,7 @@ list: /* @__PURE__ */ require_runtime_capabilities.method(/* @__PURE__ */ zod.z.
|
|
|
73731
73731
|
//#endregion
|
|
73732
73732
|
//#region src/capabilities/viewer-link-url.ts
|
|
73733
73733
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
73734
|
-
var DOMINEVO_APP_LINK_ORIGIN = "https://
|
|
73734
|
+
var DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
|
|
73735
73735
|
/** Where the hub serves the viewer SPA. */
|
|
73736
73736
|
var HUB_VIEWER_MOUNT = "/viewer/dominevo";
|
|
73737
73737
|
/** True when `baseUrl` names the Dominevo app link rather than a hub address. */
|
|
@@ -74342,7 +74342,7 @@ var NotificationEndpointSchema = /* @__PURE__ */ zod.z.object({
|
|
|
74342
74342
|
baseUrl: /* @__PURE__ */ zod.z.string().nullable(),
|
|
74343
74343
|
/**
|
|
74344
74344
|
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
74345
|
-
* Dominevo app link `https://
|
|
74345
|
+
* Dominevo app link `https://viewer.dominevo.app` (D709). A pre-D709 hub
|
|
74346
74346
|
* answered the public tunnel / mesh here, or null.
|
|
74347
74347
|
*/
|
|
74348
74348
|
resolved: /* @__PURE__ */ zod.z.string().nullable(),
|
|
@@ -74594,7 +74594,7 @@ var localNetworkCapability = {
|
|
|
74594
74594
|
/**
|
|
74595
74595
|
* The `notificationTaps` role (D734): where TAPPING a notification opens.
|
|
74596
74596
|
* `baseUrl: null` means AUTO, which is the Dominevo app link (D709): taps
|
|
74597
|
-
* go through `https://
|
|
74597
|
+
* go through `https://viewer.dominevo.app/…?hub=<appLinkHub>` and open the
|
|
74598
74598
|
* app. Any hub address the palette lists can be flagged instead; then a
|
|
74599
74599
|
* tap opens that address. Only the tap: action buttons, attachment /
|
|
74600
74600
|
* media links and admin links follow the `publicEndpoint` role
|
|
@@ -107697,7 +107697,11 @@ var OauthSessionSummarySchema = /* @__PURE__ */ zod.z.object({
|
|
|
107697
107697
|
instanceId: /* @__PURE__ */ zod.z.string().nullable().optional(),
|
|
107698
107698
|
scopes: /* @__PURE__ */ zod.z.array(TokenScopeSchema),
|
|
107699
107699
|
createdAt: /* @__PURE__ */ zod.z.number(),
|
|
107700
|
-
|
|
107700
|
+
/** The last real use of an access token of this link; `null` = never used. A refresh is not a use. */
|
|
107701
|
+
lastUsedAt: /* @__PURE__ */ zod.z.number().nullable(),
|
|
107702
|
+
lastUsedFrom: /* @__PURE__ */ zod.z.string().nullable(),
|
|
107703
|
+
lastUsedClient: /* @__PURE__ */ zod.z.string().nullable(),
|
|
107704
|
+
useCount: /* @__PURE__ */ zod.z.number().int().nonnegative(),
|
|
107701
107705
|
revokedAt: /* @__PURE__ */ zod.z.number().nullable()
|
|
107702
107706
|
});
|
|
107703
107707
|
var TotpSetupResultSchema = /* @__PURE__ */ zod.z.object({
|
|
@@ -142063,7 +142067,7 @@ var METHOD_DESCRIPTIONS = /* @__PURE__ */ Object.freeze({
|
|
|
142063
142067
|
"localNetwork.getAllowedAddresses": "Read the operator's allowlist. Empty = \"auto\" (no filter). Used by the admin UI's address selector to seed its checkbox state.",
|
|
142064
142068
|
"localNetwork.getConnectionEndpoints": "Ordered candidate base URLs (the palette the Network tab shows). Includes LAN IPv4, stable LAN IPv6, the public tunnel, and mesh when joined. Loopback is off by default. The SDK races the subset from getViewerEndpoints, not this full list — IPv6 stays here because WebRTC ICE gathers dual-stack regardless of the HTTP race. Honours getAllowedAddresses() when set — addresses outside the allowlist are dropped (the public tunnel is still included as an escape hatch).",
|
|
142065
142069
|
"localNetwork.getHubAddresses": "The hub's cluster and browser addresses (deprecated; use getAddresses).",
|
|
142066
|
-
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://
|
|
142070
|
+
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://viewer.dominevo.app/…?hub=<appLinkHub> and open the app. Any hub address the palette lists can be flagged instead; then a tap opens that address. Only the tap: action buttons, attachment / media links and admin links follow the publicEndpoint role (getAddresses().roles.publicEndpoint), never this one.",
|
|
142067
142071
|
"localNetwork.getPreferred": "Auto-selected outbound interface. Heuristic: 1. Skip internal / link-local / 169.254.*. 2. Prefer LAN/wifi (real Ethernet) over docker/vpn. 3. IPv4 wins over IPv6 (compat with legacy consumers). 4. Tie-break on lowest CIDR mask (most-specific subnet). Returns null only when the host has zero non-loopback addresses. Honours getAllowedAddresses() — if the operator pinned an allowlist, only those addresses are candidates.",
|
|
142068
142072
|
"localNetwork.getScanSubnets": "Extra subnets every scan covers besides the hub's own, as CIDR strings.",
|
|
142069
142073
|
"localNetwork.getTlsStatus": "Live TLS material for the Network → Local access certificate card. LAN HTTP / hostname are scoped settings (the cap's own form), not a second store — this query is status, not configuration.",
|
package/dist/index.mjs
CHANGED
|
@@ -73730,7 +73730,7 @@ list: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(L
|
|
|
73730
73730
|
//#endregion
|
|
73731
73731
|
//#region src/capabilities/viewer-link-url.ts
|
|
73732
73732
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
73733
|
-
var DOMINEVO_APP_LINK_ORIGIN = "https://
|
|
73733
|
+
var DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
|
|
73734
73734
|
/** Where the hub serves the viewer SPA. */
|
|
73735
73735
|
var HUB_VIEWER_MOUNT = "/viewer/dominevo";
|
|
73736
73736
|
/** True when `baseUrl` names the Dominevo app link rather than a hub address. */
|
|
@@ -74341,7 +74341,7 @@ var NotificationEndpointSchema = /* @__PURE__ */ z.object({
|
|
|
74341
74341
|
baseUrl: /* @__PURE__ */ z.string().nullable(),
|
|
74342
74342
|
/**
|
|
74343
74343
|
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
74344
|
-
* Dominevo app link `https://
|
|
74344
|
+
* Dominevo app link `https://viewer.dominevo.app` (D709). A pre-D709 hub
|
|
74345
74345
|
* answered the public tunnel / mesh here, or null.
|
|
74346
74346
|
*/
|
|
74347
74347
|
resolved: /* @__PURE__ */ z.string().nullable(),
|
|
@@ -74593,7 +74593,7 @@ var localNetworkCapability = {
|
|
|
74593
74593
|
/**
|
|
74594
74594
|
* The `notificationTaps` role (D734): where TAPPING a notification opens.
|
|
74595
74595
|
* `baseUrl: null` means AUTO, which is the Dominevo app link (D709): taps
|
|
74596
|
-
* go through `https://
|
|
74596
|
+
* go through `https://viewer.dominevo.app/…?hub=<appLinkHub>` and open the
|
|
74597
74597
|
* app. Any hub address the palette lists can be flagged instead; then a
|
|
74598
74598
|
* tap opens that address. Only the tap: action buttons, attachment /
|
|
74599
74599
|
* media links and admin links follow the `publicEndpoint` role
|
|
@@ -107696,7 +107696,11 @@ var OauthSessionSummarySchema = /* @__PURE__ */ z.object({
|
|
|
107696
107696
|
instanceId: /* @__PURE__ */ z.string().nullable().optional(),
|
|
107697
107697
|
scopes: /* @__PURE__ */ z.array(TokenScopeSchema),
|
|
107698
107698
|
createdAt: /* @__PURE__ */ z.number(),
|
|
107699
|
-
|
|
107699
|
+
/** The last real use of an access token of this link; `null` = never used. A refresh is not a use. */
|
|
107700
|
+
lastUsedAt: /* @__PURE__ */ z.number().nullable(),
|
|
107701
|
+
lastUsedFrom: /* @__PURE__ */ z.string().nullable(),
|
|
107702
|
+
lastUsedClient: /* @__PURE__ */ z.string().nullable(),
|
|
107703
|
+
useCount: /* @__PURE__ */ z.number().int().nonnegative(),
|
|
107700
107704
|
revokedAt: /* @__PURE__ */ z.number().nullable()
|
|
107701
107705
|
});
|
|
107702
107706
|
var TotpSetupResultSchema = /* @__PURE__ */ z.object({
|
|
@@ -142062,7 +142066,7 @@ var METHOD_DESCRIPTIONS = /* @__PURE__ */ Object.freeze({
|
|
|
142062
142066
|
"localNetwork.getAllowedAddresses": "Read the operator's allowlist. Empty = \"auto\" (no filter). Used by the admin UI's address selector to seed its checkbox state.",
|
|
142063
142067
|
"localNetwork.getConnectionEndpoints": "Ordered candidate base URLs (the palette the Network tab shows). Includes LAN IPv4, stable LAN IPv6, the public tunnel, and mesh when joined. Loopback is off by default. The SDK races the subset from getViewerEndpoints, not this full list — IPv6 stays here because WebRTC ICE gathers dual-stack regardless of the HTTP race. Honours getAllowedAddresses() when set — addresses outside the allowlist are dropped (the public tunnel is still included as an escape hatch).",
|
|
142064
142068
|
"localNetwork.getHubAddresses": "The hub's cluster and browser addresses (deprecated; use getAddresses).",
|
|
142065
|
-
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://
|
|
142069
|
+
"localNetwork.getNotificationEndpoint": "The notificationTaps role (D734): where TAPPING a notification opens. baseUrl: null means AUTO, which is the Dominevo app link (D709): taps go through https://viewer.dominevo.app/…?hub=<appLinkHub> and open the app. Any hub address the palette lists can be flagged instead; then a tap opens that address. Only the tap: action buttons, attachment / media links and admin links follow the publicEndpoint role (getAddresses().roles.publicEndpoint), never this one.",
|
|
142066
142070
|
"localNetwork.getPreferred": "Auto-selected outbound interface. Heuristic: 1. Skip internal / link-local / 169.254.*. 2. Prefer LAN/wifi (real Ethernet) over docker/vpn. 3. IPv4 wins over IPv6 (compat with legacy consumers). 4. Tie-break on lowest CIDR mask (most-specific subnet). Returns null only when the host has zero non-loopback addresses. Honours getAllowedAddresses() — if the operator pinned an allowlist, only those addresses are candidates.",
|
|
142067
142071
|
"localNetwork.getScanSubnets": "Extra subnets every scan covers besides the hub's own, as CIDR strings.",
|
|
142068
142072
|
"localNetwork.getTlsStatus": "Live TLS material for the Network → Local access certificate card. LAN HTTP / hostname are scoped settings (the cap's own form), not a second store — this query is status, not configuration.",
|