@lxdhub/dbsync
Version:
Display, search and copy LXD-images using a web interface.
14 lines (13 loc) • 414 B
TypeScript
import { Remote } from '@lxdhub/db';
import { RemoteDto } from '../';
/**
* Factory which prodcues RemoteDtos
*/
export declare class RemoteFactory {
/**
* Maps the given RemoteDto with the database Remote and returns
* the instance
* @param image The RemoteDto, which should be mapped with a database Remote
*/
dtoToEntity(externalRemote: RemoteDto, localRemote?: Remote): Remote;
}