A decentralized music tracking and discovery platform built on AT Protocol 🎵

run lint

+7 -7
+1 -1
apps/api/src/auth/client.ts
··· 1 1 import { JoseKey } from "@atproto/jwk-jose"; 2 - import { type RuntimeLock } from "@atproto/oauth-client-node"; 2 + import type { RuntimeLock } from "@atproto/oauth-client-node"; 3 3 import Redis from "ioredis"; 4 4 import Redlock from "redlock"; 5 5 import type { Database } from "../db";
+2 -2
apps/api/src/auth/oauth-client-auth.ts
··· 1 - import { 1 + import type { 2 2 ClientMetadata, 3 3 Keyset, 4 4 OAuthAuthorizationServerMetadata, 5 5 } from "@atproto/oauth-client-node"; 6 6 7 - import { ClientAuthMethod } from "@atproto/oauth-client/dist/oauth-client-auth"; 7 + import type { ClientAuthMethod } from "@atproto/oauth-client/dist/oauth-client-auth"; 8 8 9 9 export const FALLBACK_ALG = "ES256"; 10 10
+3 -3
apps/api/src/auth/oauth-client.ts
··· 1 1 import { 2 - AuthorizeOptions, 2 + type AuthorizeOptions, 3 3 NodeOAuthClient, 4 - NodeOAuthClientOptions, 5 - OAuthAuthorizationRequestParameters, 4 + type NodeOAuthClientOptions, 5 + type OAuthAuthorizationRequestParameters, 6 6 } from "@atproto/oauth-client-node"; 7 7 import { FALLBACK_ALG, negotiateClientAuthMethod } from "./oauth-client-auth"; 8 8
+1 -1
apps/api/src/bsky/app.ts
··· 33 33 prompt ? "tsiry.selfhosted.social" : handle, 34 34 { 35 35 scope: SCOPES.join(" "), 36 - // @ts-ignore: allow custom prompt param 36 + // @ts-expect-error: allow custom prompt param 37 37 prompt, 38 38 }, 39 39 );