Files
template-app/convex/documentsActions.ts
T
2026-11-14 09:56:45 +00:00

23 lines
653 B
TypeScript

// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
// Convex has no current native-authority/owned-intent worker adapter. Keep its
// internal endpoint explicit and fail closed before any OCR/AI/Blob effect.
"use node"
import { serviceRefusal } from "@conusai-kit/core"
import { v } from "convex/values"
import { internalAction } from "./_generated/server"
export const process = internalAction({
args: {
jobId: v.string(),
attempt: v.number(),
orgId: v.string(),
workspaceId: v.string(),
projectId: v.string(),
payload: v.any(),
},
handler: async () => {
throw serviceRefusal("profile_unsupported")
},
})