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