Module frameworks/filesystem/getDataHelpers
Functions
getElement
- getElement(metadata: undefined | null | Record<string, any>): string
Parameters
metadata: undefined | null | Record<string, any>
Returns string
getExtraProps
- getExtraProps(metadata: undefined | null | Record<string, any>): string
Parameters
metadata: undefined | null | Record<string, any>
Returns string
getImports
- getImports(metadata: undefined | null | Record<string, any>, outputFolderTokens?: string, tokensRelativeImportPrefix?: string): string
Parameters
metadata: undefined | null | Record<string, any>
Optional outputFolderTokens: string
Optional tokensRelativeImportPrefix: string
Returns string
getText
- getText(metadata: undefined | null | Record<string, any>): string
Parameters
metadata: undefined | null | Record<string, any>
Returns string
Helper block to decouple logic from prepareWrite function