add entityMetadata to scaffolder templateInfo field

Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
Paul Cowan
2022-08-22 16:34:50 +01:00
parent 8436d52ff3
commit 1ff817b3f0
9 changed files with 36 additions and 3 deletions
+4 -2
View File
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import { UserEntity } from '@backstage/catalog-model';
import { JsonValue, JsonObject } from '@backstage/types';
import type { EntityMeta, UserEntity } from '@backstage/catalog-model';
import type { JsonValue, JsonObject } from '@backstage/types';
/**
* Information about a template that is stored on a task specification.
@@ -32,6 +32,8 @@ export type TemplateInfo = {
* Where the template is stored, so we can resolve relative paths for things like `fetch:template` paths.
*/
baseUrl?: string;
entityMetadata: EntityMeta;
};
/**