Skip to content

Commit aa91a95

Browse files
committed
fix: correct input for getDataType function
1 parent 51b2ee2 commit aa91a95

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

package/mapper/src/definition/mapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export async function DefinitionMapper(path: string): Promise<Feature[]> {
7373
};
7474

7575
dataTypes
76-
.map((f) => ({ name: f.feature, type: getDataType(f.type.identifier, constructed) }))
76+
.map((f) => ({ name: f.feature, type: getDataType(f.type, constructed) }))
7777
.forEach((dt) => dt.type && getFeature(dt.name).dataTypes.push(dt.type));
7878

7979
runtimeFunctions

package/mapper/src/mapper/dataTypeMapper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
} from "@code0-tech/tucana/pb/shared.data_type_pb.js"
1010
import { ConstructedDataTypes, getID } from "../definition/mapper.js";
1111
import { getTranslationConnection } from "./translation.js";
12-
import { Value } from "@code0-tech/tucana/pb/shared.struct_pb.js";
1312

1413
enum DataTypeRulesVariant {
1514
/** The rule checks if a number falls within a specified range. */

0 commit comments

Comments
 (0)