Mahmoud-Emad
483c5ccf68
feat: Add governance activity tracking example and model
...
- Added a comprehensive example demonstrating governance activity tracking.
- Created `GovernanceActivity` model to record governance events.
- Improved error handling in `OurDB::get_all` to gracefully handle deserialization failures.
2025-05-25 14:14:01 +03:00
Mahmoud-Emad
a71a966989
feat: Add an example about how to create a vote with comment
2025-05-21 14:50:55 +03:00
Mahmoud-Emad
bebb35e686
feat: Added optional vote comment to the proposal vote fields
2025-05-21 12:41:16 +03:00
Mahmoud-Emad
bd3c0c1932
fix: Support passing the proposal status
2025-05-21 11:26:13 +03:00
Mahmoud-Emad
8997d92e41
feat: Add created_at, updated_at fields in the db proposal model
2025-05-21 09:57:25 +03:00
Mahmoud-Emad
5327d1f00c
fix: Add creator_name field to the proposal model
2025-05-21 09:37:45 +03:00
Mahmoud-Emad
4c0c7be574
feat: Add get_all method to list all db objects based on the object model
2025-05-21 09:13:58 +03:00
Mahmoud Emad
e4c50ca9d7
fix: Fix all examples
2025-05-17 16:03:00 +03:00
Mahmoud Emad
57f59da43e
fix: Use incremental ID
2025-05-17 13:47:17 +03:00
Mahmoud Emad
a676854251
fix: Use incremental ID
2025-05-17 13:00:05 +03:00
Mahmoud Emad
bde5db0e52
feat: Support incremental mode:
...
- Support incremental mode in heromodels
- Updated the example to refelct the changes
- Updated the tests to reflect the changes
2025-05-17 11:12:09 +03:00
timurgordon
c77d08033e
start porting model specs into heromodels
2025-05-13 01:58:35 +03:00
Lee Smet
d8b40b6995
simplify DB constructor
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 14:15:52 +02:00
Lee Smet
b8e1449ddb
Restructure crates for correct proc macro usage
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 13:58:17 +02:00
Lee Smet
96a1ecd974
Update macro to use #[index] attributes
...
- Also use proper types for index.
- Update DB interface to be more flexible for index params
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 13:26:15 +02:00
Lee Smet
dc93518a35
Add proc macro to implement models
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 11:02:00 +02:00
Lee Smet
1343e61e0f
Expand index trait to also include key type
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-23 15:09:54 +02:00
Lee Smet
276cf3c8d8
Add alternative DB interface and implementation
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-23 13:53:10 +02:00
1708e6dd06
...
2025-04-22 12:53:17 +04:00
cad285fd59
...
2025-04-22 08:24:17 +04:00
d75de1e73c
...
2025-04-22 07:50:03 +04:00