The HOOK_SERVICE_STATUS
extension hook allows developers to declare custom service status options and define their visual presentation. It needs to be provided as multi provider in one of your application modules:
@NgModule({
imports: [...],
providers: [
...,
{
provide: HOOK_SERVICE_STATUS,
useValue: {
key: 'your-key',
label: 'Your label',
icon: 'your-icon',
class: 'your-css-class-1 your-css-class-1'
},
multi: true
}
]
})
export class YourModule {}
You can also define multiple status options at once by providing an array of StatusOptions
in your provider.