@framebreak/types 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -24,6 +24,14 @@ interface Comment {
24
24
  isLiked: boolean;
25
25
  replies?: Comment[];
26
26
  }
27
+ interface CommunityPostLink {
28
+ url: string;
29
+ title: string | null;
30
+ description: string | null;
31
+ image: string | null;
32
+ favicon: string | null;
33
+ siteName: string | null;
34
+ }
27
35
  interface Reaction {
28
36
  type: string;
29
37
  count: number;
@@ -35,6 +43,7 @@ interface CommunityComment {
35
43
  parentId: string | null;
36
44
  content: string;
37
45
  images: string[];
46
+ link: CommunityPostLink | null;
38
47
  createdAt: Date;
39
48
  updatedAt: Date;
40
49
  author: CommentAuthor;
@@ -1887,6 +1896,7 @@ declare const v1Router: {
1887
1896
  parentId: zod.ZodOptional<zod.ZodString>;
1888
1897
  content: zod.ZodString;
1889
1898
  imageUrls: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1899
+ linkUrl: zod.ZodOptional<zod.ZodString>;
1890
1900
  }, better_auth.$strip>, _orpc_contract.Schema<{
1891
1901
  data: CommunityComment;
1892
1902
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framebreak/types",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Type definitions for the Framebreak API",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",