@objectstack/platform-objects 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit/index.d.mts +27 -27
- package/dist/audit/index.d.ts +27 -27
- package/dist/identity/index.d.mts +60 -68
- package/dist/identity/index.d.ts +60 -68
- package/dist/identity/index.js +5 -11
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +5 -11
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.js +5 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -11
- package/dist/index.mjs.map +1 -1
- package/dist/metadata/index.d.mts +12 -12
- package/dist/metadata/index.d.ts +12 -12
- package/dist/system/index.d.mts +9 -9
- package/dist/system/index.d.ts +9 -9
- package/package.json +2 -2
package/dist/identity/index.mjs
CHANGED
|
@@ -407,17 +407,11 @@ var SysUser = ObjectSchema.create({
|
|
|
407
407
|
apiMethods: ["get", "list", "create", "update", "delete"],
|
|
408
408
|
trash: true,
|
|
409
409
|
mru: true
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
severity: "error",
|
|
416
|
-
message: "Email must be unique",
|
|
417
|
-
fields: ["email"],
|
|
418
|
-
caseSensitive: false
|
|
419
|
-
}
|
|
420
|
-
]
|
|
410
|
+
}
|
|
411
|
+
// Email uniqueness is enforced by the unique index above (and better-auth's
|
|
412
|
+
// managed user table). A declarative `unique` validation rule is intentionally
|
|
413
|
+
// not used — uniqueness needs a DB lookup, not a synchronous validation, so it
|
|
414
|
+
// is not one of the declarable validation-rule types.
|
|
421
415
|
});
|
|
422
416
|
var SysSession = ObjectSchema.create({
|
|
423
417
|
name: "sys_session",
|