puerto 0.19.1

Puerto — Rust full-stack DDD framework CLI. Scaffolds Clean Architecture projects with auto-wired DI, SQLx support, and zero manual wiring. Formerly puerto-framework.
1
2
3
4
5
6
7
// AUTO-GENERATED by puerto. Edit puerto.toml, then run `puerto generate bootstrap`.

/**
 * Every role a generated screen checks (`roles` in puerto.toml). The screen tests' caller holds
 * them all (`CurrentUserMother.caller()`).
 */
export const ROLES: string[] = [{% for r in roles %}"{{ r }}"{% if not loop.last %}, {% endif %}{% endfor %}];