@ddd-ts-kit/openfga 0.114.1 → 0.115.0

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:aa05c4bd223ba67c -->
2
+ <!-- translation-of: README.md sha256:1367233de38e63a0 -->
3
3
 
4
4
  # @ddd-ts-kit/openfga
5
5
 
@@ -257,11 +257,11 @@ import { DomainEventHandler } from '@ddd-ts-kit/kernel/declarations';
257
257
 
258
258
  export class AppointmentBooked extends NamedDomainEvent('scheduling.appointment.booked') {
259
259
  constructor(
260
- readonly aggregateId: string,
261
- readonly occurredAt: Date,
260
+ aggregateId: string,
261
+ occurredAt: Date,
262
262
  readonly booking: { readonly calendarId: string; readonly patientId: string },
263
263
  ) {
264
- super();
264
+ super(aggregateId, occurredAt);
265
265
  }
266
266
  }
267
267
 
package/README.md CHANGED
@@ -254,11 +254,11 @@ import { DomainEventHandler } from '@ddd-ts-kit/kernel/declarations';
254
254
 
255
255
  export class AppointmentBooked extends NamedDomainEvent('scheduling.appointment.booked') {
256
256
  constructor(
257
- readonly aggregateId: string,
258
- readonly occurredAt: Date,
257
+ aggregateId: string,
258
+ occurredAt: Date,
259
259
  readonly booking: { readonly calendarId: string; readonly patientId: string },
260
260
  ) {
261
- super();
261
+ super(aggregateId, occurredAt);
262
262
  }
263
263
  }
264
264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/openfga",
3
- "version": "0.114.1",
3
+ "version": "0.115.0",
4
4
  "description": "The relation tuple store and the authorizer of @ddd-ts-kit/auth on OpenFGA, with the authorization model generated from the relationship schema.",
5
5
  "keywords": [
6
6
  "ddd",
@@ -45,8 +45,8 @@
45
45
  "dist"
46
46
  ],
47
47
  "dependencies": {
48
- "@ddd-ts-kit/auth": "0.114.1",
49
- "@ddd-ts-kit/kernel": "0.114.1"
48
+ "@ddd-ts-kit/auth": "0.115.0",
49
+ "@ddd-ts-kit/kernel": "0.115.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@openfga/sdk": "^0.9.7"
@@ -57,7 +57,7 @@
57
57
  }
58
58
  },
59
59
  "devDependencies": {
60
- "@ddd-ts-kit/testing": "0.114.1",
61
- "@openfga/sdk": "0.9.7"
60
+ "@ddd-ts-kit/testing": "0.115.0",
61
+ "@openfga/sdk": "0.9.8"
62
62
  }
63
63
  }