// Stub types for cross-module dependencies — used only for codegen.
// At runtime, actual types are injected via defineModule() params.
import { db } from "@tailor-platform/sdk";
import { defaultGqlPermission, defaultPermission } from "../../../shared/modelPermissions";

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

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

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