feat: spec to platform
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
type ServerErrorResponse,
|
||||
UnauthorizedError,
|
||||
ZodValidationError,
|
||||
} from "@spec/relay";
|
||||
} from "@platform/relay";
|
||||
import { treeifyError } from "zod";
|
||||
|
||||
import { logger } from "~libraries/logger/mod.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ServerContext } from "@spec/relay";
|
||||
import { ServerContext } from "@platform/relay";
|
||||
|
||||
import type { Sockets } from "~libraries/socket/sockets.ts";
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Session } from "../auth/auth.ts";
|
||||
import { Principal } from "../auth/principal.ts";
|
||||
import { req } from "./request.ts";
|
||||
|
||||
declare module "@spec/relay" {
|
||||
declare module "@platform/relay" {
|
||||
interface ServerContext {
|
||||
/**
|
||||
* Current request instance being handled.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Route } from "@spec/relay";
|
||||
import { Route } from "@platform/relay";
|
||||
|
||||
/**
|
||||
* Resolve and return all routes that has been created under any 'routes'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { InternalServerError, UnauthorizedError } from "@spec/relay";
|
||||
import { InternalServerError, UnauthorizedError } from "@platform/relay";
|
||||
|
||||
import { Session } from "../auth/auth.ts";
|
||||
import { storage } from "./storage.ts";
|
||||
|
||||
Reference in New Issue
Block a user