update lại thư mục cấu trúc mới của server nodejs và python

This commit is contained in:
Victor Phan
2026-07-21 09:13:52 +07:00
parent 7625bdd37b
commit 58b1dcd170
1555 changed files with 0 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import type { BusinessCategory, Gender } from "../models/index.js";
export type UpdateProfilePayload = {
profile: {
name: string;
/**
* Date of birth in the format YYYY-MM-DD
*/
dob: `${string}-${string}-${string}`;
gender: Gender;
};
biz?: Partial<{
cate: BusinessCategory;
description: string;
address: string;
website: string;
email: string;
}>;
};
export type UpdateProfileResponse = "";
export declare const updateProfileFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: UpdateProfilePayload) => Promise<"">;