Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
import { AddressesDataSource } from "resource://gre/modules/megalist/aggregator/datasources/AddressesDataSource.sys.mjs";
import { BankCardDataSource } from "resource://gre/modules/megalist/aggregator/datasources/BankCardDataSource.sys.mjs";
import { LoginDataSource } from "resource://gre/modules/megalist/aggregator/datasources/LoginDataSource.sys.mjs";
export class DefaultAggregator extends Aggregator {
constructor() {
super();
this.addSource(aggregatorApi => new AddressesDataSource(aggregatorApi));
this.addSource(aggregatorApi => new BankCardDataSource(aggregatorApi));
this.addSource(aggregatorApi => new LoginDataSource(aggregatorApi));
}
}