Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(web): export SharePageBranding from share video types

Richie McIlroyfa68c3c7c21a
diff --git a/apps/web/app/s/[videoId]/types.ts b/apps/web/app/s/[videoId]/types.ts
index eab6700e4..487f76d5b 100644
--- a/apps/web/app/s/[videoId]/types.ts
+++ b/apps/web/app/s/[videoId]/types.ts
@@ -26,3 +26,13 @@ export type VideoOwner = {
name?: string | null;
image?: ImageUpload.ImageUrl | null;
};
+
+export type SharePageBranding =
+ | {
+ type: "custom";
+ imageUrl: ImageUpload.ImageUrl;
+ name: string;
+ }
+ | {
+ type: "cap";
+ };