Commit 5ae371d1 authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

Se agregó el metodo para obtener los intereses actuales del usuario

parent 899f7903
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ import { IOption } from "../../../common/domain/entities/option";

export interface ProfileDataSource {
    getInterests: () => Promise<IOption[]>;
    getUserInterests: () => Promise<IOption[]>;
    saveInterests: (options: IOption[]) => Promise<void>;
    setUpProfile: (birthdate: string, interests: IOption[]) => Promise<void>;
    changePassword: (oldPassword: string, newPassword: string) => Promise<void>;
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ import { IOption } from "../../../common/domain/entities/option";

export interface ProfileRepository {
    getInterests: () => Promise<IOption[]>;
    getUserInterests: () => Promise<IOption[]>;
    saveInterests: (options: IOption[]) => Promise<void>;
    setUpProfile: (birthdate: string, interests: IOption[]) => Promise<void>;
    changePassword: (oldPassword: string, newPassword: string) => Promise<void>;