API Docs for:
Show:

MasterDataResource Class

Methods

build

()

Create JSON file from tsv files (only called by Node.js)

getDirPath

() String public static

Get master data dir

Returns:

String:

getJSONPath

() String public static

Get master JSON path

Returns:

String:

getMemoryResource

() MemoryResource

Get memory resource of the given modelName

Returns:

init

() public chainable

load data from directory(Node.js) or JSON (other environments)

loadFromJSON

() private

load data from JSON file

toPlainObject

() Object

Create plain object

Returns:

Object:

plainObject