Home Reference Source Repository
import ProjectMemoryClient from 'schema-mapper-store/lib/project/memory.js'
public class | source

ProjectMemoryClient

Project client that stores data in memory (TESTING ONLY)

Constructor Summary

Public Constructor
public

Create a new ProjectMemoryClient instance

Member Summary

Public Members
public

Object that will hold all projects

Method Summary

Public Methods
public

Retrieve all projects

public

putAllProjects(allProjects: Object)

Store all projects

Public Constructors

public constructor source

Create a new ProjectMemoryClient instance

Public Members

public allProjects: Object source

Object that will hold all projects

Public Methods

public getAllProjects(): Object source

Retrieve all projects

Return:

Object

Object containing all projects

public putAllProjects(allProjects: Object) source

Store all projects

Params:

NameTypeAttributeDescription
allProjects Object

All projects