feat: spec to platform
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { AccountEmailClaimedError } from "@spec/schemas/account/errors.ts";
|
||||
import { create } from "@spec/schemas/account/routes.ts";
|
||||
import { AccountEmailClaimedError } from "@platform/spec/account/errors.ts";
|
||||
import { create } from "@platform/spec/account/routes.ts";
|
||||
|
||||
import { Account, isEmailClaimed } from "~stores/event-store/aggregates/account.ts";
|
||||
import { eventStore } from "~stores/event-store/event-store.ts";
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { ForbiddenError } from "@spec/relay/mod.ts";
|
||||
import { NotFoundError } from "@spec/relay/mod.ts";
|
||||
import { getById } from "@spec/schemas/account/routes.ts";
|
||||
import { ForbiddenError, NotFoundError } from "@platform/relay";
|
||||
import { getById } from "@platform/spec/account/routes.ts";
|
||||
|
||||
import { db } from "~stores/read-store/database.ts";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { code } from "@spec/schemas/auth/routes.ts";
|
||||
import { code } from "@platform/spec/auth/routes.ts";
|
||||
import cookie from "cookie";
|
||||
|
||||
import { auth, config } from "~libraries/auth/mod.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { email } from "@spec/schemas/auth/routes.ts";
|
||||
import { email } from "@platform/spec/auth/routes.ts";
|
||||
|
||||
import { logger } from "~libraries/logger/mod.ts";
|
||||
import { Account, getAccountEmailRelation } from "~stores/event-store/aggregates/account.ts";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { BadRequestError } from "@spec/relay";
|
||||
import { password as route } from "@spec/schemas/auth/routes.ts";
|
||||
import { BadRequestError } from "@platform/relay";
|
||||
import { password as route } from "@platform/spec/auth/routes.ts";
|
||||
import cookie from "cookie";
|
||||
|
||||
import { config } from "~config";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UnauthorizedError } from "@spec/relay/mod.ts";
|
||||
import { session } from "@spec/schemas/auth/routes.ts";
|
||||
import { UnauthorizedError } from "@platform/relay";
|
||||
import { session } from "@platform/spec/auth/routes.ts";
|
||||
|
||||
import { getAccountById } from "~stores/read-store/methods.ts";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user