diff --git a/src/core/FormResult.ts b/src/core/FormResult.ts index 38f258d1..92ca87d3 100644 --- a/src/core/FormResult.ts +++ b/src/core/FormResult.ts @@ -63,4 +63,21 @@ export default class FormResult { } return result; } + /* == Aliases ==*/ + /** + * just an alias for `asFrontmatterString` + */ + asFrontmatter = this.asFrontmatterString; + /** + * just an alias for `asFrontmatterString` + */ + asYaml = this.asFrontmatterString; + /** + * just an alias for `asDataviewProperties` + */ + asDataview = this.asDataviewProperties; + /** + * just an alias for `asDataviewProperties` + */ + asDv = this.asDataviewProperties; }