2022-05-30 22:01:25 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export interface IProfileParams {
|
2022-09-16 15:04:25 +00:00
|
|
|
realname?: string;
|
|
|
|
name?: string;
|
2022-05-30 22:01:25 +00:00
|
|
|
username: string;
|
|
|
|
email: string | null;
|
|
|
|
newPassword: string;
|
|
|
|
currentPassword: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatarButton {
|
|
|
|
key: string;
|
|
|
|
child: React.ReactNode;
|
|
|
|
onPress: () => void;
|
|
|
|
disabled: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatar {
|
|
|
|
data: {} | string | null;
|
|
|
|
url?: string;
|
|
|
|
contentType?: string;
|
|
|
|
service?: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAvatarSuggestion {
|
|
|
|
[service: string]: {
|
|
|
|
url: string;
|
|
|
|
blob: string;
|
|
|
|
contentType: string;
|
|
|
|
};
|
|
|
|
}
|