Skip to content

Commit 525768a

Browse files
committed
bump
1 parent 106e168 commit 525768a

3 files changed

Lines changed: 191 additions & 15 deletions

File tree

packages/app/server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"google-auth-library": "^10.3.0",
7272
"jose": "^6.0.11",
7373
"multer": "^2.0.2",
74+
"next": "^15.5.9",
7475
"openai": "^6.2.0",
7576
"prisma": "6.16.0",
7677
"typescript": "^5.3.3",

packages/sdk/ts/src/api-types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ export type CreateStripePaymentLinkBody = {
117117
successUrl?: string | undefined;
118118
};
119119

120+
export type GetUserReferralResponse = { success: boolean; message: string };
121+
122+
export type GetUserReferralQuery = { echoAppId: string };
123+
120124
export type CreateUserReferralResponse = { success: boolean; message: string };
121125

122126
export type CreateUserReferralBody = { echoAppId: string; code: string };
@@ -210,6 +214,10 @@ export type ApiRoutes = {
210214
response: CreateStripePaymentLinkResponse;
211215
body: CreateStripePaymentLinkBody;
212216
};
217+
'GET /user/referral': {
218+
response: GetUserReferralResponse;
219+
query: GetUserReferralQuery;
220+
};
213221
'POST /user/referral': {
214222
response: CreateUserReferralResponse;
215223
body: CreateUserReferralBody;

0 commit comments

Comments
 (0)