diff --git a/.prettierignore b/.prettierignore index 5d0d3e8..d010887 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,6 +7,9 @@ bun.lockb # Miscellaneous /static/ +/contrail.lock.json +/lex.config.js +/src/lib/contrail/ /api/lex.config.js /api/lexicons/ /api/src/lexicon-types/ diff --git a/eslint.config.js b/eslint.config.js index 4cf492f..9784e72 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -10,7 +10,14 @@ const gitignorePath = path.resolve(import.meta.dirname, '.gitignore'); export default defineConfig( includeIgnoreFile(gitignorePath), - globalIgnores(['api/lex.config.js', 'api/lexicons/**', 'api/src/lexicon-types/**']), + globalIgnores([ + 'contrail.lock.json', + 'lex.config.js', + 'src/lib/contrail/**', + 'api/lex.config.js', + 'api/lexicons/**', + 'api/src/lexicon-types/**' + ]), js.configs.recommended, ts.configs.recommended, svelte.configs.recommended, diff --git a/src/lib/atproto/index.ts b/src/lib/atproto/index.ts index a98ce8f..60c2f8f 100644 --- a/src/lib/atproto/index.ts +++ b/src/lib/atproto/index.ts @@ -11,7 +11,7 @@ export const atproto = createAtprotoAuth({ cookieSecret: env.COOKIE_SECRET, clientAssertionKey: env.CLIENT_ASSERTION_KEY, scope: - 'atproto repo:social.popfeed.feed.review repo:social.popfeed.feed.comment repo:social.popfeed.feed.like repo:social.popfeed.feed.list repo:social.popfeed.feed.listItem ' + + 'atproto repo:social.popfeed.feed.review repo:social.popfeed.feed.comment repo:social.popfeed.feed.like repo:social.popfeed.feed.list repo:social.popfeed.feed.listItem blob:*/* ' + contrail.scope, sessions: cloudflareKV('OAUTH_SESSIONS'), states: cloudflareKV('OAUTH_STATES', { ttl: 600 }) diff --git a/src/lib/components/Avatar.svelte b/src/lib/components/Avatar.svelte index 1b76002..42c35c0 100644 --- a/src/lib/components/Avatar.svelte +++ b/src/lib/components/Avatar.svelte @@ -12,7 +12,7 @@