feat(email): suggest entity links with AI when opening messages
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 48s
Build and Push Docker Images / build-frontend (push) Successful in 1m15s
Build and Push Docker Images / build-website (push) Successful in 23s
Build and Push Docker Images / build-central-services-api (push) Successful in 21s
Build and Push Docker Images / build-central-services-admin (push) Successful in 20s
Build and Push Docker Images / build-docs (push) Successful in 1m17s
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 48s
Build and Push Docker Images / build-frontend (push) Successful in 1m15s
Build and Push Docker Images / build-website (push) Successful in 23s
Build and Push Docker Images / build-central-services-api (push) Successful in 21s
Build and Push Docker Images / build-central-services-admin (push) Successful in 20s
Build and Push Docker Images / build-docs (push) Successful in 1m17s
This commit is contained in:
1
backend/db/migrations/0068_email_entity_suggestions.sql
Normal file
1
backend/db/migrations/0068_email_entity_suggestions.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "email_messages" ADD COLUMN "entity_suggestions" jsonb;
|
||||
@@ -456,6 +456,13 @@
|
||||
"when": 1788801000000,
|
||||
"tag": "0067_email_account_enabled",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 65,
|
||||
"version": "7",
|
||||
"when": 1788802000000,
|
||||
"tag": "0068_email_entity_suggestions",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ export const emailMessages = pgTable(
|
||||
bcc: jsonb("bcc").$type<Array<{ name?: string | null; address?: string | null }>>(),
|
||||
replyTo: jsonb("reply_to").$type<Array<{ name?: string | null; address?: string | null }>>(),
|
||||
preview: text("preview"),
|
||||
entitySuggestions: jsonb("entity_suggestions").$type<import("../../src/modules/email/email.entity-suggestions").EntitySuggestion[]>(),
|
||||
flags: jsonb("flags").$type<string[]>(),
|
||||
seen: boolean("seen").notNull().default(false),
|
||||
flagged: boolean("flagged").notNull().default(false),
|
||||
|
||||
Reference in New Issue
Block a user