Skip to main content

Constructor

Creates a new OMSSServer instance.

Parameters

OMSSConfig
required
Immutable server configuration

Returns

OMSSServer

Properties

required
Get the OMSS Config from the constructor
ExtractorService
required
required
PluginService
required
ProviderService
required
SourceService
required

Methods

decorate()

Decorate the OMSSServer instance with a new property.

Parameters

string
required
The name of the property to be decorated.
T
required
The value to be assigned to the property.
string[]
An array of dependency names.

Returns

Result<string, OMSSServerError> The name of the decorated property in the Result object.

getDecorator()

Get a decorated property by its name.

Parameters

string
required
The name of the property to retrieve.

Returns

Result<T, OMSSServerError> The decorated property value in the Result object.

hasDecorator()

Check if a decorator with the given name exists.

Parameters

string
required
The name of the decorator to check.

Returns

boolean True if the decorator exists, false otherwise.
Last modified on July 27, 2026