Skip to main content

foundation-comms.defaultmetacache

Home > @genesislcap/foundation-comms > DefaultMetaCache

DefaultMetaCache class

The default implementation for the MetaCache interface.

Signature:

export declare class DefaultMetaCache implements MetaCache 

Implements: MetaCache

Properties

Property

Modifiers

Type

Description

cachedJsonSchema

Map<string, SchemaResponse>

cachedMetadata

Map<string, Metadata>

Methods

Method

Modifiers

Description

getJsonSchemaFor(resourceName)

getMetadataFor(resourceName)

hasJsonSchemaFor(resourceName)

hasMetadataFor(resourceName)

setJsonSchemaFor(resourceName, schemaResponse)

setMetadataFor(resourceName, metadata)