/opt/canhelp/node_modules/better-auth/dist/plugins/username
NameSizeModeActions
client.d.mts13410644editdlrm
client.mjs4110644editdlrm
client.mjs.map8300644editdlrm
error-codes.d.mts10350644editdlrm
error-codes.mjs6700644editdlrm
error-codes.mjs.map8680644editdlrm
index.d.mts81060644editdlrm
index.mjs107670644editdlrm
index.mjs.map253520644editdlrm
schema.d.mts10140644editdlrm
schema.mjs5970644editdlrm
schema.mjs.map15540644editdlrm
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/username/schema.mjs (597B)
//#region src/plugins/username/schema.ts const getSchema = (normalizer) => { return { user: { fields: { username: { type: "string", required: false, sortable: true, unique: true, returned: true, transform: { input(value) { return typeof value !== "string" ? value : normalizer.username(value); } } }, displayUsername: { type: "string", required: false, transform: { input(value) { return typeof value !== "string" ? value : normalizer.displayUsername(value); } } } } } }; }; //#endregion export { getSchema }; //# sourceMappingURL=schema.mjs.map