You may also define the store as a class. You might do this if you need to create multiple instances.
Once you've defined the type you can use it the same way you'd create any store &mdash; in a config or a view model

