Skip to main content

Class: ResourceHelper

Utility class for configuring a resource module.

Table of contents

Constructors

Methods

Constructors

constructor

new ResourceHelper(): ResourceHelper

Returns

ResourceHelper

Methods

forFeature

forFeature(opts): DynamicModule

Creates a DynamicModule for the resource with the provided options.

Parameters

NameTypeDescription
optsModuleOptsThe configuration options.

Returns

DynamicModule

The configured DynamicModule.

Static

Defined in

src/helpers/resourceHelper.ts:29