@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.
@@ -105,6 +105,28 @@ var SETUP_APP = {
105
105
  { id: "nav_notifications", type: "object", label: "Notifications", objectName: "sys_notification", icon: "bell", requiresObject: "sys_notification" }
106
106
  ]
107
107
  },
108
+ {
109
+ id: "group_integrations",
110
+ type: "group",
111
+ label: "Integrations",
112
+ icon: "plug",
113
+ children: [
114
+ // Outbound HTTP integrations. `sys_webhook` always ships with
115
+ // platform-objects, so the Webhooks entry is always visible.
116
+ // `sys_webhook_delivery` is the durable outbox row from
117
+ // `@objectstack/plugin-webhooks/schema` — gated on `requiresObject`
118
+ // so the Deliveries entry only renders when the plugin has been
119
+ // wired into `defineStack({ objects: [SysWebhookDelivery, ...] })`.
120
+ //
121
+ // This is the canonical demonstration of "everything is an object":
122
+ // managing webhooks (configuration) and inspecting deliveries
123
+ // (operational telemetry) reuses the same generic ObjectView /
124
+ // ObjectListView UI as any business object — no bespoke webhook
125
+ // admin page.
126
+ { id: "nav_webhooks", type: "object", label: "Webhooks", objectName: "sys_webhook", icon: "webhook", requiresObject: "sys_webhook" },
127
+ { id: "nav_webhook_deliveries", type: "object", label: "Webhook Deliveries", objectName: "sys_webhook_delivery", icon: "send", requiresObject: "sys_webhook_delivery" }
128
+ ]
129
+ },
108
130
  {
109
131
  id: "group_advanced",
110
132
  type: "group",