shared/mock/datastore.js

added all function