Add resource niceId

This commit is contained in:
Owen
2025-09-08 17:37:30 -07:00
parent 64722617c1
commit a947a74194
7 changed files with 84 additions and 29 deletions

View File

@@ -16,6 +16,7 @@ import logger from "@server/logger";
import stoi from "@server/lib/stoi";
import { fromZodError } from "zod-validation-error";
import { OpenAPITags, registry } from "@server/openApi";
import { warn } from "console";
const listResourcesParamsSchema = z
.object({
@@ -54,7 +55,8 @@ function queryResources(accessibleResourceIds: number[], orgId: string) {
protocol: resources.protocol,
proxyPort: resources.proxyPort,
enabled: resources.enabled,
domainId: resources.domainId
domainId: resources.domainId,
niceId: resources.niceId
})
.from(resources)
.leftJoin(