Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

refactor #4

wants to merge 3 commits into from

Conversation

alxndr
Copy link
Member

@alxndr alxndr commented Nov 22, 2024

Extract some more Bluesky-related logic from the main index.ts file.

@alxndr alxndr added the WIP label Nov 22, 2024
@@ -1,7 +1,8 @@
import {afterEach, beforeEach, describe, expect, test, vi} from 'vitest'
import createFetchMock from 'vitest-fetch-mock'
import {BskyAgent} from '@atproto/api'
import {login} from './bluesky.js'
// import type {PostView} from '@atproto/api/lexicon/types/app/bsky/feed/defs' // TODO arg where is this
Copy link
Member Author

@alxndr alxndr Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still can't find where this type is in the @atproto/api package... here's where it's defined and the source makes it look like it can be used as AppBskyFeedDefs.PostView but that doesn't work when importing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant