Skip to content

Commit

Permalink
Revert "Add type-safe Domain event emitter and event registry"
Browse files Browse the repository at this point in the history
This reverts commit 08bd24c.
  • Loading branch information
kibertoad committed May 2, 2024
1 parent 734e815 commit f6183bb
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 453 deletions.
5 changes: 0 additions & 5 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,3 @@ export { waitAndRetry } from './lib/utils/waitUtils'
export { parseMessage } from './lib/utils/parseUtils'

export { reloadConfig, isProduction } from './lib/utils/envUtils'

export { DomainEventEmitter } from './lib/events/DomainEventEmitter'
export { EventRegistry } from './lib/events/EventRegistry'
export { FakeListener } from './lib/events/fakes/FakeListener'
export * from './lib/events/eventTypes'
109 changes: 0 additions & 109 deletions packages/core/lib/events/DomainEventEmitter.spec.ts

This file was deleted.

103 changes: 0 additions & 103 deletions packages/core/lib/events/DomainEventEmitter.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/core/lib/events/EventRegistry.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/core/lib/events/eventTypes.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/core/lib/events/fakes/FakeListener.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/core/lib/messages/baseMessageSchemas.ts

This file was deleted.

3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"dependencies": {
"@lokalise/node-core": "^9.14.0",
"fast-equals": "^5.0.1",
"toad-cache": "^3.7.0",
"zod": "^3.23.5"
"toad-cache": "^3.7.0"
},
"devDependencies": {
"@types/node": "^20.11.25",
Expand Down
26 changes: 0 additions & 26 deletions packages/core/test/fakes/FakeLogger.ts

This file was deleted.

Loading

0 comments on commit f6183bb

Please sign in to comment.