Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 22
nodejs 22.17.0
1 change: 1 addition & 0 deletions packages/api/src/controllers/transcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ app.post(
creatorId: params.creatorId,
c2pa: params.c2pa,
catalystPipelineStrategy,
reencode: params.reencode ?? false,
},
},
req.user,
Expand Down
6 changes: 6 additions & 0 deletions packages/api/src/schema/db-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,9 @@ components:
- background_mist
- fallback_external
- external
reencode:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why this change is happening in the db schema and not the api schema?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just because I wanted to keep it as a hidden flag like we have with catalystPipelineStrategy, users shouldn't normally be using it but I want to try it out to see if it fixes a customer issue.

type: boolean
default: false
deleted:
type: boolean
description: Set to true when the task is deleted
Expand Down Expand Up @@ -1336,6 +1339,9 @@ components:
properties:
catalystPipelineStrategy:
$ref: "#/components/schemas/task/properties/params/properties/upload/properties/catalystPipelineStrategy"
reencode:
type: boolean
default: false
room:
table: room
properties:
Expand Down
Loading