// SPDX-License-Identifier: Apache-2.0
import { MutableModelConfigSource } from './mutable-model-config-source.js';
export class LocalConfigSource extends MutableModelConfigSource {
    constructor(fileName, schema, mapper, backend, modelTemplate) {
        super(fileName, schema, backend, mapper);
        if (modelTemplate) {
            this.modelData = modelTemplate;
        }
    }
    get name() {
        return this.constructor.name;
    }
    get ordinal() {
        return 200;
    }
    async refresh() {
        await this.load();
    }
}
//# sourceMappingURL=local-config-source.js.map