update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+20
@@ -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<"">;
|
||||
Reference in New Issue
Block a user