@camstack/types 1.2.326 → 1.2.328
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/base-addon.d.ts +58 -0
- package/dist/addon/secret-aware-context.d.ts +27 -0
- package/dist/addon/secret-paths.d.ts +48 -0
- package/dist/addon/secret-settings-view.d.ts +80 -0
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +54 -4
- package/dist/addon.mjs +27 -5
- package/dist/capabilities/addon-routes.cap.d.ts +2 -2
- package/dist/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +11 -11
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/device-manager.cap.d.ts +9 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +4 -4
- package/dist/capabilities/index.d.ts +7 -3
- package/dist/capabilities/integrations.cap.d.ts +6 -3
- package/dist/capabilities/keychain-admin.cap.d.ts +312 -0
- package/dist/capabilities/keychain.cap.d.ts +180 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +4 -4
- package/dist/capabilities/local-network.cap.d.ts +2 -2
- package/dist/capabilities/log-channels.cap.d.ts +1 -1
- package/dist/capabilities/log-destination.cap.d.ts +5 -5
- package/dist/capabilities/login-method.cap.d.ts +3 -0
- package/dist/capabilities/mesh-network.cap.d.ts +3 -3
- package/dist/capabilities/network-access.cap.d.ts +7 -7
- package/dist/capabilities/notification-rules.cap.d.ts +30 -30
- package/dist/capabilities/osd-manager.cap.d.ts +11 -11
- package/dist/capabilities/osd.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-analytics.cap.d.ts +1127 -104
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +384 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +145 -2
- package/dist/capabilities/sso-bridge.cap.d.ts +6 -0
- package/dist/capabilities/storage.cap.d.ts +1 -1
- package/dist/capabilities/system.cap.d.ts +21 -21
- package/dist/capabilities/user-management.cap.d.ts +53 -1
- package/dist/capabilities/webrtc-session.cap.d.ts +3 -3
- package/dist/client.js +38 -1
- package/dist/client.mjs +38 -1
- package/dist/device/device-context.d.ts +11 -1
- package/dist/device/display-icon-vocabulary.d.ts +7 -0
- package/dist/device/index.d.ts +2 -1
- package/dist/device/zod-secret.d.ts +35 -0
- package/dist/enums/event-category.d.ts +7 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-CtBAl88K.js → event-category-CHduMGvg.js} +7 -0
- package/dist/{event-category-B_0XEcLF.mjs → event-category-DaIZi00R.mjs} +7 -0
- package/dist/generated/addon-api.d.ts +376 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +5 -3
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/index.d.ts +8 -3
- package/dist/index.js +1970 -110
- package/dist/index.mjs +1849 -107
- package/dist/interfaces/addon.d.ts +25 -0
- package/dist/interfaces/config-ui-secrets.d.ts +12 -0
- package/dist/interfaces/config-ui.d.ts +60 -3
- package/dist/interfaces/event-bus.d.ts +11 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +18 -0
- package/dist/keychain/index.d.ts +5 -0
- package/dist/keychain/known-secrets.d.ts +31 -0
- package/dist/keychain/resolve-secret-views.d.ts +2 -0
- package/dist/keychain/secret-marker.d.ts +52 -0
- package/dist/keychain/secret-ref.d.ts +62 -0
- package/dist/keychain/secrets-access.d.ts +77 -0
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +123 -0
- package/dist/pipeline/auto-tune/recommend.d.ts +26 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +8 -7
- package/dist/pipeline/node-benchmark/benchmark-mode.d.ts +57 -0
- package/dist/pipeline/node-benchmark/index.d.ts +9 -0
- package/dist/pipeline/node-benchmark/results.d.ts +52 -0
- package/dist/pipeline/node-benchmark/schemas.d.ts +848 -0
- package/dist/pipeline/node-benchmark/step-tree.d.ts +23 -0
- package/dist/{sleep-BNeXenvr.mjs → sleep-Cr5YOk3m.mjs} +1337 -33
- package/dist/{sleep-DPar9AHl.js → sleep-i3kl-0Na.js} +1628 -66
- package/package.json +1 -1
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
/**
|
|
4
|
+
* `keychain` — the hub's encrypted store of secret values (D787).
|
|
5
|
+
*
|
|
6
|
+
* Settings blobs never hold a secret: they hold a marker
|
|
7
|
+
* `{"$secret":"secret://<owner>/<scope>/<fieldPath>","v":1}` and the value
|
|
8
|
+
* lives here, AES-256-GCM under a data key that a master key wraps. This cap
|
|
9
|
+
* is the OWNER's door to its own values: every method is owner-checked
|
|
10
|
+
* against the CALLER, never against anything the caller claims.
|
|
11
|
+
*
|
|
12
|
+
* Who the caller is: the transport stamps `callerAddonId` into the args of a
|
|
13
|
+
* call that crossed a process (the parent `LocalChildRegistry` from the UDS
|
|
14
|
+
* connection, the agent from its child's connection carried in
|
|
15
|
+
* `$hub-cap-fwd`'s envelope). A stamp always overwrites; a wire call with no
|
|
16
|
+
* stamp has its claim stripped. Only a hub in-process caller may state its own
|
|
17
|
+
* identity — `ctx.secrets` does that with the addon id closed over. This is
|
|
18
|
+
* identity against BUGS and misrouting, not against a malicious addon (every
|
|
19
|
+
* runner is the same OS user): see the threat model in
|
|
20
|
+
* `docs/design/2026-10-08-secrets-keychain.md`.
|
|
21
|
+
*
|
|
22
|
+
* `callerAddonId` is deliberately NOT in any input schema: the tRPC router
|
|
23
|
+
* parses the input, so a session can never supply it, and the internal mount
|
|
24
|
+
* floors every method to admin anyway (D240).
|
|
25
|
+
*
|
|
26
|
+
* Internal: addons reach it through `ctx.secrets`, never directly.
|
|
27
|
+
*/
|
|
28
|
+
/** Why a value cannot be served right now. Never folded into "missing". */
|
|
29
|
+
export declare const KeychainUnavailableReasonSchema: z.ZodEnum<{
|
|
30
|
+
"key-missing": "key-missing";
|
|
31
|
+
"wrong-key": "wrong-key";
|
|
32
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
33
|
+
"store-unavailable": "store-unavailable";
|
|
34
|
+
"not-initialized": "not-initialized";
|
|
35
|
+
"decrypt-failed": "decrypt-failed";
|
|
36
|
+
}>;
|
|
37
|
+
export type KeychainUnavailableReason = z.infer<typeof KeychainUnavailableReasonSchema>;
|
|
38
|
+
export declare const KeychainStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39
|
+
state: z.ZodLiteral<"ready">;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
state: z.ZodLiteral<"locked">;
|
|
42
|
+
reason: z.ZodEnum<{
|
|
43
|
+
"key-missing": "key-missing";
|
|
44
|
+
"wrong-key": "wrong-key";
|
|
45
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
46
|
+
"store-unavailable": "store-unavailable";
|
|
47
|
+
"not-initialized": "not-initialized";
|
|
48
|
+
"decrypt-failed": "decrypt-failed";
|
|
49
|
+
}>;
|
|
50
|
+
}, z.core.$strip>], "state">;
|
|
51
|
+
export type KeychainState = z.infer<typeof KeychainStateSchema>;
|
|
52
|
+
export declare const KeychainResolveEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"value">;
|
|
54
|
+
value: z.ZodString;
|
|
55
|
+
version: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
+
kind: z.ZodLiteral<"missing">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
60
|
+
reason: z.ZodEnum<{
|
|
61
|
+
"key-missing": "key-missing";
|
|
62
|
+
"wrong-key": "wrong-key";
|
|
63
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
64
|
+
"store-unavailable": "store-unavailable";
|
|
65
|
+
"not-initialized": "not-initialized";
|
|
66
|
+
"decrypt-failed": "decrypt-failed";
|
|
67
|
+
}>;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
kind: z.ZodLiteral<"forbidden">;
|
|
70
|
+
}, z.core.$strip>], "kind">;
|
|
71
|
+
export type KeychainResolveEntry = z.infer<typeof KeychainResolveEntrySchema>;
|
|
72
|
+
export declare const KeychainResolveResultSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"value">;
|
|
74
|
+
value: z.ZodString;
|
|
75
|
+
version: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
+
kind: z.ZodLiteral<"missing">;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
80
|
+
reason: z.ZodEnum<{
|
|
81
|
+
"key-missing": "key-missing";
|
|
82
|
+
"wrong-key": "wrong-key";
|
|
83
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
84
|
+
"store-unavailable": "store-unavailable";
|
|
85
|
+
"not-initialized": "not-initialized";
|
|
86
|
+
"decrypt-failed": "decrypt-failed";
|
|
87
|
+
}>;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
+
kind: z.ZodLiteral<"forbidden">;
|
|
90
|
+
}, z.core.$strip>], "kind">>;
|
|
91
|
+
export type KeychainResolveResult = z.infer<typeof KeychainResolveResultSchema>;
|
|
92
|
+
/** Metadata of one stored value — never the value. */
|
|
93
|
+
export declare const KeychainSecretMetaSchema: z.ZodObject<{
|
|
94
|
+
ref: z.ZodString;
|
|
95
|
+
owner: z.ZodString;
|
|
96
|
+
scope: z.ZodString;
|
|
97
|
+
fieldPath: z.ZodString;
|
|
98
|
+
version: z.ZodNumber;
|
|
99
|
+
createdAt: z.ZodNumber;
|
|
100
|
+
updatedAt: z.ZodNumber;
|
|
101
|
+
updatedBy: z.ZodString;
|
|
102
|
+
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type KeychainSecretMeta = z.infer<typeof KeychainSecretMetaSchema>;
|
|
105
|
+
/** A batch bound: one `resolveConfig` resolves every marker of one blob at once. */
|
|
106
|
+
export declare const KEYCHAIN_MAX_REFS_PER_CALL = 512;
|
|
107
|
+
export declare const keychainCapability: {
|
|
108
|
+
readonly name: "keychain";
|
|
109
|
+
readonly scope: "system";
|
|
110
|
+
readonly mode: "singleton";
|
|
111
|
+
readonly internal: true;
|
|
112
|
+
readonly methods: {
|
|
113
|
+
/** Store (or replace) the caller's value at `ref`. Refused while locked. */
|
|
114
|
+
readonly put: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
115
|
+
ref: z.ZodString;
|
|
116
|
+
value: z.ZodString;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
ref: z.ZodString;
|
|
119
|
+
version: z.ZodNumber;
|
|
120
|
+
}, z.core.$strip>, "mutation">;
|
|
121
|
+
/**
|
|
122
|
+
* Resolve the caller's refs in one round-trip. A locked keychain answers
|
|
123
|
+
* `unavailable` per ref — never `missing`, never an empty value.
|
|
124
|
+
*/
|
|
125
|
+
readonly resolve: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
126
|
+
refs: z.ZodArray<z.ZodString>;
|
|
127
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
|
+
kind: z.ZodLiteral<"value">;
|
|
129
|
+
value: z.ZodString;
|
|
130
|
+
version: z.ZodNumber;
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"missing">;
|
|
133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
135
|
+
reason: z.ZodEnum<{
|
|
136
|
+
"key-missing": "key-missing";
|
|
137
|
+
"wrong-key": "wrong-key";
|
|
138
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
139
|
+
"store-unavailable": "store-unavailable";
|
|
140
|
+
"not-initialized": "not-initialized";
|
|
141
|
+
"decrypt-failed": "decrypt-failed";
|
|
142
|
+
}>;
|
|
143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
+
kind: z.ZodLiteral<"forbidden">;
|
|
145
|
+
}, z.core.$strip>], "kind">>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
146
|
+
/** Remove the caller's refs. Unknown refs are ignored. */
|
|
147
|
+
readonly delete: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
148
|
+
refs: z.ZodArray<z.ZodString>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
deleted: z.ZodNumber;
|
|
151
|
+
}, z.core.$strip>, "mutation">;
|
|
152
|
+
/** The caller's own refs, metadata only. */
|
|
153
|
+
readonly listMeta: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
154
|
+
ref: z.ZodString;
|
|
155
|
+
owner: z.ZodString;
|
|
156
|
+
scope: z.ZodString;
|
|
157
|
+
fieldPath: z.ZodString;
|
|
158
|
+
version: z.ZodNumber;
|
|
159
|
+
createdAt: z.ZodNumber;
|
|
160
|
+
updatedAt: z.ZodNumber;
|
|
161
|
+
updatedBy: z.ZodString;
|
|
162
|
+
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
163
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
164
|
+
/** Whether values can be served — the save path refuses a write while locked. */
|
|
165
|
+
readonly getState: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
166
|
+
state: z.ZodLiteral<"ready">;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
state: z.ZodLiteral<"locked">;
|
|
169
|
+
reason: z.ZodEnum<{
|
|
170
|
+
"key-missing": "key-missing";
|
|
171
|
+
"wrong-key": "wrong-key";
|
|
172
|
+
"key-file-unreadable": "key-file-unreadable";
|
|
173
|
+
"store-unavailable": "store-unavailable";
|
|
174
|
+
"not-initialized": "not-initialized";
|
|
175
|
+
"decrypt-failed": "decrypt-failed";
|
|
176
|
+
}>;
|
|
177
|
+
}, z.core.$strip>], "state">, import("./capability-definition.js").CapabilityMethodKind>;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
export type IKeychainProvider = InferProvider<typeof keychainCapability>;
|
|
@@ -22,8 +22,8 @@ export declare const LawnMowerActivitySchema: z.ZodEnum<{
|
|
|
22
22
|
export type LawnMowerActivity = z.infer<typeof LawnMowerActivitySchema>;
|
|
23
23
|
/** Severity of the current device/error code — info (status), warning, error. */
|
|
24
24
|
export declare const DeviceCodeSeveritySchema: z.ZodEnum<{
|
|
25
|
-
error: "error";
|
|
26
25
|
info: "info";
|
|
26
|
+
error: "error";
|
|
27
27
|
warning: "warning";
|
|
28
28
|
}>;
|
|
29
29
|
export type DeviceCodeSeverity = z.infer<typeof DeviceCodeSeveritySchema>;
|
|
@@ -40,8 +40,8 @@ export declare const LawnMowerControlStatusSchema: z.ZodObject<{
|
|
|
40
40
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
42
42
|
severity: z.ZodEnum<{
|
|
43
|
-
error: "error";
|
|
44
43
|
info: "info";
|
|
44
|
+
error: "error";
|
|
45
45
|
warning: "warning";
|
|
46
46
|
}>;
|
|
47
47
|
lastChangedAt: z.ZodNumber;
|
|
@@ -78,8 +78,8 @@ export declare const lawnMowerControlCapability: {
|
|
|
78
78
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
79
79
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
80
80
|
severity: z.ZodEnum<{
|
|
81
|
-
error: "error";
|
|
82
81
|
info: "info";
|
|
82
|
+
error: "error";
|
|
83
83
|
warning: "warning";
|
|
84
84
|
}>;
|
|
85
85
|
lastChangedAt: z.ZodNumber;
|
|
@@ -103,8 +103,8 @@ export declare const lawnMowerControlCapability: {
|
|
|
103
103
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
104
104
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
105
105
|
severity: z.ZodEnum<{
|
|
106
|
-
error: "error";
|
|
107
106
|
info: "info";
|
|
107
|
+
error: "error";
|
|
108
108
|
warning: "warning";
|
|
109
109
|
}>;
|
|
110
110
|
lastChangedAt: z.ZodNumber;
|
|
@@ -390,8 +390,8 @@ export declare const localNetworkCapability: {
|
|
|
390
390
|
includeLoopback: z.ZodOptional<z.ZodBoolean>;
|
|
391
391
|
ipv4Only: z.ZodOptional<z.ZodBoolean>;
|
|
392
392
|
scheme: z.ZodOptional<z.ZodEnum<{
|
|
393
|
-
https: "https";
|
|
394
393
|
http: "http";
|
|
394
|
+
https: "https";
|
|
395
395
|
}>>;
|
|
396
396
|
includeAppLink: z.ZodOptional<z.ZodBoolean>;
|
|
397
397
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -497,8 +497,8 @@ export declare const localNetworkCapability: {
|
|
|
497
497
|
*/
|
|
498
498
|
readonly getAddresses: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
499
499
|
scheme: z.ZodOptional<z.ZodEnum<{
|
|
500
|
-
https: "https";
|
|
501
500
|
http: "http";
|
|
501
|
+
https: "https";
|
|
502
502
|
}>>;
|
|
503
503
|
}, z.core.$strip>>, z.ZodObject<{
|
|
504
504
|
rows: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
4
|
+
info: "info";
|
|
4
5
|
error: "error";
|
|
5
6
|
debug: "debug";
|
|
6
|
-
info: "info";
|
|
7
7
|
warn: "warn";
|
|
8
8
|
}>;
|
|
9
9
|
declare const LogEntrySchema: z.ZodObject<{
|
|
10
10
|
timestamp: z.ZodDate;
|
|
11
11
|
level: z.ZodEnum<{
|
|
12
|
+
info: "info";
|
|
12
13
|
error: "error";
|
|
13
14
|
debug: "debug";
|
|
14
|
-
info: "info";
|
|
15
15
|
warn: "warn";
|
|
16
16
|
}>;
|
|
17
17
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -28,9 +28,9 @@ export declare const logDestinationCapability: {
|
|
|
28
28
|
readonly write: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
29
29
|
timestamp: z.ZodDate;
|
|
30
30
|
level: z.ZodEnum<{
|
|
31
|
+
info: "info";
|
|
31
32
|
error: "error";
|
|
32
33
|
debug: "debug";
|
|
33
|
-
info: "info";
|
|
34
34
|
warn: "warn";
|
|
35
35
|
}>;
|
|
36
36
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -41,9 +41,9 @@ export declare const logDestinationCapability: {
|
|
|
41
41
|
readonly query: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
42
42
|
scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
43
|
level: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
info: "info";
|
|
44
45
|
error: "error";
|
|
45
46
|
debug: "debug";
|
|
46
|
-
info: "info";
|
|
47
47
|
warn: "warn";
|
|
48
48
|
}>>;
|
|
49
49
|
since: z.ZodOptional<z.ZodDate>;
|
|
@@ -53,9 +53,9 @@ export declare const logDestinationCapability: {
|
|
|
53
53
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
54
54
|
timestamp: z.ZodDate;
|
|
55
55
|
level: z.ZodEnum<{
|
|
56
|
+
info: "info";
|
|
56
57
|
error: "error";
|
|
57
58
|
debug: "debug";
|
|
58
|
-
info: "info";
|
|
59
59
|
warn: "warn";
|
|
60
60
|
}>;
|
|
61
61
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -60,6 +60,7 @@ export declare const RedirectLoginMethodSchema: z.ZodObject<{
|
|
|
60
60
|
primary: "primary";
|
|
61
61
|
"second-factor": "second-factor";
|
|
62
62
|
}>;
|
|
63
|
+
linkable: z.ZodOptional<z.ZodBoolean>;
|
|
63
64
|
}, z.core.$strip>;
|
|
64
65
|
/**
|
|
65
66
|
* A Module-Federation widget the login page mounts for an in-page
|
|
@@ -111,6 +112,7 @@ export declare const LoginMethodContributionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
111
112
|
primary: "primary";
|
|
112
113
|
"second-factor": "second-factor";
|
|
113
114
|
}>;
|
|
115
|
+
linkable: z.ZodOptional<z.ZodBoolean>;
|
|
114
116
|
}, z.core.$strip>, z.ZodObject<{
|
|
115
117
|
kind: z.ZodLiteral<"widget">;
|
|
116
118
|
id: z.ZodString;
|
|
@@ -152,6 +154,7 @@ export declare const loginMethodCapability: {
|
|
|
152
154
|
primary: "primary";
|
|
153
155
|
"second-factor": "second-factor";
|
|
154
156
|
}>;
|
|
157
|
+
linkable: z.ZodOptional<z.ZodBoolean>;
|
|
155
158
|
}, z.core.$strip>, z.ZodObject<{
|
|
156
159
|
kind: z.ZodLiteral<"widget">;
|
|
157
160
|
id: z.ZodString;
|
|
@@ -34,8 +34,8 @@ declare const MeshEndpointSchema: z.ZodObject<{
|
|
|
34
34
|
hostname: z.ZodString;
|
|
35
35
|
port: z.ZodNumber;
|
|
36
36
|
protocol: z.ZodEnum<{
|
|
37
|
-
https: "https";
|
|
38
37
|
http: "http";
|
|
38
|
+
https: "https";
|
|
39
39
|
}>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
export type MeshEndpoint = z.infer<typeof MeshEndpointSchema>;
|
|
@@ -80,8 +80,8 @@ export declare const MeshStatusSchema: z.ZodObject<{
|
|
|
80
80
|
hostname: z.ZodString;
|
|
81
81
|
port: z.ZodNumber;
|
|
82
82
|
protocol: z.ZodEnum<{
|
|
83
|
-
https: "https";
|
|
84
83
|
http: "http";
|
|
84
|
+
https: "https";
|
|
85
85
|
}>;
|
|
86
86
|
}, z.core.$strip>>>;
|
|
87
87
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -123,8 +123,8 @@ export declare const meshNetworkCapability: {
|
|
|
123
123
|
hostname: z.ZodString;
|
|
124
124
|
port: z.ZodNumber;
|
|
125
125
|
protocol: z.ZodEnum<{
|
|
126
|
-
https: "https";
|
|
127
126
|
http: "http";
|
|
127
|
+
https: "https";
|
|
128
128
|
}>;
|
|
129
129
|
}, z.core.$strip>>>;
|
|
130
130
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -5,8 +5,8 @@ declare const NetworkEndpointSchema: z.ZodObject<{
|
|
|
5
5
|
hostname: z.ZodString;
|
|
6
6
|
port: z.ZodNumber;
|
|
7
7
|
protocol: z.ZodEnum<{
|
|
8
|
-
https: "https";
|
|
9
8
|
http: "http";
|
|
9
|
+
https: "https";
|
|
10
10
|
}>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
@@ -16,8 +16,8 @@ declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
|
16
16
|
hostname: z.ZodString;
|
|
17
17
|
port: z.ZodNumber;
|
|
18
18
|
protocol: z.ZodEnum<{
|
|
19
|
-
https: "https";
|
|
20
19
|
http: "http";
|
|
20
|
+
https: "https";
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -37,8 +37,8 @@ declare const NetworkEndpointEntrySchema: z.ZodObject<{
|
|
|
37
37
|
hostname: z.ZodString;
|
|
38
38
|
port: z.ZodNumber;
|
|
39
39
|
protocol: z.ZodEnum<{
|
|
40
|
-
https: "https";
|
|
41
40
|
http: "http";
|
|
41
|
+
https: "https";
|
|
42
42
|
}>;
|
|
43
43
|
id: z.ZodString;
|
|
44
44
|
label: z.ZodString;
|
|
@@ -56,8 +56,8 @@ export declare const networkAccessCapability: {
|
|
|
56
56
|
hostname: z.ZodString;
|
|
57
57
|
port: z.ZodNumber;
|
|
58
58
|
protocol: z.ZodEnum<{
|
|
59
|
-
https: "https";
|
|
60
59
|
http: "http";
|
|
60
|
+
https: "https";
|
|
61
61
|
}>;
|
|
62
62
|
}, z.core.$strip>, "mutation">;
|
|
63
63
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
|
|
@@ -66,8 +66,8 @@ export declare const networkAccessCapability: {
|
|
|
66
66
|
hostname: z.ZodString;
|
|
67
67
|
port: z.ZodNumber;
|
|
68
68
|
protocol: z.ZodEnum<{
|
|
69
|
-
https: "https";
|
|
70
69
|
http: "http";
|
|
70
|
+
https: "https";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
73
73
|
readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
@@ -77,8 +77,8 @@ export declare const networkAccessCapability: {
|
|
|
77
77
|
hostname: z.ZodString;
|
|
78
78
|
port: z.ZodNumber;
|
|
79
79
|
protocol: z.ZodEnum<{
|
|
80
|
-
https: "https";
|
|
81
80
|
http: "http";
|
|
81
|
+
https: "https";
|
|
82
82
|
}>;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
84
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -93,8 +93,8 @@ export declare const networkAccessCapability: {
|
|
|
93
93
|
hostname: z.ZodString;
|
|
94
94
|
port: z.ZodNumber;
|
|
95
95
|
protocol: z.ZodEnum<{
|
|
96
|
-
https: "https";
|
|
97
96
|
http: "http";
|
|
97
|
+
https: "https";
|
|
98
98
|
}>;
|
|
99
99
|
id: z.ZodString;
|
|
100
100
|
label: z.ZodString;
|