ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
// Generated by @conusai-kit/data-convex (pnpm convex:gen). Do not edit by hand: regenerate.
// Module: auth. 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 { tenantMutation, tenantQuery } from "../lib/functions";
export const auth_apiKey_create = tenantMutation({
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
handler: async (ctx, { input, idempotencyKey }) => ctx.run("auth.apiKey.create", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
});
export const auth_apiKey_list = tenantQuery({
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
handler: async (ctx, { input, idempotencyKey }) => ctx.run("auth.apiKey.list", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
});
export const auth_apiKey_revoke = tenantMutation({
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
handler: async (ctx, { input, idempotencyKey }) => ctx.run("auth.apiKey.revoke", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
});
export const auth_session_current = tenantQuery({
args: { input: v.optional(v.any()), idempotencyKey: v.optional(v.string()) },
handler: async (ctx, { input, idempotencyKey }) => ctx.run("auth.session.current", input, idempotencyKey === undefined ? undefined : { idempotencyKey }),
});