@framebreak/types 0.1.35 → 0.1.36

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 +87 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -248,6 +248,8 @@ interface NotificationWithActor extends Notification {
248
248
  actor: NotificationActor | null;
249
249
  post: NotificationPost | null;
250
250
  thread: NotificationThread | null;
251
+ groupKey?: string | null;
252
+ groupCount?: number | null;
251
253
  }
252
254
 
253
255
  /**
@@ -7874,6 +7876,87 @@ declare const v1Router: {
7874
7876
  readonly message: "An internal server error occurred";
7875
7877
  };
7876
7878
  }>, Record<never, never>>;
7879
+ markGroupRead: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
7880
+ session: {
7881
+ id: string;
7882
+ createdAt: Date;
7883
+ updatedAt: Date;
7884
+ userId: string;
7885
+ expiresAt: Date;
7886
+ token: string;
7887
+ ipAddress?: string | null | undefined | undefined;
7888
+ userAgent?: string | null | undefined | undefined;
7889
+ impersonatedBy?: string | null | undefined;
7890
+ };
7891
+ user: {
7892
+ id: string;
7893
+ createdAt: Date;
7894
+ updatedAt: Date;
7895
+ email: string;
7896
+ emailVerified: boolean;
7897
+ name: string;
7898
+ image?: string | null | undefined | undefined;
7899
+ onboardingCompleted: boolean | null | undefined;
7900
+ linkedinVerified: boolean | null | undefined;
7901
+ linkedinVerifiedAt?: Date | null | undefined;
7902
+ linkedinId?: string | null | undefined;
7903
+ linkedinName?: string | null | undefined;
7904
+ banned: boolean | null | undefined;
7905
+ role?: string | null | undefined;
7906
+ banReason?: string | null | undefined;
7907
+ banExpires?: Date | null | undefined;
7908
+ username?: string | null | undefined;
7909
+ displayUsername?: string | null | undefined;
7910
+ };
7911
+ }>, zod.ZodObject<{
7912
+ type: zod.ZodEnum<{
7913
+ post_like: "post_like";
7914
+ reaction: "reaction";
7915
+ }>;
7916
+ sourceType: zod.ZodEnum<{
7917
+ post: "post";
7918
+ comment: "comment";
7919
+ community_post: "community_post";
7920
+ note: "note";
7921
+ note_comment: "note_comment";
7922
+ community_comment: "community_comment";
7923
+ }>;
7924
+ sourceId: zod.ZodString;
7925
+ }, better_auth.$strip>, _orpc_contract.Schema<{
7926
+ data: {
7927
+ markedCount: number;
7928
+ };
7929
+ }, {
7930
+ data: {
7931
+ markedCount: number;
7932
+ };
7933
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
7934
+ readonly UNAUTHORIZED: {
7935
+ readonly message: "You must be logged in to access this resource";
7936
+ };
7937
+ readonly FORBIDDEN: {
7938
+ readonly message: "You do not have permission to access this resource";
7939
+ };
7940
+ readonly NOT_FOUND: {
7941
+ readonly message: "The requested resource was not found";
7942
+ };
7943
+ readonly BAD_REQUEST: {
7944
+ readonly message: "Invalid request";
7945
+ readonly data: zod.ZodOptional<zod.ZodObject<{
7946
+ issues: zod.ZodArray<zod.ZodObject<{
7947
+ code: zod.ZodString;
7948
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
7949
+ message: zod.ZodString;
7950
+ }, better_auth.$loose>>;
7951
+ }, better_auth.$strip>>;
7952
+ };
7953
+ readonly CONFLICT: {
7954
+ readonly message: "The request conflicts with existing data";
7955
+ };
7956
+ readonly INTERNAL_SERVER_ERROR: {
7957
+ readonly message: "An internal server error occurred";
7958
+ };
7959
+ }>, Record<never, never>>;
7877
7960
  markAllRead: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
7878
7961
  session: {
7879
7962
  id: string;
@@ -8007,6 +8090,8 @@ declare const v1Router: {
8007
8090
  id: string;
8008
8091
  contentPreview: string;
8009
8092
  } | null;
8093
+ groupKey?: string | null;
8094
+ groupCount?: number | null;
8010
8095
  }, void, unknown>, AsyncGenerator<{
8011
8096
  id: string;
8012
8097
  createdAt: Date;
@@ -8041,6 +8126,8 @@ declare const v1Router: {
8041
8126
  id: string;
8042
8127
  contentPreview: string;
8043
8128
  } | null;
8129
+ groupKey?: string | null;
8130
+ groupCount?: number | null;
8044
8131
  }, void, unknown>>, _orpc_contract.MergedErrorMap<Record<never, never>, {
8045
8132
  readonly UNAUTHORIZED: {
8046
8133
  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.35",
3
+ "version": "0.1.36",
4
4
  "description": "Type definitions for the Framebreak API",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",