feat(catalog-import): expose catalog filename to frontend

Signed-off-by: Mikko Korhonen <mikko.korhonen@gmail.com>
This commit is contained in:
Mikko Korhonen
2022-01-13 11:00:35 +02:00
parent 826e279e62
commit b20709491d
2 changed files with 37 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface Config {
/**
* Configuration options for the catalog plugin.
*/
catalog?: {
/**
* List of import flow specific options and attributes
*/
import?: {
/**
* Catalog entity descriptor filename, defaults to "catalog-info.yaml"
* @visibility frontend
*/
entityFilename?: string;
};
};
}
+4 -2
View File
@@ -69,6 +69,8 @@
"msw": "^0.35.0"
},
"files": [
"dist"
]
"dist",
"config.d.ts"
],
"configSchema": "config.d.ts"
}