@objectstack/platform-objects 11.1.0 → 11.3.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 +16 -0
- package/dist/audit/index.d.ts +16 -0
- package/dist/audit/index.js +14 -0
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/index.mjs +14 -0
- package/dist/audit/index.mjs.map +1 -1
- package/dist/identity/index.d.mts +33 -0
- package/dist/identity/index.d.ts +33 -0
- package/dist/identity/index.js +22 -0
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +22 -0
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -0
- package/dist/index.mjs.map +1 -1
- package/dist/system/index.d.mts +4 -0
- package/dist/system/index.d.ts +4 -0
- package/dist/system/index.js +2 -0
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +2 -0
- package/dist/system/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/identity/index.mjs
CHANGED
|
@@ -16,6 +16,8 @@ var SysUser = ObjectSchema.create({
|
|
|
16
16
|
},
|
|
17
17
|
description: "User accounts for authentication",
|
|
18
18
|
displayNameField: "name",
|
|
19
|
+
nameField: "name",
|
|
20
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
19
21
|
titleFormat: "{name}",
|
|
20
22
|
compactLayout: ["name", "email", "email_verified"],
|
|
21
23
|
// Custom actions — generic CRUD is suppressed because user accounts are
|
|
@@ -540,6 +542,8 @@ var SysSession = ObjectSchema.create({
|
|
|
540
542
|
},
|
|
541
543
|
description: "Active user sessions",
|
|
542
544
|
displayNameField: "user_id",
|
|
545
|
+
nameField: "user_id",
|
|
546
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
543
547
|
titleFormat: "Session \u2014 {user_id}",
|
|
544
548
|
compactLayout: ["user_id", "ip_address", "expires_at"],
|
|
545
549
|
// Custom actions — sessions are managed by better-auth (generic CRUD
|
|
@@ -986,6 +990,8 @@ var SysOrganization = ObjectSchema.create({
|
|
|
986
990
|
},
|
|
987
991
|
description: "Organizations for multi-tenant grouping",
|
|
988
992
|
displayNameField: "name",
|
|
993
|
+
nameField: "name",
|
|
994
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
989
995
|
titleFormat: "{name}",
|
|
990
996
|
compactLayout: ["name", "slug"],
|
|
991
997
|
// Custom actions — generic CRUD is suppressed (better-auth-managed),
|
|
@@ -1608,6 +1614,8 @@ var SysTeam = ObjectSchema.create({
|
|
|
1608
1614
|
},
|
|
1609
1615
|
description: "Teams within organizations for fine-grained grouping",
|
|
1610
1616
|
displayNameField: "name",
|
|
1617
|
+
nameField: "name",
|
|
1618
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
1611
1619
|
titleFormat: "{name}",
|
|
1612
1620
|
compactLayout: ["name", "organization_id"],
|
|
1613
1621
|
// Custom actions calling better-auth's team endpoints. Generic CRUD is
|
|
@@ -1854,6 +1862,8 @@ var SysBusinessUnit = ObjectSchema.create({
|
|
|
1854
1862
|
managedBy: "platform",
|
|
1855
1863
|
description: "Canonical Business Unit tree \u2014 hierarchical org/data-partition node (company / division / department / region / office). ADR-0057 D2.",
|
|
1856
1864
|
displayNameField: "name",
|
|
1865
|
+
nameField: "name",
|
|
1866
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
1857
1867
|
titleFormat: "{name}",
|
|
1858
1868
|
compactLayout: ["name", "kind", "parent_business_unit_id", "manager_user_id"],
|
|
1859
1869
|
listViews: {
|
|
@@ -2127,6 +2137,8 @@ var SysApiKey = ObjectSchema.create({
|
|
|
2127
2137
|
},
|
|
2128
2138
|
description: "API keys for programmatic access",
|
|
2129
2139
|
displayNameField: "name",
|
|
2140
|
+
nameField: "name",
|
|
2141
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
2130
2142
|
titleFormat: "{name}",
|
|
2131
2143
|
compactLayout: ["name", "prefix", "user_id", "expires_at", "revoked"],
|
|
2132
2144
|
// Custom actions — sys_api_key is managed-by 'better-auth' but the
|
|
@@ -2470,6 +2482,8 @@ var SysDeviceCode = ObjectSchema.create({
|
|
|
2470
2482
|
docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
|
|
2471
2483
|
},
|
|
2472
2484
|
description: "OAuth 2.0 Device Authorization Grant (RFC 8628) pending requests",
|
|
2485
|
+
nameField: "user_code",
|
|
2486
|
+
// [ADR-0079] canonical primary-title pointer (single-field titleFormat)
|
|
2473
2487
|
titleFormat: "{user_code}",
|
|
2474
2488
|
compactLayout: ["user_code", "status", "client_id", "expires_at"],
|
|
2475
2489
|
fields: {
|
|
@@ -2563,6 +2577,8 @@ var SysUserPreference = ObjectSchema.create({
|
|
|
2563
2577
|
// surface in Setup is a support/diagnostic view only.
|
|
2564
2578
|
managedBy: "system",
|
|
2565
2579
|
description: "Per-user key-value preferences (theme, locale, etc.)",
|
|
2580
|
+
nameField: "key",
|
|
2581
|
+
// [ADR-0079] canonical primary-title pointer (single-field titleFormat)
|
|
2566
2582
|
titleFormat: "{key}",
|
|
2567
2583
|
compactLayout: ["user_id", "key"],
|
|
2568
2584
|
listViews: {
|
|
@@ -2658,6 +2674,8 @@ var SysOauthApplication = ObjectSchema.create({
|
|
|
2658
2674
|
},
|
|
2659
2675
|
description: "Registered OAuth/OIDC client applications",
|
|
2660
2676
|
displayNameField: "name",
|
|
2677
|
+
nameField: "name",
|
|
2678
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
2661
2679
|
titleFormat: "{name}",
|
|
2662
2680
|
compactLayout: ["name", "client_id", "type", "disabled"],
|
|
2663
2681
|
// Custom actions — all OAuth-application mutations are routed through
|
|
@@ -3373,6 +3391,8 @@ var SysSsoProvider = ObjectSchema.create({
|
|
|
3373
3391
|
},
|
|
3374
3392
|
description: "External SSO identity providers (OIDC / SAML) this environment federates login to",
|
|
3375
3393
|
displayNameField: "provider_id",
|
|
3394
|
+
nameField: "provider_id",
|
|
3395
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
3376
3396
|
titleFormat: "{provider_id}",
|
|
3377
3397
|
compactLayout: ["provider_id", "issuer", "domain"],
|
|
3378
3398
|
// All mutations go through @better-auth/sso's endpoints under
|
|
@@ -3613,6 +3633,8 @@ var SysScimProvider = ObjectSchema.create({
|
|
|
3613
3633
|
},
|
|
3614
3634
|
description: "SCIM 2.0 connections (bearer tokens) external IdPs use to provision/deprovision this environment's users",
|
|
3615
3635
|
displayNameField: "provider_id",
|
|
3636
|
+
nameField: "provider_id",
|
|
3637
|
+
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
3616
3638
|
titleFormat: "{provider_id}",
|
|
3617
3639
|
compactLayout: ["provider_id", "organization_id"],
|
|
3618
3640
|
listViews: {
|