Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import type {
2 Maybe,
3 MetadataLicenseType,
4 PostMentionFragment
5} from "@hey/indexer";
6
7export interface NewAttachment {
8 file?: File;
9 id?: string;
10 mimeType: string;
11 previewUri: string;
12 type: "Audio" | "Image" | "Video";
13 uri?: string;
14}
15
16export interface Emoji {
17 aliases: string[];
18 category: string;
19 description: string;
20 emoji: string;
21 tags: string[];
22}
23
24export interface MarkupLinkProps {
25 mentions?: PostMentionFragment[];
26 title?: string;
27}
28
29export interface MetadataAsset {
30 artist?: string;
31 cover?: string;
32 license?: Maybe<MetadataLicenseType>;
33 title?: string;
34 type: "Audio" | "Image" | "Video";
35 uri: string;
36}
37
38export interface AttachmentData {
39 artist?: string | null;
40 coverUri?: string;
41 type: "Audio" | "Image" | "Video";
42 uri: string;
43}