I think you can also get access by using strapi.store.get()
strapi.store.get()
you can checkout this code as reference.