@objectstack/platform-objects 5.1.0 → 6.0.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 +4 -4
- package/dist/apps/index.d.ts +4 -4
- package/dist/apps/index.js +37 -15
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +37 -15
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +230 -5
- package/dist/audit/index.d.ts +230 -5
- package/dist/audit/index.js +63 -8
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/index.mjs +63 -8
- package/dist/audit/index.mjs.map +1 -1
- package/dist/index.js +126 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +126 -29
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/integration/index.js.map +1 -1
- package/dist/integration/index.mjs.map +1 -1
- package/dist/metadata/index.d.mts +3 -3
- package/dist/metadata/index.d.ts +3 -3
- package/dist/metadata/index.js +4 -4
- package/dist/metadata/index.js.map +1 -1
- package/dist/metadata/index.mjs +4 -4
- package/dist/metadata/index.mjs.map +1 -1
- package/dist/security/index.js +22 -2
- package/dist/security/index.js.map +1 -1
- package/dist/security/index.mjs +22 -2
- package/dist/security/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/apps/index.mjs
CHANGED
|
@@ -103,6 +103,28 @@ var SETUP_APP = {
|
|
|
103
103
|
{ id: "nav_notifications", type: "object", label: "Notifications", objectName: "sys_notification", icon: "bell", requiresObject: "sys_notification" }
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
+
{
|
|
107
|
+
id: "group_integrations",
|
|
108
|
+
type: "group",
|
|
109
|
+
label: "Integrations",
|
|
110
|
+
icon: "plug",
|
|
111
|
+
children: [
|
|
112
|
+
// Outbound HTTP integrations. `sys_webhook` always ships with
|
|
113
|
+
// platform-objects, so the Webhooks entry is always visible.
|
|
114
|
+
// `sys_webhook_delivery` is the durable outbox row from
|
|
115
|
+
// `@objectstack/plugin-webhooks/schema` — gated on `requiresObject`
|
|
116
|
+
// so the Deliveries entry only renders when the plugin has been
|
|
117
|
+
// wired into `defineStack({ objects: [SysWebhookDelivery, ...] })`.
|
|
118
|
+
//
|
|
119
|
+
// This is the canonical demonstration of "everything is an object":
|
|
120
|
+
// managing webhooks (configuration) and inspecting deliveries
|
|
121
|
+
// (operational telemetry) reuses the same generic ObjectView /
|
|
122
|
+
// ObjectListView UI as any business object — no bespoke webhook
|
|
123
|
+
// admin page.
|
|
124
|
+
{ id: "nav_webhooks", type: "object", label: "Webhooks", objectName: "sys_webhook", icon: "webhook", requiresObject: "sys_webhook" },
|
|
125
|
+
{ id: "nav_webhook_deliveries", type: "object", label: "Webhook Deliveries", objectName: "sys_webhook_delivery", icon: "send", requiresObject: "sys_webhook_delivery" }
|
|
126
|
+
]
|
|
127
|
+
},
|
|
106
128
|
{
|
|
107
129
|
id: "group_advanced",
|
|
108
130
|
type: "group",
|
|
@@ -126,7 +148,7 @@ var SETUP_APP = {
|
|
|
126
148
|
// - The marketplace-only `sys_app` / `sys_package` /
|
|
127
149
|
// `sys_package_installation` menus have been removed entirely;
|
|
128
150
|
// they are contributed by `@objectstack/service-tenant`
|
|
129
|
-
// (control-plane) and are not present in single-
|
|
151
|
+
// (control-plane) and are not present in single-environment runtimes.
|
|
130
152
|
{ id: "nav_oauth_apps", type: "object", label: "OAuth Applications", objectName: "sys_oauth_application", icon: "app-window" },
|
|
131
153
|
{ id: "nav_jwks", type: "object", label: "Signing Keys (JWKS)", objectName: "sys_jwks", icon: "key-round" },
|
|
132
154
|
{ id: "nav_verifications", type: "object", label: "Verifications", objectName: "sys_verification", icon: "mail-check" },
|
|
@@ -205,7 +227,7 @@ var SystemOverviewDashboard = Dashboard.create({
|
|
|
205
227
|
type: "metric",
|
|
206
228
|
object: "sys_package_installation",
|
|
207
229
|
// Cloud-only object — only registered when service-tenant is loaded.
|
|
208
|
-
// Hide this widget gracefully in single-
|
|
230
|
+
// Hide this widget gracefully in single-environment runtimes.
|
|
209
231
|
requiresObject: "sys_package_installation",
|
|
210
232
|
layout: {
|
|
211
233
|
x: 9,
|
|
@@ -2057,9 +2079,9 @@ var enObjects = {
|
|
|
2057
2079
|
label: "URL",
|
|
2058
2080
|
help: "Optional deep-link to the activity target"
|
|
2059
2081
|
},
|
|
2060
|
-
|
|
2082
|
+
environment_id: {
|
|
2061
2083
|
label: "Project",
|
|
2062
|
-
help: "
|
|
2084
|
+
help: "Environment context (multi-environment deployments)"
|
|
2063
2085
|
},
|
|
2064
2086
|
metadata: {
|
|
2065
2087
|
label: "Metadata",
|
|
@@ -3052,7 +3074,7 @@ var enObjects = {
|
|
|
3052
3074
|
label: "Organization",
|
|
3053
3075
|
help: "Organization for multi-tenant isolation."
|
|
3054
3076
|
},
|
|
3055
|
-
|
|
3077
|
+
environment_id: {
|
|
3056
3078
|
label: "Project (deprecated)",
|
|
3057
3079
|
help: "DEPRECATED. Use organization_id for tenant isolation."
|
|
3058
3080
|
},
|
|
@@ -3134,7 +3156,7 @@ var enObjects = {
|
|
|
3134
3156
|
label: "Organization",
|
|
3135
3157
|
help: "Organization for multi-tenant isolation."
|
|
3136
3158
|
},
|
|
3137
|
-
|
|
3159
|
+
environment_id: {
|
|
3138
3160
|
label: "Environment ID",
|
|
3139
3161
|
help: "Scopes this history entry to a specific environment."
|
|
3140
3162
|
},
|
|
@@ -5092,7 +5114,7 @@ var zhCNObjects = {
|
|
|
5092
5114
|
label: "URL",
|
|
5093
5115
|
help: "\u6307\u5411\u6D3B\u52A8\u76EE\u6807\u7684\u53EF\u9009\u6DF1\u5EA6\u94FE\u63A5"
|
|
5094
5116
|
},
|
|
5095
|
-
|
|
5117
|
+
environment_id: {
|
|
5096
5118
|
label: "\u9879\u76EE",
|
|
5097
5119
|
help: "\u9879\u76EE\u4E0A\u4E0B\u6587\uFF08\u591A\u9879\u76EE\u90E8\u7F72\uFF09"
|
|
5098
5120
|
},
|
|
@@ -6091,7 +6113,7 @@ var zhCNObjects = {
|
|
|
6091
6113
|
label: "\u7EC4\u7EC7",
|
|
6092
6114
|
help: "\u7528\u4E8E\u591A\u79DF\u6237\u9694\u79BB\u7684\u7EC4\u7EC7\u3002"
|
|
6093
6115
|
},
|
|
6094
|
-
|
|
6116
|
+
environment_id: {
|
|
6095
6117
|
label: "\u9879\u76EE\uFF08\u5DF2\u5E9F\u5F03\uFF09",
|
|
6096
6118
|
help: "\u5DF2\u5E9F\u5F03\u3002\u8BF7\u4F7F\u7528 organization_id \u8FDB\u884C\u79DF\u6237\u9694\u79BB\u3002"
|
|
6097
6119
|
},
|
|
@@ -6173,7 +6195,7 @@ var zhCNObjects = {
|
|
|
6173
6195
|
label: "\u7EC4\u7EC7",
|
|
6174
6196
|
help: "\u7528\u4E8E\u591A\u79DF\u6237\u9694\u79BB\u7684\u7EC4\u7EC7\u3002"
|
|
6175
6197
|
},
|
|
6176
|
-
|
|
6198
|
+
environment_id: {
|
|
6177
6199
|
label: "\u73AF\u5883 ID",
|
|
6178
6200
|
help: "\u5C06\u8BE5\u5386\u53F2\u8BB0\u5F55\u9650\u5B9A\u5230\u7279\u5B9A\u73AF\u5883\u3002"
|
|
6179
6201
|
},
|
|
@@ -8081,7 +8103,7 @@ var jaJPObjects = {
|
|
|
8081
8103
|
label: "URL",
|
|
8082
8104
|
help: "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u30BF\u30FC\u30B2\u30C3\u30C8\u3078\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30C7\u30A3\u30FC\u30D7\u30EA\u30F3\u30AF"
|
|
8083
8105
|
},
|
|
8084
|
-
|
|
8106
|
+
environment_id: {
|
|
8085
8107
|
label: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",
|
|
8086
8108
|
help: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\uFF08\u30DE\u30EB\u30C1\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\uFF09"
|
|
8087
8109
|
},
|
|
@@ -9076,7 +9098,7 @@ var jaJPObjects = {
|
|
|
9076
9098
|
label: "\u7D44\u7E54",
|
|
9077
9099
|
help: "\u30DE\u30EB\u30C1\u30C6\u30CA\u30F3\u30C8\u5206\u96E2\u306E\u305F\u3081\u306E\u7D44\u7E54\u3002"
|
|
9078
9100
|
},
|
|
9079
|
-
|
|
9101
|
+
environment_id: {
|
|
9080
9102
|
label: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\uFF08\u975E\u63A8\u5968\uFF09",
|
|
9081
9103
|
help: "\u975E\u63A8\u5968\u3002\u30C6\u30CA\u30F3\u30C8\u5206\u96E2\u306B\u306F organization_id \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002"
|
|
9082
9104
|
},
|
|
@@ -9158,7 +9180,7 @@ var jaJPObjects = {
|
|
|
9158
9180
|
label: "\u7D44\u7E54",
|
|
9159
9181
|
help: "\u30DE\u30EB\u30C1\u30C6\u30CA\u30F3\u30C8\u5206\u96E2\u306E\u305F\u3081\u306E\u7D44\u7E54\u3002"
|
|
9160
9182
|
},
|
|
9161
|
-
|
|
9183
|
+
environment_id: {
|
|
9162
9184
|
label: "\u74B0\u5883 ID",
|
|
9163
9185
|
help: "\u3053\u306E\u5C65\u6B74\u30A8\u30F3\u30C8\u30EA\u3092\u7279\u5B9A\u306E\u74B0\u5883\u306B\u30B9\u30B3\u30FC\u30D7\u3057\u307E\u3059\u3002"
|
|
9164
9186
|
},
|
|
@@ -11066,7 +11088,7 @@ var esESObjects = {
|
|
|
11066
11088
|
label: "URL",
|
|
11067
11089
|
help: "Enlace profundo opcional al destino de la actividad."
|
|
11068
11090
|
},
|
|
11069
|
-
|
|
11091
|
+
environment_id: {
|
|
11070
11092
|
label: "Proyecto",
|
|
11071
11093
|
help: "Contexto del proyecto (implementaciones multiproyecto)."
|
|
11072
11094
|
},
|
|
@@ -12061,7 +12083,7 @@ var esESObjects = {
|
|
|
12061
12083
|
label: "Organizaci\xF3n",
|
|
12062
12084
|
help: "Organizaci\xF3n para el aislamiento multi-tenant."
|
|
12063
12085
|
},
|
|
12064
|
-
|
|
12086
|
+
environment_id: {
|
|
12065
12087
|
label: "Proyecto (obsoleto)",
|
|
12066
12088
|
help: "OBSOLETO. Use organization_id para el aislamiento del tenant."
|
|
12067
12089
|
},
|
|
@@ -12143,7 +12165,7 @@ var esESObjects = {
|
|
|
12143
12165
|
label: "Organizaci\xF3n",
|
|
12144
12166
|
help: "Organizaci\xF3n para el aislamiento multi-tenant."
|
|
12145
12167
|
},
|
|
12146
|
-
|
|
12168
|
+
environment_id: {
|
|
12147
12169
|
label: "ID del entorno",
|
|
12148
12170
|
help: "Limita esta entrada de historial a un entorno espec\xEDfico."
|
|
12149
12171
|
},
|