Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/components/d-flow/data-type/DFlowDataType.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [{
Expand Down
2 changes: 1 addition & 1 deletion src/components/d-flow/suggestion/DFlowSuggestion.hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const useRefObjects = (flowId: Flow['id']): Array<ReferenceValue> => {
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);
Expand Down
4 changes: 2 additions & 2 deletions src/components/d-flow/type/DFlowType.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class FlowTypeView {
/** Flow type settings of the flow type */
private readonly _flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
/** Global ID of this FlowType */
private readonly _id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
private readonly _id?: Maybe<Scalars['FlowTypeID']['output']>;
/** Identifier of the flow type */
private readonly _identifier?: Maybe<Scalars['String']['output']>;
/** Input type of the flow type */
Expand Down Expand Up @@ -62,7 +62,7 @@ export class FlowTypeView {
return this._flowTypeSettings;
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/utils/generics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? [];
Expand Down