Interface IResourceWithConfig<TConfig, TValue, TDependencies, TContext, TMeta, TTags, TMiddleware>

interface IResourceWithConfig<TConfig, TValue, TDependencies, TContext, TMeta, TTags, TMiddleware> {
    [symbolResourceWithConfig]: true;
    config: TConfig;
    id: string;
    resource: IResource<TConfig, TValue, TDependencies, TContext, TMeta, TTags, TMiddleware>;
}

Type Parameters

Properties

[symbolResourceWithConfig]: true
config: TConfig

The configuration captured by .with(config).

id: string

The id of the underlying resource.

The underlying resource definition.