arlas-wui-toolkit / Exports / ArlasConfigurationDescriptor
Class: ArlasConfigurationDescriptor
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ArlasConfigurationDescriptor(collaborativesearchService
, configService
)
Parameters
Name | Type |
---|---|
collaborativesearchService |
ArlasCollaborativesearchService |
configService |
ArlasConfigService |
Defined in
projects/arlas-toolkit/src/lib/services/configuration-descriptor/configurationDescriptor.service.ts:35
Properties
fetchOptions
• fetchOptions: Object
Type declaration
Name | Type |
---|---|
credentials |
string |
Defined in
projects/arlas-toolkit/src/lib/services/configuration-descriptor/configurationDescriptor.service.ts:31
Methods
getAllCollections
▸ getAllCollections(): Observable
<string
[]>
Description
Returns an Observable that contains the list of all collections declared in ARLAS-server (that is configurated in env.js ( serverUrl )
Returns
Observable
<string
[]>
Defined in
projects/arlas-toolkit/src/lib/services/configuration-descriptor/configurationDescriptor.service.ts:44
getFields
▸ getFields(types?
): Observable
<{ label
: string
; type
: string
}[]>
Description
Returns an Observable that contains a list of the fields which types are in types
param.
If no types
are specified, then all the fields are returned.
Parameters
Name | Type |
---|---|
types? |
string [] |
Returns
Observable
<{ label
: string
; type
: string
}[]>
Defined in
projects/arlas-toolkit/src/lib/services/configuration-descriptor/configurationDescriptor.service.ts:61