@objectstack/platform-objects 7.0.0 → 7.2.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.js +25 -29
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +25 -29
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +192 -96
- package/dist/audit/index.d.ts +192 -96
- package/dist/identity/index.d.mts +244 -122
- package/dist/identity/index.d.ts +244 -122
- package/dist/identity/index.js +5 -2
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +5 -2
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +180 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +180 -32
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +12 -6
- package/dist/integration/index.d.ts +12 -6
- package/dist/metadata/index.d.mts +3252 -13
- package/dist/metadata/index.d.ts +3252 -13
- package/dist/metadata/index.js +130 -0
- package/dist/metadata/index.js.map +1 -1
- package/dist/metadata/index.mjs +130 -1
- package/dist/metadata/index.mjs.map +1 -1
- package/dist/pages/index.d.mts +8 -3
- package/dist/pages/index.d.ts +8 -3
- package/dist/pages/index.js.map +1 -1
- package/dist/pages/index.mjs.map +1 -1
- package/dist/plugin.js +4 -8
- package/dist/plugin.js.map +1 -1
- package/dist/plugin.mjs +4 -8
- package/dist/plugin.mjs.map +1 -1
- package/dist/security/index.d.mts +84 -42
- package/dist/security/index.d.ts +84 -42
- package/dist/security/index.js +20 -0
- package/dist/security/index.js.map +1 -1
- package/dist/security/index.mjs +20 -0
- package/dist/security/index.mjs.map +1 -1
- package/dist/system/index.d.mts +36 -18
- package/dist/system/index.d.ts +36 -18
- package/package.json +2 -2
package/dist/identity/index.js
CHANGED
|
@@ -10,6 +10,9 @@ var SysUser = data.ObjectSchema.create({
|
|
|
10
10
|
icon: "user",
|
|
11
11
|
isSystem: true,
|
|
12
12
|
managedBy: "better-auth",
|
|
13
|
+
// ADR-0010 — identity table is managed by better-auth, schema must not drift.
|
|
14
|
+
_lock: "full",
|
|
15
|
+
_lockReason: "Identity table managed by better-auth \u2014 see ADR-0010.",
|
|
13
16
|
description: "User accounts for authentication",
|
|
14
17
|
displayNameField: "name",
|
|
15
18
|
titleFormat: "{name}",
|
|
@@ -601,7 +604,7 @@ var SysAccount = data.ObjectSchema.create({
|
|
|
601
604
|
mode: "create",
|
|
602
605
|
locations: ["list_toolbar"],
|
|
603
606
|
type: "url",
|
|
604
|
-
target: "/api/v1/auth/sign-in/social?provider=${param.provider}&callbackURL=${ctx.origin}/apps/account/sys_account",
|
|
607
|
+
target: "/api/v1/auth/sign-in/social?provider=${param.provider}&callbackURL=${ctx.origin}/_console/apps/account/sys_account",
|
|
605
608
|
params: [
|
|
606
609
|
{
|
|
607
610
|
name: "provider",
|
|
@@ -2395,7 +2398,7 @@ var SysOauthApplication = data.ObjectSchema.create({
|
|
|
2395
2398
|
locations: ["list_toolbar"],
|
|
2396
2399
|
type: "api",
|
|
2397
2400
|
method: "POST",
|
|
2398
|
-
target: "/api/v1/auth/
|
|
2401
|
+
target: "/api/v1/auth/sys-oauth-application/register",
|
|
2399
2402
|
refreshAfter: true,
|
|
2400
2403
|
params: [
|
|
2401
2404
|
{ name: "name", label: "Application Name", type: "text", required: true },
|