@objectstack/platform-objects 5.1.0 → 5.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 +22 -0
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/index.mjs +22 -0
- package/dist/apps/index.mjs.map +1 -1
- package/dist/audit/index.d.mts +228 -3
- package/dist/audit/index.d.ts +228 -3
- package/dist/audit/index.js +59 -4
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/index.mjs +59 -4
- package/dist/audit/index.mjs.map +1 -1
- package/dist/index.js +103 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +103 -6
- package/dist/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",
|