···11import { JoseKey } from "@atproto/jwk-jose";
22-import { type RuntimeLock } from "@atproto/oauth-client-node";
22+import type { RuntimeLock } from "@atproto/oauth-client-node";
33import Redis from "ioredis";
44import Redlock from "redlock";
55import type { Database } from "../db";
+2-2
apps/api/src/auth/oauth-client-auth.ts
···11-import {
11+import type {
22 ClientMetadata,
33 Keyset,
44 OAuthAuthorizationServerMetadata,
55} from "@atproto/oauth-client-node";
6677-import { ClientAuthMethod } from "@atproto/oauth-client/dist/oauth-client-auth";
77+import type { ClientAuthMethod } from "@atproto/oauth-client/dist/oauth-client-auth";
8899export const FALLBACK_ALG = "ES256";
1010
+3-3
apps/api/src/auth/oauth-client.ts
···11import {
22- AuthorizeOptions,
22+ type AuthorizeOptions,
33 NodeOAuthClient,
44- NodeOAuthClientOptions,
55- OAuthAuthorizationRequestParameters,
44+ type NodeOAuthClientOptions,
55+ type OAuthAuthorizationRequestParameters,
66} from "@atproto/oauth-client-node";
77import { FALLBACK_ALG, negotiateClientAuthMethod } from "./oauth-client-auth";
88