feat: signup enhancements; more extensions to schema

This commit is contained in:
Wyatt Johnson
2018-07-10 15:54:52 -06:00
parent d46145f04c
commit 6efe36ceaa
16 changed files with 278 additions and 63 deletions
+11
View File
@@ -0,0 +1,11 @@
import { Db } from "mongodb";
import { createUser, CreateUserInput } from "talk-server/models/user";
export type CreateUser = CreateUserInput;
export async function create(db: Db, tenantID: string, input: CreateUser) {
const user = await createUser(db, tenantID, input);
return user;
}