@shumai-one/shumai-transcode 0.4.7 → 0.4.9
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/bin/{chunk-m53raxp3.js → chunk-1h2vdfab.js} +1 -1
- package/bin/{chunk-mt9fc2w2.js → chunk-2dk7dgz7.js} +48 -10
- package/bin/{chunk-77yqzeny.js → chunk-4qrcmkw7.js} +1 -1
- package/bin/{chunk-m3tcq5v7.js → chunk-5vp3cwqf.js} +1 -1
- package/bin/{chunk-z6764af5.js → chunk-azergkcd.js} +1 -1
- package/bin/{chunk-bzsdew5h.js → chunk-jjpexsjf.js} +1 -1
- package/bin/{chunk-nkxa78k9.js → chunk-jw6bzfdf.js} +1 -1
- package/bin/{chunk-azec9spy.js → chunk-mm0gpeyf.js} +1 -1
- package/bin/{chunk-n1den4ye.js → chunk-zr1jpkt3.js} +1 -1
- package/bin/shumai-transcode-app.js +86 -75
- package/package.json +7 -7
- package/prisma/migrations/20260927092537_add_notification_email_status/migration.sql +11 -0
- package/prisma/schema.prisma +10 -0
- /package/bin/{chunk-s0tvskdq.js → chunk-0xhpqhfw.js} +0 -0
- /package/bin/{chunk-xszqxq28.js → chunk-a80yfk5e.js} +0 -0
- /package/bin/{chunk-vzftzfs2.js → chunk-hk0bnv8t.js} +0 -0
- /package/bin/{chunk-nsapk4vs.js → chunk-k6yxzkm9.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shumai-one/shumai-transcode",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "Media transcoding worker for the shumai media workspace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"zod": "4.5.4"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@shumai-one/shumai-transcode-darwin-arm64": "0.4.
|
|
31
|
-
"@shumai-one/shumai-transcode-darwin-x64": "0.4.
|
|
32
|
-
"@shumai-one/shumai-transcode-linux-arm64": "0.4.
|
|
33
|
-
"@shumai-one/shumai-transcode-linux-x64": "0.4.
|
|
34
|
-
"@shumai-one/shumai-transcode-win32-arm64": "0.4.
|
|
35
|
-
"@shumai-one/shumai-transcode-win32-x64": "0.4.
|
|
30
|
+
"@shumai-one/shumai-transcode-darwin-arm64": "0.4.9",
|
|
31
|
+
"@shumai-one/shumai-transcode-darwin-x64": "0.4.9",
|
|
32
|
+
"@shumai-one/shumai-transcode-linux-arm64": "0.4.9",
|
|
33
|
+
"@shumai-one/shumai-transcode-linux-x64": "0.4.9",
|
|
34
|
+
"@shumai-one/shumai-transcode-win32-arm64": "0.4.9",
|
|
35
|
+
"@shumai-one/shumai-transcode-win32-x64": "0.4.9"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
-- CreateEnum
|
|
2
|
+
CREATE TYPE "NotificationEmailStatus" AS ENUM ('pending', 'processing', 'processed', 'failed');
|
|
3
|
+
|
|
4
|
+
-- AlterTable
|
|
5
|
+
ALTER TABLE "notifications" ADD COLUMN "email_status" "NotificationEmailStatus" NOT NULL DEFAULT 'pending';
|
|
6
|
+
|
|
7
|
+
-- Update legacy rows to processed
|
|
8
|
+
UPDATE "notifications" SET "email_status" = 'processed';
|
|
9
|
+
|
|
10
|
+
-- CreateIndex
|
|
11
|
+
CREATE INDEX "notifications_email_status_created_at_idx" ON "notifications"("email_status", "created_at");
|
package/prisma/schema.prisma
CHANGED
|
@@ -76,6 +76,13 @@ enum NotificationType {
|
|
|
76
76
|
kanban_task_comment_created
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
enum NotificationEmailStatus {
|
|
80
|
+
pending
|
|
81
|
+
processing
|
|
82
|
+
processed
|
|
83
|
+
failed
|
|
84
|
+
}
|
|
85
|
+
|
|
79
86
|
enum ProjectMemberRole {
|
|
80
87
|
owner
|
|
81
88
|
editor
|
|
@@ -776,9 +783,12 @@ model Notification {
|
|
|
776
783
|
userId String? @map("user_id")
|
|
777
784
|
user User? @relation("UserToNotification", fields: [userId], references: [id])
|
|
778
785
|
|
|
786
|
+
emailStatus NotificationEmailStatus @default(pending) @map("email_status")
|
|
787
|
+
|
|
779
788
|
readByMembers TeamMember? @relation("TeamMemberToLastReadNotification")
|
|
780
789
|
|
|
781
790
|
@@index([kanbanTaskId])
|
|
791
|
+
@@index([emailStatus, createdAt])
|
|
782
792
|
@@map("notifications")
|
|
783
793
|
}
|
|
784
794
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|