@dmp/map-components
    Preparing search index...

    Interface ApiOptions

    interface ApiOptions {
        appendixDocument?: JsonApiDocument;
        appname?: string;
        appurlname?: string;
        datasets?: PartialDataset[];
        datasetState?: DatasetState[];
        draft?: boolean;
        endpoint?: string;
        env?: string;
        excludedDatasets?: string[];
        id?: string;
        locale?: LocaleType;
        onlyQueryable?: boolean;
        onlyRenderable?: boolean;
        orgname?: string;
        store?: JsonApiStore;
        testdata?: TestdataOptions;
    }
    Index

    Properties

    appendixDocument?: JsonApiDocument

    Use the datasets field instead

    appname?: string
    appurlname?: string
    datasets?: PartialDataset[]

    Local Datasets that will be appended to the datasets from the catalog

    datasetState?: DatasetState[]

    Initial datasets

    draft?: boolean
    endpoint?: string

    Endpoint for the catalog NOTE: Default is https://datakatalog.miljoeportal.dk/api

    env?: string
    excludedDatasets?: string[]

    Excluded dataset ids

    id?: string

    Optional ID for this instance. The datasetState is stored in localStorage. The ID can be used to control if two instances of the API schould share the stored datasetState

    locale?: LocaleType

    The locale used

    onlyQueryable?: boolean

    Only use datasets that are queryable

    onlyRenderable?: boolean

    Only use datasets that are renderable

    orgname?: string

    Logging context params

    store?: JsonApiStore
    testdata?: TestdataOptions