This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// Generated by @conusai-kit/data-convex (pnpm convex:gen). Do not edit by hand: regenerate.
|
||||
// Module: account. One Convex function per procedure (spec §5.4): read → query, write →
|
||||
// mutation, effect → action. ctx.run is the custom-function ctx of convex/lib/functions.ts: it
|
||||
// resolves the tenant scope, checks the permission and runs the procedure's own handler with the
|
||||
// module's repositories bound to this function's ctx.db.
|
||||
import { v } from "convex/values";
|
||||
import { tenantAction, tenantQuery } from "../lib/functions";
|
||||
|
||||
export const account_data_export = tenantAction({
|
||||
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
|
||||
handler: async (ctx, { input, idempotencyKey }) => ctx.run("account.data.export", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
|
||||
});
|
||||
|
||||
export const account_deletion_request = tenantAction({
|
||||
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
|
||||
handler: async (ctx, { input, idempotencyKey }) => ctx.run("account.deletion.request", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
|
||||
});
|
||||
|
||||
export const account_deletion_status = tenantQuery({
|
||||
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
|
||||
handler: async (ctx, { input, idempotencyKey }) => ctx.run("account.deletion.status", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
|
||||
});
|
||||
Reference in New Issue
Block a user