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

Type declaration

  • createConfigEntityExportTemplate:function
  • exportAmConfigEntities:function
    • 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.

      Returns Promise<ConfigEntityExportInterface>

      promise resolving to a ConfigEntityExportInterface object

  • importAmConfigEntities:function