How to use the @scion/microfrontend-platform.Topics.Providers function in @scion/microfrontend-platform

To help you get started, we’ve selected a few @scion/microfrontend-platform examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SchweizerischeBundesbahnen / scion-workbench / apps / microfrontend-apps / src / testing-app / manifest / manage-capabilities / manage-capabilities.component.ts View on Github external
constructor(fb: FormBuilder) {
    this.form = fb.group({
      [TYPE]: new FormControl('', Validators.required),
      [QUALIFIER]: fb.array([]),
      [PRIVATE]: new FormControl(true, Validators.required),
    });

    this.capabilities$ = Beans.get(MessageClient).request$(Topics.Providers).pipe(mapToBody());
  }