···11{
22 "lexicon": 1,
33- "id": "fm.teal.alpha.getActorFeed",
33+ "id": "fm.teal.alpha.feed.getActorFeed",
44 "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.",
55 "defs": {
66 "main": {
+12-12
packages/lexicons/src/index.ts
···99 StreamAuthVerifier,
1010} from '@atproto/xrpc-server'
1111import { schemas } from './lexicons'
1212-import * as FmTealAlphaGetActorFeed from './types/fm/teal/alpha/getActorFeed'
1212+import * as FmTealAlphaFeedGetActorFeed from './types/fm/teal/alpha/feed/getActorFeed'
1313import * as FmTealAlphaFeedGetPlay from './types/fm/teal/alpha/feed/getPlay'
14141515export function createServer(options?: XrpcOptions): Server {
···9898 this.actor = new FmTealAlphaActorNS(server)
9999 this.feed = new FmTealAlphaFeedNS(server)
100100 }
101101-102102- getActorFeed<AV extends AuthVerifier>(
103103- cfg: ConfigOf<
104104- AV,
105105- FmTealAlphaGetActorFeed.Handler<ExtractAuth<AV>>,
106106- FmTealAlphaGetActorFeed.HandlerReqCtx<ExtractAuth<AV>>
107107- >,
108108- ) {
109109- const nsid = 'fm.teal.alpha.getActorFeed' // @ts-ignore
110110- return this._server.xrpc.method(nsid, cfg)
111111- }
112101}
113102114103export class FmTealAlphaActorNS {
···124113125114 constructor(server: Server) {
126115 this._server = server
116116+ }
117117+118118+ getActorFeed<AV extends AuthVerifier>(
119119+ cfg: ConfigOf<
120120+ AV,
121121+ FmTealAlphaFeedGetActorFeed.Handler<ExtractAuth<AV>>,
122122+ FmTealAlphaFeedGetActorFeed.HandlerReqCtx<ExtractAuth<AV>>
123123+ >,
124124+ ) {
125125+ const nsid = 'fm.teal.alpha.feed.getActorFeed' // @ts-ignore
126126+ return this._server.xrpc.method(nsid, cfg)
127127 }
128128129129 getPlay<AV extends AuthVerifier>(
+3-3
packages/lexicons/src/lexicons.ts
···325325 },
326326 },
327327 },
328328- FmTealAlphaGetActorFeed: {
328328+ FmTealAlphaFeedGetActorFeed: {
329329 lexicon: 1,
330330- id: 'fm.teal.alpha.getActorFeed',
330330+ id: 'fm.teal.alpha.feed.getActorFeed',
331331 description:
332332 "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.",
333333 defs: {
···528528 FmTealAlphaActorProfile: 'fm.teal.alpha.actor.profile',
529529 FmTealAlphaActorStatus: 'fm.teal.alpha.actor.status',
530530 FmTealAlphaFeedDefs: 'fm.teal.alpha.feed.defs',
531531- FmTealAlphaGetActorFeed: 'fm.teal.alpha.getActorFeed',
531531+ FmTealAlphaFeedGetActorFeed: 'fm.teal.alpha.feed.getActorFeed',
532532 FmTealAlphaFeedGetPlay: 'fm.teal.alpha.feed.getPlay',
533533 FmTealAlphaFeedPlay: 'fm.teal.alpha.feed.play',
534534 XyzStatusphereStatus: 'xyz.statusphere.status',
···33 */
44import express from 'express'
55import { ValidationResult, BlobRef } from '@atproto/lexicon'
66-import { lexicons } from '../../../../lexicons'
77-import { isObj, hasProp } from '../../../../util'
66+import { lexicons } from '../../../../../lexicons'
77+import { isObj, hasProp } from '../../../../../util'
88import { CID } from 'multiformats/cid'
99import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
1010-import * as FmTealAlphaFeedDefs from './feed/defs'
1010+import * as FmTealAlphaFeedDefs from './defs'
11111212export interface QueryParams {
1313 /** The author's DID for the play */