Skip to content

Commit 52ef653

Browse files
authored
Merge pull request #311 from badaitech/fix/imoport-nodes-legacy
feat: simplify JSON export formatting by removing indentation
2 parents d09b893 + c9ebaac commit 52ef653

23 files changed

Lines changed: 85 additions & 14 deletions

File tree

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"olive-ears-camp",
3434
"petite-paws-cut",
3535
"proud-clouds-report",
36+
"red-donkeys-stop",
3637
"rude-parts-heal",
3738
"sixty-humans-smile",
3839
"tiny-things-report",

apps/chaingraph-backend/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @badaitech/chaingraph-backend
22

3+
## 0.5.5-dev.23
4+
5+
### Patch Changes
6+
7+
- feat: simplify JSON export formatting by removing indentation
8+
39
## 0.5.5-dev.22
410

511
### Patch Changes

apps/chaingraph-backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-backend",
33
"type": "module",
4-
"version": "0.5.5-dev.22",
4+
"version": "0.5.5-dev.23",
55
"private": false,
66
"description": "Backend server for the Chaingraph project",
77
"license": "BUSL-1.1",

apps/chaingraph-execution-api/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @badaitech/chaingraph-execution-api
22

3+
## 0.5.5-dev.23
4+
5+
### Patch Changes
6+
7+
- feat: simplify JSON export formatting by removing indentation
8+
- Updated dependencies
9+
- @badaitech/chaingraph-executor@0.5.5-dev.23
10+
- @badaitech/chaingraph-types@0.5.5-dev.23
11+
- @badaitech/chaingraph-trpc@0.5.5-dev.23
12+
313
## 0.5.5-dev.22
414

515
### Patch Changes

apps/chaingraph-execution-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-execution-api",
33
"type": "module",
4-
"version": "0.5.5-dev.22",
4+
"version": "0.5.5-dev.23",
55
"private": false,
66
"description": "Chaingraph tRPC Server - Scalable API server for Chaingraph execution management",
77
"license": "BUSL-1.1",

apps/chaingraph-execution-worker/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @badaitech/chaingraph-execution-worker
22

3+
## 0.5.5-dev.23
4+
5+
### Patch Changes
6+
7+
- feat: simplify JSON export formatting by removing indentation
8+
- Updated dependencies
9+
- @badaitech/chaingraph-executor@0.5.5-dev.23
10+
- @badaitech/chaingraph-nodes@0.5.5-dev.23
11+
- @badaitech/chaingraph-types@0.5.5-dev.23
12+
- @badaitech/chaingraph-trpc@0.5.5-dev.23
13+
314
## 0.5.5-dev.22
415

516
### Patch Changes

apps/chaingraph-execution-worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-execution-worker",
33
"type": "module",
4-
"version": "0.5.5-dev.22",
4+
"version": "0.5.5-dev.23",
55
"private": false,
66
"description": "Chaingraph Execution Worker Service which connected to Kafka and process the flow executions",
77
"license": "BUSL-1.1",

apps/chaingraph-frontend/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @badaitech/chaingraph-frontend
22

3+
## 0.5.5-dev.23
4+
5+
### Patch Changes
6+
7+
- feat: simplify JSON export formatting by removing indentation
8+
- Updated dependencies
9+
- @badaitech/chaingraph-executor@0.5.5-dev.23
10+
- @badaitech/chaingraph-nodes@0.5.5-dev.23
11+
- @badaitech/chaingraph-types@0.5.5-dev.23
12+
- @badaitech/chaingraph-trpc@0.5.5-dev.23
13+
- @badaitech/badai-api@0.5.5-dev.23
14+
315
## 0.5.5-dev.22
416

517
### Patch Changes

apps/chaingraph-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-frontend",
33
"type": "module",
4-
"version": "0.5.5-dev.22",
4+
"version": "0.5.5-dev.23",
55
"private": false,
66
"description": "Frontend application for the Chaingraph project",
77
"license": "BUSL-1.1",

apps/chaingraph-frontend/src/components/sidebar/tabs/export-import/hooks/useExportImport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function useExportImport() {
137137
edgeCount: edgesToExport.length,
138138
}
139139

140-
return JSON.stringify(exportData, null, 2)
140+
return JSON.stringify(exportData)
141141
}, [activeFlowMetadata, nodes, edges, selectedNodes, getInternalEdges, calculateVirtualOrigin, getSelectedNodesWithChildren, adjustOrphanedNodePositions])
142142

143143
// Validate import data

0 commit comments

Comments
 (0)