@framebreak/types 0.1.6 → 0.1.8
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.
- package/dist/index.d.ts +48 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ interface CommunityComment {
|
|
|
29
29
|
communityPostId: string;
|
|
30
30
|
parentId: string | null;
|
|
31
31
|
content: string;
|
|
32
|
+
images: string[];
|
|
32
33
|
createdAt: Date;
|
|
33
34
|
updatedAt: Date;
|
|
34
35
|
author: CommentAuthor;
|
|
@@ -1622,6 +1623,52 @@ declare const v1Router: {
|
|
|
1622
1623
|
}[];
|
|
1623
1624
|
};
|
|
1624
1625
|
}>, Record<never, never>, Record<never, never>>;
|
|
1626
|
+
uploadImages: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
1627
|
+
session: {
|
|
1628
|
+
id: string;
|
|
1629
|
+
createdAt: Date;
|
|
1630
|
+
updatedAt: Date;
|
|
1631
|
+
userId: string;
|
|
1632
|
+
expiresAt: Date;
|
|
1633
|
+
token: string;
|
|
1634
|
+
ipAddress?: string | null | undefined | undefined;
|
|
1635
|
+
userAgent?: string | null | undefined | undefined;
|
|
1636
|
+
};
|
|
1637
|
+
user: {
|
|
1638
|
+
id: string;
|
|
1639
|
+
createdAt: Date;
|
|
1640
|
+
updatedAt: Date;
|
|
1641
|
+
email: string;
|
|
1642
|
+
emailVerified: boolean;
|
|
1643
|
+
name: string;
|
|
1644
|
+
image?: string | null | undefined | undefined;
|
|
1645
|
+
onboardingCompleted: boolean | null | undefined;
|
|
1646
|
+
linkedinVerified: boolean | null | undefined;
|
|
1647
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
1648
|
+
linkedinId?: string | null | undefined;
|
|
1649
|
+
linkedinName?: string | null | undefined;
|
|
1650
|
+
username?: string | null | undefined;
|
|
1651
|
+
displayUsername?: string | null | undefined;
|
|
1652
|
+
};
|
|
1653
|
+
}>, zod.ZodObject<{
|
|
1654
|
+
images: zod.ZodArray<zod.ZodObject<{
|
|
1655
|
+
file: zod.ZodString;
|
|
1656
|
+
contentType: zod.ZodEnum<{
|
|
1657
|
+
"image/jpeg": "image/jpeg";
|
|
1658
|
+
"image/png": "image/png";
|
|
1659
|
+
"image/gif": "image/gif";
|
|
1660
|
+
"image/webp": "image/webp";
|
|
1661
|
+
}>;
|
|
1662
|
+
}, better_auth.$strip>>;
|
|
1663
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
1664
|
+
data: {
|
|
1665
|
+
urls: string[];
|
|
1666
|
+
};
|
|
1667
|
+
}, {
|
|
1668
|
+
data: {
|
|
1669
|
+
urls: string[];
|
|
1670
|
+
};
|
|
1671
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
1625
1672
|
likes: {
|
|
1626
1673
|
toggle: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
1627
1674
|
session: {
|
|
@@ -1770,6 +1817,7 @@ declare const v1Router: {
|
|
|
1770
1817
|
communityPostId: zod.ZodString;
|
|
1771
1818
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
1772
1819
|
content: zod.ZodString;
|
|
1820
|
+
imageUrls: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1773
1821
|
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
1774
1822
|
data: CommunityComment;
|
|
1775
1823
|
}, {
|