Skip to content

Commit c86fcff

Browse files
adminadmin
authored andcommitted
feat: 1265 page historique renouvellement agrement (retours review)
1 parent 3bd6c32 commit c86fcff

File tree

2 files changed

+37
-36
lines changed

2 files changed

+37
-36
lines changed

packages/shared-bridge/src/constantes/agrement.ts

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -30,39 +30,3 @@ export enum TRANCHE_AGE {
3030
TA_40_59 = "40_59",
3131
TA_PLUS_DE_59 = "PLUS_DE_59",
3232
}
33-
export interface AgrementHistoryUser {
34-
id: number;
35-
nom: string;
36-
prenom: string;
37-
mail: string;
38-
}
39-
40-
export interface AgrementHistoryItem {
41-
id: number;
42-
source: string;
43-
agrement_id: number;
44-
usager_user?: AgrementHistoryUser | null;
45-
bo_user?: AgrementHistoryUser | null;
46-
type?: string | null;
47-
type_precision?: string | null;
48-
metadata?: Record<string, unknown> | null;
49-
created_at: Date;
50-
}
51-
52-
export interface AgrementHistoryRow {
53-
id: number;
54-
source: string;
55-
agrement_id: number;
56-
usager_user_id?: number | null;
57-
usager_nom?: string | null;
58-
usager_prenom?: string | null;
59-
usager_mail?: string | null;
60-
bo_user_id?: number | null;
61-
bo_nom?: string | null;
62-
bo_prenom?: string | null;
63-
bo_mail?: string | null;
64-
type?: string | null;
65-
type_precision?: string | null;
66-
metadata?: Record<string, unknown> | null;
67-
created_at: Date;
68-
}

packages/shared-bridge/src/dto/agrement.dto.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,40 @@ export interface BilanHebergementDto {
9898
nbJours: number | null;
9999
mois: number[] | null;
100100
}
101+
102+
export interface AgrementHistoryUser {
103+
id: number;
104+
nom: string;
105+
prenom: string;
106+
mail: string;
107+
}
108+
109+
export interface AgrementHistoryItem {
110+
id: number;
111+
source: string;
112+
agrement_id: number;
113+
usager_user?: AgrementHistoryUser | null;
114+
bo_user?: AgrementHistoryUser | null;
115+
type?: string | null;
116+
type_precision?: string | null;
117+
metadata?: Record<string, unknown> | null;
118+
created_at: Date;
119+
}
120+
121+
export interface AgrementHistoryRow {
122+
id: number;
123+
source: string;
124+
agrement_id: number;
125+
usager_user_id?: number | null;
126+
usager_nom?: string | null;
127+
usager_prenom?: string | null;
128+
usager_mail?: string | null;
129+
bo_user_id?: number | null;
130+
bo_nom?: string | null;
131+
bo_prenom?: string | null;
132+
bo_mail?: string | null;
133+
type?: string | null;
134+
type_precision?: string | null;
135+
metadata?: Record<string, unknown> | null;
136+
created_at: Date;
137+
}

0 commit comments

Comments
 (0)