@framebreak/types 0.1.37 → 0.1.39
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 +439 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,7 @@ interface CommunityFeedPayload {
|
|
|
312
312
|
authorName: string;
|
|
313
313
|
authorImage: string | null;
|
|
314
314
|
preview: string;
|
|
315
|
+
channelMinRole?: string;
|
|
315
316
|
createdAt: string;
|
|
316
317
|
};
|
|
317
318
|
}
|
|
@@ -1716,6 +1717,81 @@ declare const v1Router: {
|
|
|
1716
1717
|
};
|
|
1717
1718
|
}>, Record<never, never>>;
|
|
1718
1719
|
};
|
|
1720
|
+
betaSignup: {
|
|
1721
|
+
android: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
1722
|
+
session: {
|
|
1723
|
+
id: string;
|
|
1724
|
+
createdAt: Date;
|
|
1725
|
+
updatedAt: Date;
|
|
1726
|
+
userId: string;
|
|
1727
|
+
expiresAt: Date;
|
|
1728
|
+
token: string;
|
|
1729
|
+
ipAddress?: string | null | undefined | undefined;
|
|
1730
|
+
userAgent?: string | null | undefined | undefined;
|
|
1731
|
+
impersonatedBy?: string | null | undefined;
|
|
1732
|
+
};
|
|
1733
|
+
user: {
|
|
1734
|
+
id: string;
|
|
1735
|
+
createdAt: Date;
|
|
1736
|
+
updatedAt: Date;
|
|
1737
|
+
email: string;
|
|
1738
|
+
emailVerified: boolean;
|
|
1739
|
+
name: string;
|
|
1740
|
+
image?: string | null | undefined | undefined;
|
|
1741
|
+
onboardingCompleted: boolean | null | undefined;
|
|
1742
|
+
linkedinVerified: boolean | null | undefined;
|
|
1743
|
+
headline?: string | null | undefined;
|
|
1744
|
+
linkUrl?: string | null | undefined;
|
|
1745
|
+
linkText?: string | null | undefined;
|
|
1746
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
1747
|
+
linkedinId?: string | null | undefined;
|
|
1748
|
+
linkedinName?: string | null | undefined;
|
|
1749
|
+
linkedinUrl?: string | null | undefined;
|
|
1750
|
+
banned: boolean | null | undefined;
|
|
1751
|
+
role?: string | null | undefined;
|
|
1752
|
+
banReason?: string | null | undefined;
|
|
1753
|
+
banExpires?: Date | null | undefined;
|
|
1754
|
+
username?: string | null | undefined;
|
|
1755
|
+
displayUsername?: string | null | undefined;
|
|
1756
|
+
};
|
|
1757
|
+
}>, zod.ZodObject<{
|
|
1758
|
+
email: zod.ZodString;
|
|
1759
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
1760
|
+
data: {
|
|
1761
|
+
success: boolean;
|
|
1762
|
+
};
|
|
1763
|
+
}, {
|
|
1764
|
+
data: {
|
|
1765
|
+
success: boolean;
|
|
1766
|
+
};
|
|
1767
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1768
|
+
readonly UNAUTHORIZED: {
|
|
1769
|
+
readonly message: "You must be logged in to access this resource";
|
|
1770
|
+
};
|
|
1771
|
+
readonly FORBIDDEN: {
|
|
1772
|
+
readonly message: "You do not have permission to access this resource";
|
|
1773
|
+
};
|
|
1774
|
+
readonly NOT_FOUND: {
|
|
1775
|
+
readonly message: "The requested resource was not found";
|
|
1776
|
+
};
|
|
1777
|
+
readonly BAD_REQUEST: {
|
|
1778
|
+
readonly message: "Invalid request";
|
|
1779
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
1780
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
1781
|
+
code: zod.ZodString;
|
|
1782
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
1783
|
+
message: zod.ZodString;
|
|
1784
|
+
}, better_auth.$loose>>;
|
|
1785
|
+
}, better_auth.$strip>>;
|
|
1786
|
+
};
|
|
1787
|
+
readonly CONFLICT: {
|
|
1788
|
+
readonly message: "The request conflicts with existing data";
|
|
1789
|
+
};
|
|
1790
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
1791
|
+
readonly message: "An internal server error occurred";
|
|
1792
|
+
};
|
|
1793
|
+
}>, Record<never, never>>;
|
|
1794
|
+
};
|
|
1719
1795
|
posts: {
|
|
1720
1796
|
list: _orpc_server.DecoratedProcedure<BaseContext & Record<never, never>, BaseContext, zod.ZodObject<{
|
|
1721
1797
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3347,9 +3423,93 @@ declare const v1Router: {
|
|
|
3347
3423
|
};
|
|
3348
3424
|
/**
|
|
3349
3425
|
* Community endpoints - user-generated content.
|
|
3350
|
-
* Requires
|
|
3426
|
+
* Requires member role or above (community:view permission).
|
|
3427
|
+
* Channel-level access is enforced at the handler level via role levels.
|
|
3351
3428
|
*/
|
|
3352
3429
|
community: {
|
|
3430
|
+
channels: {
|
|
3431
|
+
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3432
|
+
session: {
|
|
3433
|
+
id: string;
|
|
3434
|
+
createdAt: Date;
|
|
3435
|
+
updatedAt: Date;
|
|
3436
|
+
userId: string;
|
|
3437
|
+
expiresAt: Date;
|
|
3438
|
+
token: string;
|
|
3439
|
+
ipAddress?: string | null | undefined | undefined;
|
|
3440
|
+
userAgent?: string | null | undefined | undefined;
|
|
3441
|
+
impersonatedBy?: string | null | undefined;
|
|
3442
|
+
};
|
|
3443
|
+
user: {
|
|
3444
|
+
id: string;
|
|
3445
|
+
createdAt: Date;
|
|
3446
|
+
updatedAt: Date;
|
|
3447
|
+
email: string;
|
|
3448
|
+
emailVerified: boolean;
|
|
3449
|
+
name: string;
|
|
3450
|
+
image?: string | null | undefined | undefined;
|
|
3451
|
+
onboardingCompleted: boolean | null | undefined;
|
|
3452
|
+
linkedinVerified: boolean | null | undefined;
|
|
3453
|
+
headline?: string | null | undefined;
|
|
3454
|
+
linkUrl?: string | null | undefined;
|
|
3455
|
+
linkText?: string | null | undefined;
|
|
3456
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
3457
|
+
linkedinId?: string | null | undefined;
|
|
3458
|
+
linkedinName?: string | null | undefined;
|
|
3459
|
+
linkedinUrl?: string | null | undefined;
|
|
3460
|
+
banned: boolean | null | undefined;
|
|
3461
|
+
role?: string | null | undefined;
|
|
3462
|
+
banReason?: string | null | undefined;
|
|
3463
|
+
banExpires?: Date | null | undefined;
|
|
3464
|
+
username?: string | null | undefined;
|
|
3465
|
+
displayUsername?: string | null | undefined;
|
|
3466
|
+
};
|
|
3467
|
+
}>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
|
|
3468
|
+
data: {
|
|
3469
|
+
id: string;
|
|
3470
|
+
name: string;
|
|
3471
|
+
slug: string;
|
|
3472
|
+
description: string | null;
|
|
3473
|
+
minRole: string;
|
|
3474
|
+
sortOrder: number;
|
|
3475
|
+
}[];
|
|
3476
|
+
}, {
|
|
3477
|
+
data: {
|
|
3478
|
+
id: string;
|
|
3479
|
+
name: string;
|
|
3480
|
+
slug: string;
|
|
3481
|
+
description: string | null;
|
|
3482
|
+
minRole: string;
|
|
3483
|
+
sortOrder: number;
|
|
3484
|
+
}[];
|
|
3485
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3486
|
+
readonly UNAUTHORIZED: {
|
|
3487
|
+
readonly message: "You must be logged in to access this resource";
|
|
3488
|
+
};
|
|
3489
|
+
readonly FORBIDDEN: {
|
|
3490
|
+
readonly message: "You do not have permission to access this resource";
|
|
3491
|
+
};
|
|
3492
|
+
readonly NOT_FOUND: {
|
|
3493
|
+
readonly message: "The requested resource was not found";
|
|
3494
|
+
};
|
|
3495
|
+
readonly BAD_REQUEST: {
|
|
3496
|
+
readonly message: "Invalid request";
|
|
3497
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3498
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
3499
|
+
code: zod.ZodString;
|
|
3500
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
3501
|
+
message: zod.ZodString;
|
|
3502
|
+
}, better_auth.$loose>>;
|
|
3503
|
+
}, better_auth.$strip>>;
|
|
3504
|
+
};
|
|
3505
|
+
readonly CONFLICT: {
|
|
3506
|
+
readonly message: "The request conflicts with existing data";
|
|
3507
|
+
};
|
|
3508
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
3509
|
+
readonly message: "An internal server error occurred";
|
|
3510
|
+
};
|
|
3511
|
+
}>, Record<never, never>>;
|
|
3512
|
+
};
|
|
3353
3513
|
stats: {
|
|
3354
3514
|
memberCount: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3355
3515
|
session: {
|
|
@@ -3424,6 +3584,102 @@ declare const v1Router: {
|
|
|
3424
3584
|
}>, Record<never, never>>;
|
|
3425
3585
|
};
|
|
3426
3586
|
members: {
|
|
3587
|
+
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3588
|
+
session: {
|
|
3589
|
+
id: string;
|
|
3590
|
+
createdAt: Date;
|
|
3591
|
+
updatedAt: Date;
|
|
3592
|
+
userId: string;
|
|
3593
|
+
expiresAt: Date;
|
|
3594
|
+
token: string;
|
|
3595
|
+
ipAddress?: string | null | undefined | undefined;
|
|
3596
|
+
userAgent?: string | null | undefined | undefined;
|
|
3597
|
+
impersonatedBy?: string | null | undefined;
|
|
3598
|
+
};
|
|
3599
|
+
user: {
|
|
3600
|
+
id: string;
|
|
3601
|
+
createdAt: Date;
|
|
3602
|
+
updatedAt: Date;
|
|
3603
|
+
email: string;
|
|
3604
|
+
emailVerified: boolean;
|
|
3605
|
+
name: string;
|
|
3606
|
+
image?: string | null | undefined | undefined;
|
|
3607
|
+
onboardingCompleted: boolean | null | undefined;
|
|
3608
|
+
linkedinVerified: boolean | null | undefined;
|
|
3609
|
+
headline?: string | null | undefined;
|
|
3610
|
+
linkUrl?: string | null | undefined;
|
|
3611
|
+
linkText?: string | null | undefined;
|
|
3612
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
3613
|
+
linkedinId?: string | null | undefined;
|
|
3614
|
+
linkedinName?: string | null | undefined;
|
|
3615
|
+
linkedinUrl?: string | null | undefined;
|
|
3616
|
+
banned: boolean | null | undefined;
|
|
3617
|
+
role?: string | null | undefined;
|
|
3618
|
+
banReason?: string | null | undefined;
|
|
3619
|
+
banExpires?: Date | null | undefined;
|
|
3620
|
+
username?: string | null | undefined;
|
|
3621
|
+
displayUsername?: string | null | undefined;
|
|
3622
|
+
};
|
|
3623
|
+
}>, zod.ZodObject<{
|
|
3624
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
3625
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
3626
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
3627
|
+
data: {
|
|
3628
|
+
id: string;
|
|
3629
|
+
name: string;
|
|
3630
|
+
username: string | null;
|
|
3631
|
+
displayUsername: string | null;
|
|
3632
|
+
image: string | null;
|
|
3633
|
+
linkedinVerified: boolean | null;
|
|
3634
|
+
role: string | null;
|
|
3635
|
+
createdAt: Date;
|
|
3636
|
+
}[];
|
|
3637
|
+
pagination: {
|
|
3638
|
+
nextCursor: string | null;
|
|
3639
|
+
hasMore: boolean;
|
|
3640
|
+
};
|
|
3641
|
+
}, {
|
|
3642
|
+
data: {
|
|
3643
|
+
id: string;
|
|
3644
|
+
name: string;
|
|
3645
|
+
username: string | null;
|
|
3646
|
+
displayUsername: string | null;
|
|
3647
|
+
image: string | null;
|
|
3648
|
+
linkedinVerified: boolean | null;
|
|
3649
|
+
role: string | null;
|
|
3650
|
+
createdAt: Date;
|
|
3651
|
+
}[];
|
|
3652
|
+
pagination: {
|
|
3653
|
+
nextCursor: string | null;
|
|
3654
|
+
hasMore: boolean;
|
|
3655
|
+
};
|
|
3656
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3657
|
+
readonly UNAUTHORIZED: {
|
|
3658
|
+
readonly message: "You must be logged in to access this resource";
|
|
3659
|
+
};
|
|
3660
|
+
readonly FORBIDDEN: {
|
|
3661
|
+
readonly message: "You do not have permission to access this resource";
|
|
3662
|
+
};
|
|
3663
|
+
readonly NOT_FOUND: {
|
|
3664
|
+
readonly message: "The requested resource was not found";
|
|
3665
|
+
};
|
|
3666
|
+
readonly BAD_REQUEST: {
|
|
3667
|
+
readonly message: "Invalid request";
|
|
3668
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3669
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
3670
|
+
code: zod.ZodString;
|
|
3671
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
3672
|
+
message: zod.ZodString;
|
|
3673
|
+
}, better_auth.$loose>>;
|
|
3674
|
+
}, better_auth.$strip>>;
|
|
3675
|
+
};
|
|
3676
|
+
readonly CONFLICT: {
|
|
3677
|
+
readonly message: "The request conflicts with existing data";
|
|
3678
|
+
};
|
|
3679
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
3680
|
+
readonly message: "An internal server error occurred";
|
|
3681
|
+
};
|
|
3682
|
+
}>, Record<never, never>>;
|
|
3427
3683
|
search: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3428
3684
|
session: {
|
|
3429
3685
|
id: string;
|
|
@@ -3545,6 +3801,7 @@ declare const v1Router: {
|
|
|
3545
3801
|
displayUsername?: string | null | undefined;
|
|
3546
3802
|
};
|
|
3547
3803
|
}>, zod.ZodObject<{
|
|
3804
|
+
channelSlug: zod.ZodOptional<zod.ZodString>;
|
|
3548
3805
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
3549
3806
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
3550
3807
|
sort: zod.ZodDefault<zod.ZodEnum<{
|
|
@@ -3556,6 +3813,7 @@ declare const v1Router: {
|
|
|
3556
3813
|
id: string;
|
|
3557
3814
|
content: string;
|
|
3558
3815
|
images: string[];
|
|
3816
|
+
channelSlug: string | null;
|
|
3559
3817
|
link: {
|
|
3560
3818
|
url: string;
|
|
3561
3819
|
title: string | null;
|
|
@@ -3595,6 +3853,7 @@ declare const v1Router: {
|
|
|
3595
3853
|
id: string;
|
|
3596
3854
|
content: string;
|
|
3597
3855
|
images: string[];
|
|
3856
|
+
channelSlug: string | null;
|
|
3598
3857
|
link: {
|
|
3599
3858
|
url: string;
|
|
3600
3859
|
title: string | null;
|
|
@@ -3699,6 +3958,7 @@ declare const v1Router: {
|
|
|
3699
3958
|
id: string;
|
|
3700
3959
|
content: string;
|
|
3701
3960
|
images: string[];
|
|
3961
|
+
channelSlug: string;
|
|
3702
3962
|
link: {
|
|
3703
3963
|
url: string;
|
|
3704
3964
|
title: string | null;
|
|
@@ -3733,6 +3993,7 @@ declare const v1Router: {
|
|
|
3733
3993
|
id: string;
|
|
3734
3994
|
content: string;
|
|
3735
3995
|
images: string[];
|
|
3996
|
+
channelSlug: string;
|
|
3736
3997
|
link: {
|
|
3737
3998
|
url: string;
|
|
3738
3999
|
title: string | null;
|
|
@@ -3826,6 +4087,7 @@ declare const v1Router: {
|
|
|
3826
4087
|
displayUsername?: string | null | undefined;
|
|
3827
4088
|
};
|
|
3828
4089
|
}>, zod.ZodObject<{
|
|
4090
|
+
channelSlug: zod.ZodOptional<zod.ZodString>;
|
|
3829
4091
|
content: zod.ZodString;
|
|
3830
4092
|
linkUrl: zod.ZodOptional<zod.ZodString>;
|
|
3831
4093
|
imageUrls: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
@@ -3834,6 +4096,7 @@ declare const v1Router: {
|
|
|
3834
4096
|
id: string;
|
|
3835
4097
|
content: string;
|
|
3836
4098
|
images: string[];
|
|
4099
|
+
channelSlug: string;
|
|
3837
4100
|
link: {
|
|
3838
4101
|
url: string;
|
|
3839
4102
|
title: string | null;
|
|
@@ -3865,6 +4128,7 @@ declare const v1Router: {
|
|
|
3865
4128
|
id: string;
|
|
3866
4129
|
content: string;
|
|
3867
4130
|
images: string[];
|
|
4131
|
+
channelSlug: string;
|
|
3868
4132
|
link: {
|
|
3869
4133
|
url: string;
|
|
3870
4134
|
title: string | null;
|
|
@@ -3963,6 +4227,7 @@ declare const v1Router: {
|
|
|
3963
4227
|
post: {
|
|
3964
4228
|
id: string;
|
|
3965
4229
|
userId: string;
|
|
4230
|
+
channelId: string | null;
|
|
3966
4231
|
content: string;
|
|
3967
4232
|
linkUrl: string | null;
|
|
3968
4233
|
linkTitle: string | null;
|
|
@@ -3981,6 +4246,7 @@ declare const v1Router: {
|
|
|
3981
4246
|
post: {
|
|
3982
4247
|
id: string;
|
|
3983
4248
|
userId: string;
|
|
4249
|
+
channelId: string | null;
|
|
3984
4250
|
content: string;
|
|
3985
4251
|
linkUrl: string | null;
|
|
3986
4252
|
linkTitle: string | null;
|
|
@@ -7935,6 +8201,178 @@ declare const v1Router: {
|
|
|
7935
8201
|
}>, Record<never, never>>;
|
|
7936
8202
|
};
|
|
7937
8203
|
};
|
|
8204
|
+
linkedinUrls: {
|
|
8205
|
+
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
8206
|
+
session: {
|
|
8207
|
+
id: string;
|
|
8208
|
+
createdAt: Date;
|
|
8209
|
+
updatedAt: Date;
|
|
8210
|
+
userId: string;
|
|
8211
|
+
expiresAt: Date;
|
|
8212
|
+
token: string;
|
|
8213
|
+
ipAddress?: string | null | undefined | undefined;
|
|
8214
|
+
userAgent?: string | null | undefined | undefined;
|
|
8215
|
+
impersonatedBy?: string | null | undefined;
|
|
8216
|
+
};
|
|
8217
|
+
user: {
|
|
8218
|
+
id: string;
|
|
8219
|
+
createdAt: Date;
|
|
8220
|
+
updatedAt: Date;
|
|
8221
|
+
email: string;
|
|
8222
|
+
emailVerified: boolean;
|
|
8223
|
+
name: string;
|
|
8224
|
+
image?: string | null | undefined | undefined;
|
|
8225
|
+
onboardingCompleted: boolean | null | undefined;
|
|
8226
|
+
linkedinVerified: boolean | null | undefined;
|
|
8227
|
+
headline?: string | null | undefined;
|
|
8228
|
+
linkUrl?: string | null | undefined;
|
|
8229
|
+
linkText?: string | null | undefined;
|
|
8230
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
8231
|
+
linkedinId?: string | null | undefined;
|
|
8232
|
+
linkedinName?: string | null | undefined;
|
|
8233
|
+
linkedinUrl?: string | null | undefined;
|
|
8234
|
+
banned: boolean | null | undefined;
|
|
8235
|
+
role?: string | null | undefined;
|
|
8236
|
+
banReason?: string | null | undefined;
|
|
8237
|
+
banExpires?: Date | null | undefined;
|
|
8238
|
+
username?: string | null | undefined;
|
|
8239
|
+
displayUsername?: string | null | undefined;
|
|
8240
|
+
};
|
|
8241
|
+
}>, zod.ZodObject<{
|
|
8242
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
8243
|
+
offset: zod.ZodDefault<zod.ZodNumber>;
|
|
8244
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
8245
|
+
data: {
|
|
8246
|
+
id: string;
|
|
8247
|
+
name: string;
|
|
8248
|
+
email: string;
|
|
8249
|
+
image: string | null;
|
|
8250
|
+
linkedinVerified: boolean | null;
|
|
8251
|
+
linkedinId: string | null;
|
|
8252
|
+
linkedinName: string | null;
|
|
8253
|
+
waitlistLinkedinUrl: string | null;
|
|
8254
|
+
}[];
|
|
8255
|
+
total: number;
|
|
8256
|
+
limit: number;
|
|
8257
|
+
offset: number;
|
|
8258
|
+
}, {
|
|
8259
|
+
data: {
|
|
8260
|
+
id: string;
|
|
8261
|
+
name: string;
|
|
8262
|
+
email: string;
|
|
8263
|
+
image: string | null;
|
|
8264
|
+
linkedinVerified: boolean | null;
|
|
8265
|
+
linkedinId: string | null;
|
|
8266
|
+
linkedinName: string | null;
|
|
8267
|
+
waitlistLinkedinUrl: string | null;
|
|
8268
|
+
}[];
|
|
8269
|
+
total: number;
|
|
8270
|
+
limit: number;
|
|
8271
|
+
offset: number;
|
|
8272
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8273
|
+
readonly UNAUTHORIZED: {
|
|
8274
|
+
readonly message: "You must be logged in to access this resource";
|
|
8275
|
+
};
|
|
8276
|
+
readonly FORBIDDEN: {
|
|
8277
|
+
readonly message: "You do not have permission to access this resource";
|
|
8278
|
+
};
|
|
8279
|
+
readonly NOT_FOUND: {
|
|
8280
|
+
readonly message: "The requested resource was not found";
|
|
8281
|
+
};
|
|
8282
|
+
readonly BAD_REQUEST: {
|
|
8283
|
+
readonly message: "Invalid request";
|
|
8284
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8285
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
8286
|
+
code: zod.ZodString;
|
|
8287
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
8288
|
+
message: zod.ZodString;
|
|
8289
|
+
}, better_auth.$loose>>;
|
|
8290
|
+
}, better_auth.$strip>>;
|
|
8291
|
+
};
|
|
8292
|
+
readonly CONFLICT: {
|
|
8293
|
+
readonly message: "The request conflicts with existing data";
|
|
8294
|
+
};
|
|
8295
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
8296
|
+
readonly message: "An internal server error occurred";
|
|
8297
|
+
};
|
|
8298
|
+
}>, Record<never, never>>;
|
|
8299
|
+
update: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
8300
|
+
session: {
|
|
8301
|
+
id: string;
|
|
8302
|
+
createdAt: Date;
|
|
8303
|
+
updatedAt: Date;
|
|
8304
|
+
userId: string;
|
|
8305
|
+
expiresAt: Date;
|
|
8306
|
+
token: string;
|
|
8307
|
+
ipAddress?: string | null | undefined | undefined;
|
|
8308
|
+
userAgent?: string | null | undefined | undefined;
|
|
8309
|
+
impersonatedBy?: string | null | undefined;
|
|
8310
|
+
};
|
|
8311
|
+
user: {
|
|
8312
|
+
id: string;
|
|
8313
|
+
createdAt: Date;
|
|
8314
|
+
updatedAt: Date;
|
|
8315
|
+
email: string;
|
|
8316
|
+
emailVerified: boolean;
|
|
8317
|
+
name: string;
|
|
8318
|
+
image?: string | null | undefined | undefined;
|
|
8319
|
+
onboardingCompleted: boolean | null | undefined;
|
|
8320
|
+
linkedinVerified: boolean | null | undefined;
|
|
8321
|
+
headline?: string | null | undefined;
|
|
8322
|
+
linkUrl?: string | null | undefined;
|
|
8323
|
+
linkText?: string | null | undefined;
|
|
8324
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
8325
|
+
linkedinId?: string | null | undefined;
|
|
8326
|
+
linkedinName?: string | null | undefined;
|
|
8327
|
+
linkedinUrl?: string | null | undefined;
|
|
8328
|
+
banned: boolean | null | undefined;
|
|
8329
|
+
role?: string | null | undefined;
|
|
8330
|
+
banReason?: string | null | undefined;
|
|
8331
|
+
banExpires?: Date | null | undefined;
|
|
8332
|
+
username?: string | null | undefined;
|
|
8333
|
+
displayUsername?: string | null | undefined;
|
|
8334
|
+
};
|
|
8335
|
+
}>, zod.ZodObject<{
|
|
8336
|
+
userId: zod.ZodString;
|
|
8337
|
+
linkedinUrl: zod.ZodString;
|
|
8338
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
8339
|
+
data: {
|
|
8340
|
+
id: string;
|
|
8341
|
+
linkedinUrl: string;
|
|
8342
|
+
};
|
|
8343
|
+
}, {
|
|
8344
|
+
data: {
|
|
8345
|
+
id: string;
|
|
8346
|
+
linkedinUrl: string;
|
|
8347
|
+
};
|
|
8348
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8349
|
+
readonly UNAUTHORIZED: {
|
|
8350
|
+
readonly message: "You must be logged in to access this resource";
|
|
8351
|
+
};
|
|
8352
|
+
readonly FORBIDDEN: {
|
|
8353
|
+
readonly message: "You do not have permission to access this resource";
|
|
8354
|
+
};
|
|
8355
|
+
readonly NOT_FOUND: {
|
|
8356
|
+
readonly message: "The requested resource was not found";
|
|
8357
|
+
};
|
|
8358
|
+
readonly BAD_REQUEST: {
|
|
8359
|
+
readonly message: "Invalid request";
|
|
8360
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8361
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
8362
|
+
code: zod.ZodString;
|
|
8363
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
8364
|
+
message: zod.ZodString;
|
|
8365
|
+
}, better_auth.$loose>>;
|
|
8366
|
+
}, better_auth.$strip>>;
|
|
8367
|
+
};
|
|
8368
|
+
readonly CONFLICT: {
|
|
8369
|
+
readonly message: "The request conflicts with existing data";
|
|
8370
|
+
};
|
|
8371
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
8372
|
+
readonly message: "An internal server error occurred";
|
|
8373
|
+
};
|
|
8374
|
+
}>, Record<never, never>>;
|
|
8375
|
+
};
|
|
7938
8376
|
};
|
|
7939
8377
|
/**
|
|
7940
8378
|
* Development-only endpoints - returns 404 in production.
|