UNPKG

@ords/modules

Version:

Modules for ords-core microservices based upon proposals

44 lines (43 loc) 1.03 kB
import { ServiceRegistry } from '@ords/core'; import { connectors } from '../../'; /** * Express REST map connector */ export declare class MapExpress { /** * The microservice server instance */ private msever; /** * Maps to instance of db */ private root; /** * Construct new instance on the specific set of services */ constructor(mserver: ServiceRegistry, connector: connectors.ConnectorExpress); /** * Log in a user based upon password and username */ private signIn(req, res, next); /** * Sign up a user based upon password and username */ private signUp(req, res, next); /** * Log in a user based upon password and username */ private signOut(req, res, next); /** * Remove the current user */ private remove(req, res, next); /** * Patch the current user */ private patch(req, res, next); /** * Remove the current user */ private validate(req, res, next); }