Skip to content

Commit

Permalink
sample focus avec extendedCompositions
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Sep 1, 2024
1 parent 8a7b4f5 commit 7d8abdb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

## 1.52.1

- [`ac556c1`](https://github.com/klee-contrib/topmodel/commit/ac556c17dfc84ec52035ceddcbda0d956cf6b4a9) - [JS] Traductions de compositions générées qu'avec `extendedCompositions`
- [`#381`](https://github.com/klee-contrib/topmodel/issue/381) - [JAVA] SonarQube règles java:S2057 and java:S2162
- [`#382`](https://github.com/klee-contrib/topmodel/issue/382) - [JPA] Comparaison des clés primaires composites sur des associations (manyToMany explicite)

Expand Down
3 changes: 3 additions & 0 deletions samples/generators/focus/src/locale/securite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const securite = {
profilItem: {
nombreUtilisateurs: "Nombre d'utilisateurs affectés"
},
profilRead: {
utilisateurs: "Utilisateurs"
},
typeDroit: {
code: "Type de droit",
libelle: "Libelle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export const ProfilReadEntity: ProfilReadEntityType = {
},
utilisateurs: {
type: "list",
entity: UtilisateurItemEntity
entity: UtilisateurItemEntity,
isRequired: true,
label: "securite.profil.profilRead.utilisateurs"
}
}
3 changes: 2 additions & 1 deletion samples/generators/focus/topmodel.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=./topmodel.config.schema.json
# yaml-language-server: $schema=./topmodel.config.schema.json
---
app: Focus
modelRoot: ../../model
Expand All @@ -13,3 +13,4 @@ javascript:
apiClientRootPath: services
resourceRootPath: locale
domainPath: ./domains
extendedCompositions: true

0 comments on commit 7d8abdb

Please sign in to comment.