Commit Graph

44 Commits

Author SHA1 Message Date
758f8d933a [fabric/domain] Add optional deletedAt field to DefaultModelFields 2024-10-15 15:12:01 -03:00
76af85a496 [fabric/core] Add ensureValue utility function and export utils 2024-10-15 15:10:37 -03:00
0ac04a839f [fabric/core] Add export for Record type in core types 2024-10-15 15:10:08 -03:00
7a56c34941 [fabric/core] Refactor TaggedError and UnexpectedError to accept custom error messages 2024-10-15 14:58:22 -03:00
1886c52ece [fabric/core] Enhance VariantMatcher to support return type parameterization in match function 2024-10-15 07:59:52 -03:00
38e23ba095 Refactor event interface to use VariantTag for event types 2024-10-15 07:45:11 -03:00
4ea00f515b [fabric/sqlite-store] Implement SQLiteEventStore 2024-10-14 09:56:45 -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
b71ecb5de1 [fabric/core] Add EmptyRecord type to define an empty object structure 2024-10-14 09:49:12 -03:00
4171107227 [fabric/core] Add Run.seq overload to handle 4 params 2024-10-14 09:48:43 -03:00
6b46677be9 [fabric/core] Refactor AsyncResult to accept MaybePromise in tryFrom and from functions 2024-10-14 09:47:18 -03:00
559a3f3c22 Update packages and vitest configurations 2024-10-12 21:33:05 -03:00
d62b588033 Rename store-sqlite -> sqlite-store to match package name 2024-10-12 17:08:54 -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
475ec309cb [fabric/store-sqlite] Refactor SQLite wrapper: replace old functions with SQLiteDatabase class for improved management and caching of statements 2024-10-12 15:41:12 -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
27dbd44741 [fabric/store-sqlite] Pass all tests for base sqlite-driver implementation 2024-10-04 11:57:06 -03:00
09f045daf6 [fabric/domain] Add reference-field utility to get target key 2024-10-04 11:55:44 -03:00
290544dc9a [fabric/core] rename isVariant to Variant.is 2024-10-04 11:54:35 -03:00
9092b032b3 [fabric/domain] improve structure 2024-10-04 11:10:29 -03:00
3f91e35790 [fabric/core] Add isVariant utility function 2024-10-04 11:07:57 -03:00
80c34e4649 @fabric/domain: extract domain utils from fabric/core and create a new package 2024-09-25 08:20:40 -03:00
59810a2118 fabric-core: Improve some types names 2024-09-21 21:10:57 -03:00
029bf431dd fabric-core: Improve model definitions 2024-09-21 02:27:08 -03:00
527fa87f4f store-sqlite: export sqlite-driver from the main index file 2024-09-21 02:20:32 -03:00
c5cf78510a Update git hooks to protect main branch and force good practices 2024-09-19 00:03:13 -03:00
3713812956 Update yarn version 2024-09-18 22:45:31 -03:00
b5045ed4c8 Add basic sqlite-driver 2024-09-17 17:23:57 -03:00
61a92033f3 Update dependencies 2024-09-17 17:22:17 -03:00
8aaf4c73e8 Add Domain Template 2024-09-15 21:59:54 -03:00
dca326d0c5 (WIP) Add state-store utils 2024-09-15 21:16:06 -03:00
c4483f073e [fabric-core] Add basic array-element utility types 2024-09-04 20:08:34 -03:00
0ffe2838c1 [fabric-core] Improve some JSDocs, improve some names, and re-organice some files 2024-09-04 20:02:39 -03:00
b164c7d97f Add fabric-core 2024-09-04 19:19:34 -03:00
37df98d09c Initial commit 2024-09-04 19:14:57 -03:00