refactor: Remove webhook from IDatabaseCollections (no-changelog) (#6745)

* refactor: Remove webhook from `IDatabaseCollections`

* refactor: Remove also from `collections`
This commit is contained in:
Iván Ovejero 2023-07-26 11:58:38 +02:00 committed by GitHub
parent 5b99f1e177
commit 40d7419821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -187,7 +187,6 @@ export async function init(testConnectionOptions?: ConnectionOptions): Promise<v
collections.Tag = Container.get(TagRepository); collections.Tag = Container.get(TagRepository);
collections.User = Container.get(UserRepository); collections.User = Container.get(UserRepository);
collections.Variables = Container.get(VariablesRepository); collections.Variables = Container.get(VariablesRepository);
collections.Webhook = Container.get(WebhookRepository);
collections.Workflow = Container.get(WorkflowRepository); collections.Workflow = Container.get(WorkflowRepository);
collections.WorkflowStatistics = Container.get(WorkflowStatisticsRepository); collections.WorkflowStatistics = Container.get(WorkflowStatisticsRepository);
collections.WorkflowTagMapping = Container.get(WorkflowTagMappingRepository); collections.WorkflowTagMapping = Container.get(WorkflowTagMappingRepository);

View file

@ -103,7 +103,6 @@ export interface IDatabaseCollections extends Record<string, Repository<any>> {
Tag: TagRepository; Tag: TagRepository;
User: UserRepository; User: UserRepository;
Variables: VariablesRepository; Variables: VariablesRepository;
Webhook: WebhookRepository;
Workflow: WorkflowRepository; Workflow: WorkflowRepository;
WorkflowStatistics: WorkflowStatisticsRepository; WorkflowStatistics: WorkflowStatisticsRepository;
WorkflowTagMapping: WorkflowTagMappingRepository; WorkflowTagMapping: WorkflowTagMappingRepository;