UNPKG

@nestjs-mod/webhook-afat

Version:

Webhook UI components and tools for AFAT (Angular, Formly, Antd, Transloco) and rest-sdk for work with backend of this module from Angular appliaction

21 lines (20 loc) 1.16 kB
import { TranslocoService } from '@jsverse/transloco'; import { ValidationErrorMetadataInterface, ValidationService } from '@nestjs-mod/afat'; import { FormlyFieldConfig } from '@ngx-formly/core'; import { UpdateWebhookDtoInterface, WebhookEventInterface } from '../generated/rest-sdk'; import { WebhookEventsService } from './webhook-events.service'; import * as i0 from "@angular/core"; export declare class WebhookFormService { protected readonly webhookEventsService: WebhookEventsService; protected readonly translocoService: TranslocoService; protected readonly validationService: ValidationService; protected events: WebhookEventInterface[]; constructor(webhookEventsService: WebhookEventsService, translocoService: TranslocoService, validationService: ValidationService); init(): import("rxjs").Observable<WebhookEventInterface[]>; getFormlyFields(options?: { data?: UpdateWebhookDtoInterface; errors?: ValidationErrorMetadataInterface[]; }): FormlyFieldConfig[]; static ɵfac: i0.ɵɵFactoryDeclaration<WebhookFormService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<WebhookFormService>; }