Your music, beautifully tracked. All yours. (coming soon) teal.fm
teal-fm atproto

fix getActorFeed name

+19 -19
+1 -1
packages/lexicons/real/fm/teal/alpha/feed/getActorFeed.json
··· 1 1 { 2 2 "lexicon": 1, 3 - "id": "fm.teal.alpha.getActorFeed", 3 + "id": "fm.teal.alpha.feed.getActorFeed", 4 4 "description": "This lexicon is in a not officially released state. It is subject to change. | Retrieves multiple plays from the index or via an author's DID.", 5 5 "defs": { 6 6 "main": {
+12 -12
packages/lexicons/src/index.ts
··· 9 9 StreamAuthVerifier, 10 10 } from '@atproto/xrpc-server' 11 11 import { schemas } from './lexicons' 12 - import * as FmTealAlphaGetActorFeed from './types/fm/teal/alpha/getActorFeed' 12 + import * as FmTealAlphaFeedGetActorFeed from './types/fm/teal/alpha/feed/getActorFeed' 13 13 import * as FmTealAlphaFeedGetPlay from './types/fm/teal/alpha/feed/getPlay' 14 14 15 15 export function createServer(options?: XrpcOptions): Server { ··· 98 98 this.actor = new FmTealAlphaActorNS(server) 99 99 this.feed = new FmTealAlphaFeedNS(server) 100 100 } 101 - 102 - getActorFeed<AV extends AuthVerifier>( 103 - cfg: ConfigOf< 104 - AV, 105 - FmTealAlphaGetActorFeed.Handler<ExtractAuth<AV>>, 106 - FmTealAlphaGetActorFeed.HandlerReqCtx<ExtractAuth<AV>> 107 - >, 108 - ) { 109 - const nsid = 'fm.teal.alpha.getActorFeed' // @ts-ignore 110 - return this._server.xrpc.method(nsid, cfg) 111 - } 112 101 } 113 102 114 103 export class FmTealAlphaActorNS { ··· 124 113 125 114 constructor(server: Server) { 126 115 this._server = server 116 + } 117 + 118 + getActorFeed<AV extends AuthVerifier>( 119 + cfg: ConfigOf< 120 + AV, 121 + FmTealAlphaFeedGetActorFeed.Handler<ExtractAuth<AV>>, 122 + FmTealAlphaFeedGetActorFeed.HandlerReqCtx<ExtractAuth<AV>> 123 + >, 124 + ) { 125 + const nsid = 'fm.teal.alpha.feed.getActorFeed' // @ts-ignore 126 + return this._server.xrpc.method(nsid, cfg) 127 127 } 128 128 129 129 getPlay<AV extends AuthVerifier>(
+3 -3
packages/lexicons/src/lexicons.ts
··· 325 325 }, 326 326 }, 327 327 }, 328 - FmTealAlphaGetActorFeed: { 328 + FmTealAlphaFeedGetActorFeed: { 329 329 lexicon: 1, 330 - id: 'fm.teal.alpha.getActorFeed', 330 + id: 'fm.teal.alpha.feed.getActorFeed', 331 331 description: 332 332 "This lexicon is in a not officially released state. It is subject to change. | Retrieves multiple plays from the index or via an author's DID.", 333 333 defs: { ··· 528 528 FmTealAlphaActorProfile: 'fm.teal.alpha.actor.profile', 529 529 FmTealAlphaActorStatus: 'fm.teal.alpha.actor.status', 530 530 FmTealAlphaFeedDefs: 'fm.teal.alpha.feed.defs', 531 - FmTealAlphaGetActorFeed: 'fm.teal.alpha.getActorFeed', 531 + FmTealAlphaFeedGetActorFeed: 'fm.teal.alpha.feed.getActorFeed', 532 532 FmTealAlphaFeedGetPlay: 'fm.teal.alpha.feed.getPlay', 533 533 FmTealAlphaFeedPlay: 'fm.teal.alpha.feed.play', 534 534 XyzStatusphereStatus: 'xyz.statusphere.status',
+3 -3
packages/lexicons/src/types/fm/teal/alpha/getActorFeed.ts packages/lexicons/src/types/fm/teal/alpha/feed/getActorFeed.ts
··· 3 3 */ 4 4 import express from 'express' 5 5 import { ValidationResult, BlobRef } from '@atproto/lexicon' 6 - import { lexicons } from '../../../../lexicons' 7 - import { isObj, hasProp } from '../../../../util' 6 + import { lexicons } from '../../../../../lexicons' 7 + import { isObj, hasProp } from '../../../../../util' 8 8 import { CID } from 'multiformats/cid' 9 9 import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server' 10 - import * as FmTealAlphaFeedDefs from './feed/defs' 10 + import * as FmTealAlphaFeedDefs from './defs' 11 11 12 12 export interface QueryParams { 13 13 /** The author's DID for the play */