Commit 35c3e642 authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

Se crearon las interfaces que representan la obtención de datos relacionados...

Se crearon las interfaces que representan la obtención de datos relacionados con el perfil del usuario
parent cacfd649
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
import { IOption } from "../../../common/domain/entities/option";

export interface ProfileDataSource {
    getInterests: () => Promise<IOption[]>;
    saveInterests: (options: IOption[]) => Promise<void>;
    setUpProfile: (birthdate: string, interests: IOption[]) => Promise<void>;
}; 
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
import { IOption } from "../../../common/domain/entities/option";

export interface ProfileRepository {
    getInterests: () => Promise<IOption[]>;
    saveInterests: (options: IOption[]) => Promise<void>;
    setUpProfile: (birthdate: string, interests: IOption[]) => Promise<void>;
}; 
 No newline at end of file