mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-04 09:48:43 +09:00
WIP: Add user interface
This commit is contained in:
parent
ffec932cb7
commit
f9aa38ee49
@ -18,3 +18,7 @@ export function validatePassword(password: string): boolean {
|
|||||||
export function isValidBirthday(birthday: string): boolean {
|
export function isValidBirthday(birthday: string): boolean {
|
||||||
return typeof birthday == 'string' && /^([0-9]{4})\-([0-9]{2})-([0-9]{2})$/.test(birthday);
|
return typeof birthday == 'string' && /^([0-9]{4})\-([0-9]{2})-([0-9]{2})$/.test(birthday);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface IUser {
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user