summary refs log tree commit diff
path: root/src/util/entities/User.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r--src/util/entities/User.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts

index 1237b676..57afb132 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts
@@ -233,6 +233,26 @@ export class User extends BaseClass { } } + /** + * + * + * @static + * @param {{ + * username: string; + * password?: string; + * email?: string; + * date_of_birth?: Date; // "2000-04-03" + * req?: any; + * }} { + * email, + * username, + * password, + * date_of_birth, + * req, + * } + * @return {*} + * @memberof User + */ static async register({ email, username,