Skip to content

Commit

Permalink
💡 Ajout commentaires
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Feb 18, 2025
1 parent 7a149a1 commit b74f051
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ 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';

/**
* @deprecated Cette commande est temporaire pour permettre l'appel au behavior,
* qui à terme sera fait directement depuis le behavior appelant, via l'aggregate root.
**/
export type AjouterTâchesPlanifiéesGarantiesFinancièresCommand = Message<
'Lauréat.GarantiesFinancières.Command.AjouterTâchesPlanifiées',
{
Expand All @@ -16,6 +20,7 @@ export type AjouterTâchesPlanifiéesGarantiesFinancièresCommand = Message<
}
>;

/** @deprecated */
export const registerAjouterTâchesPlanfiéesCommand = (loadAggregate: LoadAggregate) => {
const loadGarantiesFinancières = loadGarantiesFinancièresFactory(loadAggregate);
const loadAchèvement = loadAchèvementFactory(loadAggregate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ 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';

/**
* @deprecated Cette commande est temporaire pour permettre l'appel au behavior,
* qui à terme sera fait directement depuis le behavior appelant, via l'aggregate root.
**/
export type AnnulerTâchesPlanifiéesGarantiesFinancièresCommand = Message<
'Lauréat.GarantiesFinancières.Command.AnnulerTâchesPlanifiées',
{
identifiantProjet: IdentifiantProjet.ValueType;
}
>;

/** @deprecated */
export const registerAnnulerTâchesPlanifiéesCommand = (loadAggregate: LoadAggregate) => {
const loadGarantiesFinancières = loadGarantiesFinancièresFactory(loadAggregate);
const loadTâchePlanifiée = loadTâchePlanifiéeAggregateFactory(loadAggregate);
Expand Down

0 comments on commit b74f051

Please sign in to comment.