From 25bbdccba62930450bfc913dca6b55c9ea30de54 Mon Sep 17 00:00:00 2001 From: keshan Date: Thu, 17 Dec 2020 13:33:28 +0530 Subject: [PATCH] updates on the comments section --- plugins/catalog-backend/config.d.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/plugins/catalog-backend/config.d.ts b/plugins/catalog-backend/config.d.ts index 09ec4222b4..54427eae36 100644 --- a/plugins/catalog-backend/config.d.ts +++ b/plugins/catalog-backend/config.d.ts @@ -21,13 +21,18 @@ export interface Config { catalog?: { /** * Rules to apply to catalog entities - accepts an array of objects with below attributes - * attr: 'allow' - accepts an array of string. e.g. [Component, API, Group, User, Template, Location] - * opt-attr: 'locations' - accepts an array of key, value pair objects. - * keys: 'target', 'type' - * e.g.[{type: url, target: https://github.com}] */ rules?: Array<{ + /** + * attr: 'allow' - accepts an array of string. e.g. [Component, API, Group, User, Template, Location] + */ allow: Array; + /** + * opt-attr: 'locations' - accepts an array of key, value pair objects. + * keys: 'target', 'type' + * e.g.[{type: url, target: https://github.com}] + * + */ locations?: Array<{ [key: string]: string }>; }>; /**