(props)
const [isFocus, setIsFocus] = useState(false)
return (
{
+ if (autoHeight) {
+ syncHeight()
+ }
+ rest.onInput?.(e)
+ }}
/>
{children}
diff --git a/packages/internal/database/package.json b/packages/internal/database/package.json
index 666c3752f..5f1cc1727 100644
--- a/packages/internal/database/package.json
+++ b/packages/internal/database/package.json
@@ -35,6 +35,7 @@
"@follow/constants": "workspace:*",
"@follow/models": "workspace:*",
"@follow/shared": "workspace:*",
+ "ai": "5.0.0-beta.7",
"drizzle-orm": "0.44.2",
"expo-sqlite": "15.2.12",
"sqlocal": "npm:@hyoban/sqlocal@0.14.1-fork.4",
diff --git a/packages/internal/database/src/drizzle/0029_flaky_gorgon.sql b/packages/internal/database/src/drizzle/0029_flaky_gorgon.sql
new file mode 100644
index 000000000..fd4b7c8e4
--- /dev/null
+++ b/packages/internal/database/src/drizzle/0029_flaky_gorgon.sql
@@ -0,0 +1,14 @@
+CREATE TABLE `ai_chat_messages` (
+ `room_id` text NOT NULL,
+ `id` text PRIMARY KEY NOT NULL,
+ `created_at` integer DEFAULT (unixepoch() * 1000) NOT NULL,
+ `message` blob,
+ FOREIGN KEY (`room_id`) REFERENCES `ai_chat`(`room_id`) ON UPDATE no action ON DELETE no action
+);
+--> statement-breakpoint
+CREATE UNIQUE INDEX `ai_chat_messages_unq` ON `ai_chat_messages` (`room_id`,`id`);--> statement-breakpoint
+CREATE TABLE `ai_chat` (
+ `room_id` text PRIMARY KEY NOT NULL,
+ `title` text,
+ `created_at` integer DEFAULT (unixepoch() * 1000) NOT NULL
+);
diff --git a/packages/internal/database/src/drizzle/0030_common_gabe_jones.sql b/packages/internal/database/src/drizzle/0030_common_gabe_jones.sql
new file mode 100644
index 000000000..9472f9f45
--- /dev/null
+++ b/packages/internal/database/src/drizzle/0030_common_gabe_jones.sql
@@ -0,0 +1,14 @@
+PRAGMA foreign_keys=OFF;--> statement-breakpoint
+CREATE TABLE `__new_ai_chat_messages` (
+ `room_id` text NOT NULL,
+ `id` text PRIMARY KEY NOT NULL,
+ `created_at` integer DEFAULT (unixepoch() * 1000) NOT NULL,
+ `message` text NOT NULL,
+ FOREIGN KEY (`room_id`) REFERENCES `ai_chat`(`room_id`) ON UPDATE no action ON DELETE no action
+);
+--> statement-breakpoint
+INSERT INTO `__new_ai_chat_messages`("room_id", "id", "created_at", "message") SELECT "room_id", "id", "created_at", "message" FROM `ai_chat_messages`;--> statement-breakpoint
+DROP TABLE `ai_chat_messages`;--> statement-breakpoint
+ALTER TABLE `__new_ai_chat_messages` RENAME TO `ai_chat_messages`;--> statement-breakpoint
+PRAGMA foreign_keys=ON;--> statement-breakpoint
+CREATE UNIQUE INDEX `ai_chat_messages_unq` ON `ai_chat_messages` (`room_id`,`id`);
\ No newline at end of file
diff --git a/packages/internal/database/src/drizzle/0029_outstanding_captain_universe.sql b/packages/internal/database/src/drizzle/0031_kind_ikaris.sql
similarity index 100%
rename from packages/internal/database/src/drizzle/0029_outstanding_captain_universe.sql
rename to packages/internal/database/src/drizzle/0031_kind_ikaris.sql
diff --git a/packages/internal/database/src/drizzle/meta/0029_snapshot.json b/packages/internal/database/src/drizzle/meta/0029_snapshot.json
index df146a7f6..a2cbfa51f 100644
--- a/packages/internal/database/src/drizzle/meta/0029_snapshot.json
+++ b/packages/internal/database/src/drizzle/meta/0029_snapshot.json
@@ -1,9 +1,96 @@
{
"version": "6",
"dialect": "sqlite",
- "id": "f4b38bd8-188d-4b33-8092-c2a67dbf88f2",
+ "id": "11dab821-4739-44db-818a-ef81702fd2b5",
"prevId": "0b3abda0-88d8-44a7-ac77-0e16056b5845",
"tables": {
+ "ai_chat_messages": {
+ "name": "ai_chat_messages",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ },
+ "message": {
+ "name": "message",
+ "type": "blob",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "ai_chat_messages_unq": {
+ "name": "ai_chat_messages_unq",
+ "columns": ["room_id", "id"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {
+ "ai_chat_messages_room_id_ai_chat_room_id_fk": {
+ "name": "ai_chat_messages_room_id_ai_chat_room_id_fk",
+ "tableFrom": "ai_chat_messages",
+ "tableTo": "ai_chat",
+ "columnsFrom": ["room_id"],
+ "columnsTo": ["room_id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "ai_chat": {
+ "name": "ai_chat",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
"collections": {
"name": "collections",
"columns": {
@@ -80,13 +167,6 @@
"notNull": false,
"autoincrement": false
},
- "readability_updated_at": {
- "name": "readability_updated_at",
- "type": "integer",
- "primaryKey": false,
- "notNull": false,
- "autoincrement": false
- },
"description": {
"name": "description",
"type": "text",
diff --git a/packages/internal/database/src/drizzle/meta/0030_snapshot.json b/packages/internal/database/src/drizzle/meta/0030_snapshot.json
new file mode 100644
index 000000000..86d81db33
--- /dev/null
+++ b/packages/internal/database/src/drizzle/meta/0030_snapshot.json
@@ -0,0 +1,872 @@
+{
+ "version": "6",
+ "dialect": "sqlite",
+ "id": "31cec72c-8c06-40ab-8e7f-c2e1be252870",
+ "prevId": "11dab821-4739-44db-818a-ef81702fd2b5",
+ "tables": {
+ "ai_chat_messages": {
+ "name": "ai_chat_messages",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ },
+ "message": {
+ "name": "message",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "ai_chat_messages_unq": {
+ "name": "ai_chat_messages_unq",
+ "columns": ["room_id", "id"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {
+ "ai_chat_messages_room_id_ai_chat_room_id_fk": {
+ "name": "ai_chat_messages_room_id_ai_chat_room_id_fk",
+ "tableFrom": "ai_chat_messages",
+ "tableTo": "ai_chat",
+ "columnsFrom": ["room_id"],
+ "columnsTo": ["room_id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "ai_chat": {
+ "name": "ai_chat",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "collections": {
+ "name": "collections",
+ "columns": {
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "entries": {
+ "name": "entries",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "content": {
+ "name": "content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "source_content": {
+ "name": "source_content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "guid": {
+ "name": "guid",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "author": {
+ "name": "author",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "author_url": {
+ "name": "author_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "author_avatar": {
+ "name": "author_avatar",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inserted_at": {
+ "name": "inserted_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "published_at": {
+ "name": "published_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "media": {
+ "name": "media",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "categories": {
+ "name": "categories",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "attachments": {
+ "name": "attachments",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "extra": {
+ "name": "extra",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inbox_handle": {
+ "name": "inbox_handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "read": {
+ "name": "read",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "sources": {
+ "name": "sources",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "settings": {
+ "name": "settings",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "feeds": {
+ "name": "feeds",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "error_at": {
+ "name": "error_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "site_url": {
+ "name": "site_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "owner_user_id": {
+ "name": "owner_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "error_message": {
+ "name": "error_message",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "subscription_count": {
+ "name": "subscription_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "updates_per_week": {
+ "name": "updates_per_week",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "latest_entry_published_at": {
+ "name": "latest_entry_published_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "tip_users": {
+ "name": "tip_users",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "published_at": {
+ "name": "published_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "images": {
+ "name": "images",
+ "columns": {
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "colors": {
+ "name": "colors",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "inboxes": {
+ "name": "inboxes",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "secret": {
+ "name": "secret",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "lists": {
+ "name": "lists",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "feed_ids": {
+ "name": "feed_ids",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "fee": {
+ "name": "fee",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "owner_user_id": {
+ "name": "owner_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "subscription_count": {
+ "name": "subscription_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "purchase_amount": {
+ "name": "purchase_amount",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "subscriptions": {
+ "name": "subscriptions",
+ "columns": {
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "list_id": {
+ "name": "list_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inbox_id": {
+ "name": "inbox_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "is_private": {
+ "name": "is_private",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "category": {
+ "name": "category",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "type": {
+ "name": "type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "summaries": {
+ "name": "summaries",
+ "columns": {
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "summary": {
+ "name": "summary",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "readability_summary": {
+ "name": "readability_summary",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "unq": {
+ "name": "unq",
+ "columns": ["entry_id", "language"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "translations": {
+ "name": "translations",
+ "columns": {
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "content": {
+ "name": "content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "readability_content": {
+ "name": "readability_content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "translation-unique-index": {
+ "name": "translation-unique-index",
+ "columns": ["entry_id", "language"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "unread": {
+ "name": "unread",
+ "columns": {
+ "subscription_id": {
+ "name": "subscription_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "count": {
+ "name": "count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "users": {
+ "name": "users",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "is_me": {
+ "name": "is_me",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "email_verified": {
+ "name": "email_verified",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "bio": {
+ "name": "bio",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "website": {
+ "name": "website",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "social_links": {
+ "name": "social_links",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ }
+ },
+ "views": {},
+ "enums": {},
+ "_meta": {
+ "schemas": {},
+ "tables": {},
+ "columns": {}
+ },
+ "internal": {
+ "indexes": {}
+ }
+}
diff --git a/packages/internal/database/src/drizzle/meta/0031_snapshot.json b/packages/internal/database/src/drizzle/meta/0031_snapshot.json
new file mode 100644
index 000000000..5b48425ab
--- /dev/null
+++ b/packages/internal/database/src/drizzle/meta/0031_snapshot.json
@@ -0,0 +1,879 @@
+{
+ "version": "6",
+ "dialect": "sqlite",
+ "id": "022f2968-0d86-43b1-a257-1c81d8fd42d4",
+ "prevId": "31cec72c-8c06-40ab-8e7f-c2e1be252870",
+ "tables": {
+ "ai_chat_messages": {
+ "name": "ai_chat_messages",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ },
+ "message": {
+ "name": "message",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "ai_chat_messages_unq": {
+ "name": "ai_chat_messages_unq",
+ "columns": ["room_id", "id"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {
+ "ai_chat_messages_room_id_ai_chat_room_id_fk": {
+ "name": "ai_chat_messages_room_id_ai_chat_room_id_fk",
+ "tableFrom": "ai_chat_messages",
+ "tableTo": "ai_chat",
+ "columnsFrom": ["room_id"],
+ "columnsTo": ["room_id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "ai_chat": {
+ "name": "ai_chat",
+ "columns": {
+ "room_id": {
+ "name": "room_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "collections": {
+ "name": "collections",
+ "columns": {
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "entries": {
+ "name": "entries",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "content": {
+ "name": "content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "source_content": {
+ "name": "source_content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "readability_updated_at": {
+ "name": "readability_updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "guid": {
+ "name": "guid",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "author": {
+ "name": "author",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "author_url": {
+ "name": "author_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "author_avatar": {
+ "name": "author_avatar",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inserted_at": {
+ "name": "inserted_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "published_at": {
+ "name": "published_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "media": {
+ "name": "media",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "categories": {
+ "name": "categories",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "attachments": {
+ "name": "attachments",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "extra": {
+ "name": "extra",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inbox_handle": {
+ "name": "inbox_handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "read": {
+ "name": "read",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "sources": {
+ "name": "sources",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "settings": {
+ "name": "settings",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "feeds": {
+ "name": "feeds",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "error_at": {
+ "name": "error_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "site_url": {
+ "name": "site_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "owner_user_id": {
+ "name": "owner_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "error_message": {
+ "name": "error_message",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "subscription_count": {
+ "name": "subscription_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "updates_per_week": {
+ "name": "updates_per_week",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "latest_entry_published_at": {
+ "name": "latest_entry_published_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "tip_users": {
+ "name": "tip_users",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "published_at": {
+ "name": "published_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "images": {
+ "name": "images",
+ "columns": {
+ "url": {
+ "name": "url",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "colors": {
+ "name": "colors",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "(unixepoch() * 1000)"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "inboxes": {
+ "name": "inboxes",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "secret": {
+ "name": "secret",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "lists": {
+ "name": "lists",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "feed_ids": {
+ "name": "feed_ids",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "fee": {
+ "name": "fee",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "owner_user_id": {
+ "name": "owner_user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "subscription_count": {
+ "name": "subscription_count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "purchase_amount": {
+ "name": "purchase_amount",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "subscriptions": {
+ "name": "subscriptions",
+ "columns": {
+ "feed_id": {
+ "name": "feed_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "list_id": {
+ "name": "list_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "inbox_id": {
+ "name": "inbox_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "user_id": {
+ "name": "user_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "view": {
+ "name": "view",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "is_private": {
+ "name": "is_private",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "category": {
+ "name": "category",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "type": {
+ "name": "type",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "summaries": {
+ "name": "summaries",
+ "columns": {
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "summary": {
+ "name": "summary",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "readability_summary": {
+ "name": "readability_summary",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "unq": {
+ "name": "unq",
+ "columns": ["entry_id", "language"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "translations": {
+ "name": "translations",
+ "columns": {
+ "entry_id": {
+ "name": "entry_id",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "language": {
+ "name": "language",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "content": {
+ "name": "content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "readability_content": {
+ "name": "readability_content",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {
+ "translation-unique-index": {
+ "name": "translation-unique-index",
+ "columns": ["entry_id", "language"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "unread": {
+ "name": "unread",
+ "columns": {
+ "subscription_id": {
+ "name": "subscription_id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "count": {
+ "name": "count",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ },
+ "users": {
+ "name": "users",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "text",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "handle": {
+ "name": "handle",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "image": {
+ "name": "image",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "is_me": {
+ "name": "is_me",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "email_verified": {
+ "name": "email_verified",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "bio": {
+ "name": "bio",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "website": {
+ "name": "website",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "social_links": {
+ "name": "social_links",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {},
+ "checkConstraints": {}
+ }
+ },
+ "views": {},
+ "enums": {},
+ "_meta": {
+ "schemas": {},
+ "tables": {},
+ "columns": {}
+ },
+ "internal": {
+ "indexes": {}
+ }
+}
diff --git a/packages/internal/database/src/drizzle/meta/_journal.json b/packages/internal/database/src/drizzle/meta/_journal.json
index 305672e52..f71e7c7cc 100644
--- a/packages/internal/database/src/drizzle/meta/_journal.json
+++ b/packages/internal/database/src/drizzle/meta/_journal.json
@@ -208,8 +208,22 @@
{
"idx": 29,
"version": "6",
- "when": 1751514918051,
- "tag": "0029_outstanding_captain_universe",
+ "when": 1751637550260,
+ "tag": "0029_flaky_gorgon",
+ "breakpoints": true
+ },
+ {
+ "idx": 30,
+ "version": "6",
+ "when": 1751639397791,
+ "tag": "0030_common_gabe_jones",
+ "breakpoints": true
+ },
+ {
+ "idx": 31,
+ "version": "6",
+ "when": 1751640829832,
+ "tag": "0031_kind_ikaris",
"breakpoints": true
}
]
diff --git a/packages/internal/database/src/drizzle/migrations.js b/packages/internal/database/src/drizzle/migrations.js
index 0223fdf2e..da9f3dfbe 100644
--- a/packages/internal/database/src/drizzle/migrations.js
+++ b/packages/internal/database/src/drizzle/migrations.js
@@ -29,7 +29,9 @@ import m0025 from "./0025_colorful_valkyrie.sql"
import m0026 from "./0026_numerous_slyde.sql"
import m0027 from "./0027_nostalgic_human_torch.sql"
import m0028 from "./0028_chief_cyclops.sql"
-import m0029 from "./0029_outstanding_captain_universe.sql"
+import m0029 from "./0029_flaky_gorgon.sql"
+import m0030 from "./0030_common_gabe_jones.sql"
+import m0031 from "./0031_kind_ikaris.sql"
import journal from "./meta/_journal.json"
export default {
@@ -65,5 +67,7 @@ export default {
m0027,
m0028,
m0029,
+ m0030,
+ m0031,
},
}
diff --git a/packages/internal/database/src/schemas/index.ts b/packages/internal/database/src/schemas/index.ts
index 517abcd9a..8f8685021 100644
--- a/packages/internal/database/src/schemas/index.ts
+++ b/packages/internal/database/src/schemas/index.ts
@@ -1,6 +1,7 @@
import type { FeedViewType } from "@follow/constants"
import type { ActionSettings } from "@follow/models/types"
import type { SupportedActionLanguage } from "@follow/shared/language"
+import type { UIMessage } from "ai"
import { sql } from "drizzle-orm"
import { integer, sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core"
@@ -154,3 +155,29 @@ export const imagesTable = sqliteTable("images", (t) => ({
.notNull()
.default(sql`(unixepoch() * 1000)`),
}))
+
+export const aiChatTable = sqliteTable("ai_chat", (t) => ({
+ roomId: t.text("room_id").notNull().primaryKey(),
+ title: t.text("title"),
+ createdAt: t
+ .integer("created_at", { mode: "timestamp_ms" })
+ .notNull()
+ .default(sql`(unixepoch() * 1000)`),
+}))
+
+export const aiChatMessagesTable = sqliteTable(
+ "ai_chat_messages",
+ (t) => ({
+ roomId: t
+ .text("room_id")
+ .notNull()
+ .references(() => aiChatTable.roomId),
+ id: t.text("id").notNull().primaryKey(),
+ createdAt: t
+ .integer("created_at", { mode: "timestamp_ms" })
+ .notNull()
+ .default(sql`(unixepoch() * 1000)`),
+ message: t.text("message", { mode: "json" }).$type>().notNull(),
+ }),
+ (t) => [uniqueIndex("ai_chat_messages_unq").on(t.roomId, t.id)],
+)
diff --git a/packages/internal/shared/src/hono.ts b/packages/internal/shared/src/hono.ts
index 4b8b31c20..7296b13de 100644
--- a/packages/internal/shared/src/hono.ts
+++ b/packages/internal/shared/src/hono.ts
@@ -1,55 +1,35 @@
// @ts-nocheck
import { HttpBindings } from "@hono/node-server";
-import * as zod1169 from "zod";
-import { z } from "zod";
-import * as better_auth246 from "better-auth";
+import "@hono/zod-openapi";
+import * as zod110 from "zod";
+import { z as z$1 } from "zod";
+import * as better_auth771 from "better-auth";
import { BetterAuthOptions } from "better-auth";
-import * as better_auth_plugins332 from "better-auth/plugins";
-import * as better_call38 from "better-call";
+import * as better_auth_plugins857 from "better-auth/plugins";
+import * as better_call87 from "better-call";
import Stripe from "stripe";
-import * as drizzle_orm_pg_core1159 from "drizzle-orm/pg-core";
+import * as drizzle_orm_pg_core100 from "drizzle-orm/pg-core";
import { AnyPgColumn } from "drizzle-orm/pg-core";
-import * as drizzle_orm1055 from "drizzle-orm";
+import * as drizzle_orm142 from "drizzle-orm";
import { InferInsertModel, InferSelectModel, SQL } from "drizzle-orm";
-import * as zod_v441 from "zod/v4";
-import * as ai56 from "ai";
+import * as zod_v490 from "zod/v4";
+import * as ai43 from "ai";
import * as hono_utils_http_status0 from "hono/utils/http-status";
import * as hono_types2 from "hono/types";
-import * as hono_hono_base37 from "hono/hono-base";
-import * as zod_v4_core42 from "zod/v4/core";
+import * as hono_hono_base42 from "hono/hono-base";
+import * as zod_v4_core91 from "zod/v4/core";
//#region src/types/env.d.ts
type Env = {
Bindings: HttpBindings;
};
//#endregion
-//#region src/lib/ai/tools/utilities/types.d.ts
-interface ConversationContext {
- currentFeedId?: string;
- currentEntryId?: string;
- selectedText?: string;
- sessionTopic?: string;
- userIntent?: string;
-}
-interface UserPreferences {
- contentTypes: string[];
- languages: string[];
- categories: string[];
- readingPatterns: {
- timeOfDay: string[];
- frequency: string;
- velocity: number;
- };
- aiInteractionStyle: string;
- helpTopics: string[];
-}
-//#endregion
//#region src/schema/achievements.d.ts
-declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const achievements: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "achievements";
schema: undefined;
columns: {
- id: drizzle_orm_pg_core1159.PgColumn<{
+ id: drizzle_orm_pg_core100.PgColumn<{
name: "id";
tableName: "achievements";
dataType: "string";
@@ -66,7 +46,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "achievements";
dataType: "string";
@@ -83,7 +63,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- type: drizzle_orm_pg_core1159.PgColumn<{
+ type: drizzle_orm_pg_core100.PgColumn<{
name: "type";
tableName: "achievements";
dataType: "string";
@@ -100,7 +80,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- actionId: drizzle_orm_pg_core1159.PgColumn<{
+ actionId: drizzle_orm_pg_core100.PgColumn<{
name: "action_id";
tableName: "achievements";
dataType: "number";
@@ -117,7 +97,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- progress: drizzle_orm_pg_core1159.PgColumn<{
+ progress: drizzle_orm_pg_core100.PgColumn<{
name: "progress";
tableName: "achievements";
dataType: "number";
@@ -134,7 +114,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- progressMax: drizzle_orm_pg_core1159.PgColumn<{
+ progressMax: drizzle_orm_pg_core100.PgColumn<{
name: "progress_max";
tableName: "achievements";
dataType: "number";
@@ -151,7 +131,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- done: drizzle_orm_pg_core1159.PgColumn<{
+ done: drizzle_orm_pg_core100.PgColumn<{
name: "done";
tableName: "achievements";
dataType: "boolean";
@@ -168,7 +148,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- doneAt: drizzle_orm_pg_core1159.PgColumn<{
+ doneAt: drizzle_orm_pg_core100.PgColumn<{
name: "done_at";
tableName: "achievements";
dataType: "date";
@@ -185,7 +165,7 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- tx: drizzle_orm_pg_core1159.PgColumn<{
+ tx: drizzle_orm_pg_core100.PgColumn<{
name: "tx";
tableName: "achievements";
dataType: "string";
@@ -205,17 +185,17 @@ declare const achievements: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const achievementsOpenAPISchema: zod1169.ZodObject<{
- id: zod1169.ZodString;
- userId: zod1169.ZodString;
- type: zod1169.ZodEnum<["checking", "completed", "incomplete", "audit", "received"]>;
- actionId: zod1169.ZodNumber;
- progress: zod1169.ZodNumber;
- progressMax: zod1169.ZodNumber;
- done: zod1169.ZodBoolean;
- doneAt: zod1169.ZodNullable;
- tx: zod1169.ZodNullable;
-}, zod1169.UnknownKeysParam, zod1169.ZodTypeAny, {
+declare const achievementsOpenAPISchema: zod110.ZodObject<{
+ id: zod110.ZodString;
+ userId: zod110.ZodString;
+ type: zod110.ZodEnum<["checking", "completed", "incomplete", "audit", "received"]>;
+ actionId: zod110.ZodNumber;
+ progress: zod110.ZodNumber;
+ progressMax: zod110.ZodNumber;
+ done: zod110.ZodBoolean;
+ doneAt: zod110.ZodNullable;
+ tx: zod110.ZodNullable;
+}, zod110.UnknownKeysParam, zod110.ZodTypeAny, {
id: string;
userId: string;
type: "checking" | "completed" | "incomplete" | "audit" | "received";
@@ -238,12 +218,12 @@ declare const achievementsOpenAPISchema: zod1169.ZodObject<{
}>;
//#endregion
//#region src/schema/actions.d.ts
-declare const languageSchema: z.ZodEnum<["en", "ja", "zh-CN", "zh-TW"]>;
-declare const conditionItemSchema: z.ZodObject<{
- field: z.ZodEnum<["view", "title", "site_url", "feed_url", "category", "entry_title", "entry_content", "entry_url", "entry_author", "entry_media_length", "entry_attachments_duration", "status"]>;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodString;
-}, "strip", z.ZodTypeAny, {
+declare const languageSchema: z$1.ZodEnum<["en", "ja", "zh-CN", "zh-TW"]>;
+declare const conditionItemSchema: z$1.ZodObject<{
+ field: z$1.ZodEnum<["view", "title", "site_url", "feed_url", "category", "entry_title", "entry_content", "entry_url", "entry_author", "entry_media_length", "entry_attachments_duration", "status"]>;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodString;
+}, "strip", z$1.ZodTypeAny, {
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -252,12 +232,12 @@ declare const conditionItemSchema: z.ZodObject<{
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
}>;
-type ConditionItem = z.infer;
-declare const actions: drizzle_orm_pg_core1159.PgTableWithColumns<{
+type ConditionItem = z$1.infer;
+declare const actions: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "actions";
schema: undefined;
columns: {
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "actions";
dataType: "string";
@@ -274,7 +254,7 @@ declare const actions: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- createdAt: drizzle_orm_pg_core1159.PgColumn<{
+ createdAt: drizzle_orm_pg_core100.PgColumn<{
name: "created_at";
tableName: "actions";
dataType: "date";
@@ -291,7 +271,7 @@ declare const actions: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- updatedAt: drizzle_orm_pg_core1159.PgColumn<{
+ updatedAt: drizzle_orm_pg_core100.PgColumn<{
name: "updated_at";
tableName: "actions";
dataType: "date";
@@ -308,7 +288,7 @@ declare const actions: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- rules: drizzle_orm_pg_core1159.PgColumn<{
+ rules: drizzle_orm_pg_core100.PgColumn<{
name: "rules";
tableName: "actions";
dataType: "json";
@@ -394,13 +374,13 @@ declare const actions: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const actionsItemOpenAPISchema: z.ZodObject<{
- name: z.ZodString;
- condition: z.ZodUnion<[z.ZodArray;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodString;
- }, "strip", z.ZodTypeAny, {
+declare const actionsItemOpenAPISchema: z$1.ZodObject<{
+ name: z$1.ZodString;
+ condition: z$1.ZodUnion<[z$1.ZodArray;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodString;
+ }, "strip", z$1.ZodTypeAny, {
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -408,11 +388,11 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
- }>, "many">, z.ZodArray;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodString;
- }, "strip", z.ZodTypeAny, {
+ }>, "many">, z$1.ZodArray;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodString;
+ }, "strip", z$1.ZodTypeAny, {
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -421,31 +401,31 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
}>, "many">, "many">]>;
- result: z.ZodObject<{
- disabled: z.ZodOptional;
- translation: z.ZodOptional, z.ZodBoolean]>>;
- summary: z.ZodOptional;
- readability: z.ZodOptional;
- sourceContent: z.ZodOptional;
- silence: z.ZodOptional;
- block: z.ZodOptional;
- star: z.ZodOptional;
- newEntryNotification: z.ZodOptional;
- rewriteRules: z.ZodOptional;
+ translation: z$1.ZodOptional, z$1.ZodBoolean]>>;
+ summary: z$1.ZodOptional;
+ readability: z$1.ZodOptional;
+ sourceContent: z$1.ZodOptional;
+ silence: z$1.ZodOptional;
+ block: z$1.ZodOptional;
+ star: z$1.ZodOptional;
+ newEntryNotification: z$1.ZodOptional;
+ rewriteRules: z$1.ZodOptional, "many">>;
- blockRules: z.ZodOptional;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
- }, "strip", z.ZodTypeAny, {
+ blockRules: z$1.ZodOptional;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
+ }, "strip", z$1.ZodTypeAny, {
value: string | number;
field: "title" | "content" | "all" | "author" | "url" | "order";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -454,8 +434,8 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{
field: "title" | "content" | "all" | "author" | "url" | "order";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
}>, "many">>;
- webhooks: z.ZodOptional>;
- }, "strip", z.ZodTypeAny, {
+ webhooks: z$1.ZodOptional>;
+ }, "strip", z$1.ZodTypeAny, {
disabled?: boolean | undefined;
translation?: boolean | "en" | "ja" | "zh-CN" | "zh-TW" | undefined;
summary?: boolean | undefined;
@@ -496,7 +476,7 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{
}[] | undefined;
webhooks?: string[] | undefined;
}>;
-}, "strip", z.ZodTypeAny, {
+}, "strip", z$1.ZodTypeAny, {
name: string;
condition: {
value: string;
@@ -561,12 +541,12 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{
webhooks?: string[] | undefined;
};
}>;
-type ActionItem = z.infer;
-declare const actionsOpenAPISchema: z.ZodObject;
- updatedAt: z.ZodNullable;
- rules: z.ZodNullable;
+declare const actionsOpenAPISchema: z$1.ZodObject;
+ updatedAt: z$1.ZodNullable;
+ rules: z$1.ZodNullable>;
}, "rules"> & {
- rules: z.ZodNullable;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodString;
- }, "strip", z.ZodTypeAny, {
+ rules: z$1.ZodNullable;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodString;
+ }, "strip", z$1.ZodTypeAny, {
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -630,11 +610,11 @@ declare const actionsOpenAPISchema: z.ZodObject, "many">, z.ZodArray;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodString;
- }, "strip", z.ZodTypeAny, {
+ }>, "many">, z$1.ZodArray;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodString;
+ }, "strip", z$1.ZodTypeAny, {
value: string;
field: "title" | "status" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length" | "entry_attachments_duration";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -643,31 +623,31 @@ declare const actionsOpenAPISchema: z.ZodObject, "many">, "many">]>;
- result: z.ZodObject<{
- disabled: z.ZodOptional;
- translation: z.ZodOptional, z.ZodBoolean]>>;
- summary: z.ZodOptional;
- readability: z.ZodOptional;
- sourceContent: z.ZodOptional;
- silence: z.ZodOptional;
- block: z.ZodOptional;
- star: z.ZodOptional;
- newEntryNotification: z.ZodOptional;
- rewriteRules: z.ZodOptional;
+ translation: z$1.ZodOptional, z$1.ZodBoolean]>>;
+ summary: z$1.ZodOptional;
+ readability: z$1.ZodOptional;
+ sourceContent: z$1.ZodOptional;
+ silence: z$1.ZodOptional;
+ block: z$1.ZodOptional;
+ star: z$1.ZodOptional;
+ newEntryNotification: z$1.ZodOptional;
+ rewriteRules: z$1.ZodOptional, "many">>;
- blockRules: z.ZodOptional;
- operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
- value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
- }, "strip", z.ZodTypeAny, {
+ blockRules: z$1.ZodOptional;
+ operator: z$1.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>;
+ value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
+ }, "strip", z$1.ZodTypeAny, {
value: string | number;
field: "title" | "content" | "all" | "author" | "url" | "order";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
@@ -676,8 +656,8 @@ declare const actionsOpenAPISchema: z.ZodObject, "many">>;
- webhooks: z.ZodOptional>;
- }, "strip", z.ZodTypeAny, {
+ webhooks: z$1.ZodOptional>;
+ }, "strip", z$1.ZodTypeAny, {
disabled?: boolean | undefined;
translation?: boolean | "en" | "ja" | "zh-CN" | "zh-TW" | undefined;
summary?: boolean | undefined;
@@ -718,7 +698,7 @@ declare const actionsOpenAPISchema: z.ZodObject;
- }, "strip", z.ZodTypeAny, {
+ }, "strip", z$1.ZodTypeAny, {
name: string;
condition: {
value: string;
@@ -783,7 +763,7 @@ declare const actionsOpenAPISchema: z.ZodObject, "many">>>;
-}, "strip", z.ZodTypeAny, {
+}, "strip", z$1.ZodTypeAny, {
createdAt: string | null;
updatedAt: string | null;
userId: string;
@@ -858,18 +838,18 @@ declare const actionsOpenAPISchema: z.ZodObject;
-declare const actionsRelations: drizzle_orm1055.Relations<"actions", {
- users: drizzle_orm1055.One<"user", true>;
+declare const actionsRelations: drizzle_orm142.Relations<"actions", {
+ users: drizzle_orm142.One<"user", true>;
}>;
-type ActionsModel = z.infer;
-type SettingsModel = Exclude["result"], undefined>;
+type ActionsModel = z$1.infer;
+type SettingsModel = Exclude["result"], undefined>;
//#endregion
//#region src/schema/activities.d.ts
-declare const activities: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const activities: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "activities";
schema: undefined;
columns: {
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "activities";
dataType: "string";
@@ -886,7 +866,7 @@ declare const activities: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- activeAt: drizzle_orm_pg_core1159.PgColumn<{
+ activeAt: drizzle_orm_pg_core100.PgColumn<{
name: "active_at";
tableName: "activities";
dataType: "date";
@@ -903,7 +883,7 @@ declare const activities: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- platform: drizzle_orm_pg_core1159.PgColumn<{
+ platform: drizzle_orm_pg_core100.PgColumn<{
name: "platform";
tableName: "activities";
dataType: "string";
@@ -920,7 +900,7 @@ declare const activities: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- version: drizzle_orm_pg_core1159.PgColumn<{
+ version: drizzle_orm_pg_core100.PgColumn<{
name: "version";
tableName: "activities";
dataType: "string";
@@ -940,12 +920,12 @@ declare const activities: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const activitiesOpenAPISchema: zod1169.ZodObject<{
- userId: zod1169.ZodString;
- activeAt: zod1169.ZodString;
- platform: zod1169.ZodString;
- version: zod1169.ZodNullable;
-}, zod1169.UnknownKeysParam, zod1169.ZodTypeAny, {
+declare const activitiesOpenAPISchema: zod110.ZodObject<{
+ userId: zod110.ZodString;
+ activeAt: zod110.ZodString;
+ platform: zod110.ZodString;
+ version: zod110.ZodNullable;
+}, zod110.UnknownKeysParam, zod110.ZodTypeAny, {
userId: string;
activeAt: string;
platform: string;
@@ -958,36 +938,36 @@ declare const activitiesOpenAPISchema: zod1169.ZodObject<{
}>;
//#endregion
//#region src/schema/airdrops.d.ts
-declare const detailModelSchema: z.ZodNullable>;
-type DetailModel = z.infer;
+type DetailModel = z$1.infer;
declare const activityEnum: readonly ["public_beta"];
type AirdropActivity = typeof activityEnum[number];
-declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const airdrops: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "airdrops";
schema: undefined;
columns: {
- activity: drizzle_orm_pg_core1159.PgColumn<{
+ activity: drizzle_orm_pg_core100.PgColumn<{
name: "activity";
tableName: "airdrops";
dataType: "string";
@@ -1070,7 +1050,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "airdrops";
dataType: "string";
@@ -1087,7 +1067,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- amount: drizzle_orm_pg_core1159.PgColumn<{
+ amount: drizzle_orm_pg_core100.PgColumn<{
name: "amount";
tableName: "airdrops";
dataType: "string";
@@ -1104,7 +1084,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- rank: drizzle_orm_pg_core1159.PgColumn<{
+ rank: drizzle_orm_pg_core100.PgColumn<{
name: "rank";
tableName: "airdrops";
dataType: "string";
@@ -1121,7 +1101,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- detail: drizzle_orm_pg_core1159.PgColumn<{
+ detail: drizzle_orm_pg_core100.PgColumn<{
name: "detail";
tableName: "airdrops";
dataType: "json";
@@ -1198,7 +1178,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
"GitHub Community Contributions Rank": number;
} | null;
}>;
- verify: drizzle_orm_pg_core1159.PgColumn<{
+ verify: drizzle_orm_pg_core100.PgColumn<{
name: "verify";
tableName: "airdrops";
dataType: "string";
@@ -1215,7 +1195,7 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- tx: drizzle_orm_pg_core1159.PgColumn<{
+ tx: drizzle_orm_pg_core100.PgColumn<{
name: "tx";
tableName: "airdrops";
dataType: "string";
@@ -1235,12 +1215,12 @@ declare const airdrops: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const airdropsOpenAPISchema: z.ZodObject;
- userId: z.ZodString;
- amount: z.ZodString;
- rank: z.ZodNullable;
- detail: z.ZodNullable;
+ userId: z$1.ZodString;
+ amount: z$1.ZodString;
+ rank: z$1.ZodNullable;
+ detail: z$1.ZodNullable>;
- verify: z.ZodNullable;
- tx: z.ZodNullable;
+ verify: z$1.ZodNullable;
+ tx: z$1.ZodNullable;
}, "detail"> & {
- detail: z.ZodNullable>;
-}, "strip", z.ZodTypeAny, {
+}, "strip", z$1.ZodTypeAny, {
userId: string;
tx: string | null;
activity: "public_beta";
@@ -1457,11 +1437,11 @@ declare const airdropsOpenAPISchema: z.ZodObject;
//#endregion
//#region src/schema/captcha.d.ts
-declare const captcha: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const captcha: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "captcha";
schema: undefined;
columns: {
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "captcha";
dataType: "string";
@@ -1478,7 +1458,7 @@ declare const captcha: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- failedCount: drizzle_orm_pg_core1159.PgColumn<{
+ failedCount: drizzle_orm_pg_core100.PgColumn<{
name: "failed_count";
tableName: "captcha";
dataType: "number";
@@ -1495,7 +1475,7 @@ declare const captcha: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- passedCount: drizzle_orm_pg_core1159.PgColumn<{
+ passedCount: drizzle_orm_pg_core100.PgColumn<{
name: "passed_count";
tableName: "captcha";
dataType: "number";
@@ -1517,11 +1497,11 @@ declare const captcha: drizzle_orm_pg_core1159.PgTableWithColumns<{
}>;
//#endregion
//#region src/schema/collections.d.ts
-declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const collections: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "collections";
schema: undefined;
columns: {
- userId: drizzle_orm_pg_core1159.PgColumn<{
+ userId: drizzle_orm_pg_core100.PgColumn<{
name: "user_id";
tableName: "collections";
dataType: "string";
@@ -1538,7 +1518,7 @@ declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- feedId: drizzle_orm_pg_core1159.PgColumn<{
+ feedId: drizzle_orm_pg_core100.PgColumn<{
name: "feed_id";
tableName: "collections";
dataType: "string";
@@ -1555,7 +1535,7 @@ declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- entryId: drizzle_orm_pg_core1159.PgColumn<{
+ entryId: drizzle_orm_pg_core100.PgColumn<{
name: "entry_id";
tableName: "collections";
dataType: "string";
@@ -1572,7 +1552,7 @@ declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- createdAt: drizzle_orm_pg_core1159.PgColumn<{
+ createdAt: drizzle_orm_pg_core100.PgColumn<{
name: "created_at";
tableName: "collections";
dataType: "date";
@@ -1589,7 +1569,7 @@ declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- view: drizzle_orm_pg_core1159.PgColumn<{
+ view: drizzle_orm_pg_core100.PgColumn<{
name: "view";
tableName: "collections";
dataType: "number";
@@ -1609,13 +1589,13 @@ declare const collections: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const collectionsOpenAPISchema: zod1169.ZodObject<{
- userId: zod1169.ZodString;
- feedId: zod1169.ZodString;
- entryId: zod1169.ZodString;
- createdAt: zod1169.ZodString;
- view: zod1169.ZodNumber;
-}, zod1169.UnknownKeysParam, zod1169.ZodTypeAny, {
+declare const collectionsOpenAPISchema: zod110.ZodObject<{
+ userId: zod110.ZodString;
+ feedId: zod110.ZodString;
+ entryId: zod110.ZodString;
+ createdAt: zod110.ZodString;
+ view: zod110.ZodNumber;
+}, zod110.UnknownKeysParam, zod110.ZodTypeAny, {
createdAt: string;
userId: string;
view: number;
@@ -1628,10 +1608,10 @@ declare const collectionsOpenAPISchema: zod1169.ZodObject<{
feedId: string;
entryId: string;
}>;
-declare const collectionsRelations: drizzle_orm1055.Relations<"collections", {
- users: drizzle_orm1055.One<"user", true>;
- entries: drizzle_orm1055.One<"entries", true>;
- feeds: drizzle_orm1055.One<"feeds", true>;
+declare const collectionsRelations: drizzle_orm142.Relations<"collections", {
+ users: drizzle_orm142.One<"user", true>;
+ entries: drizzle_orm142.One<"entries", true>;
+ feeds: drizzle_orm142.One<"feeds", true>;
}>;
//#endregion
//#region src/schema/entries.d.ts
@@ -1658,19 +1638,19 @@ type ExtraModel = {
}[];
};
declare const CommonEntryFields: {
- id: drizzle_orm1055.HasRuntimeDefault>>>>;
- title: drizzle_orm_pg_core1159.PgTextBuilderInitial<"title", [string, ...string[]]>;
- url: drizzle_orm_pg_core1159.PgTextBuilderInitial<"url", [string, ...string[]]>;
- content: drizzle_orm_pg_core1159.PgTextBuilderInitial<"content", [string, ...string[]]>;
- description: drizzle_orm_pg_core1159.PgTextBuilderInitial<"description", [string, ...string[]]>;
- guid: drizzle_orm1055.NotNull>;
- author: drizzle_orm_pg_core1159.PgTextBuilderInitial<"author", [string, ...string[]]>;
- authorUrl: drizzle_orm_pg_core1159.PgTextBuilderInitial<"author_url", [string, ...string[]]>;
- authorAvatar: drizzle_orm_pg_core1159.PgTextBuilderInitial<"author_avatar", [string, ...string[]]>;
- insertedAt: drizzle_orm1055.NotNull>;
- publishedAt: drizzle_orm1055.NotNull>;
- media: drizzle_orm1055.$Type, MediaModel[]>;
- categories: drizzle_orm_pg_core1159.PgArrayBuilder<{
+ id: drizzle_orm142.HasRuntimeDefault>>>>;
+ title: drizzle_orm_pg_core100.PgTextBuilderInitial<"title", [string, ...string[]]>;
+ url: drizzle_orm_pg_core100.PgTextBuilderInitial<"url", [string, ...string[]]>;
+ content: drizzle_orm_pg_core100.PgTextBuilderInitial<"content", [string, ...string[]]>;
+ description: drizzle_orm_pg_core100.PgTextBuilderInitial<"description", [string, ...string[]]>;
+ guid: drizzle_orm142.NotNull>;
+ author: drizzle_orm_pg_core100.PgTextBuilderInitial<"author", [string, ...string[]]>;
+ authorUrl: drizzle_orm_pg_core100.PgTextBuilderInitial<"author_url", [string, ...string[]]>;
+ authorAvatar: drizzle_orm_pg_core100.PgTextBuilderInitial<"author_avatar", [string, ...string[]]>;
+ insertedAt: drizzle_orm142.NotNull>;
+ publishedAt: drizzle_orm142.NotNull>;
+ media: drizzle_orm142.$Type, MediaModel[]>;
+ categories: drizzle_orm_pg_core100.PgArrayBuilder<{
name: "categories";
dataType: "array";
columnType: "PgArray";
@@ -1694,15 +1674,15 @@ declare const CommonEntryFields: {
enumValues: [string, ...string[]];
driverParam: string;
}>;
- attachments: drizzle_orm1055.$Type, AttachmentsModel[]>;
- extra: drizzle_orm1055.$Type, ExtraModel>;
- language: drizzle_orm_pg_core1159.PgTextBuilderInitial<"language", [string, ...string[]]>;
+ attachments: drizzle_orm142.$Type, AttachmentsModel[]>;
+ extra: drizzle_orm142.$Type, ExtraModel>;
+ language: drizzle_orm_pg_core100.PgTextBuilderInitial<"language", [string, ...string[]]>;
};
-declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
+declare const entries: drizzle_orm_pg_core100.PgTableWithColumns<{
name: "entries";
schema: undefined;
columns: {
- id: drizzle_orm_pg_core1159.PgColumn<{
+ id: drizzle_orm_pg_core100.PgColumn<{
name: "id";
tableName: "entries";
dataType: "string";
@@ -1719,7 +1699,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- title: drizzle_orm_pg_core1159.PgColumn<{
+ title: drizzle_orm_pg_core100.PgColumn<{
name: "title";
tableName: "entries";
dataType: "string";
@@ -1736,7 +1716,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- url: drizzle_orm_pg_core1159.PgColumn<{
+ url: drizzle_orm_pg_core100.PgColumn<{
name: "url";
tableName: "entries";
dataType: "string";
@@ -1753,7 +1733,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- content: drizzle_orm_pg_core1159.PgColumn<{
+ content: drizzle_orm_pg_core100.PgColumn<{
name: "content";
tableName: "entries";
dataType: "string";
@@ -1770,7 +1750,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- description: drizzle_orm_pg_core1159.PgColumn<{
+ description: drizzle_orm_pg_core100.PgColumn<{
name: "description";
tableName: "entries";
dataType: "string";
@@ -1787,7 +1767,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- guid: drizzle_orm_pg_core1159.PgColumn<{
+ guid: drizzle_orm_pg_core100.PgColumn<{
name: "guid";
tableName: "entries";
dataType: "string";
@@ -1804,7 +1784,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- author: drizzle_orm_pg_core1159.PgColumn<{
+ author: drizzle_orm_pg_core100.PgColumn<{
name: "author";
tableName: "entries";
dataType: "string";
@@ -1821,7 +1801,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- authorUrl: drizzle_orm_pg_core1159.PgColumn<{
+ authorUrl: drizzle_orm_pg_core100.PgColumn<{
name: "author_url";
tableName: "entries";
dataType: "string";
@@ -1838,7 +1818,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- authorAvatar: drizzle_orm_pg_core1159.PgColumn<{
+ authorAvatar: drizzle_orm_pg_core100.PgColumn<{
name: "author_avatar";
tableName: "entries";
dataType: "string";
@@ -1855,7 +1835,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- insertedAt: drizzle_orm_pg_core1159.PgColumn<{
+ insertedAt: drizzle_orm_pg_core100.PgColumn<{
name: "inserted_at";
tableName: "entries";
dataType: "date";
@@ -1872,7 +1852,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- publishedAt: drizzle_orm_pg_core1159.PgColumn<{
+ publishedAt: drizzle_orm_pg_core100.PgColumn<{
name: "published_at";
tableName: "entries";
dataType: "date";
@@ -1889,7 +1869,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- media: drizzle_orm_pg_core1159.PgColumn<{
+ media: drizzle_orm_pg_core100.PgColumn<{
name: "media";
tableName: "entries";
dataType: "json";
@@ -1908,7 +1888,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
}, {}, {
$type: MediaModel[];
}>;
- categories: drizzle_orm_pg_core1159.PgColumn<{
+ categories: drizzle_orm_pg_core100.PgColumn<{
name: "categories";
tableName: "entries";
dataType: "array";
@@ -1921,7 +1901,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
isAutoincrement: false;
hasRuntimeDefault: false;
enumValues: [string, ...string[]];
- baseColumn: drizzle_orm1055.Column<{
+ baseColumn: drizzle_orm142.Column<{
name: "categories";
tableName: "entries";
dataType: "string";
@@ -1941,17 +1921,17 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {
- baseBuilder: drizzle_orm_pg_core1159.PgColumnBuilder<{
+ baseBuilder: drizzle_orm_pg_core100.PgColumnBuilder<{
name: "categories";
dataType: "string";
columnType: "PgText";
data: string;
enumValues: [string, ...string[]];
driverParam: string;
- }, {}, {}, drizzle_orm1055.ColumnBuilderExtraConfig>;
+ }, {}, {}, drizzle_orm142.ColumnBuilderExtraConfig>;
size: undefined;
}>;
- attachments: drizzle_orm_pg_core1159.PgColumn<{
+ attachments: drizzle_orm_pg_core100.PgColumn<{
name: "attachments";
tableName: "entries";
dataType: "json";
@@ -1970,7 +1950,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
}, {}, {
$type: AttachmentsModel[];
}>;
- extra: drizzle_orm_pg_core1159.PgColumn<{
+ extra: drizzle_orm_pg_core100.PgColumn<{
name: "extra";
tableName: "entries";
dataType: "json";
@@ -1989,7 +1969,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
}, {}, {
$type: ExtraModel;
}>;
- language: drizzle_orm_pg_core1159.PgColumn<{
+ language: drizzle_orm_pg_core100.PgColumn<{
name: "language";
tableName: "entries";
dataType: "string";
@@ -2006,7 +1986,7 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
identity: undefined;
generated: undefined;
}, {}, {}>;
- feedId: drizzle_orm_pg_core1159.PgColumn<{
+ feedId: drizzle_orm_pg_core100.PgColumn<{
name: "feed_id";
tableName: "entries";
dataType: "string";
@@ -2026,13 +2006,13 @@ declare const entries: drizzle_orm_pg_core1159.PgTableWithColumns<{
};
dialect: "pg";
}>;
-declare const attachmentsZodSchema: z.ZodNullable>;
- mime_type: z.ZodOptional;
- size_in_bytes: z.ZodOptional;
- title: z.ZodOptional;
-}, "strip", z.ZodTypeAny, {
+declare const attachmentsZodSchema: z$1.ZodNullable>;
+ mime_type: z$1.ZodOptional;
+ size_in_bytes: z$1.ZodOptional;
+ title: z$1.ZodOptional;
+}, "strip", z$1.ZodTypeAny, {
url: string;
title?: string | undefined;
duration_in_seconds?: string | number | undefined;
@@ -2045,14 +2025,14 @@ declare const attachmentsZodSchema: z.ZodNullable, "many">>>;
-declare const mediaZodSchema: z.ZodNullable;
- width: z.ZodOptional;
- height: z.ZodOptional;
- preview_image_url: z.ZodOptional;
- blurhash: z.ZodOptional;
-}, "strip", z.ZodTypeAny, {
+declare const mediaZodSchema: z$1.ZodNullable;
+ width: z$1.ZodOptional;
+ height: z$1.ZodOptional;
+ preview_image_url: z$1.ZodOptional;
+ blurhash: z$1.ZodOptional;
+}, "strip", z$1.ZodTypeAny, {
type: "photo" | "video";
url: string;
width?: number | undefined;
@@ -2067,12 +2047,12 @@ declare const mediaZodSchema: z.ZodNullable, "many">>>;
-declare const extraZodSchema: z.ZodNullable;
- }, "strip", z.ZodTypeAny, {
+declare const extraZodSchema: z$1.ZodNullable;
+ }, "strip", z$1.ZodTypeAny, {
type: string;
url: string;
content_html?: string | undefined;
@@ -2081,7 +2061,7 @@ declare const extraZodSchema: z.ZodNullable, "many">>>;
-}, "strip", z.ZodTypeAny, {
+}, "strip", z$1.ZodTypeAny, {
links?: {
type: string;
url: string;
@@ -2094,19 +2074,19 @@ declare const extraZodSchema: z.ZodNullable>>;
-declare const entriesOpenAPISchema: z.ZodObject;
- url: z.ZodNullable;
- content: z.ZodNullable;
- description: z.ZodNullable;
- guid: z.ZodString;
- author: z.ZodNullable;
- authorUrl: z.ZodNullable;
- authorAvatar: z.ZodNullable;
- insertedAt: z.ZodString;
- publishedAt: z.ZodString;
- media: z.ZodNullable;
+ url: z$1.ZodNullable;
+ content: z$1.ZodNullable;
+ description: z$1.ZodNullable;
+ guid: z$1.ZodString;
+ author: z$1.ZodNullable;
+ authorUrl: z$1.ZodNullable;
+ authorAvatar: z$1.ZodNullable;
+ insertedAt: z$1.ZodString;
+ publishedAt: z$1.ZodString;
+ media: z$1.ZodNullable>;
- categories: z.ZodNullable>;
- attachments: z.ZodNullable>;
+ attachments: z$1.ZodNullable>;
- extra: z.ZodNullable>;
- language: z.ZodNullable;
- feedId: z.ZodString;
+ language: z$1.ZodNullable;
+ feedId: z$1.ZodString;
}, "media" | "attachments" | "extra"> & {
- attachments: z.ZodNullable>;
- mime_type: z.ZodOptional;
- size_in_bytes: z.ZodOptional;
- title: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
+ attachments: z$1.ZodNullable>;
+ mime_type: z$1.ZodOptional;
+ size_in_bytes: z$1.ZodOptional;
+ title: z$1.ZodOptional;
+ }, "strip", z$1.ZodTypeAny, {
url: string;
title?: string | undefined;
duration_in_seconds?: string | number | undefined;
@@ -2276,14 +2256,14 @@ declare const entriesOpenAPISchema: z.ZodObject, "many">>>;
- media: z.ZodNullable