about summary refs log tree commit diff
path: root/src/screens/VideoFeed/types.ts
blob: 2ab854bb38439979abc619c66c40497af0afb61f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import {AuthorFilter} from '#/state/queries/post-feed'

/**
 * Kind of like `FeedDescriptor` but not
 */
export type VideoFeedSourceContext =
  | {
      type: 'feedgen'
      uri: string
      sourceInterstitial: 'discover' | 'explore' | 'none'
      initialPostUri?: string
    }
  | {
      type: 'author'
      did: string
      filter: AuthorFilter
      initialPostUri?: string
    }