-
-
Contains parsed Stores. See Store.
-
Contains parsed global data.
-
-
-
Creates a file in the
dist
directory.path
Relative path to the generated file.templatePath
Relative path to the template file.context
Data available in the template.
-
Registers a macro function available in templates. Macro functions may accept parameters. Visit https://handlebarsjs.com/#helpers to learn more.
name
Name of the macro.fn
Macro function.
-
Prints log messages to the console.
...messages
Massages that will be printed to the console.
-
Prints warning messages to the console.
...messages
Massages that will be printed to the console.
-
Prints data to the console.
...data
data that will be printed to the console.
-
Prints data to the console and stops the execution.
...data
data that will be printed to the console.
-
-
-
Gets an array of all Records.
array
-
Gets a Record with specified key.
key
Key of the requested Record.
Record
-
Gets a new Store with Records that pass the test.
fn
Filtering function.
Store
-
Gets a new Store with Records where specified prop equals the provided value.
prop
Name of the prop.value
Desired value.
Store
-
Gets an array of values of the specified prop.
prop
Name of the prop.
array
-
Executes a provided function once for every Record.
fn
Processing function.
-
Gets an array with the results of calling provided function on every Record.
fn
Processing function.
array
-
Gets the size of the Store.
integer
-
Checks if the Store is empty.
boolean
-
Gets a new Store sorted using the provided comparing function.
fn
Comparing function.
Store
-
Gets a new Store sorted by the provided prop.
prop
Name of the prop.
Store
-
Gets a new Store with Records in reversed order.
Store
-
Gets an array with the specified amount of Records.
prop
Requested size.
array
-
Gets an array of Records split into groups of the specified size. If the Store can't be split evenly, the final chunk will be the remaining Records.
prop
Requested chunk size.
array
-
Prints Store data to the console.
-
Prints Store data to the console and stops the execution.
-
Replaces Record key in the provided prop with an actual Record from the related Store.
relatedStore
Related Store.prop
Name of the prop.
-
Replaces Record keys in the provided prop with an actual Records from the related Store.
relatedStore
Related Store.prop
Name of the prop.
-
Adds new prop to Records with a Record from related Store that references this Record in its own specified prop.
relatedStore
Related Store.relatedProp
Name of the prop containing reference to this Record.prop
Name of the prop to add to this Record.
-
Adds new prop to Records with Records from related Store that reference this Record in their own specified prop.
relatedStore
Related Store.relatedProp
Name of the prop containing reference to this Record.prop
Name of the prop to add to this Record.
-
-
-
Unique identifier of the Record.
-
Property of the Record.
-
-
Creates a new Blego project.
project_directory
Directory in which the project will be created.
-
Builds project in the current directory.
-
Starts a web server from the
dist
directory.