@framebreak/types 0.1.21 → 0.1.22
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 +69 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2770,6 +2770,75 @@ declare const v1Router: {
|
|
|
2770
2770
|
* Requires insider role (community:view permission).
|
|
2771
2771
|
*/
|
|
2772
2772
|
community: {
|
|
2773
|
+
stats: {
|
|
2774
|
+
memberCount: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
2775
|
+
session: {
|
|
2776
|
+
id: string;
|
|
2777
|
+
createdAt: Date;
|
|
2778
|
+
updatedAt: Date;
|
|
2779
|
+
userId: string;
|
|
2780
|
+
expiresAt: Date;
|
|
2781
|
+
token: string;
|
|
2782
|
+
ipAddress?: string | null | undefined | undefined;
|
|
2783
|
+
userAgent?: string | null | undefined | undefined;
|
|
2784
|
+
impersonatedBy?: string | null | undefined;
|
|
2785
|
+
};
|
|
2786
|
+
user: {
|
|
2787
|
+
id: string;
|
|
2788
|
+
createdAt: Date;
|
|
2789
|
+
updatedAt: Date;
|
|
2790
|
+
email: string;
|
|
2791
|
+
emailVerified: boolean;
|
|
2792
|
+
name: string;
|
|
2793
|
+
image?: string | null | undefined | undefined;
|
|
2794
|
+
onboardingCompleted: boolean | null | undefined;
|
|
2795
|
+
linkedinVerified: boolean | null | undefined;
|
|
2796
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
2797
|
+
linkedinId?: string | null | undefined;
|
|
2798
|
+
linkedinName?: string | null | undefined;
|
|
2799
|
+
banned: boolean | null | undefined;
|
|
2800
|
+
role?: string | null | undefined;
|
|
2801
|
+
banReason?: string | null | undefined;
|
|
2802
|
+
banExpires?: Date | null | undefined;
|
|
2803
|
+
username?: string | null | undefined;
|
|
2804
|
+
displayUsername?: string | null | undefined;
|
|
2805
|
+
};
|
|
2806
|
+
}>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
|
|
2807
|
+
data: {
|
|
2808
|
+
memberCount: number;
|
|
2809
|
+
};
|
|
2810
|
+
}, {
|
|
2811
|
+
data: {
|
|
2812
|
+
memberCount: number;
|
|
2813
|
+
};
|
|
2814
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2815
|
+
readonly UNAUTHORIZED: {
|
|
2816
|
+
readonly message: "You must be logged in to access this resource";
|
|
2817
|
+
};
|
|
2818
|
+
readonly FORBIDDEN: {
|
|
2819
|
+
readonly message: "You do not have permission to access this resource";
|
|
2820
|
+
};
|
|
2821
|
+
readonly NOT_FOUND: {
|
|
2822
|
+
readonly message: "The requested resource was not found";
|
|
2823
|
+
};
|
|
2824
|
+
readonly BAD_REQUEST: {
|
|
2825
|
+
readonly message: "Invalid request";
|
|
2826
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
2827
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
2828
|
+
code: zod.ZodString;
|
|
2829
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
2830
|
+
message: zod.ZodString;
|
|
2831
|
+
}, better_auth.$loose>>;
|
|
2832
|
+
}, better_auth.$strip>>;
|
|
2833
|
+
};
|
|
2834
|
+
readonly CONFLICT: {
|
|
2835
|
+
readonly message: "The request conflicts with existing data";
|
|
2836
|
+
};
|
|
2837
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
2838
|
+
readonly message: "An internal server error occurred";
|
|
2839
|
+
};
|
|
2840
|
+
}>, Record<never, never>>;
|
|
2841
|
+
};
|
|
2773
2842
|
posts: {
|
|
2774
2843
|
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
2775
2844
|
session: {
|