drop @atproto/api from the dependency tree

The last references were stale comments; the package itself leaves
package.json, webpack's transpile list, and 102 packages from the lockfile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-04 04:56:30 +03:00
parent ae0750099f
commit 02173556ab
12 changed files with 16 additions and 62 deletions
@@ -144,9 +144,8 @@ export function useSaveDraftMutation() {
composerState,
)
/*
* `composerStateToDraft` builds the draft against the `@atproto/api`
* types, whose string fields are unbranded, so it is asserted once here
* to the vendored input type.
* `composerStateToDraft` builds the draft with unbranded string fields,
* so it is asserted once here to the generated input type.
*/
const draft = apiDraft as unknown as app.bsky.draft.defs.Draft
+1 -1
View File
@@ -1,7 +1,7 @@
import {app} from '#/lexicons'
/**
* Types for draft display and local media tracking.
* Server draft types come from @atproto/api.
* Server draft types come from the generated `#/lexicons` modules.
*/
/**