# Module Exports

Module `index.ts` exports are kept minimal:

1. `defineModule` from module.ts
2. `permissions`, `own`, `all` from `lib/permissions.generated`

Error classes, input types, and query functions are **not** re-exported from `index.ts`. Consumers import them directly from their source files (e.g., `../lib/errors.generated`, `../command/createItem`). This avoids naming conflicts in the top-level barrel file when multiple modules define similar error classes.

Test files are exempt from the cross-module import restriction and may use direct path imports freely.
