refactor the TemplateInfo entityMetadata field to an entity object

Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
Paul Cowan
2022-08-23 09:53:48 +01:00
parent d7e83f7ccf
commit 7b24f47bc6
9 changed files with 20 additions and 27 deletions
+7 -2
View File
@@ -34,9 +34,14 @@ export type TemplateInfo = {
baseUrl?: string;
/**
* The metadata of the Template entity
* the Template entity
*/
entityMetadata: EntityMeta;
entity?: {
/**
* The metadata of the Template
*/
metadata: EntityMeta;
};
};
/**