Skip to content

Commit

Permalink
🚚 Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Feb 17, 2025
1 parent 9965ed3 commit 7a149a1
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { DocumentProjet, EnregistrerDocumentProjetCommand } from '@potentiel-dom

// Package
import * as TypeDocumentAbandon from '../typeDocumentAbandon.valueType';
import { AnnulerTâchesGarantiesFinancièresCommand } from '../../garantiesFinancières/tâches-planifiées/annuler/annuler.command';
import { AnnulerTâchesPlanifiéesGarantiesFinancièresCommand } from '../../garantiesFinancières/tâches-planifiées/annuler/annuler.command';

import { AccorderAbandonCommand } from './accorderAbandon.command';

Expand Down Expand Up @@ -64,7 +64,7 @@ export const registerAccorderAbandonUseCase = () => {
},
});

await mediator.send<AnnulerTâchesGarantiesFinancièresCommand>({
await mediator.send<AnnulerTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AnnulerTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DateTime, IdentifiantProjet } from '@potentiel-domain/common';
import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';

import { TypeDocumentAchèvement } from '..';
import { AnnulerTâchesGarantiesFinancièresCommand } from '../../garantiesFinancières/tâches-planifiées/annuler/annuler.command';
import { AnnulerTâchesPlanifiéesGarantiesFinancièresCommand } from '../../garantiesFinancières/tâches-planifiées/annuler/annuler.command';

import { TransmettreAttestationConformitéCommand } from './transmettreAttestationConformité.command';

Expand Down Expand Up @@ -84,7 +84,7 @@ export const registerTransmettreAttestationConformitéUseCase = () => {
},
});

await mediator.send<AnnulerTâchesGarantiesFinancièresCommand>({
await mediator.send<AnnulerTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AnnulerTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';
import { Candidature } from '@potentiel-domain/candidature';

import { TypeDocumentGarantiesFinancières } from '../..';
import { AnnulerTâchesGarantiesFinancièresCommand } from '../../tâches-planifiées/annuler/annuler.command';
import { AnnulerTâchesPlanifiéesGarantiesFinancièresCommand } from '../../tâches-planifiées/annuler/annuler.command';

import { SoumettreDépôtGarantiesFinancièresCommand } from './soumettreDépôtGarantiesFinancières.command';

Expand Down Expand Up @@ -73,7 +73,7 @@ export const registerSoumettreDépôtGarantiesFinancièresUseCase = () => {
},
});

await mediator.send<AnnulerTâchesGarantiesFinancièresCommand>({
await mediator.send<AnnulerTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AnnulerTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Message, MessageHandler, mediator } from 'mediateur';
import { DateTime, IdentifiantProjet } from '@potentiel-domain/common';
import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';

import { AjouterTâchesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';
import { AjouterTâchesPlanifiéesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';

import { SupprimerDépôtGarantiesFinancièresEnCoursCommand } from './supprimerDépôtGarantiesFinancièresEnCours.command';

Expand Down Expand Up @@ -37,7 +37,7 @@ export const registerSupprimerGarantiesFinancièresÀTraiterUseCase = () => {
},
});

await mediator.send<AjouterTâchesGarantiesFinancièresCommand>({
await mediator.send<AjouterTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';
import { DocumentProjetCommand, DossierProjet } from '@potentiel-domain/document';

import { TypeDocumentGarantiesFinancières } from '../..';
import { AjouterTâchesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';
import { AjouterTâchesPlanifiéesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';

import { ValiderDépôtGarantiesFinancièresEnCoursCommand } from './validerDépôtGarantiesFinancièresEnCours.command';

Expand Down Expand Up @@ -53,7 +53,7 @@ export const registerValiderDépôtGarantiesFinancièresEnCoursUseCase = () => {
},
});

await mediator.send<AjouterTâchesGarantiesFinancièresCommand>({
await mediator.send<AjouterTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';
import { Candidature } from '@potentiel-domain/candidature';

import { TypeDocumentGarantiesFinancières } from '../..';
import { AjouterTâchesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';
import { AjouterTâchesPlanifiéesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';

import { EnregistrerGarantiesFinancièresCommand } from './enregistrerGarantiesFinancières.command';

Expand Down Expand Up @@ -72,7 +72,7 @@ export const registerEnregistrerGarantiesFinancièresUseCase = () => {
},
});

await mediator.send<AjouterTâchesGarantiesFinancièresCommand>({
await mediator.send<AjouterTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IdentifiantUtilisateur } from '@potentiel-domain/utilisateur';
import { Candidature } from '@potentiel-domain/candidature';

import { TypeDocumentGarantiesFinancières } from '../..';
import { AjouterTâchesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';
import { AjouterTâchesPlanifiéesGarantiesFinancièresCommand } from '../../tâches-planifiées/ajouter/ajouter.command';

import { ModifierGarantiesFinancièresCommand } from './modifierGarantiesFinancières.command';

Expand Down Expand Up @@ -72,7 +72,7 @@ export const registerModifierGarantiesFinancièresUseCase = () => {
},
});

await mediator.send<AjouterTâchesGarantiesFinancièresCommand>({
await mediator.send<AjouterTâchesPlanifiéesGarantiesFinancièresCommand>({
type: 'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
data: {
identifiantProjet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { loadGarantiesFinancièresFactory } from '../../garantiesFinancières.ag
import { loadAchèvementFactory } from '../../../achèvement/achèvement.aggregate';
import * as TypeTâchePlanifiéeGarantiesFinancières from '../../typeTâchePlanifiéeGarantiesFinancières.valueType';

export type AjouterTâchesGarantiesFinancièresCommand = Message<
export type AjouterTâchesPlanifiéesGarantiesFinancièresCommand = Message<
'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
{
identifiantProjet: IdentifiantProjet.ValueType;
Expand All @@ -20,7 +20,7 @@ export const registerAjouterTâchesPlanfiéesCommand = (loadAggregate: LoadAggre
const loadGarantiesFinancières = loadGarantiesFinancièresFactory(loadAggregate);
const loadAchèvement = loadAchèvementFactory(loadAggregate);
const loadTâchePlanifiée = loadTâchePlanifiéeAggregateFactory(loadAggregate);
const handler: MessageHandler<AjouterTâchesGarantiesFinancièresCommand> = async ({
const handler: MessageHandler<AjouterTâchesPlanifiéesGarantiesFinancièresCommand> = async ({
identifiantProjet,
dateÉchéance,
}) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { loadTâchePlanifiéeAggregateFactory } from '@potentiel-domain/tache-pl
import { loadGarantiesFinancièresFactory } from '../../garantiesFinancières.aggregate';
import * as TypeTâchePlanifiéeGarantiesFinancières from '../../typeTâchePlanifiéeGarantiesFinancières.valueType';

export type AnnulerTâchesGarantiesFinancièresCommand = Message<
export type AnnulerTâchesPlanifiéesGarantiesFinancièresCommand = Message<
'Lauréat.GarantiesFinancières.Command.AnnulerTâchesPlanifiées',
{
identifiantProjet: IdentifiantProjet.ValueType;
Expand All @@ -17,7 +17,7 @@ export type AnnulerTâchesGarantiesFinancièresCommand = Message<
export const registerAnnulerTâchesPlanifiéesCommand = (loadAggregate: LoadAggregate) => {
const loadGarantiesFinancières = loadGarantiesFinancièresFactory(loadAggregate);
const loadTâchePlanifiée = loadTâchePlanifiéeAggregateFactory(loadAggregate);
const handler: MessageHandler<AnnulerTâchesGarantiesFinancièresCommand> = async ({
const handler: MessageHandler<AnnulerTâchesPlanifiéesGarantiesFinancièresCommand> = async ({
identifiantProjet,
}) => {
const garantiesFinancières = await loadGarantiesFinancières(identifiantProjet, false);
Expand Down

0 comments on commit 7a149a1

Please sign in to comment.