Constructor
Properties
creator: Profile
The feed generator's creator.
descriptionFacets?: Facet[]
Any facets associated with the feed generator's description.
likeUri?: ResourceUri
The URI of the feed generator's like record, if the viewer has liked the feed generator.
indexedAt: Date
The time the feed generator was indexed by the AppView.
Methods
getPosts(options?)
Get a feed of posts from the feed generator.
Parameters
options: FeedGeneratorGetPostsOptions = {}
Options for fetching the feed.
iteratePosts(options?)
Iterate over posts from this feed generator.
Parameters
options: FeedGeneratorGetPostsOptions = {}
Options for fetching the feed.
Returns
AsyncIterableIterator<Post, any, any>
label(labels, comment?)
Apply labels to the feed geenrator.
Parameters
labels: string[]
The labels to apply.
comment?: string
An optional comment.
Returns
Promise<ModEventView>
negateLabels(labels, comment?)
Negate labels previously applied to the feed geenrator.
Parameters
labels: string[]
The labels to negate.
comment?: string
An optional comment.