Adding types instead of var for stores used in qml components Closes: #14801
connection Closes: #13326
Part 2 of #13088