Skip to content

Commit 2e4d313

Browse files
authored
Merge pull request #520 from code0-tech/renovate/code0-tech-sagittarius-graphql-types-0.x
Update dependency @code0-tech/sagittarius-graphql-types to ^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150
2 parents 0dc0aef + 07f39fb commit 2e4d313

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@babel/plugin-proposal-decorators": "^7.28.0",
2222
"@babel/plugin-transform-class-properties": "^7.27.1",
2323
"@code0-tech/definition-reader": "^0.0.18",
24-
"@code0-tech/sagittarius-graphql-types": "^0.0.0-755f9382e6589ede0182dace55452703bcd6e85b",
24+
"@code0-tech/sagittarius-graphql-types": "^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150",
2525
"@dagrejs/dagre": "^2.0.0",
2626
"@mdx-js/react": "^3.1.1",
2727
"@radix-ui/react-checkbox": "^1.3.3",

src/components/d-flow/data-type/DFlowDataType.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export abstract class DFlowDataTypeReactiveService extends ReactiveArrayService<
106106
}
107107

108108
if (ruleThatIncludesGenericKey
109-
&& ruleThatIncludesGenericKey.variant == "INPUT_TYPE"
109+
&& ruleThatIncludesGenericKey.variant == "INPUT_TYPES"
110110
&& dataType.variant === "NODE") {
111111
return {
112112
sourceDataTypeIdentifiers: [{

src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export const useRefObjects = (flowId: Flow['id']): Array<ReferenceValue> => {
253253
if (!pType || pType.variant === "NODE") continue;
254254

255255
const inputTypeRules =
256-
pType.rules?.nodes?.filter((r) => r?.variant === "INPUT_TYPE") ?? [];
256+
pType.rules?.nodes?.filter((r) => r?.variant === "INPUT_TYPES") ?? [];
257257

258258
if (inputTypeRules.length) {
259259
const paramInstance = current.parameters.find((p) => p.id === pDef.id);

src/components/d-flow/type/DFlowType.view.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class FlowTypeView {
1919
/** Flow type settings of the flow type */
2020
private readonly _flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
2121
/** Global ID of this FlowType */
22-
private readonly _id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
22+
private readonly _id?: Maybe<Scalars['FlowTypeID']['output']>;
2323
/** Identifier of the flow type */
2424
private readonly _identifier?: Maybe<Scalars['String']['output']>;
2525
/** Input type of the flow type */
@@ -62,7 +62,7 @@ export class FlowTypeView {
6262
return this._flowTypeSettings;
6363
}
6464

65-
get id(): Maybe<Scalars["TypesFlowTypeID"]["output"]> | undefined {
65+
get id(): Maybe<Scalars["FlowTypeID"]["output"]> | undefined {
6666
return this._id;
6767
}
6868

src/utils/generics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ function ruleMatches(sourceRule: DataTypeRule, targetRule: DataTypeRule): boolea
446446
if (sourceConfig.key !== targetConfig.key) return false;
447447
return identifiersMatch(sourceConfig.dataTypeIdentifier, targetConfig.dataTypeIdentifier);
448448
}
449-
case "INPUT_TYPE": {
449+
case "INPUT_TYPES": {
450450
const sourceConfig = sourceRule.config as { inputTypes?: Array<{ dataTypeIdentifier: DataTypeIdentifier }> };
451451
const targetConfig = targetRule.config as { inputTypes?: Array<{ dataTypeIdentifier: DataTypeIdentifier }> };
452452
const targetInputTypes = targetConfig.inputTypes ?? [];

0 commit comments

Comments
 (0)