@@ -0,0 +1,22 @@
|
||||
// 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")
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user