@camstack/addon-pipeline-orchestrator 0.1.25 → 0.1.26

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/index.js CHANGED
@@ -12809,6 +12809,18 @@ const TopologyProcessSchema = object({
12809
12809
  services: array(TopologyServiceSchema).readonly(),
12810
12810
  groupId: string().optional()
12811
12811
  });
12812
+ const TopologyCategoryAddonSchema = object({
12813
+ id: string(),
12814
+ status: string(),
12815
+ cpuPercent: number(),
12816
+ memoryRss: number()
12817
+ });
12818
+ const TopologyCategorySchema = object({
12819
+ category: string(),
12820
+ total: number(),
12821
+ healthy: number(),
12822
+ addons: array(TopologyCategoryAddonSchema).readonly()
12823
+ });
12812
12824
  const TopologyNodeSchema = object({
12813
12825
  id: string(),
12814
12826
  name: string(),
@@ -12833,7 +12845,15 @@ const TopologyNodeSchema = object({
12833
12845
  status: string()
12834
12846
  })
12835
12847
  ).readonly(),
12836
- processes: array(TopologyProcessSchema).readonly()
12848
+ processes: array(TopologyProcessSchema).readonly(),
12849
+ categories: array(TopologyCategorySchema).readonly()
12850
+ });
12851
+ const CapUsageEdgeSchema = object({
12852
+ callerAddonId: string(),
12853
+ providerAddonId: string(),
12854
+ capName: string(),
12855
+ callsPerMin: number(),
12856
+ lastCallAtMs: number()
12837
12857
  });
12838
12858
  const ClusterAddonNodeDeploymentSchema = object({
12839
12859
  nodeId: string(),
@@ -12917,13 +12937,7 @@ const RenameNodeResultSchema = object({
12917
12937
  object({
12918
12938
  windowSeconds: number().int().positive().max(300).default(60)
12919
12939
  }),
12920
- array(object({
12921
- callerAddonId: string(),
12922
- providerAddonId: string(),
12923
- capName: string(),
12924
- callsPerMin: number(),
12925
- lastCallAtMs: number()
12926
- })).readonly(),
12940
+ array(CapUsageEdgeSchema).readonly(),
12927
12941
  { auth: "admin" }
12928
12942
  ),
12929
12943
  /**