From 36694fb7749c2b8f2db8a918a907688f27fded66 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Fri, 5 Sep 2025 19:12:33 +0200 Subject: [PATCH] catalog-backend: allow type to catalog.rules.allow Signed-off-by: Vincenzo Scamporlino --- plugins/catalog-backend/config.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/catalog-backend/config.d.ts b/plugins/catalog-backend/config.d.ts index 6329bcb111..d346f01e37 100644 --- a/plugins/catalog-backend/config.d.ts +++ b/plugins/catalog-backend/config.d.ts @@ -38,8 +38,11 @@ export interface Config { * Allow entities of these particular kinds. * * E.g. ["Component", "API", "Template", "Location"] + * + * You can also specify the type of the entity by using an object with `kind` and optional `type` properties. + * E.g. [{ kind: "Component", type: "service" }] */ - allow: Array; + allow: Array; /** * Limit this rule to a specific location *