about summary refs log tree commit diff
path: root/src/screens/VideoFeed/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/VideoFeed/types.ts')
-rw-r--r--src/screens/VideoFeed/types.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/screens/VideoFeed/types.ts b/src/screens/VideoFeed/types.ts
new file mode 100644
index 000000000..2ab854bb3
--- /dev/null
+++ b/src/screens/VideoFeed/types.ts
@@ -0,0 +1,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
+    }