13 lines
509 B
TypeScript
13 lines
509 B
TypeScript
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
|
// The Convex app definition: registers the ConusAI audit component, so audit events written from
|
|
// Convex functions (the outbox relay's subscribers, and any procedure's own audit) reach the
|
|
// platform's tenant audit log through the scheduler (spec §5.4, @conusai-sdk/convex-audit).
|
|
|
|
import audit from "@conusai-sdk/convex-audit/convex.config"
|
|
import { defineApp } from "convex/server"
|
|
|
|
const app = defineApp()
|
|
app.use(audit)
|
|
|
|
export default app
|