refactor auth/media entities to separate files, suppress node:sqlite warning

This commit is contained in:
dswbx
2025-07-02 16:36:06 +02:00
parent 80034b9b0a
commit 45138c25f0
8 changed files with 104 additions and 89 deletions
+14
View File
@@ -0,0 +1,14 @@
import { text } from "data/prototype";
export const usersFields = {
email: text().required(),
strategy: text({
fillable: ["create"],
hidden: ["update", "form"],
}).required(),
strategy_value: text({
fillable: ["create"],
hidden: ["read", "table", "update", "form"],
}).required(),
role: text(),
};