lariv-rs 0.1.0

Compile-time plugin web application framework built on Axum, SeaORM, Maud, and HTMX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Compile-time HTMX swap keys for the users plugin.

use crate::swap_key;

swap_key!(UserTableKey, "user-table");
swap_key!(RoleTableKey, "role-table");
swap_key!(UserSelectTableKey, "user-selection-table");
swap_key!(RoleSelectTableKey, "role-selection-table");
swap_key!(UserCreateModalKey, "user-create-modal");
swap_key!(UserEditModalKey, "user-edit-modal");
swap_key!(UserDeleteModalKey, "user-delete-modal");
swap_key!(RoleCreateModalKey, "role-create-modal");
swap_key!(RoleEditModalKey, "role-edit-modal");
swap_key!(RoleDeleteModalKey, "role-delete-modal");
swap_key!(UserSelectModalKey, "user-selection-modal");
swap_key!(RoleSelectModalKey, "role-selection-modal");
swap_key!(UserFkRoleKey, "fk-user-role");
swap_key!(SelfEditModalKey, "user-self-edit-modal");