UNPKG

@autobe/agent

Version:

AI backend server code generator

21 lines (20 loc) 660 B
import { AutoBeDatabaseGroup } from "@autobe/interface"; import { IValidation } from "typia"; export declare namespace AutoBeDatabaseGroupProgrammer { /** * Validates the group kind counts and namespace uniqueness. * * Enforces the following rules: * * - Exactly 1 authorization group required * - At least 1 domain group required * - All namespaces must be unique across groups * * @param props Validation context with errors array and groups to validate */ const validate: (props: { errors: IValidation.IError[]; path: string; groups: AutoBeDatabaseGroup[]; }) => void; }