@ddd-ts-kit/kernel 0.113.2 → 0.114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +4 -4
- package/README.md +3 -3
- package/package.json +4 -4
package/README.fr.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](README.md) · **Français**
|
|
2
|
-
<!-- translation-of: README.md sha256:
|
|
2
|
+
<!-- translation-of: README.md sha256:32d9cb44336efff6 -->
|
|
3
3
|
|
|
4
4
|
# @ddd-ts-kit/kernel
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ standard et leurs doubles), `@ddd-ts-kit/kernel/declarations` (les décorateurs
|
|
|
17
17
|
classe dit ce qu'elle est, voir « Déclarations ») et `@ddd-ts-kit/kernel/testing` (les bus
|
|
18
18
|
enregistreurs d'une *spec*, voir « La *spec* d'une réaction »).
|
|
19
19
|
|
|
20
|
-

|
|
21
21
|
|
|
22
22
|
Le noyau dit **ce dont** un contexte a besoin (un `Clock`, un `UnitOfWork`, un `Logger`) et
|
|
23
23
|
jamais **comment** : chaque port est une classe abstraite aux seuls membres abstraits. Ses
|
|
@@ -473,7 +473,7 @@ au chargement du fichier. Pourquoi, et la règle qui y tient l'agrégat :
|
|
|
473
473
|
Un effet d'un événement du domaine n'existe que si le changement d'état qui l'a enregistré est
|
|
474
474
|
validé.
|
|
475
475
|
|
|
476
|
-

|
|
477
477
|
|
|
478
478
|
Un agrégat enregistre ses événements ; rien dans un cas d'usage ne les remet. Un *repository*
|
|
479
479
|
enveloppé par `dispatchingOnSave(repository, () => dispatcher)` les tire lui-même, une fois
|
|
@@ -1829,7 +1829,7 @@ return this.appointments.search(scoped(criteria, scope, { ids: 'id', filter: { t
|
|
|
1829
1829
|
Du gestionnaire jusqu'au store, des critères sont vérifiés deux fois, et le périmètre de l'acteur
|
|
1830
1830
|
voyage avec eux :
|
|
1831
1831
|
|
|
1832
|
-

|
|
1833
1833
|
|
|
1834
1834
|
**Vérifiés par le compilateur.** `where` prend un champ de la ligne, un opérateur qui s'applique
|
|
1835
1835
|
à ce que contient le champ, et une valeur de son type : `where('seats', 'contains', '2')`, un tri
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ their doubles), `@ddd-ts-kit/kernel/declarations` (the decorators with which a c
|
|
|
15
15
|
what it is, see "Declarations") and `@ddd-ts-kit/kernel/testing` (the recording buses of a
|
|
16
16
|
spec, see "The spec of a reaction").
|
|
17
17
|
|
|
18
|
-

|
|
19
19
|
|
|
20
20
|
The kernel says **what** a context needs (a `Clock`, a `UnitOfWork`, a `Logger`) and never
|
|
21
21
|
**how**: every port is an abstract class with abstract members only. Its implementations live
|
|
@@ -465,7 +465,7 @@ loads. Why, and the rule that holds the aggregate to it:
|
|
|
465
465
|
|
|
466
466
|
An effect of a domain event exists only if the state change that recorded it is committed.
|
|
467
467
|
|
|
468
|
-

|
|
469
469
|
|
|
470
470
|
An aggregate records its events; nothing in a use case hands them over. A repository wrapped
|
|
471
471
|
by `dispatchingOnSave(repository, () => dispatcher)` pulls them itself, once a method that was
|
|
@@ -1753,7 +1753,7 @@ return this.appointments.search(scoped(criteria, scope, { ids: 'id', filter: { t
|
|
|
1753
1753
|
From the handler to the store, a criteria is checked twice, and the scope of the actor travels
|
|
1754
1754
|
with it:
|
|
1755
1755
|
|
|
1756
|
-

|
|
1757
1757
|
|
|
1758
1758
|
**Checked by the compiler.** `where` takes a field of the row, an operator that applies to
|
|
1759
1759
|
what the field holds, and a value of its type: `where('seats', 'contains', '2')`, an order on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/kernel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.1",
|
|
4
4
|
"description": "Framework-agnostic Domain-Driven Design (DDD) building blocks for TypeScript: aggregates, entities, value objects, domain events, CQRS command and query buses, unit of work and application ports, with an in-memory event bus.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/
|
|
21
|
+
"url": "git+https://github.com/ddd-ts-kit/ddd-ts-kit.git",
|
|
22
22
|
"directory": "packages/kernel"
|
|
23
23
|
},
|
|
24
|
-
"homepage": "https://
|
|
25
|
-
"bugs": "https://github.com/
|
|
24
|
+
"homepage": "https://ddd-ts-kit.github.io/ddd-ts-kit/packages/kernel/",
|
|
25
|
+
"bugs": "https://github.com/ddd-ts-kit/ddd-ts-kit/issues",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|
|
28
28
|
"provenance": true
|