@framebreak/types 0.1.0 → 0.1.2
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 +41 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,44 @@ declare const v1Router: {
|
|
|
95
95
|
email: string;
|
|
96
96
|
image: string | null | undefined;
|
|
97
97
|
}>, Record<never, never>, Record<never, never>>;
|
|
98
|
+
stats: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
99
|
+
session: {
|
|
100
|
+
id: string;
|
|
101
|
+
createdAt: Date;
|
|
102
|
+
updatedAt: Date;
|
|
103
|
+
userId: string;
|
|
104
|
+
expiresAt: Date;
|
|
105
|
+
token: string;
|
|
106
|
+
ipAddress?: string | null | undefined | undefined;
|
|
107
|
+
userAgent?: string | null | undefined | undefined;
|
|
108
|
+
};
|
|
109
|
+
user: {
|
|
110
|
+
id: string;
|
|
111
|
+
createdAt: Date;
|
|
112
|
+
updatedAt: Date;
|
|
113
|
+
email: string;
|
|
114
|
+
emailVerified: boolean;
|
|
115
|
+
name: string;
|
|
116
|
+
image?: string | null | undefined | undefined;
|
|
117
|
+
onboardingCompleted: boolean | null | undefined;
|
|
118
|
+
linkedinVerified: boolean | null | undefined;
|
|
119
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
120
|
+
linkedinId?: string | null | undefined;
|
|
121
|
+
linkedinName?: string | null | undefined;
|
|
122
|
+
username?: string | null | undefined;
|
|
123
|
+
displayUsername?: string | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
}>, _orpc_contract.Schema<unknown, unknown>, _orpc_contract.Schema<{
|
|
126
|
+
data: {
|
|
127
|
+
postCount: number;
|
|
128
|
+
commentCount: number;
|
|
129
|
+
};
|
|
130
|
+
}, {
|
|
131
|
+
data: {
|
|
132
|
+
postCount: number;
|
|
133
|
+
commentCount: number;
|
|
134
|
+
};
|
|
135
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
98
136
|
completeOnboarding: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
99
137
|
session: {
|
|
100
138
|
id: string;
|
|
@@ -767,7 +805,7 @@ declare const v1Router: {
|
|
|
767
805
|
};
|
|
768
806
|
}>, zod.ZodObject<{
|
|
769
807
|
postId: zod.ZodString;
|
|
770
|
-
|
|
808
|
+
parentCommentId: zod.ZodOptional<zod.ZodString>;
|
|
771
809
|
content: zod.ZodString;
|
|
772
810
|
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
773
811
|
data: Comment;
|
|
@@ -1213,6 +1251,7 @@ declare const v1Router: {
|
|
|
1213
1251
|
commentsCount: number;
|
|
1214
1252
|
isLiked: boolean;
|
|
1215
1253
|
};
|
|
1254
|
+
replyAvatars: string[];
|
|
1216
1255
|
}[];
|
|
1217
1256
|
pagination: {
|
|
1218
1257
|
nextCursor: string | null;
|
|
@@ -1245,6 +1284,7 @@ declare const v1Router: {
|
|
|
1245
1284
|
commentsCount: number;
|
|
1246
1285
|
isLiked: boolean;
|
|
1247
1286
|
};
|
|
1287
|
+
replyAvatars: string[];
|
|
1248
1288
|
}[];
|
|
1249
1289
|
pagination: {
|
|
1250
1290
|
nextCursor: string | null;
|