From c8b30721f40a191be5850a6f466e2acf68e141d3 Mon Sep 17 00:00:00 2001 From: Tomas Dabasinskas Date: Thu, 9 Feb 2023 19:32:32 +0200 Subject: [PATCH] Add configuration Signed-off-by: Tomas Dabasinskas --- plugins/puppetdb/config.d.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/puppetdb/config.d.ts diff --git a/plugins/puppetdb/config.d.ts b/plugins/puppetdb/config.d.ts new file mode 100644 index 0000000000..530f651af7 --- /dev/null +++ b/plugins/puppetdb/config.d.ts @@ -0,0 +1,30 @@ +/* + * Copyright 2020 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. + */ +/** + * Represents the configuration for the Backstage. + */ +export interface Config { + /** + * Configuration of PuppetDB frontend plugin. + */ + puppetdb?: { + /** + * (Required) The host of PuppetDB API instance. + * @visibility frontend + */ + host: string; + }; +}