@framebreak/types 0.1.5 → 0.1.7
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 +53 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1578,6 +1578,50 @@ declare const v1Router: {
|
|
|
1578
1578
|
success: boolean;
|
|
1579
1579
|
};
|
|
1580
1580
|
}>, Record<never, never>, Record<never, never>>;
|
|
1581
|
+
getUploadTokens: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
1582
|
+
session: {
|
|
1583
|
+
id: string;
|
|
1584
|
+
createdAt: Date;
|
|
1585
|
+
updatedAt: Date;
|
|
1586
|
+
userId: string;
|
|
1587
|
+
expiresAt: Date;
|
|
1588
|
+
token: string;
|
|
1589
|
+
ipAddress?: string | null | undefined | undefined;
|
|
1590
|
+
userAgent?: string | null | undefined | undefined;
|
|
1591
|
+
};
|
|
1592
|
+
user: {
|
|
1593
|
+
id: string;
|
|
1594
|
+
createdAt: Date;
|
|
1595
|
+
updatedAt: Date;
|
|
1596
|
+
email: string;
|
|
1597
|
+
emailVerified: boolean;
|
|
1598
|
+
name: string;
|
|
1599
|
+
image?: string | null | undefined | undefined;
|
|
1600
|
+
onboardingCompleted: boolean | null | undefined;
|
|
1601
|
+
linkedinVerified: boolean | null | undefined;
|
|
1602
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
1603
|
+
linkedinId?: string | null | undefined;
|
|
1604
|
+
linkedinName?: string | null | undefined;
|
|
1605
|
+
username?: string | null | undefined;
|
|
1606
|
+
displayUsername?: string | null | undefined;
|
|
1607
|
+
};
|
|
1608
|
+
}>, zod.ZodObject<{
|
|
1609
|
+
count: zod.ZodNumber;
|
|
1610
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
1611
|
+
data: {
|
|
1612
|
+
uploads: {
|
|
1613
|
+
clientToken: string;
|
|
1614
|
+
pathname: string;
|
|
1615
|
+
}[];
|
|
1616
|
+
};
|
|
1617
|
+
}, {
|
|
1618
|
+
data: {
|
|
1619
|
+
uploads: {
|
|
1620
|
+
clientToken: string;
|
|
1621
|
+
pathname: string;
|
|
1622
|
+
}[];
|
|
1623
|
+
};
|
|
1624
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
1581
1625
|
uploadImages: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
1582
1626
|
session: {
|
|
1583
1627
|
id: string;
|
|
@@ -1606,7 +1650,15 @@ declare const v1Router: {
|
|
|
1606
1650
|
displayUsername?: string | null | undefined;
|
|
1607
1651
|
};
|
|
1608
1652
|
}>, zod.ZodObject<{
|
|
1609
|
-
|
|
1653
|
+
images: zod.ZodArray<zod.ZodObject<{
|
|
1654
|
+
file: zod.ZodString;
|
|
1655
|
+
contentType: zod.ZodEnum<{
|
|
1656
|
+
"image/jpeg": "image/jpeg";
|
|
1657
|
+
"image/png": "image/png";
|
|
1658
|
+
"image/gif": "image/gif";
|
|
1659
|
+
"image/webp": "image/webp";
|
|
1660
|
+
}>;
|
|
1661
|
+
}, better_auth.$strip>>;
|
|
1610
1662
|
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
1611
1663
|
data: {
|
|
1612
1664
|
urls: string[];
|