@shumai-one/shumai-transcode 0.0.7 → 0.0.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.
@@ -113,7 +113,8 @@ console.log(`ℹ️ [shumai-transcode] Running from CWD: ${process.cwd()}`)
113
113
  console.log(`ℹ️ [shumai-transcode] DATABASE_URL is: ${process.env.DATABASE_URL ? '(defined)' : '(undefined)'}`)
114
114
 
115
115
  const prismaSchemaPath = join(__dirname, '..', 'prisma', 'schema.prisma')
116
- if (existsSync(prismaSchemaPath)) {
116
+ const isUtilityCommand = process.argv.includes('stop') || process.argv.includes('logs')
117
+ if (existsSync(prismaSchemaPath) && !isUtilityCommand) {
117
118
  console.log('🔄 Running database migrations...')
118
119
  activeProcess = spawn(
119
120
  binaryPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumai-one/shumai-transcode",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Media transcoding worker for the shumai media workspace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,15 +22,16 @@
22
22
  "@temporalio/client": "1.17.2",
23
23
  "@temporalio/worker": "1.17.2",
24
24
  "@temporalio/workflow": "1.17.2",
25
- "prisma": "7.8.0"
25
+ "prisma": "7.8.0",
26
+ "zod": "4.4.3"
26
27
  },
27
28
  "optionalDependencies": {
28
- "@shumai-one/shumai-transcode-darwin-arm64": "0.0.7",
29
- "@shumai-one/shumai-transcode-darwin-x64": "0.0.7",
30
- "@shumai-one/shumai-transcode-linux-arm64": "0.0.7",
31
- "@shumai-one/shumai-transcode-linux-x64": "0.0.7",
32
- "@shumai-one/shumai-transcode-win32-arm64": "0.0.7",
33
- "@shumai-one/shumai-transcode-win32-x64": "0.0.7"
29
+ "@shumai-one/shumai-transcode-darwin-arm64": "0.0.9",
30
+ "@shumai-one/shumai-transcode-darwin-x64": "0.0.9",
31
+ "@shumai-one/shumai-transcode-linux-arm64": "0.0.9",
32
+ "@shumai-one/shumai-transcode-linux-x64": "0.0.9",
33
+ "@shumai-one/shumai-transcode-win32-arm64": "0.0.9",
34
+ "@shumai-one/shumai-transcode-win32-x64": "0.0.9"
34
35
  },
35
36
  "repository": {
36
37
  "type": "git",
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "share_links" ADD COLUMN "view_mode" TEXT;
@@ -338,6 +338,7 @@ model ShareLink {
338
338
  password String?
339
339
  isDisabled Boolean @default(false) @map("is_disabled")
340
340
  defaultSortOrder String? @map("default_sort_order")
341
+ viewMode String? @map("view_mode")
341
342
  /// [ShareLinkFieldVisibility]
342
343
  fieldVisibility Json? @map("field_visibility")
343
344
  createdAt DateTime @default(now()) @map("created_at")