Represents the public interface of a IConfigBeanModel

interface IConfigBeanModel<T> {
    getConfigBean?: ((id) => Promise<undefined | KosServiceResponse<ConfigBeanResponse>>);
}

Type Parameters

  • T extends {} = any

Hierarchy

Service

getConfigBean?: ((id) => Promise<undefined | KosServiceResponse<ConfigBeanResponse>>)

Service to get a ConfigBeanModel on the backend.

Type declaration

Remarks

it is expected that the response will not provide any additional data and the system should only assume that a successful response means that the request was accepted by the backend. Successful modification of the model will be broadcast via the appropriate Event Topic.

Returns

  • a Promise that resolves to an empty KosServiceResponse