config.dependencies.author_api.init_options - Initialization - Author Aide API

Author Aide API Initialization

init_options

Specifies the configuration options for the Author API dependency.

You would want to use this to set certain attributes for Author API instances used in Author Aide API. For example, you can specify filters for the Item list (used in translation), so that not all Items are visible.

See more for Author API initialization options init options.

Examples

const initializationOptions = {
    "config": {
        "dependencies": {
            "author_api": {
                "init_options": {
                    "config": {
                        "global": {
                            "show_tags": [
                                {
                                    "type": "TYPE3",
                                    "description": "TYPE3_DESCRIPTION",
                                    "label": "TYPE3_UI_LABEL"
                                },
                                {
                                    "type": "TYPE4",
                                    "description": "TYPE4_DESCRIPTION",
                                    "label": "TYPE4_UI_LABEL"
                                },
                            ]
                        }
                    }
                }
            }
        }
    }
};

Values

Attribute path config.dependencies.author_api.init_options

Type object

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.