Commit Graph

15 Commits

Author SHA1 Message Date
timurgordon
5563d7e27e Merge branch 'development_rhai' 2025-06-25 20:46:15 +03:00
timurgordon
e91a44ce37 fmt, fixes and additions 2025-06-19 13:18:10 +03:00
timurgordon
00c4e6a1eb improve and add models 2025-06-12 05:22:17 +03:00
timurgordon
abbed9a1a1 final db models wip 2025-06-03 21:50:08 +03:00
Mahmoud-Emad
20c075ec51 feat: Add JSON serialization/deserialization to Event struct
- Added `to_json` method to serialize Event to JSON string.
- Added `from_json` method to deserialize Event from JSON string.
- This allows for easier data exchange and persistence.
2025-06-03 15:32:28 +03:00
Mahmoud-Emad
8e2354df43 feat: Enhance calendar example with Event and Calendar features
- Add EventStatus enum to represent event states (Draft, Published, Cancelled).
- Extend Event model with color, category, reminder, timezone, created_by, all_day and is_recurring fields.
- Add color and description fields to Calendar model.
- Enhance calendar example to demonstrate new features, including event status changes, and detailed calendar information.
- Improve example output for clarity and comprehensiveness.
- Add owner_id and is_public fields to Calendar model for enhanced management.
2025-05-28 13:09:05,630 - INFO - Commit message copied to clipboard.
2025-05-28 14:01:25 +03:00
Mahmoud-Emad
331915c6cb feat: Enhance calendar example with user and attendee management
- Add user creation and management to the calendar example.
- Integrate user IDs into attendees for improved data integrity.
- Improve event manipulation by adding and removing attendees by ID.
- Enhance calendar example to demonstrate event and calendar retrieval.
- Enhance the calendar example with database storage for events.
- Modify the calendar example to manage events by ID instead of title.
2025-05-28 12:52:32 +03:00
timurgordon
0da512484f fix merge issues and rhai examples wip 2025-05-22 23:57:33 +03:00
timurgordon
93950bcab4 Merge branch 'development_add_incremental_mode_to_heromodels' 2025-05-22 18:24:11 +03:00
timurgordon
56ec505874 implement more models and rhai examples 2025-05-22 03:57:03 +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
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