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

@@ -48,7 +48,7 @@ globalMockStore.__apiWorkflowAuthTestMocks__ ??= {
const mocks = globalMockStore[globalMockStoreKey];
vi.mock("@toolctrl/db/api-keys.server", () => ({
vi.mock("@hivegrid/db/api-keys.server", () => ({
setLegacyApiKeyLogStatus: mocks.setApiKeyLogStatus,
}));
@@ -325,8 +325,8 @@ function withHeaders(request: Request, headers: HeadersInit): Request {
function forgedInternalProxyHeaders(): HeadersInit {
return {
"x-toolctrl-internal-web-api-proxy": "1",
"x-toolctrl-internal-web-api-proxy-signature": "forged",
"x-hivegrid-internal-web-api-proxy": "1",
"x-hivegrid-internal-web-api-proxy-signature": "forged",
};
}
@@ -545,8 +545,8 @@ describe("workflow API auth boundaries", () => {
method: "POST",
body: "{}",
headers: {
"x-toolctrl-internal-web-api-proxy": "1",
"x-toolctrl-internal-web-api-proxy-signature": "forged",
"x-hivegrid-internal-web-api-proxy": "1",
"x-hivegrid-internal-web-api-proxy-signature": "forged",
},
}),
params: { id: "workflow_1" },
@@ -1,4 +1,4 @@
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@toolctrl/foundation";
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@hivegrid/foundation";
import { ActionFunctionArgs } from "react-router";
import { getTranslations } from "~/locale/i18next.server";
import WorkflowsExecutionsService from "~/modules/workflowEngine/services/WorkflowsExecutionsService";
@@ -1,4 +1,4 @@
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@toolctrl/foundation";
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@hivegrid/foundation";
import { ActionFunctionArgs } from "react-router";
import { getTranslations } from "~/locale/i18next.server";
import WorkflowsExecutionsService from "~/modules/workflowEngine/services/WorkflowsExecutionsService";
@@ -1,4 +1,4 @@
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@toolctrl/foundation";
import { CatalogError, foundationErrors, type IdempotencyClient, type JsonValue, withIdempotency } from "@hivegrid/foundation";
import { ActionFunctionArgs } from "react-router";
import { getTranslations } from "~/locale/i18next.server";
import WorkflowsExecutionsService from "~/modules/workflowEngine/services/WorkflowsExecutionsService";
@@ -56,14 +56,14 @@ vi.mock("~/utils/session.server", () => ({
validateCSRFToken: vi.fn(),
}));
vi.mock("@toolctrl/db/import-jobs.server", () => ({
vi.mock("@hivegrid/db/import-jobs.server", () => ({
createImportJob: mocks.createImportJob,
markImportJobRunning: mocks.markImportJobRunning,
markImportJobSucceeded: mocks.markImportJobSucceeded,
markImportJobFailed: mocks.markImportJobFailed,
}));
vi.mock("@toolctrl/imports", () => ({
vi.mock("@hivegrid/imports", () => ({
createImportDryRunPreview: mocks.createImportDryRunPreview,
createRedactedParserDiagnostic: (code: string, message: string, options: Record<string, unknown> = {}) => ({
severity: "error",
@@ -11,9 +11,9 @@ import {
type NormalizedImportRow,
type NormalizedRowValue,
type ParserDiagnostic,
} from "@toolctrl/imports";
import { createImportJob, markImportJobFailed, markImportJobRunning, markImportJobSucceeded } from "@toolctrl/db/import-jobs.server";
import { authorizeStorageObjectAccess } from "@toolctrl/storage";
} from "@hivegrid/imports";
import { createImportJob, markImportJobFailed, markImportJobRunning, markImportJobSucceeded } from "@hivegrid/db/import-jobs.server";
import { authorizeStorageObjectAccess } from "@hivegrid/storage";
import { requireAuth } from "~/utils/loaders.middleware";
import { verifyUserHasPermission } from "~/utils/helpers/.server/PermissionsService";
import type { DefaultPermission } from "~/application/dtos/shared/DefaultPermissions";