mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: make OCR portable and reliable across AMD64 and ARM64 (#519)
* fix: make OCR portable and reliable * fix: harden OCR installation portability * fix: pin OCR partials across downloads * fix: make OCR execution reliably asynchronous * fix: harden OCR portability and docs routes * fix: preserve decoder and docs safeguards
This commit is contained in:
@@ -85,7 +85,11 @@ export const jobs = pgTable(
|
||||
type: text("type").notNull(),
|
||||
status: jobStatus("status").notNull().default("queued"),
|
||||
attempts: integer("attempts").notNull().default(0),
|
||||
progress: jsonb("progress").$type<{ percent: number; stage?: string }>(),
|
||||
progress: jsonb("progress").$type<{
|
||||
percent: number;
|
||||
stage?: string;
|
||||
result?: Record<string, unknown>;
|
||||
}>(),
|
||||
inputRefs: jsonb("input_refs").$type<string[]>(),
|
||||
outputRefs: jsonb("output_refs").$type<string[]>(),
|
||||
settings: jsonb("settings").$type<Record<string, unknown>>(),
|
||||
|
||||
Reference in New Issue
Block a user