Skip to content

arlas-wui-toolkit / Exports / ContributorBuilder

Class: ContributorBuilder

Table of contents

Constructors

Methods

Constructors

constructor

new ContributorBuilder()

Methods

buildContributor

Static buildContributor(contributorType, identifier, configService, collaborativesearchService, settingsService, colorService?): any

Parameters

Name Type
contributorType string
identifier string
configService ArlasConfigService
collaborativesearchService ArlasCollaborativesearchService
settingsService ArlasSettingsService
colorService? ArlasColorService

Returns

any

Defined in

projects/arlas-toolkit/src/lib/services/startup/contributorBuilder.ts:38


getCollections

Static getCollections(contributorsConfig): Set<string>

Returns all the collections that are configured in each type of contributor.

Parameters

Name Type
contributorsConfig any[]

Returns

Set<string>

Defined in

projects/arlas-toolkit/src/lib/services/startup/contributorBuilder.ts:123