// Stub types for cross-module dependencies — used only for codegen.
// At runtime, actual types are injected via defineModule() params.
// TODO: Replace with SDK-level externalTypes support when available.
import { db } from "@tailor-platform/sdk";
import { defaultGqlPermission, defaultPermission } from "../../../shared/modelPermissions";

export const user = db
  .type("User", {})
  .permission(defaultPermission)
  .gqlPermission(defaultGqlPermission);

export const role = db
  .type("Role", {})
  .permission(defaultPermission)
  .gqlPermission(defaultGqlPermission);
