more boilerplate and dev environment
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @typedef {Object} User
|
||||
* @property {string} userId
|
||||
* @property {string} rootObjectId
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create a User object.
|
||||
*
|
||||
* @param {string} userId
|
||||
* @param {string} rootObjectId
|
||||
* @returns {User}
|
||||
*/
|
||||
export function createUserModel(userId, rootObjectId) {
|
||||
return { userId, rootObjectId };
|
||||
}
|
||||
Reference in New Issue
Block a user