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