@framebreak/types 0.1.31 → 0.1.33

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 +39 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -226,10 +226,28 @@ interface NotificationActor {
226
226
  linkedinVerified: boolean | null;
227
227
  }
228
228
  /**
229
- * Notification with actor information for display.
229
+ * Post information for notification display.
230
+ */
231
+ interface NotificationPost {
232
+ id: string;
233
+ title: string;
234
+ slug: string;
235
+ thumbnailUrl: string | null;
236
+ }
237
+ /**
238
+ * Thread (community post) information for notification display.
239
+ */
240
+ interface NotificationThread {
241
+ id: string;
242
+ contentPreview: string;
243
+ }
244
+ /**
245
+ * Notification with actor, post, and thread information for display.
230
246
  */
231
247
  interface NotificationWithActor extends Notification {
232
248
  actor: NotificationActor | null;
249
+ post: NotificationPost | null;
250
+ thread: NotificationThread | null;
233
251
  }
234
252
 
235
253
  /**
@@ -7791,6 +7809,16 @@ declare const v1Router: {
7791
7809
  displayUsername: string | null;
7792
7810
  image: string | null;
7793
7811
  } | null;
7812
+ post?: {
7813
+ id: string;
7814
+ title: string;
7815
+ slug: string;
7816
+ thumbnailUrl: string | null;
7817
+ } | null;
7818
+ thread?: {
7819
+ id: string;
7820
+ contentPreview: string;
7821
+ } | null;
7794
7822
  }, void, unknown>, AsyncGenerator<{
7795
7823
  id: string;
7796
7824
  createdAt: Date;
@@ -7815,6 +7843,16 @@ declare const v1Router: {
7815
7843
  displayUsername: string | null;
7816
7844
  image: string | null;
7817
7845
  } | null;
7846
+ post?: {
7847
+ id: string;
7848
+ title: string;
7849
+ slug: string;
7850
+ thumbnailUrl: string | null;
7851
+ } | null;
7852
+ thread?: {
7853
+ id: string;
7854
+ contentPreview: string;
7855
+ } | null;
7818
7856
  }, void, unknown>>, _orpc_contract.MergedErrorMap<Record<never, never>, {
7819
7857
  readonly UNAUTHORIZED: {
7820
7858
  readonly message: "You must be logged in to access this resource";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framebreak/types",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Type definitions for the Framebreak API",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",