From 7c1d5d86b598b1bbb31b2edcad0c595810f04f56 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:05:28 +0000 Subject: [PATCH 1/2] Update dependency @code0-tech/sagittarius-graphql-types to ^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0e09a08fc..7e74ae08d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/plugin-proposal-decorators": "^7.28.0", "@babel/plugin-transform-class-properties": "^7.27.1", "@code0-tech/definition-reader": "^0.0.18", - "@code0-tech/sagittarius-graphql-types": "^0.0.0-755f9382e6589ede0182dace55452703bcd6e85b", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150", "@dagrejs/dagre": "^2.0.0", "@mdx-js/react": "^3.1.1", "@radix-ui/react-checkbox": "^1.3.3", @@ -1232,9 +1232,9 @@ } }, "node_modules/@code0-tech/sagittarius-graphql-types": { - "version": "0.0.0-755f9382e6589ede0182dace55452703bcd6e85b", - "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-755f9382e6589ede0182dace55452703bcd6e85b.tgz", - "integrity": "sha512-DwUjWqS1WdTdXKb7759r3Rrj6qKDBsEBF8tp4Aw1uHWmI4k6FYQ6UPpij7A6QfxS1zp2xwuesJbMh6ekObdI0Q==", + "version": "0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150", + "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150.tgz", + "integrity": "sha512-6J0DC2OdNnZRcS7jJkwCIEv4PoQmpDMdR4FAdVKfrE08X4PZAD+csVf0zTVjmX82KFzVL0M46HB/6twpKCsRUg==", "dev": true }, "node_modules/@code0-tech/tucana": { diff --git a/package.json b/package.json index b217ff5f1..13e427862 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@babel/plugin-proposal-decorators": "^7.28.0", "@babel/plugin-transform-class-properties": "^7.27.1", "@code0-tech/definition-reader": "^0.0.18", - "@code0-tech/sagittarius-graphql-types": "^0.0.0-755f9382e6589ede0182dace55452703bcd6e85b", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150", "@dagrejs/dagre": "^2.0.0", "@mdx-js/react": "^3.1.1", "@radix-ui/react-checkbox": "^1.3.3", From 07f39fb6037225d9935f597d71b4527fd8fabbb6 Mon Sep 17 00:00:00 2001 From: nicosammito Date: Wed, 3 Dec 2025 11:33:39 +0100 Subject: [PATCH 2/2] fix: update variant names from "INPUT_TYPE" to "INPUT_TYPES" for consistency across services --- src/components/d-flow/data-type/DFlowDataType.service.ts | 2 +- src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx | 2 +- src/components/d-flow/type/DFlowType.view.ts | 4 ++-- src/utils/generics.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/d-flow/data-type/DFlowDataType.service.ts b/src/components/d-flow/data-type/DFlowDataType.service.ts index 274015100..9864d9668 100644 --- a/src/components/d-flow/data-type/DFlowDataType.service.ts +++ b/src/components/d-flow/data-type/DFlowDataType.service.ts @@ -106,7 +106,7 @@ export abstract class DFlowDataTypeReactiveService extends ReactiveArrayService< } if (ruleThatIncludesGenericKey - && ruleThatIncludesGenericKey.variant == "INPUT_TYPE" + && ruleThatIncludesGenericKey.variant == "INPUT_TYPES" && dataType.variant === "NODE") { return { sourceDataTypeIdentifiers: [{ diff --git a/src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx b/src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx index 73a563691..8af6c93e1 100644 --- a/src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx +++ b/src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx @@ -253,7 +253,7 @@ export const useRefObjects = (flowId: Flow['id']): Array => { if (!pType || pType.variant === "NODE") continue; const inputTypeRules = - pType.rules?.nodes?.filter((r) => r?.variant === "INPUT_TYPE") ?? []; + pType.rules?.nodes?.filter((r) => r?.variant === "INPUT_TYPES") ?? []; if (inputTypeRules.length) { const paramInstance = current.parameters.find((p) => p.id === pDef.id); diff --git a/src/components/d-flow/type/DFlowType.view.ts b/src/components/d-flow/type/DFlowType.view.ts index f95cbed02..efa9c09dc 100644 --- a/src/components/d-flow/type/DFlowType.view.ts +++ b/src/components/d-flow/type/DFlowType.view.ts @@ -19,7 +19,7 @@ export class FlowTypeView { /** Flow type settings of the flow type */ private readonly _flowTypeSettings?: Maybe>; /** Global ID of this FlowType */ - private readonly _id?: Maybe; + private readonly _id?: Maybe; /** Identifier of the flow type */ private readonly _identifier?: Maybe; /** Input type of the flow type */ @@ -62,7 +62,7 @@ export class FlowTypeView { return this._flowTypeSettings; } - get id(): Maybe | undefined { + get id(): Maybe | undefined { return this._id; } diff --git a/src/utils/generics.ts b/src/utils/generics.ts index 5209d1533..b68aec12c 100644 --- a/src/utils/generics.ts +++ b/src/utils/generics.ts @@ -446,7 +446,7 @@ function ruleMatches(sourceRule: DataTypeRule, targetRule: DataTypeRule): boolea if (sourceConfig.key !== targetConfig.key) return false; return identifiersMatch(sourceConfig.dataTypeIdentifier, targetConfig.dataTypeIdentifier); } - case "INPUT_TYPE": { + case "INPUT_TYPES": { const sourceConfig = sourceRule.config as { inputTypes?: Array<{ dataTypeIdentifier: DataTypeIdentifier }> }; const targetConfig = targetRule.config as { inputTypes?: Array<{ dataTypeIdentifier: DataTypeIdentifier }> }; const targetInputTypes = targetConfig.inputTypes ?? [];