Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -1,9 +1,9 @@
import { Hono } from "hono";
import { cors } from "hono/cors";
import { isMetricsEnabled } from "@toolctrl/metrics";
import { isMetricsEnabled } from "@hivegrid/metrics";
import { getApiAppDependencies, configureApiAppDependenciesForTests, type ApiAppDependencies } from "./app-dependencies.js";
import type { ApiEnv } from "./api-types.js";
import { postStripeBillingWebhookRequest } from "./billing/stripe-webhook-route.js";
import { postMollieBillingWebhookRequest } from "./billing/mollie-webhook-route.js";
import { getAllowedCorsOrigin } from "./cors.js";
import { apiLogger } from "./logger.js";
import { getApiMetrics } from "./metrics.js";
@@ -15,15 +15,14 @@ import { createSentryTracingMiddleware } from "./middleware/sentryTracing.js";
import { createAuditContextMiddleware } from "./middleware/audit-context.js";
import { createApiMaintenanceMiddleware } from "./platform/maintenance/maintenance.js";
import { apiErrorReporter } from "./sentry.js";
import { registerPublicApiReadRoutes } from "./routes/public-api-routes.js";
import { registerAccountsRoutes } from "./routes/accounts-routes.js";
import { registerAnalyticsRoutes } from "./routes/analytics-routes.js";
import { registerAuthRoutes } from "./routes/auth-routes.js";
import { registerDevicesRoutes } from "./routes/devices-routes.js";
import { registerEntityRowRoutes } from "./routes/entity-row-routes.js";
import { registerMaintenanceRoutes } from "./routes/maintenance-routes.js";
import { handleApiMetricsRequest } from "./routes/metrics.js";
import { registerNotificationRoutes } from "./routes/notifications-routes.js";
import { registerRelationshipRoutes } from "./routes/relationship-routes.js";
import { handleApiStatusRequest } from "./routes/status.js";
import { registerSystemRoutes } from "./routes/system-routes.js";
import { registerWorkspaceRoutes } from "./routes/workspace-routes.js";
@@ -101,8 +100,8 @@ app.use(
"x-filename",
"x-request-id",
"x-tenant-id",
"x-toolctrl-tenant-id",
"x-toolctrl-user-id",
"x-hivegrid-tenant-id",
"x-hivegrid-user-id",
"x-storage-object-status",
"webhook-id",
"webhook-timestamp",
@@ -123,12 +122,11 @@ registerAnalyticsRoutes(app);
registerNotificationRoutes(app);
registerWorkspaceRoutes(app);
registerMaintenanceRoutes(app);
registerEntityRowRoutes(app);
registerRelationshipRoutes(app);
registerDevicesRoutes(app);
registerPublicApiReadRoutes(app);
app.get("/v1/usage", (c) => getUsageRequest(c, getApiAppDependencies()));
app.post("/v1/billing/stripe/webhooks", (c) => postStripeBillingWebhookRequest(c, getApiAppDependencies()));
app.post("/v1/billing/mollie/webhooks", (c) => postMollieBillingWebhookRequest(c, getApiAppDependencies()));
app.notFound(createNotFoundHandler());
app.onError(createErrorHandler({ reporter: apiErrorReporter }));