24 lines
367 B
TypeScript
24 lines
367 B
TypeScript
|
|
namespace _zeitbild.service.user
|
|
{
|
|
|
|
/**
|
|
*/
|
|
export function add(
|
|
user_object : _zeitbild.type_user_object
|
|
) : Promise<_zeitbild.type_user_id>
|
|
{
|
|
return _zeitbild.repository.user.create(user_object);
|
|
}
|
|
|
|
|
|
/**
|
|
*/
|
|
export function identify(
|
|
name : string
|
|
) : Promise<_zeitbild.type_user_id>
|
|
{
|
|
return _zeitbild.repository.user.identify(name);
|
|
}
|
|
|
|
}
|