use semibold

This commit is contained in:
miloschwartz
2026-04-25 15:42:19 -07:00
parent 8e16ff07a9
commit 6f6c24b6df
27 changed files with 95 additions and 87 deletions

View File

@@ -114,16 +114,11 @@ const listResourcesSchema = z.object({
description:
"Filter resources based on health status of their targets. `healthy` means all targets are healthy. `degraded` means at least one target is unhealthy, but not all are unhealthy. `offline` means all targets are unhealthy. `unknown` means all targets have unknown health status. `no_targets` means the resource has no targets."
}),
siteId: z.coerce
.number<string>()
.int()
.positive()
.optional()
.openapi({
type: "integer",
description:
"When set, only resources that have at least one target on this site are returned"
})
siteId: z.coerce.number<string>().int().positive().optional().openapi({
type: "integer",
description:
"When set, only resources that have at least one target on this site are returned"
})
});
// grouped by resource with targets[])
@@ -270,6 +265,8 @@ export async function listResources(
);
}
await new Promise((resolve) => setTimeout(resolve, 3 * 1000));
const orgId =
parsedParams.data.orgId ||
req.userOrg?.orgId ||