@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/index.js
CHANGED
|
@@ -410,17 +410,11 @@ var SysUser = data.ObjectSchema.create({
|
|
|
410
410
|
apiMethods: ["get", "list", "create", "update", "delete"],
|
|
411
411
|
trash: true,
|
|
412
412
|
mru: true
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
severity: "error",
|
|
419
|
-
message: "Email must be unique",
|
|
420
|
-
fields: ["email"],
|
|
421
|
-
caseSensitive: false
|
|
422
|
-
}
|
|
423
|
-
]
|
|
413
|
+
}
|
|
414
|
+
// Email uniqueness is enforced by the unique index above (and better-auth's
|
|
415
|
+
// managed user table). A declarative `unique` validation rule is intentionally
|
|
416
|
+
// not used — uniqueness needs a DB lookup, not a synchronous validation, so it
|
|
417
|
+
// is not one of the declarable validation-rule types.
|
|
424
418
|
});
|
|
425
419
|
var SysSession = data.ObjectSchema.create({
|
|
426
420
|
name: "sys_session",
|