Skip to content

Commit 6acdafb

Browse files
authored
Merge pull request #116 from code0-tech/feat/#115
New DataTypeType input based on custom type language
2 parents 6c1293d + 4d0a238 commit 6acdafb

14 files changed

Lines changed: 942 additions & 442 deletions

.env.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ NEXT_PUBLIC_EDITION=ce
44
SAGITTARIUS_GRAPHQL_URL=http://localhost:3010/graphql
55

66
NEXT_PUBLIC_SCULPTOR_VERSION=0.0.0
7-
NEXT_PUBLIC_PICTOR_VERSION=0.5.0
7+
NEXT_PUBLIC_PICTOR_VERSION=0.5.1
88
NEXT_PUBLIC_ALLOWED_REDIRECT_DOMAINS=*.code0.tech,*.codezero.build
99

1010
NEXT_PUBLIC_OTEL_SERVICE_NAME="sculptor-client"

package-lock.json

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

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"dependencies": {
1717
"@apollo/client": "^4.0.9",
18-
"@code0-tech/pictor": "^0.5.0",
19-
"@code0-tech/triangulum": "^0.7.0",
18+
"@code0-tech/pictor": "^0.5.1",
19+
"@code0-tech/triangulum": "^0.9.2",
2020
"@opentelemetry/api": "^1.9.1",
2121
"@opentelemetry/context-zone": "^2.6.1",
2222
"@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
@@ -26,15 +26,19 @@
2626
"@opentelemetry/instrumentation-xml-http-request": "^0.214.0",
2727
"@opentelemetry/sdk-trace-web": "^2.6.1",
2828
"@vercel/otel": "^2.1.1",
29+
"@codemirror/lang-javascript": "^6.2.5",
30+
"@codemirror/lint": "^6.9.5",
2931
"date-fns": "^4.1.0",
3032
"graphql": "^16.12.0",
3133
"graphql-tag": "^2.12.6",
3234
"ldrs": "^1.1.9",
3335
"next": "16.1.7",
36+
"prettier": "^3.8.1",
3437
"react": "19.2.4",
3538
"react-dom": "19.2.4",
3639
"rxjs": "^7.8.2",
37-
"sass": "^1.93.3"
40+
"sass": "^1.93.3",
41+
"use-debounce": "^10.1.1"
3842
},
3943
"devDependencies": {
4044
"@types/node": "^24.0.0",

src/packages/ce/src/datatype/components/inputs/DataTypeInputComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const DataTypeInputComponent: React.FC<DataTypeInputComponentProps> = (pr
4343
)
4444

4545
const dataTypeVariant = React.useMemo(
46-
() => getTypeVariant(types.parameters[parameterIndex], dataTypeService.values()),
46+
() => getTypeVariant(types.parameters[parameterIndex], dataTypeService.values())[0].variant,
4747
[dataTypeStore, types]
4848
)
4949

0 commit comments

Comments
 (0)