export interface ResourceService { findOne(name: string): any; create(resource: any): any; update(resource: any): any; }