eggi-ai-db-schema-2 12.54.26 → 12.54.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -47,31 +47,31 @@ All notable changes to this project will be documented in this file.
|
|
|
47
47
|
- Makes `quota_limit` column nullable in `monitoring.mapping_job_quotas` table
|
|
48
48
|
- Updates column comment to reflect that NULL means unlimited
|
|
49
49
|
|
|
50
|
-
## [
|
|
50
|
+
## [12.54.26] - 2025-12-18
|
|
51
51
|
|
|
52
52
|
### Added
|
|
53
53
|
|
|
54
|
-
- **
|
|
55
|
-
- New
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
-
|
|
54
|
+
- **LLM Search Job Notifications**: Added tracking for whether a search job has been seen by the user
|
|
55
|
+
- New table: `monitoring.llm_search_job_notifications`
|
|
56
|
+
- Tracks `is_seen` flag and timestamps
|
|
57
|
+
- Auto-populated for existing jobs
|
|
58
|
+
- **Search Job Operations**: New database operations for notification management
|
|
59
|
+
- `markLlmSearchJobAsSeen()`: Mark a specific job as seen
|
|
60
|
+
- `markAllLlmSearchJobsAsSeen()`: Mark all completed/failed jobs for a user as seen
|
|
61
|
+
- Updated `getLlmSearchJobs()` to include `isSeen` status
|
|
62
|
+
- Updated `createLlmSearchJob()` to automatically create a notification entry
|
|
60
63
|
|
|
61
64
|
### Changed
|
|
62
65
|
|
|
63
|
-
- **
|
|
64
|
-
- **
|
|
65
|
-
- `forager-linkedin-operations.ts`: Forager-specific operations (uses `forager_id`)
|
|
66
|
-
- `ghost-genius-linkedin-operations.ts`: Ghost Genius-specific operations (uses ACoA identifier)
|
|
67
|
-
- **Type Exports**: Updated exports to include Ghost Genius operations while maintaining backward compatibility
|
|
66
|
+
- **LLM Search Job Lifecycle**: New jobs are now created with an initial 'unseen' notification status
|
|
67
|
+
- **Schema Types**: Updated `LlmSearchJob` interface with `isSeen` property and added `LlmSearchJobNotification` type
|
|
68
68
|
|
|
69
69
|
### Migration
|
|
70
70
|
|
|
71
|
-
- **Migration File**: `
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
- **Migration File**: `0066_add_llm_search_job_notifications.sql`
|
|
72
|
+
- Creates the notification table and associated triggers for `updated_at`
|
|
73
|
+
|
|
74
|
+
## [12.54.25] - 2025-12-18
|
|
75
75
|
|
|
76
76
|
## [11.14.7] - 2025-10-20
|
|
77
77
|
|
|
@@ -703,8 +703,7 @@ The RDS schema now focuses exclusively on the main `eggi_main` database with pro
|
|
|
703
703
|
|
|
704
704
|
- Better database connection pooling
|
|
705
705
|
- Optimized query performance for large datasets
|
|
706
|
-
|
|
707
|
-
- Same credentials work for both connection types
|
|
706
|
+
- Same credentials work for both connection types
|
|
708
707
|
|
|
709
708
|
3. **Code Changes**:
|
|
710
709
|
- No changes needed if using `getDatabaseUrl()` or `getCredentials()`
|
package/package.json
CHANGED