import { UmbWebhookCollectionServerDataSource } from './webhook-collection.server.data-source.js';
import { UmbRepositoryBase } from '../../../../core/repository/index.js';
export class UmbWebhookCollectionRepository extends UmbRepositoryBase {
    #collectionSource;
    constructor(host) {
        super(host);
        this.#collectionSource = new UmbWebhookCollectionServerDataSource(host);
    }
    async requestCollection(filter) {
        return this.#collectionSource.getCollection(filter);
    }
}
export default UmbWebhookCollectionRepository;
