import { UmbMediaCollectionServerDataSource } from './media-collection.server.data-source.js';
import { UmbRepositoryBase } from '../../../../core/repository/index.js';
export class UmbMediaCollectionRepository extends UmbRepositoryBase {
    #collectionSource;
    constructor(host) {
        super(host);
        this.#collectionSource = new UmbMediaCollectionServerDataSource(host);
    }
    async getDefaultConfiguration() {
        return {
            // TODO: The default Collection data-type ID (for the Media ListView) will come from the server soon.  [LK]
            defaultDataTypeId: '3a0156c4-3b8c-4803-bdc1-6871faa83fff',
        };
    }
    async requestCollection(query) {
        return this.#collectionSource.getCollection(query);
    }
}
export default UmbMediaCollectionRepository;
