2022-05-07 02:11:07 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export interface IProfileParams {
|
2022-09-16 15:04:25 +00:00
|
|
|
realname?: string;
|
|
|
|
name?: string;
|
2022-05-07 02:11:07 +00:00
|
|
|
username: string;
|
|
|
|
email: string | null;
|
|
|
|
newPassword: string;
|
|
|
|
currentPassword: string;
|
2023-08-01 17:34:05 +00:00
|
|
|
bio?: string;
|
|
|
|
nickname?: string;
|
2022-05-07 02:11:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatarButton {
|
|
|
|
key: string;
|
|
|
|
child: React.ReactNode;
|
|
|
|
onPress: () => void;
|
|
|
|
disabled: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatar {
|
2023-04-10 14:59:00 +00:00
|
|
|
data: string | null;
|
2022-05-07 02:11:07 +00:00
|
|
|
url?: string;
|
|
|
|
contentType?: string;
|
|
|
|
service?: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatarSuggestion {
|
2023-04-10 14:59:00 +00:00
|
|
|
url: string;
|
|
|
|
blob: string;
|
|
|
|
contentType: string;
|
2022-05-07 02:11:07 +00:00
|
|
|
}
|