@framebreak/types 0.1.3 → 0.1.5

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 +47 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1228,6 +1228,7 @@ declare const v1Router: {
1228
1228
  data: {
1229
1229
  id: string;
1230
1230
  content: string;
1231
+ images: string[];
1231
1232
  link: {
1232
1233
  url: string;
1233
1234
  title: string | null;
@@ -1261,6 +1262,7 @@ declare const v1Router: {
1261
1262
  data: {
1262
1263
  id: string;
1263
1264
  content: string;
1265
+ images: string[];
1264
1266
  link: {
1265
1267
  url: string;
1266
1268
  title: string | null;
@@ -1324,6 +1326,7 @@ declare const v1Router: {
1324
1326
  data: {
1325
1327
  id: string;
1326
1328
  content: string;
1329
+ images: string[];
1327
1330
  link: {
1328
1331
  url: string;
1329
1332
  title: string | null;
@@ -1352,6 +1355,7 @@ declare const v1Router: {
1352
1355
  data: {
1353
1356
  id: string;
1354
1357
  content: string;
1358
+ images: string[];
1355
1359
  link: {
1356
1360
  url: string;
1357
1361
  title: string | null;
@@ -1407,10 +1411,12 @@ declare const v1Router: {
1407
1411
  }>, zod.ZodObject<{
1408
1412
  content: zod.ZodString;
1409
1413
  linkUrl: zod.ZodOptional<zod.ZodString>;
1414
+ imageUrls: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1410
1415
  }, better_auth.$strip>, _orpc_contract.Schema<{
1411
1416
  data: {
1412
1417
  id: string;
1413
1418
  content: string;
1419
+ images: string[];
1414
1420
  link: {
1415
1421
  url: string;
1416
1422
  title: string | null;
@@ -1434,11 +1440,13 @@ declare const v1Router: {
1434
1440
  commentsCount: number;
1435
1441
  isLiked: boolean;
1436
1442
  };
1443
+ replyAvatars: never[];
1437
1444
  };
1438
1445
  }, {
1439
1446
  data: {
1440
1447
  id: string;
1441
1448
  content: string;
1449
+ images: string[];
1442
1450
  link: {
1443
1451
  url: string;
1444
1452
  title: string | null;
@@ -1462,6 +1470,7 @@ declare const v1Router: {
1462
1470
  commentsCount: number;
1463
1471
  isLiked: boolean;
1464
1472
  };
1473
+ replyAvatars: never[];
1465
1474
  };
1466
1475
  }>, Record<never, never>, Record<never, never>>;
1467
1476
  update: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
@@ -1569,6 +1578,44 @@ declare const v1Router: {
1569
1578
  success: boolean;
1570
1579
  };
1571
1580
  }>, Record<never, never>, Record<never, never>>;
1581
+ uploadImages: _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
+ files: zod.ZodArray<zod.ZodCustom<Blob, Blob>>;
1610
+ }, better_auth.$strip>, _orpc_contract.Schema<{
1611
+ data: {
1612
+ urls: string[];
1613
+ };
1614
+ }, {
1615
+ data: {
1616
+ urls: string[];
1617
+ };
1618
+ }>, Record<never, never>, Record<never, never>>;
1572
1619
  likes: {
1573
1620
  toggle: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
1574
1621
  session: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framebreak/types",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Type definitions for the Framebreak API",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",