idz: Refactor repo interface/impl boundary

This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent ef50699295
commit eeb14a6bea
46 changed files with 108 additions and 85 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ import { Team } from "../model/team";
import { Unlocks } from "../model/unlocks";
import { CreateProfileRequest } from "../request/createProfile";
import { GenericResponse } from "../response/generic";
import { World } from "../world";
import { Repositories } from "../repo";
export async function createProfile(
w: World,
w: Repositories,
req: CreateProfileRequest
): Promise<GenericResponse> {
const profileId = await w.profile().generateId();