@camstack/types 1.2.333 → 1.2.334
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/capabilities/nodes.cap.d.ts +8 -0
- package/dist/client.js +7 -1
- package/dist/client.mjs +7 -1
- package/dist/generated/addon-api.d.ts +30 -0
- package/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/dist/interfaces/event-bus.d.ts +5 -0
- package/package.json +1 -1
|
@@ -93,6 +93,10 @@ declare const TopologyNodeSchema: z.ZodObject<{
|
|
|
93
93
|
name: z.ZodString;
|
|
94
94
|
version: z.ZodString;
|
|
95
95
|
}, z.core.$strip>>;
|
|
96
|
+
meshTransport: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
clear: "clear";
|
|
98
|
+
tls: "tls";
|
|
99
|
+
}>>;
|
|
96
100
|
}, z.core.$strip>;
|
|
97
101
|
declare const ClusterAddonNodeDeploymentSchema: z.ZodObject<{
|
|
98
102
|
nodeId: z.ZodString;
|
|
@@ -222,6 +226,10 @@ export declare const nodesCapability: {
|
|
|
222
226
|
name: z.ZodString;
|
|
223
227
|
version: z.ZodString;
|
|
224
228
|
}, z.core.$strip>>;
|
|
229
|
+
meshTransport: z.ZodOptional<z.ZodEnum<{
|
|
230
|
+
clear: "clear";
|
|
231
|
+
tls: "tls";
|
|
232
|
+
}>>;
|
|
225
233
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
226
234
|
/**
|
|
227
235
|
* The cheap node list for pickers (D637): the hub's in-memory registry plus
|
package/dist/client.js
CHANGED
|
@@ -4723,7 +4723,13 @@ var TopologyNodeSchema = zod.z.object({
|
|
|
4723
4723
|
})).readonly(),
|
|
4724
4724
|
processes: zod.z.array(TopologyProcessSchema).readonly(),
|
|
4725
4725
|
categories: zod.z.array(TopologyCategorySchema).readonly(),
|
|
4726
|
-
rootPackage: TopologyRootPackageSchema.nullable()
|
|
4726
|
+
rootPackage: TopologyRootPackageSchema.nullable(),
|
|
4727
|
+
/**
|
|
4728
|
+
* How an online AGENT reaches the hub (mesh mTLS Release A): `tls` once it has
|
|
4729
|
+
* completed a mutual-TLS handshake, `clear` otherwise. Absent for the hub,
|
|
4730
|
+
* for offline rows and when the hub cannot tell.
|
|
4731
|
+
*/
|
|
4732
|
+
meshTransport: zod.z.enum(["tls", "clear"]).optional()
|
|
4727
4733
|
});
|
|
4728
4734
|
var CapUsageEdgeSchema = zod.z.object({
|
|
4729
4735
|
callerAddonId: zod.z.string(),
|
package/dist/client.mjs
CHANGED
|
@@ -4722,7 +4722,13 @@ var TopologyNodeSchema = z.object({
|
|
|
4722
4722
|
})).readonly(),
|
|
4723
4723
|
processes: z.array(TopologyProcessSchema).readonly(),
|
|
4724
4724
|
categories: z.array(TopologyCategorySchema).readonly(),
|
|
4725
|
-
rootPackage: TopologyRootPackageSchema.nullable()
|
|
4725
|
+
rootPackage: TopologyRootPackageSchema.nullable(),
|
|
4726
|
+
/**
|
|
4727
|
+
* How an online AGENT reaches the hub (mesh mTLS Release A): `tls` once it has
|
|
4728
|
+
* completed a mutual-TLS handshake, `clear` otherwise. Absent for the hub,
|
|
4729
|
+
* for offline rows and when the hub cannot tell.
|
|
4730
|
+
*/
|
|
4731
|
+
meshTransport: z.enum(["tls", "clear"]).optional()
|
|
4726
4732
|
});
|
|
4727
4733
|
var CapUsageEdgeSchema = z.object({
|
|
4728
4734
|
callerAddonId: z.string(),
|
|
@@ -11283,6 +11283,21 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11283
11283
|
})[];
|
|
11284
11284
|
meta: object;
|
|
11285
11285
|
}>;
|
|
11286
|
+
revokeCredentials: import("@trpc/server").TRPCMutationProcedure<{
|
|
11287
|
+
input: {
|
|
11288
|
+
kind: "share-link" | "admin-token" | "login-session";
|
|
11289
|
+
ids: string[];
|
|
11290
|
+
confirmCount: number;
|
|
11291
|
+
};
|
|
11292
|
+
output: {
|
|
11293
|
+
revoked: string[];
|
|
11294
|
+
skipped: {
|
|
11295
|
+
id: string;
|
|
11296
|
+
reason: "current-session" | "not-active";
|
|
11297
|
+
}[];
|
|
11298
|
+
};
|
|
11299
|
+
meta: object;
|
|
11300
|
+
}>;
|
|
11286
11301
|
createAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11287
11302
|
input: {
|
|
11288
11303
|
name: string;
|
|
@@ -11912,6 +11927,21 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11912
11927
|
})[];
|
|
11913
11928
|
meta: object;
|
|
11914
11929
|
}>;
|
|
11930
|
+
revokeCredentials: import("@trpc/server").TRPCMutationProcedure<{
|
|
11931
|
+
input: {
|
|
11932
|
+
kind: "share-link" | "admin-token" | "login-session";
|
|
11933
|
+
ids: string[];
|
|
11934
|
+
confirmCount: number;
|
|
11935
|
+
};
|
|
11936
|
+
output: {
|
|
11937
|
+
revoked: string[];
|
|
11938
|
+
skipped: {
|
|
11939
|
+
id: string;
|
|
11940
|
+
reason: "current-session" | "not-active";
|
|
11941
|
+
}[];
|
|
11942
|
+
};
|
|
11943
|
+
meta: object;
|
|
11944
|
+
}>;
|
|
11915
11945
|
createAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11916
11946
|
input: {
|
|
11917
11947
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -42307,7 +42307,13 @@ var TopologyNodeSchema = zod.z.object({
|
|
|
42307
42307
|
})).readonly(),
|
|
42308
42308
|
processes: zod.z.array(TopologyProcessSchema).readonly(),
|
|
42309
42309
|
categories: zod.z.array(TopologyCategorySchema).readonly(),
|
|
42310
|
-
rootPackage: TopologyRootPackageSchema.nullable()
|
|
42310
|
+
rootPackage: TopologyRootPackageSchema.nullable(),
|
|
42311
|
+
/**
|
|
42312
|
+
* How an online AGENT reaches the hub (mesh mTLS Release A): `tls` once it has
|
|
42313
|
+
* completed a mutual-TLS handshake, `clear` otherwise. Absent for the hub,
|
|
42314
|
+
* for offline rows and when the hub cannot tell.
|
|
42315
|
+
*/
|
|
42316
|
+
meshTransport: zod.z.enum(["tls", "clear"]).optional()
|
|
42311
42317
|
});
|
|
42312
42318
|
var CapUsageEdgeSchema = zod.z.object({
|
|
42313
42319
|
callerAddonId: zod.z.string(),
|
package/dist/index.mjs
CHANGED
|
@@ -42306,7 +42306,13 @@ var TopologyNodeSchema = z.object({
|
|
|
42306
42306
|
})).readonly(),
|
|
42307
42307
|
processes: z.array(TopologyProcessSchema).readonly(),
|
|
42308
42308
|
categories: z.array(TopologyCategorySchema).readonly(),
|
|
42309
|
-
rootPackage: TopologyRootPackageSchema.nullable()
|
|
42309
|
+
rootPackage: TopologyRootPackageSchema.nullable(),
|
|
42310
|
+
/**
|
|
42311
|
+
* How an online AGENT reaches the hub (mesh mTLS Release A): `tls` once it has
|
|
42312
|
+
* completed a mutual-TLS handshake, `clear` otherwise. Absent for the hub,
|
|
42313
|
+
* for offline rows and when the hub cannot tell.
|
|
42314
|
+
*/
|
|
42315
|
+
meshTransport: z.enum(["tls", "clear"]).optional()
|
|
42310
42316
|
});
|
|
42311
42317
|
var CapUsageEdgeSchema = z.object({
|
|
42312
42318
|
callerAddonId: z.string(),
|
|
@@ -718,6 +718,11 @@ export interface TopologyNode {
|
|
|
718
718
|
readonly name: string;
|
|
719
719
|
readonly version: string;
|
|
720
720
|
} | null;
|
|
721
|
+
/**
|
|
722
|
+
* How an online agent reaches the hub (mesh mTLS Release A). Absent for the
|
|
723
|
+
* hub, offline rows, and when the hub cannot tell. Mirrors `TopologyNodeSchema`.
|
|
724
|
+
*/
|
|
725
|
+
readonly meshTransport?: 'tls' | 'clear';
|
|
721
726
|
}
|
|
722
727
|
/**
|
|
723
728
|
* Why a broker's stream health flipped — the discriminator that separates an
|