···23 'app.bsky.feed.post?action=create',
24 'site.standard.publication',
25 'site.standard.document',
26- 'xyz.statusphere.status'
027 ],
2829 // what types of authenticated proxied requests you can make to services
···23 'app.bsky.feed.post?action=create',
24 'site.standard.publication',
25 'site.standard.document',
26+ 'xyz.statusphere.status',
27+ 'community.lexicon.calendar.rsvp'
28 ],
2930 // what types of authenticated proxied requests you can make to services
+30
src/lib/cache.ts
···1import type { ActorIdentifier, Did } from '@atcute/lexicons';
2import { isDid } from '@atcute/lexicons/syntax';
3import type { KVNamespace } from '@cloudflare/workers-types';
045/** TTL in seconds for each cache namespace */
6const NAMESPACE_TTL = {
···10 'gh-contrib': 60 * 60 * 12, // 12 hours
11 lastfm: 60 * 60, // 1 hour (default, overridable per-put)
12 npmx: 60 * 60 * 12, // 12 hours
013 meta: 0 // no auto-expiry
14} as const;
15···89 async resolveHandle(did: Did): Promise<string | null> {
90 return this.get('identity', `d:${did}`);
91 }
000000000000000000092}
0000000009394export function createCache(platform?: App.Platform): CacheService | undefined {
95 const kv = platform?.env?.USER_DATA_CACHE;