'use strict' ; import { User } from '../user.entity' ; import { IUser } from '../interfaces/index' ; export interface IUserService { findAll ( options ) : Promise < Array < User > > ; findById ( id ) : Promise < User | null > ; findOne ( options ) : Promise < User | null > ; create ( user ) : Promise < User > ; update ( id , newValue ) : Promise < User | null > ; delete ( id ) : Promise < void > ; }