Terminando telas de completar cadastro

This commit is contained in:
Matheus Albino Brunhara
2022-06-20 04:05:34 -05:00
parent c368324747
commit 3e63a74fc9
10 changed files with 411 additions and 151 deletions

View File

@@ -40,8 +40,9 @@ export interface UpdateUserRequest {
name?: string;
email?: string;
bio?: string;
cpf?: string;
cnpj?: string;
document_type?: string;
document?: string;
phone_number?: string;
}
// export async function get(cpf) {

View File

@@ -5,10 +5,11 @@ interface getByIdReturn {
name: string;
lastname: string;
email: string;
phone_number: string;
birth_date: string;
bio: string;
cpf: string;
cnpj: string;
document_type: string;
document: string;
},
error?: {
errorMessage: string;
@@ -23,10 +24,11 @@ interface getByIdRes {
name: string;
lastname: string;
email: string;
phone_number: string;
birth_date: string;
bio: string;
cpf: string;
cnpj: string;
document_type: string;
document: string;
},
}