Frodo Library - v4.0.0-10
    Preparing search index...

    Type Alias AmConfig

    type AmConfig = {
        createConfigEntityExportTemplate(
            realms?: string[],
        ): Promise<ConfigEntityExportInterface>;
        exportAmConfigEntities(
            includeReadOnly: boolean,
            onlyRealm: boolean,
            onlyGlobal: boolean,
            resultCallback?: ResultCallback<AmConfigEntityInterface>,
        ): Promise<ConfigEntityExportInterface>;
        importAmConfigEntities(
            importData: ConfigEntityExportInterface,
            resultCallback?: ResultCallback<AmConfigEntityInterface>,
        ): Promise<ConfigSkeleton>;
    }
    Index

    Methods

    • Export all other AM config entities

      Parameters

      • includeReadOnly: boolean

        Include read only config in the export

      • onlyRealm: boolean

        Export config only from the active realm. If onlyGlobal is also active, then it will also export the global config.

      • onlyGlobal: boolean

        Export global config only. If onlyRealm is also active, then it will also export the active realm config.

      • OptionalresultCallback: ResultCallback<AmConfigEntityInterface>

        Optional callback to process individual results

      Returns Promise<ConfigEntityExportInterface>

      promise resolving to a ConfigEntityExportInterface object