// SPDX-License-Identifier: Apache-2.0
import { MutableModelConfigSource } from './mutable-model-config-source.js';
export class RemoteConfigSource extends MutableModelConfigSource {
    constructor(schema, mapper, backend) {
        super('remote-config-data', schema, backend, mapper);
    }
    get name() {
        return this.constructor.name;
    }
    get ordinal() {
        return 300;
    }
    async refresh() {
        await this.load();
    }
    setModelData(remoteConfig) {
        this.modelData = remoteConfig;
    }
}
//# sourceMappingURL=remote-config-source.js.map