UNPKG

@ou-imdt/utils

Version:

Utility library for interactive media development

10 lines (9 loc) 334 B
import loadData from './loadData'; /** * Loads data from the VLE server for the current user. * @param {array} fields - Array of names - data to load. * @returns {Promise<any>} A promise that resolves with the loaded data, or rejects on error. */ export default function loadVLEUserData(fields) { return loadData({ fields }); }