@camstack/types 0.1.37 → 0.1.39

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.
@@ -8381,6 +8381,18 @@ const TopologyProcessSchema = z.object({
8381
8381
  services: z.array(TopologyServiceSchema).readonly(),
8382
8382
  groupId: z.string().optional()
8383
8383
  });
8384
+ const TopologyCategoryAddonSchema = z.object({
8385
+ id: z.string(),
8386
+ status: z.string(),
8387
+ cpuPercent: z.number(),
8388
+ memoryRss: z.number()
8389
+ });
8390
+ const TopologyCategorySchema = z.object({
8391
+ category: z.string(),
8392
+ total: z.number(),
8393
+ healthy: z.number(),
8394
+ addons: z.array(TopologyCategoryAddonSchema).readonly()
8395
+ });
8384
8396
  const TopologyNodeSchema = z.object({
8385
8397
  id: z.string(),
8386
8398
  name: z.string(),
@@ -8405,7 +8417,15 @@ const TopologyNodeSchema = z.object({
8405
8417
  status: z.string()
8406
8418
  })
8407
8419
  ).readonly(),
8408
- processes: z.array(TopologyProcessSchema).readonly()
8420
+ processes: z.array(TopologyProcessSchema).readonly(),
8421
+ categories: z.array(TopologyCategorySchema).readonly()
8422
+ });
8423
+ const CapUsageEdgeSchema = z.object({
8424
+ callerAddonId: z.string(),
8425
+ providerAddonId: z.string(),
8426
+ capName: z.string(),
8427
+ callsPerMin: z.number(),
8428
+ lastCallAtMs: z.number()
8409
8429
  });
8410
8430
  const ClusterAddonNodeDeploymentSchema = z.object({
8411
8431
  nodeId: z.string(),
@@ -8493,13 +8513,7 @@ const nodesCapability = {
8493
8513
  z.object({
8494
8514
  windowSeconds: z.number().int().positive().max(300).default(60)
8495
8515
  }),
8496
- z.array(z.object({
8497
- callerAddonId: z.string(),
8498
- providerAddonId: z.string(),
8499
- capName: z.string(),
8500
- callsPerMin: z.number(),
8501
- lastCallAtMs: z.number()
8502
- })).readonly(),
8516
+ z.array(CapUsageEdgeSchema).readonly(),
8503
8517
  { auth: "admin" }
8504
8518
  ),
8505
8519
  /**
@@ -9444,4 +9458,4 @@ export {
9444
9458
  addonWidgetsCapability as y,
9445
9459
  zonesCapability as z
9446
9460
  };
9447
- //# sourceMappingURL=index-CgPd35k5.mjs.map
9461
+ //# sourceMappingURL=index-QRlzao1I.mjs.map