@objectstack/platform-objects 7.0.0 → 7.1.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 +22 -29
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +22 -29
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +48 -48
- package/dist/audit/index.d.ts +48 -48
- package/dist/identity/index.d.mts +61 -61
- package/dist/identity/index.d.ts +61 -61
- package/dist/identity/index.js +1 -1
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/index.mjs +1 -1
- package/dist/identity/index.mjs.map +1 -1
- package/dist/index.js +43 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -30
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +3 -3
- package/dist/integration/index.d.ts +3 -3
- package/dist/metadata/index.d.mts +6 -6
- package/dist/metadata/index.d.ts +6 -6
- 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 +21 -21
- package/dist/security/index.d.ts +21 -21
- 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 +9 -9
- package/dist/system/index.d.ts +9 -9
- package/package.json +2 -2
package/dist/apps/index.mjs
CHANGED
|
@@ -498,21 +498,20 @@ var ACCOUNT_APP = {
|
|
|
498
498
|
// manage their own 2FA / linked accounts / personal OAuth apps. RLS on
|
|
499
499
|
// each object scopes rows to the caller.
|
|
500
500
|
navigation: [
|
|
501
|
-
// Profile is the canonical landing —
|
|
502
|
-
//
|
|
503
|
-
//
|
|
504
|
-
// (
|
|
505
|
-
//
|
|
506
|
-
//
|
|
507
|
-
// (related lists,
|
|
501
|
+
// Profile is the canonical landing — a hand-written React settings card
|
|
502
|
+
// (Vercel/Linear style) registered in the Console SPA as
|
|
503
|
+
// `account:profile_card`. The renderer reads the current user via
|
|
504
|
+
// `useAuth()` and writes via `client.auth.updateUser`, so there is no
|
|
505
|
+
// sys_user record context here — this is intentional. The admin-facing
|
|
506
|
+
// sys_user record page (see `pages/sys-user.page.ts`) stays focused on
|
|
507
|
+
// record browsing (Identity/Audit fields, related lists, admin actions)
|
|
508
|
+
// and is reached through Setup, never from the Account App.
|
|
508
509
|
{
|
|
509
510
|
id: "nav_account_profile",
|
|
510
|
-
type: "
|
|
511
|
+
type: "component",
|
|
511
512
|
label: "Profile",
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
icon: "user-circle",
|
|
515
|
-
requiresObject: "sys_user"
|
|
513
|
+
componentRef: "account:profile_card",
|
|
514
|
+
icon: "user-circle"
|
|
516
515
|
},
|
|
517
516
|
// --- Inbox & work assigned to me -----------------------------------
|
|
518
517
|
// Notifications, approvals waiting on me, and the orgs I belong to.
|
|
@@ -616,16 +615,14 @@ var ACCOUNT_APP = {
|
|
|
616
615
|
requiresObject: "sys_oauth_application"
|
|
617
616
|
}
|
|
618
617
|
]
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
id: "nav_account_preferences",
|
|
622
|
-
type: "object",
|
|
623
|
-
label: "Preferences",
|
|
624
|
-
objectName: "sys_user_preference",
|
|
625
|
-
viewName: "mine",
|
|
626
|
-
icon: "sliders-horizontal",
|
|
627
|
-
requiresObject: "sys_user_preference"
|
|
628
618
|
}
|
|
619
|
+
// Note: `sys_user_preference` is intentionally NOT exposed in the
|
|
620
|
+
// Account App. It's an internal key-value store the UI uses for state
|
|
621
|
+
// like `ui.recent`, `ui.favorites`, theme, sidebar collapse — not
|
|
622
|
+
// a user-curatable settings surface. A future
|
|
623
|
+
// `account:preferences_card` React component should provide the
|
|
624
|
+
// curated theme / locale / timezone / notifications toggles when we
|
|
625
|
+
// need them; until then there is no nav entry.
|
|
629
626
|
]
|
|
630
627
|
};
|
|
631
628
|
var SystemOverviewDashboard = Dashboard.create({
|
|
@@ -3844,8 +3841,7 @@ var en = {
|
|
|
3844
3841
|
nav_account_linked: { label: "Linked Accounts" },
|
|
3845
3842
|
nav_account_sessions: { label: "Active Sessions" },
|
|
3846
3843
|
nav_account_api_keys: { label: "API Keys" },
|
|
3847
|
-
nav_account_oauth_apps: { label: "OAuth Applications" }
|
|
3848
|
-
nav_account_preferences: { label: "Preferences" }
|
|
3844
|
+
nav_account_oauth_apps: { label: "OAuth Applications" }
|
|
3849
3845
|
}
|
|
3850
3846
|
},
|
|
3851
3847
|
setup: {
|
|
@@ -7056,8 +7052,7 @@ var zhCN = {
|
|
|
7056
7052
|
nav_account_linked: { label: "\u5DF2\u5173\u8054\u8D26\u6237" },
|
|
7057
7053
|
nav_account_sessions: { label: "\u6D3B\u52A8\u4F1A\u8BDD" },
|
|
7058
7054
|
nav_account_api_keys: { label: "API \u5BC6\u94A5" },
|
|
7059
|
-
nav_account_oauth_apps: { label: "OAuth \u5E94\u7528" }
|
|
7060
|
-
nav_account_preferences: { label: "\u504F\u597D\u8BBE\u7F6E" }
|
|
7055
|
+
nav_account_oauth_apps: { label: "OAuth \u5E94\u7528" }
|
|
7061
7056
|
}
|
|
7062
7057
|
},
|
|
7063
7058
|
setup: {
|
|
@@ -10229,8 +10224,7 @@ var jaJP = {
|
|
|
10229
10224
|
nav_account_linked: { label: "\u9023\u643A\u30A2\u30AB\u30A6\u30F3\u30C8" },
|
|
10230
10225
|
nav_account_sessions: { label: "\u30A2\u30AF\u30C6\u30A3\u30D6\u30BB\u30C3\u30B7\u30E7\u30F3" },
|
|
10231
10226
|
nav_account_api_keys: { label: "API \u30AD\u30FC" },
|
|
10232
|
-
nav_account_oauth_apps: { label: "OAuth \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3" }
|
|
10233
|
-
nav_account_preferences: { label: "\u74B0\u5883\u8A2D\u5B9A" }
|
|
10227
|
+
nav_account_oauth_apps: { label: "OAuth \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3" }
|
|
10234
10228
|
}
|
|
10235
10229
|
},
|
|
10236
10230
|
setup: {
|
|
@@ -13402,8 +13396,7 @@ var esES = {
|
|
|
13402
13396
|
nav_account_linked: { label: "Cuentas vinculadas" },
|
|
13403
13397
|
nav_account_sessions: { label: "Sesiones activas" },
|
|
13404
13398
|
nav_account_api_keys: { label: "Claves API" },
|
|
13405
|
-
nav_account_oauth_apps: { label: "Aplicaciones OAuth" }
|
|
13406
|
-
nav_account_preferences: { label: "Preferencias" }
|
|
13399
|
+
nav_account_oauth_apps: { label: "Aplicaciones OAuth" }
|
|
13407
13400
|
}
|
|
13408
13401
|
},
|
|
13409
13402
|
setup: {
|