Skip to content

Commit

Permalink
⚰️ Remove listerDépotsEnCours adpater
Browse files Browse the repository at this point in the history
  • Loading branch information
HubM committed Apr 3, 2024
1 parent f25af72 commit 4c191b8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 83 deletions.
2 changes: 0 additions & 2 deletions packages/applications/bootstrap/src/setupLauréat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
consulterCahierDesChargesChoisiAdapter,
listerAbandonsAdapter,
listerAbandonsPourPorteurAdapter,
listerDépôtsEnCoursGarantiesFinancièresAdapter,
récupérerRégionDreal,
} from '@potentiel-infrastructure/domain-adapters';
import { getModèleRéponseAbandon } from '@potentiel-infrastructure/document-builder';
Expand All @@ -32,7 +31,6 @@ export const setupLauréat = async () => {
buildModèleRéponseAbandon: getModèleRéponseAbandon,
listerAbandons: listerAbandonsAdapter,
récupérerRégionDreal: récupérerRégionDreal,
listerDépôtsEnCoursGarantiesFinancières: listerDépôtsEnCoursGarantiesFinancièresAdapter,
});

AbandonProjector.register();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ import { IdentifiantUtilisateur, Role } from '@potentiel-domain/utilisateur';
import { Option } from '@potentiel-librairies/monads';
import { List } from '@potentiel-domain/core';

export type ListerDépôtsEnCoursGarantiesFinancièresPort = (args: {
where: {
appelOffre?: string;
};
pagination: {
page: number;
itemsPerPage: number;
};
région?: string;
}) => Promise<{
items: ReadonlyArray<DépôtEnCoursGarantiesFinancièresEntity>;
currentPage: number;
itemsPerPage: number;
totalItems: number;
}>;

type DépôtEnCoursGarantiesFinancièresListItemReadModel = {
identifiantProjet: IdentifiantProjet.ValueType;
nomProjet: string;
Expand Down Expand Up @@ -70,7 +54,6 @@ export type ListerDépôtsEnCoursGarantiesFinancièresQuery = Message<

export type ListerDépôtsEnCoursGarantiesFinancièresDependencies = {
list: List;
listerDépôtsEnCoursGarantiesFinancières: ListerDépôtsEnCoursGarantiesFinancièresPort;
récupérerRégionDreal: CommonPort.RécupérerRégionDrealPort;
};

Expand Down
4 changes: 0 additions & 4 deletions packages/domain/lauréat/src/garantiesFinancières/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { ModifierDépôtGarantiesFinancièresEnCoursUseCase } from './dépôt/mo
import {
ListerDépôtsEnCoursGarantiesFinancièresQuery,
ListerDépôtsEnCoursGarantiesFinancièresReadModel,
ListerDépôtsEnCoursGarantiesFinancièresPort,
} from './dépôt/lister/listerDépôtsEnCoursGarantiesFinancières.query';

import { ImporterTypeGarantiesFinancièresUseCase } from './importer/importerTypeGarantiesFinancières.usecase';
Expand Down Expand Up @@ -78,6 +77,3 @@ export * as StatutDépôtGarantiesFinancières from './statutDépôtGarantiesFin
// Projections
export * from './garantiesFinancières.entity';
export * from './dépôtEnCoursGarantiesFinancières.entity';

// Ports
export { ListerDépôtsEnCoursGarantiesFinancièresPort };

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion packages/infrastructure/domain-adapters/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from './projet';
export * from './utilisateur';
export * from './abandon';
export * from './garanties-financieres';
export * as DocumentAdapter from './document/document.adapter';
export * as CandidatureAdapter from './candidature/candidature.adapter';
export * as TâcheAdapter from './tâche/tâche.adapter';

0 comments on commit 4c191b8

Please sign in to comment.