Meta data field customization #19

This commit is contained in:
mProjectsCode 2022-06-07 10:38:51 +02:00
parent b4e40d2daa
commit 78ee146b71
8 changed files with 247 additions and 11 deletions

View file

@ -17,8 +17,8 @@ export abstract class MediaTypeModel {
abstract getTags(): string[];
toMetaData(): string {
return YAMLConverter.toYaml({...this.getWithOutUserData(), ...this.userData, tags: '#' + this.getTags().join('/')});
toMetaDataObject(): object {
return {...this.getWithOutUserData(), ...this.userData, tags: '#' + this.getTags().join('/')};
}
getWithOutUserData(): object {