···11import type { Context } from "hono";
22-import handleApiError from "../../../utils/handleApiError";
33-import lensPg from "../../../utils/lensPg";
44-import syncAddressesToGuild from "../../../utils/syncAddressesToGuild";
22+import handleApiError from "@/utils/handleApiError";
33+import lensPg from "@/utils/lensPg";
44+import syncAddressesToGuild from "@/utils/syncAddressesToGuild";
5566// Sync followers standing of accounts with 1000+ followers
77const syncFollowersStandingToGuild = async (ctx: Context) => {
···11import { PERMISSIONS } from "@hey/data/constants";
22import type { Context } from "hono";
33-import handleApiError from "../../../utils/handleApiError";
44-import lensPg from "../../../utils/lensPg";
55-import syncAddressesToGuild from "../../../utils/syncAddressesToGuild";
33+import handleApiError from "@/utils/handleApiError";
44+import lensPg from "@/utils/lensPg";
55+import syncAddressesToGuild from "@/utils/syncAddressesToGuild";
6677// Sync accounts that has current subscriber status
88const syncSubscribersToGuild = async (ctx: Context) => {
+1-1
apps/api/src/routes/cron/index.ts
···11import { Hono } from "hono";
22-import secretMiddleware from "../../middlewares/secretMiddleware";
22+import secretMiddleware from "@/middlewares/secretMiddleware";
33import syncFollowersStandingToGuild from "./guild/syncFollowersStandingToGuild";
44import syncSubscribersToGuild from "./guild/syncSubscribersToGuild";
55import removeExpiredSubscribers from "./removeExpiredSubscribers";
···11import { PERMISSIONS } from "@hey/data/constants";
22import { Status } from "@hey/data/enums";
33import type { Context } from "hono";
44-import handleApiError from "../../../utils/handleApiError";
55-import lensPg from "../../../utils/lensPg";
66-import signer from "../../../utils/signer";
44+import handleApiError from "@/utils/handleApiError";
55+import lensPg from "@/utils/lensPg";
66+import signer from "@/utils/signer";
77import ABI from "./ABI";
8899const removeExpiredSubscribers = async (ctx: Context) => {
+3-3
apps/api/src/routes/jumper/getStats.ts
···11import { Status } from "@hey/data/enums";
22import type { Context } from "hono";
33-import getDbPostId from "../../utils/getDbPostId";
44-import handleApiError from "../../utils/handleApiError";
55-import lensPg from "../../utils/lensPg";
33+import getDbPostId from "@/utils/getDbPostId";
44+import handleApiError from "@/utils/handleApiError";
55+import lensPg from "@/utils/lensPg";
6677const getStats = async (ctx: Context) => {
88 try {
+1-1
apps/api/src/routes/lens/authorization.ts
···11import { Status } from "@hey/data/enums";
22import type { Context } from "hono";
33-import handleApiError from "../../utils/handleApiError";
33+import handleApiError from "@/utils/handleApiError";
4455const authorization = async (ctx: Context) => {
66 try {
+1-1
apps/api/src/routes/live/createLive.ts
···33import generateUUID from "@hey/helpers/generateUUID";
44import type { Context } from "hono";
55import type { ContentfulStatusCode } from "hono/utils/http-status";
66-import handleApiError from "../../utils/handleApiError";
66+import handleApiError from "@/utils/handleApiError";
7788const createLive = async (ctx: Context) => {
99 try {
+2-2
apps/api/src/routes/live/index.ts
···11import { zValidator } from "@hono/zod-validator";
22import { Hono } from "hono";
33import { z } from "zod";
44-import authMiddleware from "../../middlewares/authMiddleware";
55-import rateLimiter from "../../middlewares/rateLimiter";
44+import authMiddleware from "@/middlewares/authMiddleware";
55+import rateLimiter from "@/middlewares/rateLimiter";
66import createLive from "./createLive";
7788const app = new Hono();
+2-2
apps/api/src/routes/metadata/getSTS.ts
···22import { EVER_BUCKET } from "@hey/data/constants";
33import { Status } from "@hey/data/enums";
44import type { Context } from "hono";
55-import handleApiError from "../../utils/handleApiError";
66-import stsClient from "../../utils/stsClient";
55+import handleApiError from "@/utils/handleApiError";
66+import stsClient from "@/utils/stsClient";
7788const params = {
99 DurationSeconds: 900,
+2-2
apps/api/src/routes/metadata/index.ts
···11import { Hono } from "hono";
22-import authMiddleware from "../../middlewares/authMiddleware";
33-import rateLimiter from "../../middlewares/rateLimiter";
22+import authMiddleware from "@/middlewares/authMiddleware";
33+import rateLimiter from "@/middlewares/rateLimiter";
44import getSTS from "./getSTS";
5566const app = new Hono();
···11import { Status } from "@hey/data/enums";
22import type { Context } from "hono";
33-import { CACHE_AGE_1_DAY } from "../../utils/constants";
44-import handleApiError from "../../utils/handleApiError";
55-import { generateExtraLongExpiry, getRedis, setRedis } from "../../utils/redis";
66-import sha256 from "../../utils/sha256";
33+import { CACHE_AGE_1_DAY } from "@/utils/constants";
44+import handleApiError from "@/utils/handleApiError";
55+import { generateExtraLongExpiry, getRedis, setRedis } from "@/utils/redis";
66+import sha256 from "@/utils/sha256";
77import getMetadata from "./helpers/getMetadata";
8899const getOembed = async (ctx: Context) => {
+1-1
apps/api/src/routes/oembed/helpers/getMetadata.ts
···11import { parseHTML } from "linkedom";
22-import { HEY_USER_AGENT } from "../../../utils/constants";
22+import { HEY_USER_AGENT } from "@/utils/constants";
33import getDescription from "./meta/getDescription";
44import getTitle from "./meta/getTitle";
55
+1-1
apps/api/src/routes/oembed/index.ts
···11import { zValidator } from "@hono/zod-validator";
22import { Hono } from "hono";
33import { z } from "zod";
44-import rateLimiter from "../../middlewares/rateLimiter";
44+import rateLimiter from "@/middlewares/rateLimiter";
55import getOembed from "./getOembed";
6677const app = new Hono();
+2-2
apps/api/src/routes/og/ogUtils.ts
···11import apolloClient from "@hey/indexer/apollo/client";
22import type { Context } from "hono";
33import type { HtmlEscapedString } from "hono/utils/html";
44-import defaultMetadata from "../../utils/defaultMetadata";
55-import { getRedis, setRedis } from "../../utils/redis";
44+import defaultMetadata from "@/utils/defaultMetadata";
55+import { getRedis, setRedis } from "@/utils/redis";
6677interface OgHelperOptions<T> {
88 ctx: Context;
+3-3
apps/api/src/routes/preferences/getPreferences.ts
···11import { Status } from "@hey/data/enums";
22import type { Context } from "hono";
33-import prisma from "../../prisma/client";
44-import handleApiError from "../../utils/handleApiError";
55-import { getRedis, setRedis } from "../../utils/redis";
33+import prisma from "@/prisma/client";
44+import handleApiError from "@/utils/handleApiError";
55+import { getRedis, setRedis } from "@/utils/redis";
6677const getPreferences = async (ctx: Context) => {
88 try {
+1-1
apps/api/src/routes/preferences/index.ts
···11import { zValidator } from "@hono/zod-validator";
22import { Hono } from "hono";
33import { z } from "zod";
44-import rateLimiter from "../../middlewares/rateLimiter";
44+import rateLimiter from "@/middlewares/rateLimiter";
55import getPreferences from "./getPreferences";
66import updatePreferences from "./updatePreferences";
77
···11import { ERRORS } from "@hey/data/errors";
22import type { Context } from "hono";
33import { create } from "xmlbuilder2";
44-import { SITEMAP_BATCH_SIZE } from "../../../utils/constants";
44+import { SITEMAP_BATCH_SIZE } from "@/utils/constants";
55import generateSitemap from "../common";
66import getTotalAccountBatches from "./getTotalAccountBatches";
77
···11import type { Context } from "hono";
22import { create } from "xmlbuilder2";
33-import { SITEMAP_BATCH_SIZE } from "../../../utils/constants";
33+import { SITEMAP_BATCH_SIZE } from "@/utils/constants";
44import generateSitemap from "../common";
55import getTotalAccountBatches from "./getTotalAccountBatches";
66