Files
OwOrganizer/frontend/src/lib/models/user.js
T
2026-07-16 19:24:39 -07:00

19 lines
367 B
JavaScript

/**
* @typedef {Object} User
* @property {string} userId
* @property {string} name
* @property {string} rootObjectId
*/
/**
* Create a User object.
*
* @param {string} userId
* @param {string} name
* @param {string} rootObjectId
* @returns {User}
*/
export function createUserModel(userId, name, rootObjectId) {
return { userId, name, rootObjectId };
}