Commit Graph

31 Commits

Author SHA1 Message Date
25870c8558 [fabric/domain] move validation files to models directory and update imports 2024-10-20 11:53:59 -03:00
3b0533b0a9 [fabric/domain] Add base model validations 2024-10-20 11:36:03 -03:00
87ce76e13f Fix imports and remove some unused files 2024-10-20 11:35:24 -03:00
de8c249faf Rename deno.jsonc to deno.json and improve imports definitions to better define dependencies 2024-10-20 11:32:58 -03:00
2cd252511a [fabric/core] Move some types from domain to core 2024-10-20 11:31:22 -03:00
3c3ce276c0 [fabric/domain] Refactor aggregate model implementation and related types 2024-10-17 14:36:49 -03:00
307a82d83c [fabric/domain] Rename StoreQuery 2024-10-16 16:21:03 -03:00
558ee2b9bc [fabric/domain] Refactor use-cases to commands and queries 2024-10-16 16:18:19 -03:00
72780b9803 [fabric/domain] Remove src directory 2024-10-16 11:53:03 -03:00
4cc99aec91 Format files and configure workspace formatting in vscode 2024-10-16 01:53:38 -03:00
f6de496e73 Migrate packages to deno 2 2024-10-16 01:33:51 -03:00
8c6f043f86 [fabric/domain] Add Projection interface to handle model projection from events 2024-10-15 15:16:10 -03:00
6a0be50ef7 [fabric/domain] Simplify StoreQueryError constructor 2024-10-15 15:13:21 -03:00
758f8d933a [fabric/domain] Add optional deletedAt field to DefaultModelFields 2024-10-15 15:12:01 -03:00
38e23ba095 Refactor event interface to use VariantTag for event types 2024-10-15 07:45:11 -03:00
a6a303f256 [fabric/domain] Refactor EventStore interface and remove EventStream 2024-10-14 09:55:39 -03:00
9a63ba22f1 [fabric/domain] Add 'utils' export 2024-10-14 09:50:43 -03:00
3afdb5d230 [fabric/domain] Remove validator dependency and simplify isInMemoryFile function 2024-10-14 09:50:01 -03:00
559a3f3c22 Update packages and vitest configurations 2024-10-12 21:33:05 -03:00
d443e9e395 Remove storage-driver interface; Add state-store as driver-specific implementation 2024-10-12 17:01:25 -03:00
010e3eecfc Standardize exports and add exports field for improved module resolution 2024-10-12 16:59:09 -03:00
69caa775d1 Rename store-sqlite package to sqlite-store and update imports accordingly 2024-10-12 15:47:48 -03:00
6919a819b6 [fabric/domain] Refactor event store and event stream interfaces 2024-10-12 15:39:51 -03:00
4fff9f91f5 [fabric/domain] Improve Result & AsyncResult types; Refactor model types; Add timestamp and embedded field support 2024-10-10 15:19:15 -03:00
f30d2c47c5 [fabric/domain] Add decimal type export 2024-10-09 09:29:52 -03:00
14ca23ef74 [fabric/domain] Setup service and mock exports 2024-10-08 15:40:07 -03:00
f07928b893 [fabric/domain] Add StateStore filtering 2024-10-08 15:33:59 -03:00
f0c77398e6 [fabric/domain] Add typed insertion to state-store 2024-10-05 11:10:04 -03:00
09f045daf6 [fabric/domain] Add reference-field utility to get target key 2024-10-04 11:55:44 -03:00
9092b032b3 [fabric/domain] improve structure 2024-10-04 11:10:29 -03:00
80c34e4649 @fabric/domain: extract domain utils from fabric/core and create a new package 2024-09-25 08:20:40 -03:00