@framebreak/types 0.1.17 → 0.1.19

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 +978 -79
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4,6 +4,36 @@ import * as zod from 'zod';
4
4
  import * as _orpc_contract from '@orpc/contract';
5
5
  import { LoggerContext } from '@orpc/experimental-pino';
6
6
 
7
+ /**
8
+ * Base context that accepts headers for authentication.
9
+ * This is the foundation for all ORPC procedures.
10
+ */
11
+ interface BaseContext extends LoggerContext {
12
+ headers: Headers;
13
+ }
14
+
15
+ interface NoteCommentAuthor {
16
+ id: string;
17
+ name: string;
18
+ username: string | null;
19
+ displayUsername: string | null;
20
+ image: string | null;
21
+ linkedinVerified: boolean | null;
22
+ }
23
+ interface NoteComment {
24
+ id: string;
25
+ noteId: string;
26
+ parentId: string | null;
27
+ content: string;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ author: NoteCommentAuthor;
31
+ likesCount: number;
32
+ isLiked: boolean;
33
+ replies?: NoteComment[];
34
+ hidden?: boolean;
35
+ }
36
+
7
37
  type InsiderApplicationStatus = "pending" | "approved" | "rejected";
8
38
 
9
39
  interface CommentAuthor {
@@ -25,6 +55,7 @@ interface Comment {
25
55
  likesCount: number;
26
56
  isLiked: boolean;
27
57
  replies?: Comment[];
58
+ hidden?: boolean;
28
59
  }
29
60
  interface CommunityPostLink {
30
61
  url: string;
@@ -53,14 +84,7 @@ interface CommunityComment {
53
84
  isLiked: boolean;
54
85
  reactions: Reaction[];
55
86
  replies?: CommunityComment[];
56
- }
57
-
58
- /**
59
- * Base context that accepts headers for authentication.
60
- * This is the foundation for all ORPC procedures.
61
- */
62
- interface BaseContext extends LoggerContext {
63
- headers: Headers;
87
+ hidden?: boolean;
64
88
  }
65
89
 
66
90
  /**
@@ -4025,6 +4049,11 @@ declare const v1Router: {
4025
4049
  linkedinVerified: boolean | null;
4026
4050
  };
4027
4051
  isOwner: boolean;
4052
+ engagement: {
4053
+ likesCount: number;
4054
+ commentsCount: number;
4055
+ isLiked: boolean;
4056
+ };
4028
4057
  }[];
4029
4058
  pagination: {
4030
4059
  nextCursor: string | null;
@@ -4051,6 +4080,11 @@ declare const v1Router: {
4051
4080
  linkedinVerified: boolean | null;
4052
4081
  };
4053
4082
  isOwner: boolean;
4083
+ engagement: {
4084
+ likesCount: number;
4085
+ commentsCount: number;
4086
+ isLiked: boolean;
4087
+ };
4054
4088
  }[];
4055
4089
  pagination: {
4056
4090
  nextCursor: string | null;
@@ -4083,6 +4117,121 @@ declare const v1Router: {
4083
4117
  readonly message: "An internal server error occurred";
4084
4118
  };
4085
4119
  }>, Record<never, never>>;
4120
+ get: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4121
+ session: {
4122
+ id: string;
4123
+ createdAt: Date;
4124
+ updatedAt: Date;
4125
+ userId: string;
4126
+ expiresAt: Date;
4127
+ token: string;
4128
+ ipAddress?: string | null | undefined | undefined;
4129
+ userAgent?: string | null | undefined | undefined;
4130
+ impersonatedBy?: string | null | undefined;
4131
+ };
4132
+ user: {
4133
+ id: string;
4134
+ createdAt: Date;
4135
+ updatedAt: Date;
4136
+ email: string;
4137
+ emailVerified: boolean;
4138
+ name: string;
4139
+ image?: string | null | undefined | undefined;
4140
+ onboardingCompleted: boolean | null | undefined;
4141
+ linkedinVerified: boolean | null | undefined;
4142
+ linkedinVerifiedAt?: Date | null | undefined;
4143
+ linkedinId?: string | null | undefined;
4144
+ linkedinName?: string | null | undefined;
4145
+ banned: boolean | null | undefined;
4146
+ role?: string | null | undefined;
4147
+ banReason?: string | null | undefined;
4148
+ banExpires?: Date | null | undefined;
4149
+ username?: string | null | undefined;
4150
+ displayUsername?: string | null | undefined;
4151
+ };
4152
+ }>, zod.ZodObject<{
4153
+ id: zod.ZodString;
4154
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4155
+ data: {
4156
+ id: string;
4157
+ content: string;
4158
+ link: {
4159
+ url: string;
4160
+ title: string | null;
4161
+ description: string | null;
4162
+ image: string | null;
4163
+ } | null;
4164
+ createdAt: Date;
4165
+ updatedAt: Date;
4166
+ author: {
4167
+ id: string;
4168
+ name: string;
4169
+ username: string | null;
4170
+ displayUsername: string | null;
4171
+ image: string | null;
4172
+ linkedinVerified: boolean | null;
4173
+ };
4174
+ isOwner: boolean;
4175
+ engagement: {
4176
+ likesCount: number;
4177
+ commentsCount: number;
4178
+ isLiked: boolean;
4179
+ };
4180
+ };
4181
+ }, {
4182
+ data: {
4183
+ id: string;
4184
+ content: string;
4185
+ link: {
4186
+ url: string;
4187
+ title: string | null;
4188
+ description: string | null;
4189
+ image: string | null;
4190
+ } | null;
4191
+ createdAt: Date;
4192
+ updatedAt: Date;
4193
+ author: {
4194
+ id: string;
4195
+ name: string;
4196
+ username: string | null;
4197
+ displayUsername: string | null;
4198
+ image: string | null;
4199
+ linkedinVerified: boolean | null;
4200
+ };
4201
+ isOwner: boolean;
4202
+ engagement: {
4203
+ likesCount: number;
4204
+ commentsCount: number;
4205
+ isLiked: boolean;
4206
+ };
4207
+ };
4208
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4209
+ readonly UNAUTHORIZED: {
4210
+ readonly message: "You must be logged in to access this resource";
4211
+ };
4212
+ readonly FORBIDDEN: {
4213
+ readonly message: "You do not have permission to access this resource";
4214
+ };
4215
+ readonly NOT_FOUND: {
4216
+ readonly message: "The requested resource was not found";
4217
+ };
4218
+ readonly BAD_REQUEST: {
4219
+ readonly message: "Invalid request";
4220
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4221
+ issues: zod.ZodArray<zod.ZodObject<{
4222
+ code: zod.ZodString;
4223
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4224
+ message: zod.ZodString;
4225
+ }, better_auth.$loose>>;
4226
+ }, better_auth.$strip>>;
4227
+ };
4228
+ readonly CONFLICT: {
4229
+ readonly message: "The request conflicts with existing data";
4230
+ };
4231
+ readonly INTERNAL_SERVER_ERROR: {
4232
+ readonly message: "An internal server error occurred";
4233
+ };
4234
+ }>, Record<never, never>>;
4086
4235
  create: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4087
4236
  session: {
4088
4237
  id: string;
@@ -4139,6 +4288,11 @@ declare const v1Router: {
4139
4288
  linkedinVerified: boolean | null;
4140
4289
  };
4141
4290
  isOwner: boolean;
4291
+ engagement: {
4292
+ likesCount: number;
4293
+ commentsCount: number;
4294
+ isLiked: boolean;
4295
+ };
4142
4296
  };
4143
4297
  }, {
4144
4298
  data: {
@@ -4161,6 +4315,11 @@ declare const v1Router: {
4161
4315
  linkedinVerified: boolean | null;
4162
4316
  };
4163
4317
  isOwner: boolean;
4318
+ engagement: {
4319
+ likesCount: number;
4320
+ commentsCount: number;
4321
+ isLiked: boolean;
4322
+ };
4164
4323
  };
4165
4324
  }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4166
4325
  readonly UNAUTHORIZED: {
@@ -4258,14 +4417,8 @@ declare const v1Router: {
4258
4417
  readonly message: "An internal server error occurred";
4259
4418
  };
4260
4419
  }>, Record<never, never>>;
4261
- };
4262
- /**
4263
- * Admin endpoints - requires admin role.
4264
- * Used for user management and application review from the admin dashboard.
4265
- */
4266
- admin: {
4267
- insiderApplications: {
4268
- list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4420
+ likes: {
4421
+ toggle: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4269
4422
  session: {
4270
4423
  id: string;
4271
4424
  createdAt: Date;
@@ -4298,55 +4451,15 @@ declare const v1Router: {
4298
4451
  displayUsername?: string | null | undefined;
4299
4452
  };
4300
4453
  }>, zod.ZodObject<{
4301
- status: zod.ZodOptional<zod.ZodEnum<{
4302
- pending: "pending";
4303
- approved: "approved";
4304
- rejected: "rejected";
4305
- }>>;
4306
- limit: zod.ZodDefault<zod.ZodNumber>;
4307
- offset: zod.ZodDefault<zod.ZodNumber>;
4454
+ noteId: zod.ZodString;
4308
4455
  }, better_auth.$strip>, _orpc_contract.Schema<{
4309
4456
  data: {
4310
- id: string;
4311
- userId: string;
4312
- reason: string | null;
4313
- linkedinUrl: string | null;
4314
- status: InsiderApplicationStatus | null;
4315
- createdAt: Date;
4316
- reviewedAt: Date | null;
4317
- user: {
4318
- id: string;
4319
- name: string;
4320
- email: string;
4321
- username: string | null;
4322
- image: string | null;
4323
- linkedinVerified: boolean | null;
4324
- };
4325
- }[];
4326
- total: number;
4327
- limit: number;
4328
- offset: number;
4457
+ isLiked: boolean;
4458
+ };
4329
4459
  }, {
4330
4460
  data: {
4331
- id: string;
4332
- userId: string;
4333
- reason: string | null;
4334
- linkedinUrl: string | null;
4335
- status: InsiderApplicationStatus | null;
4336
- createdAt: Date;
4337
- reviewedAt: Date | null;
4338
- user: {
4339
- id: string;
4340
- name: string;
4341
- email: string;
4342
- username: string | null;
4343
- image: string | null;
4344
- linkedinVerified: boolean | null;
4345
- };
4346
- }[];
4347
- total: number;
4348
- limit: number;
4349
- offset: number;
4461
+ isLiked: boolean;
4462
+ };
4350
4463
  }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4351
4464
  readonly UNAUTHORIZED: {
4352
4465
  readonly message: "You must be logged in to access this resource";
@@ -4374,7 +4487,7 @@ declare const v1Router: {
4374
4487
  readonly message: "An internal server error occurred";
4375
4488
  };
4376
4489
  }>, Record<never, never>>;
4377
- counts: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4490
+ status: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4378
4491
  session: {
4379
4492
  id: string;
4380
4493
  createdAt: Date;
@@ -4406,19 +4519,17 @@ declare const v1Router: {
4406
4519
  username?: string | null | undefined;
4407
4520
  displayUsername?: string | null | undefined;
4408
4521
  };
4409
- }>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
4522
+ }>, zod.ZodObject<{
4523
+ noteId: zod.ZodString;
4524
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4410
4525
  data: {
4411
- total: number;
4412
- pending: number;
4413
- approved: number;
4414
- rejected: number;
4526
+ likesCount: number;
4527
+ isLiked: boolean;
4415
4528
  };
4416
4529
  }, {
4417
4530
  data: {
4418
- total: number;
4419
- pending: number;
4420
- approved: number;
4421
- rejected: number;
4531
+ likesCount: number;
4532
+ isLiked: boolean;
4422
4533
  };
4423
4534
  }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4424
4535
  readonly UNAUTHORIZED: {
@@ -4447,7 +4558,9 @@ declare const v1Router: {
4447
4558
  readonly message: "An internal server error occurred";
4448
4559
  };
4449
4560
  }>, Record<never, never>>;
4450
- approve: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4561
+ };
4562
+ comments: {
4563
+ list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4451
4564
  session: {
4452
4565
  id: string;
4453
4566
  createdAt: Date;
@@ -4480,14 +4593,627 @@ declare const v1Router: {
4480
4593
  displayUsername?: string | null | undefined;
4481
4594
  };
4482
4595
  }>, zod.ZodObject<{
4483
- applicationId: zod.ZodString;
4596
+ noteId: zod.ZodString;
4597
+ cursor: zod.ZodOptional<zod.ZodString>;
4598
+ limit: zod.ZodDefault<zod.ZodNumber>;
4599
+ sort: zod.ZodDefault<zod.ZodEnum<{
4600
+ newest: "newest";
4601
+ oldest: "oldest";
4602
+ }>>;
4484
4603
  }, better_auth.$strip>, _orpc_contract.Schema<{
4485
- data: {
4486
- success: boolean;
4487
- applicationId: string;
4488
- userId: string;
4489
- email: string;
4490
- };
4604
+ data: NoteComment[];
4605
+ count: number;
4606
+ pagination: {
4607
+ hasMore: boolean;
4608
+ nextCursor: string | undefined;
4609
+ };
4610
+ }, {
4611
+ data: NoteComment[];
4612
+ count: number;
4613
+ pagination: {
4614
+ hasMore: boolean;
4615
+ nextCursor: string | undefined;
4616
+ };
4617
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4618
+ readonly UNAUTHORIZED: {
4619
+ readonly message: "You must be logged in to access this resource";
4620
+ };
4621
+ readonly FORBIDDEN: {
4622
+ readonly message: "You do not have permission to access this resource";
4623
+ };
4624
+ readonly NOT_FOUND: {
4625
+ readonly message: "The requested resource was not found";
4626
+ };
4627
+ readonly BAD_REQUEST: {
4628
+ readonly message: "Invalid request";
4629
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4630
+ issues: zod.ZodArray<zod.ZodObject<{
4631
+ code: zod.ZodString;
4632
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4633
+ message: zod.ZodString;
4634
+ }, better_auth.$loose>>;
4635
+ }, better_auth.$strip>>;
4636
+ };
4637
+ readonly CONFLICT: {
4638
+ readonly message: "The request conflicts with existing data";
4639
+ };
4640
+ readonly INTERNAL_SERVER_ERROR: {
4641
+ readonly message: "An internal server error occurred";
4642
+ };
4643
+ }>, Record<never, never>>;
4644
+ create: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4645
+ session: {
4646
+ id: string;
4647
+ createdAt: Date;
4648
+ updatedAt: Date;
4649
+ userId: string;
4650
+ expiresAt: Date;
4651
+ token: string;
4652
+ ipAddress?: string | null | undefined | undefined;
4653
+ userAgent?: string | null | undefined | undefined;
4654
+ impersonatedBy?: string | null | undefined;
4655
+ };
4656
+ user: {
4657
+ id: string;
4658
+ createdAt: Date;
4659
+ updatedAt: Date;
4660
+ email: string;
4661
+ emailVerified: boolean;
4662
+ name: string;
4663
+ image?: string | null | undefined | undefined;
4664
+ onboardingCompleted: boolean | null | undefined;
4665
+ linkedinVerified: boolean | null | undefined;
4666
+ linkedinVerifiedAt?: Date | null | undefined;
4667
+ linkedinId?: string | null | undefined;
4668
+ linkedinName?: string | null | undefined;
4669
+ banned: boolean | null | undefined;
4670
+ role?: string | null | undefined;
4671
+ banReason?: string | null | undefined;
4672
+ banExpires?: Date | null | undefined;
4673
+ username?: string | null | undefined;
4674
+ displayUsername?: string | null | undefined;
4675
+ };
4676
+ }>, zod.ZodObject<{
4677
+ noteId: zod.ZodString;
4678
+ parentId: zod.ZodOptional<zod.ZodString>;
4679
+ content: zod.ZodString;
4680
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4681
+ data: NoteComment;
4682
+ }, {
4683
+ data: NoteComment;
4684
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4685
+ readonly UNAUTHORIZED: {
4686
+ readonly message: "You must be logged in to access this resource";
4687
+ };
4688
+ readonly FORBIDDEN: {
4689
+ readonly message: "You do not have permission to access this resource";
4690
+ };
4691
+ readonly NOT_FOUND: {
4692
+ readonly message: "The requested resource was not found";
4693
+ };
4694
+ readonly BAD_REQUEST: {
4695
+ readonly message: "Invalid request";
4696
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4697
+ issues: zod.ZodArray<zod.ZodObject<{
4698
+ code: zod.ZodString;
4699
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4700
+ message: zod.ZodString;
4701
+ }, better_auth.$loose>>;
4702
+ }, better_auth.$strip>>;
4703
+ };
4704
+ readonly CONFLICT: {
4705
+ readonly message: "The request conflicts with existing data";
4706
+ };
4707
+ readonly INTERNAL_SERVER_ERROR: {
4708
+ readonly message: "An internal server error occurred";
4709
+ };
4710
+ }>, Record<never, never>>;
4711
+ update: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4712
+ session: {
4713
+ id: string;
4714
+ createdAt: Date;
4715
+ updatedAt: Date;
4716
+ userId: string;
4717
+ expiresAt: Date;
4718
+ token: string;
4719
+ ipAddress?: string | null | undefined | undefined;
4720
+ userAgent?: string | null | undefined | undefined;
4721
+ impersonatedBy?: string | null | undefined;
4722
+ };
4723
+ user: {
4724
+ id: string;
4725
+ createdAt: Date;
4726
+ updatedAt: Date;
4727
+ email: string;
4728
+ emailVerified: boolean;
4729
+ name: string;
4730
+ image?: string | null | undefined | undefined;
4731
+ onboardingCompleted: boolean | null | undefined;
4732
+ linkedinVerified: boolean | null | undefined;
4733
+ linkedinVerifiedAt?: Date | null | undefined;
4734
+ linkedinId?: string | null | undefined;
4735
+ linkedinName?: string | null | undefined;
4736
+ banned: boolean | null | undefined;
4737
+ role?: string | null | undefined;
4738
+ banReason?: string | null | undefined;
4739
+ banExpires?: Date | null | undefined;
4740
+ username?: string | null | undefined;
4741
+ displayUsername?: string | null | undefined;
4742
+ };
4743
+ }>, zod.ZodObject<{
4744
+ id: zod.ZodString;
4745
+ content: zod.ZodString;
4746
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4747
+ data: NoteComment;
4748
+ }, {
4749
+ data: NoteComment;
4750
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4751
+ readonly UNAUTHORIZED: {
4752
+ readonly message: "You must be logged in to access this resource";
4753
+ };
4754
+ readonly FORBIDDEN: {
4755
+ readonly message: "You do not have permission to access this resource";
4756
+ };
4757
+ readonly NOT_FOUND: {
4758
+ readonly message: "The requested resource was not found";
4759
+ };
4760
+ readonly BAD_REQUEST: {
4761
+ readonly message: "Invalid request";
4762
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4763
+ issues: zod.ZodArray<zod.ZodObject<{
4764
+ code: zod.ZodString;
4765
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4766
+ message: zod.ZodString;
4767
+ }, better_auth.$loose>>;
4768
+ }, better_auth.$strip>>;
4769
+ };
4770
+ readonly CONFLICT: {
4771
+ readonly message: "The request conflicts with existing data";
4772
+ };
4773
+ readonly INTERNAL_SERVER_ERROR: {
4774
+ readonly message: "An internal server error occurred";
4775
+ };
4776
+ }>, Record<never, never>>;
4777
+ delete: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4778
+ session: {
4779
+ id: string;
4780
+ createdAt: Date;
4781
+ updatedAt: Date;
4782
+ userId: string;
4783
+ expiresAt: Date;
4784
+ token: string;
4785
+ ipAddress?: string | null | undefined | undefined;
4786
+ userAgent?: string | null | undefined | undefined;
4787
+ impersonatedBy?: string | null | undefined;
4788
+ };
4789
+ user: {
4790
+ id: string;
4791
+ createdAt: Date;
4792
+ updatedAt: Date;
4793
+ email: string;
4794
+ emailVerified: boolean;
4795
+ name: string;
4796
+ image?: string | null | undefined | undefined;
4797
+ onboardingCompleted: boolean | null | undefined;
4798
+ linkedinVerified: boolean | null | undefined;
4799
+ linkedinVerifiedAt?: Date | null | undefined;
4800
+ linkedinId?: string | null | undefined;
4801
+ linkedinName?: string | null | undefined;
4802
+ banned: boolean | null | undefined;
4803
+ role?: string | null | undefined;
4804
+ banReason?: string | null | undefined;
4805
+ banExpires?: Date | null | undefined;
4806
+ username?: string | null | undefined;
4807
+ displayUsername?: string | null | undefined;
4808
+ };
4809
+ }>, zod.ZodObject<{
4810
+ id: zod.ZodString;
4811
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4812
+ data: {
4813
+ success: boolean;
4814
+ };
4815
+ }, {
4816
+ data: {
4817
+ success: boolean;
4818
+ };
4819
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4820
+ readonly UNAUTHORIZED: {
4821
+ readonly message: "You must be logged in to access this resource";
4822
+ };
4823
+ readonly FORBIDDEN: {
4824
+ readonly message: "You do not have permission to access this resource";
4825
+ };
4826
+ readonly NOT_FOUND: {
4827
+ readonly message: "The requested resource was not found";
4828
+ };
4829
+ readonly BAD_REQUEST: {
4830
+ readonly message: "Invalid request";
4831
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4832
+ issues: zod.ZodArray<zod.ZodObject<{
4833
+ code: zod.ZodString;
4834
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4835
+ message: zod.ZodString;
4836
+ }, better_auth.$loose>>;
4837
+ }, better_auth.$strip>>;
4838
+ };
4839
+ readonly CONFLICT: {
4840
+ readonly message: "The request conflicts with existing data";
4841
+ };
4842
+ readonly INTERNAL_SERVER_ERROR: {
4843
+ readonly message: "An internal server error occurred";
4844
+ };
4845
+ }>, Record<never, never>>;
4846
+ count: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4847
+ session: {
4848
+ id: string;
4849
+ createdAt: Date;
4850
+ updatedAt: Date;
4851
+ userId: string;
4852
+ expiresAt: Date;
4853
+ token: string;
4854
+ ipAddress?: string | null | undefined | undefined;
4855
+ userAgent?: string | null | undefined | undefined;
4856
+ impersonatedBy?: string | null | undefined;
4857
+ };
4858
+ user: {
4859
+ id: string;
4860
+ createdAt: Date;
4861
+ updatedAt: Date;
4862
+ email: string;
4863
+ emailVerified: boolean;
4864
+ name: string;
4865
+ image?: string | null | undefined | undefined;
4866
+ onboardingCompleted: boolean | null | undefined;
4867
+ linkedinVerified: boolean | null | undefined;
4868
+ linkedinVerifiedAt?: Date | null | undefined;
4869
+ linkedinId?: string | null | undefined;
4870
+ linkedinName?: string | null | undefined;
4871
+ banned: boolean | null | undefined;
4872
+ role?: string | null | undefined;
4873
+ banReason?: string | null | undefined;
4874
+ banExpires?: Date | null | undefined;
4875
+ username?: string | null | undefined;
4876
+ displayUsername?: string | null | undefined;
4877
+ };
4878
+ }>, zod.ZodObject<{
4879
+ noteId: zod.ZodString;
4880
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4881
+ data: {
4882
+ count: number;
4883
+ };
4884
+ }, {
4885
+ data: {
4886
+ count: number;
4887
+ };
4888
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4889
+ readonly UNAUTHORIZED: {
4890
+ readonly message: "You must be logged in to access this resource";
4891
+ };
4892
+ readonly FORBIDDEN: {
4893
+ readonly message: "You do not have permission to access this resource";
4894
+ };
4895
+ readonly NOT_FOUND: {
4896
+ readonly message: "The requested resource was not found";
4897
+ };
4898
+ readonly BAD_REQUEST: {
4899
+ readonly message: "Invalid request";
4900
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4901
+ issues: zod.ZodArray<zod.ZodObject<{
4902
+ code: zod.ZodString;
4903
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4904
+ message: zod.ZodString;
4905
+ }, better_auth.$loose>>;
4906
+ }, better_auth.$strip>>;
4907
+ };
4908
+ readonly CONFLICT: {
4909
+ readonly message: "The request conflicts with existing data";
4910
+ };
4911
+ readonly INTERNAL_SERVER_ERROR: {
4912
+ readonly message: "An internal server error occurred";
4913
+ };
4914
+ }>, Record<never, never>>;
4915
+ likes: {
4916
+ toggle: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4917
+ session: {
4918
+ id: string;
4919
+ createdAt: Date;
4920
+ updatedAt: Date;
4921
+ userId: string;
4922
+ expiresAt: Date;
4923
+ token: string;
4924
+ ipAddress?: string | null | undefined | undefined;
4925
+ userAgent?: string | null | undefined | undefined;
4926
+ impersonatedBy?: string | null | undefined;
4927
+ };
4928
+ user: {
4929
+ id: string;
4930
+ createdAt: Date;
4931
+ updatedAt: Date;
4932
+ email: string;
4933
+ emailVerified: boolean;
4934
+ name: string;
4935
+ image?: string | null | undefined | undefined;
4936
+ onboardingCompleted: boolean | null | undefined;
4937
+ linkedinVerified: boolean | null | undefined;
4938
+ linkedinVerifiedAt?: Date | null | undefined;
4939
+ linkedinId?: string | null | undefined;
4940
+ linkedinName?: string | null | undefined;
4941
+ banned: boolean | null | undefined;
4942
+ role?: string | null | undefined;
4943
+ banReason?: string | null | undefined;
4944
+ banExpires?: Date | null | undefined;
4945
+ username?: string | null | undefined;
4946
+ displayUsername?: string | null | undefined;
4947
+ };
4948
+ }>, zod.ZodObject<{
4949
+ commentId: zod.ZodString;
4950
+ }, better_auth.$strip>, _orpc_contract.Schema<{
4951
+ data: {
4952
+ isLiked: boolean;
4953
+ };
4954
+ }, {
4955
+ data: {
4956
+ isLiked: boolean;
4957
+ };
4958
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
4959
+ readonly UNAUTHORIZED: {
4960
+ readonly message: "You must be logged in to access this resource";
4961
+ };
4962
+ readonly FORBIDDEN: {
4963
+ readonly message: "You do not have permission to access this resource";
4964
+ };
4965
+ readonly NOT_FOUND: {
4966
+ readonly message: "The requested resource was not found";
4967
+ };
4968
+ readonly BAD_REQUEST: {
4969
+ readonly message: "Invalid request";
4970
+ readonly data: zod.ZodOptional<zod.ZodObject<{
4971
+ issues: zod.ZodArray<zod.ZodObject<{
4972
+ code: zod.ZodString;
4973
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
4974
+ message: zod.ZodString;
4975
+ }, better_auth.$loose>>;
4976
+ }, better_auth.$strip>>;
4977
+ };
4978
+ readonly CONFLICT: {
4979
+ readonly message: "The request conflicts with existing data";
4980
+ };
4981
+ readonly INTERNAL_SERVER_ERROR: {
4982
+ readonly message: "An internal server error occurred";
4983
+ };
4984
+ }>, Record<never, never>>;
4985
+ };
4986
+ };
4987
+ };
4988
+ /**
4989
+ * Admin endpoints - requires admin role.
4990
+ * Used for user management and application review from the admin dashboard.
4991
+ */
4992
+ admin: {
4993
+ insiderApplications: {
4994
+ list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
4995
+ session: {
4996
+ id: string;
4997
+ createdAt: Date;
4998
+ updatedAt: Date;
4999
+ userId: string;
5000
+ expiresAt: Date;
5001
+ token: string;
5002
+ ipAddress?: string | null | undefined | undefined;
5003
+ userAgent?: string | null | undefined | undefined;
5004
+ impersonatedBy?: string | null | undefined;
5005
+ };
5006
+ user: {
5007
+ id: string;
5008
+ createdAt: Date;
5009
+ updatedAt: Date;
5010
+ email: string;
5011
+ emailVerified: boolean;
5012
+ name: string;
5013
+ image?: string | null | undefined | undefined;
5014
+ onboardingCompleted: boolean | null | undefined;
5015
+ linkedinVerified: boolean | null | undefined;
5016
+ linkedinVerifiedAt?: Date | null | undefined;
5017
+ linkedinId?: string | null | undefined;
5018
+ linkedinName?: string | null | undefined;
5019
+ banned: boolean | null | undefined;
5020
+ role?: string | null | undefined;
5021
+ banReason?: string | null | undefined;
5022
+ banExpires?: Date | null | undefined;
5023
+ username?: string | null | undefined;
5024
+ displayUsername?: string | null | undefined;
5025
+ };
5026
+ }>, zod.ZodObject<{
5027
+ status: zod.ZodOptional<zod.ZodEnum<{
5028
+ pending: "pending";
5029
+ approved: "approved";
5030
+ rejected: "rejected";
5031
+ }>>;
5032
+ limit: zod.ZodDefault<zod.ZodNumber>;
5033
+ offset: zod.ZodDefault<zod.ZodNumber>;
5034
+ }, better_auth.$strip>, _orpc_contract.Schema<{
5035
+ data: {
5036
+ id: string;
5037
+ userId: string;
5038
+ reason: string | null;
5039
+ linkedinUrl: string | null;
5040
+ status: InsiderApplicationStatus | null;
5041
+ createdAt: Date;
5042
+ reviewedAt: Date | null;
5043
+ user: {
5044
+ id: string;
5045
+ name: string;
5046
+ email: string;
5047
+ username: string | null;
5048
+ image: string | null;
5049
+ linkedinVerified: boolean | null;
5050
+ };
5051
+ }[];
5052
+ total: number;
5053
+ limit: number;
5054
+ offset: number;
5055
+ }, {
5056
+ data: {
5057
+ id: string;
5058
+ userId: string;
5059
+ reason: string | null;
5060
+ linkedinUrl: string | null;
5061
+ status: InsiderApplicationStatus | null;
5062
+ createdAt: Date;
5063
+ reviewedAt: Date | null;
5064
+ user: {
5065
+ id: string;
5066
+ name: string;
5067
+ email: string;
5068
+ username: string | null;
5069
+ image: string | null;
5070
+ linkedinVerified: boolean | null;
5071
+ };
5072
+ }[];
5073
+ total: number;
5074
+ limit: number;
5075
+ offset: number;
5076
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
5077
+ readonly UNAUTHORIZED: {
5078
+ readonly message: "You must be logged in to access this resource";
5079
+ };
5080
+ readonly FORBIDDEN: {
5081
+ readonly message: "You do not have permission to access this resource";
5082
+ };
5083
+ readonly NOT_FOUND: {
5084
+ readonly message: "The requested resource was not found";
5085
+ };
5086
+ readonly BAD_REQUEST: {
5087
+ readonly message: "Invalid request";
5088
+ readonly data: zod.ZodOptional<zod.ZodObject<{
5089
+ issues: zod.ZodArray<zod.ZodObject<{
5090
+ code: zod.ZodString;
5091
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
5092
+ message: zod.ZodString;
5093
+ }, better_auth.$loose>>;
5094
+ }, better_auth.$strip>>;
5095
+ };
5096
+ readonly CONFLICT: {
5097
+ readonly message: "The request conflicts with existing data";
5098
+ };
5099
+ readonly INTERNAL_SERVER_ERROR: {
5100
+ readonly message: "An internal server error occurred";
5101
+ };
5102
+ }>, Record<never, never>>;
5103
+ counts: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
5104
+ session: {
5105
+ id: string;
5106
+ createdAt: Date;
5107
+ updatedAt: Date;
5108
+ userId: string;
5109
+ expiresAt: Date;
5110
+ token: string;
5111
+ ipAddress?: string | null | undefined | undefined;
5112
+ userAgent?: string | null | undefined | undefined;
5113
+ impersonatedBy?: string | null | undefined;
5114
+ };
5115
+ user: {
5116
+ id: string;
5117
+ createdAt: Date;
5118
+ updatedAt: Date;
5119
+ email: string;
5120
+ emailVerified: boolean;
5121
+ name: string;
5122
+ image?: string | null | undefined | undefined;
5123
+ onboardingCompleted: boolean | null | undefined;
5124
+ linkedinVerified: boolean | null | undefined;
5125
+ linkedinVerifiedAt?: Date | null | undefined;
5126
+ linkedinId?: string | null | undefined;
5127
+ linkedinName?: string | null | undefined;
5128
+ banned: boolean | null | undefined;
5129
+ role?: string | null | undefined;
5130
+ banReason?: string | null | undefined;
5131
+ banExpires?: Date | null | undefined;
5132
+ username?: string | null | undefined;
5133
+ displayUsername?: string | null | undefined;
5134
+ };
5135
+ }>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
5136
+ data: {
5137
+ total: number;
5138
+ pending: number;
5139
+ approved: number;
5140
+ rejected: number;
5141
+ };
5142
+ }, {
5143
+ data: {
5144
+ total: number;
5145
+ pending: number;
5146
+ approved: number;
5147
+ rejected: number;
5148
+ };
5149
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
5150
+ readonly UNAUTHORIZED: {
5151
+ readonly message: "You must be logged in to access this resource";
5152
+ };
5153
+ readonly FORBIDDEN: {
5154
+ readonly message: "You do not have permission to access this resource";
5155
+ };
5156
+ readonly NOT_FOUND: {
5157
+ readonly message: "The requested resource was not found";
5158
+ };
5159
+ readonly BAD_REQUEST: {
5160
+ readonly message: "Invalid request";
5161
+ readonly data: zod.ZodOptional<zod.ZodObject<{
5162
+ issues: zod.ZodArray<zod.ZodObject<{
5163
+ code: zod.ZodString;
5164
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
5165
+ message: zod.ZodString;
5166
+ }, better_auth.$loose>>;
5167
+ }, better_auth.$strip>>;
5168
+ };
5169
+ readonly CONFLICT: {
5170
+ readonly message: "The request conflicts with existing data";
5171
+ };
5172
+ readonly INTERNAL_SERVER_ERROR: {
5173
+ readonly message: "An internal server error occurred";
5174
+ };
5175
+ }>, Record<never, never>>;
5176
+ approve: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
5177
+ session: {
5178
+ id: string;
5179
+ createdAt: Date;
5180
+ updatedAt: Date;
5181
+ userId: string;
5182
+ expiresAt: Date;
5183
+ token: string;
5184
+ ipAddress?: string | null | undefined | undefined;
5185
+ userAgent?: string | null | undefined | undefined;
5186
+ impersonatedBy?: string | null | undefined;
5187
+ };
5188
+ user: {
5189
+ id: string;
5190
+ createdAt: Date;
5191
+ updatedAt: Date;
5192
+ email: string;
5193
+ emailVerified: boolean;
5194
+ name: string;
5195
+ image?: string | null | undefined | undefined;
5196
+ onboardingCompleted: boolean | null | undefined;
5197
+ linkedinVerified: boolean | null | undefined;
5198
+ linkedinVerifiedAt?: Date | null | undefined;
5199
+ linkedinId?: string | null | undefined;
5200
+ linkedinName?: string | null | undefined;
5201
+ banned: boolean | null | undefined;
5202
+ role?: string | null | undefined;
5203
+ banReason?: string | null | undefined;
5204
+ banExpires?: Date | null | undefined;
5205
+ username?: string | null | undefined;
5206
+ displayUsername?: string | null | undefined;
5207
+ };
5208
+ }>, zod.ZodObject<{
5209
+ applicationId: zod.ZodString;
5210
+ }, better_auth.$strip>, _orpc_contract.Schema<{
5211
+ data: {
5212
+ success: boolean;
5213
+ applicationId: string;
5214
+ userId: string;
5215
+ email: string;
5216
+ };
4491
5217
  }, {
4492
5218
  data: {
4493
5219
  success: boolean;
@@ -4594,6 +5320,179 @@ declare const v1Router: {
4594
5320
  };
4595
5321
  }>, Record<never, never>>;
4596
5322
  };
5323
+ communityApplications: {
5324
+ list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
5325
+ session: {
5326
+ id: string;
5327
+ createdAt: Date;
5328
+ updatedAt: Date;
5329
+ userId: string;
5330
+ expiresAt: Date;
5331
+ token: string;
5332
+ ipAddress?: string | null | undefined | undefined;
5333
+ userAgent?: string | null | undefined | undefined;
5334
+ impersonatedBy?: string | null | undefined;
5335
+ };
5336
+ user: {
5337
+ id: string;
5338
+ createdAt: Date;
5339
+ updatedAt: Date;
5340
+ email: string;
5341
+ emailVerified: boolean;
5342
+ name: string;
5343
+ image?: string | null | undefined | undefined;
5344
+ onboardingCompleted: boolean | null | undefined;
5345
+ linkedinVerified: boolean | null | undefined;
5346
+ linkedinVerifiedAt?: Date | null | undefined;
5347
+ linkedinId?: string | null | undefined;
5348
+ linkedinName?: string | null | undefined;
5349
+ banned: boolean | null | undefined;
5350
+ role?: string | null | undefined;
5351
+ banReason?: string | null | undefined;
5352
+ banExpires?: Date | null | undefined;
5353
+ username?: string | null | undefined;
5354
+ displayUsername?: string | null | undefined;
5355
+ };
5356
+ }>, zod.ZodObject<{
5357
+ search: zod.ZodOptional<zod.ZodString>;
5358
+ intent: zod.ZodOptional<zod.ZodEnum<{
5359
+ builder: "builder";
5360
+ talent: "talent";
5361
+ investor: "investor";
5362
+ }>>;
5363
+ limit: zod.ZodDefault<zod.ZodNumber>;
5364
+ offset: zod.ZodDefault<zod.ZodNumber>;
5365
+ }, better_auth.$strip>, _orpc_contract.Schema<{
5366
+ data: {
5367
+ id: string;
5368
+ email: string;
5369
+ source: string;
5370
+ linkedinUrl: string | null;
5371
+ intent: "builder" | "talent" | "investor" | null;
5372
+ followUpResponse: string | null;
5373
+ createdAt: Date;
5374
+ }[];
5375
+ total: number;
5376
+ limit: number;
5377
+ offset: number;
5378
+ }, {
5379
+ data: {
5380
+ id: string;
5381
+ email: string;
5382
+ source: string;
5383
+ linkedinUrl: string | null;
5384
+ intent: "builder" | "talent" | "investor" | null;
5385
+ followUpResponse: string | null;
5386
+ createdAt: Date;
5387
+ }[];
5388
+ total: number;
5389
+ limit: number;
5390
+ offset: number;
5391
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
5392
+ readonly UNAUTHORIZED: {
5393
+ readonly message: "You must be logged in to access this resource";
5394
+ };
5395
+ readonly FORBIDDEN: {
5396
+ readonly message: "You do not have permission to access this resource";
5397
+ };
5398
+ readonly NOT_FOUND: {
5399
+ readonly message: "The requested resource was not found";
5400
+ };
5401
+ readonly BAD_REQUEST: {
5402
+ readonly message: "Invalid request";
5403
+ readonly data: zod.ZodOptional<zod.ZodObject<{
5404
+ issues: zod.ZodArray<zod.ZodObject<{
5405
+ code: zod.ZodString;
5406
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
5407
+ message: zod.ZodString;
5408
+ }, better_auth.$loose>>;
5409
+ }, better_auth.$strip>>;
5410
+ };
5411
+ readonly CONFLICT: {
5412
+ readonly message: "The request conflicts with existing data";
5413
+ };
5414
+ readonly INTERNAL_SERVER_ERROR: {
5415
+ readonly message: "An internal server error occurred";
5416
+ };
5417
+ }>, Record<never, never>>;
5418
+ counts: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
5419
+ session: {
5420
+ id: string;
5421
+ createdAt: Date;
5422
+ updatedAt: Date;
5423
+ userId: string;
5424
+ expiresAt: Date;
5425
+ token: string;
5426
+ ipAddress?: string | null | undefined | undefined;
5427
+ userAgent?: string | null | undefined | undefined;
5428
+ impersonatedBy?: string | null | undefined;
5429
+ };
5430
+ user: {
5431
+ id: string;
5432
+ createdAt: Date;
5433
+ updatedAt: Date;
5434
+ email: string;
5435
+ emailVerified: boolean;
5436
+ name: string;
5437
+ image?: string | null | undefined | undefined;
5438
+ onboardingCompleted: boolean | null | undefined;
5439
+ linkedinVerified: boolean | null | undefined;
5440
+ linkedinVerifiedAt?: Date | null | undefined;
5441
+ linkedinId?: string | null | undefined;
5442
+ linkedinName?: string | null | undefined;
5443
+ banned: boolean | null | undefined;
5444
+ role?: string | null | undefined;
5445
+ banReason?: string | null | undefined;
5446
+ banExpires?: Date | null | undefined;
5447
+ username?: string | null | undefined;
5448
+ displayUsername?: string | null | undefined;
5449
+ };
5450
+ }>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
5451
+ data: {
5452
+ total: number;
5453
+ byIntent: {
5454
+ builder: number;
5455
+ talent: number;
5456
+ investor: number;
5457
+ };
5458
+ };
5459
+ }, {
5460
+ data: {
5461
+ total: number;
5462
+ byIntent: {
5463
+ builder: number;
5464
+ talent: number;
5465
+ investor: number;
5466
+ };
5467
+ };
5468
+ }>, _orpc_contract.MergedErrorMap<Record<never, never>, {
5469
+ readonly UNAUTHORIZED: {
5470
+ readonly message: "You must be logged in to access this resource";
5471
+ };
5472
+ readonly FORBIDDEN: {
5473
+ readonly message: "You do not have permission to access this resource";
5474
+ };
5475
+ readonly NOT_FOUND: {
5476
+ readonly message: "The requested resource was not found";
5477
+ };
5478
+ readonly BAD_REQUEST: {
5479
+ readonly message: "Invalid request";
5480
+ readonly data: zod.ZodOptional<zod.ZodObject<{
5481
+ issues: zod.ZodArray<zod.ZodObject<{
5482
+ code: zod.ZodString;
5483
+ path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
5484
+ message: zod.ZodString;
5485
+ }, better_auth.$loose>>;
5486
+ }, better_auth.$strip>>;
5487
+ };
5488
+ readonly CONFLICT: {
5489
+ readonly message: "The request conflicts with existing data";
5490
+ };
5491
+ readonly INTERNAL_SERVER_ERROR: {
5492
+ readonly message: "An internal server error occurred";
5493
+ };
5494
+ }>, Record<never, never>>;
5495
+ };
4597
5496
  };
4598
5497
  };
4599
5498
  type V1Router = typeof v1Router;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framebreak/types",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Type definitions for the Framebreak API",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",