Config: {
    exportFullConfiguration(options: FullExportOptions, collectErrors?: Error[]): Promise<FullExportInterface>;
    importFullConfiguration(importData: FullExportInterface, options: FullImportOptions, collectErrors?: Error[]): Promise<void>;
}

Type declaration

  • exportFullConfiguration:function
    • Export full configuration

      Parameters

      • options: FullExportOptions

        export options

      • Optional collectErrors: Error[]

        optional parameter to collect errors instead of having the function throw. Pass an empty array to collect errors and report on them but have the function perform all it can and return the export data even if it encounters errors.

      Returns Promise<FullExportInterface>

      a promise resolving to a full export object

  • importFullConfiguration:function
    • Import full configuration

      Parameters

      • importData: FullExportInterface

        import data

      • options: FullImportOptions

        import options

      • Optional collectErrors: Error[]

        optional parameter to collect errors instead of having the function throw. Pass an empty array to collect errors and report on them but have the function perform all it can and return the export data even if it encounters errors.

      Returns Promise<void>