Yiwei Mao 311180b2c8
chore: hide useless api in variable engine (#180)
* chore: hide useless api in variable engine

* fix: variable-core mock chain ts check
2025-04-27 03:54:53 +00:00

85 lines
1.7 KiB
TypeScript

import { FlowDocumentJSON } from '@flowgram.ai/document';
export const fixLayout1: FlowDocumentJSON = {
nodes: [
{
type: 'start',
meta: {
isStart: true,
},
id: 'start',
},
{
type: 'getRecords',
id: 'getRecords_07e97c55832',
},
{
type: 'loop',
id: 'forEach_260a8f85ff2',
blocks: [
{
type: 'createRecord',
id: 'createRecord_8f85ff2c11d',
},
{
type: 'dynamicSplit',
id: 'exclusiveSplit_ff2c11d0fb4',
blocks: [
{
id: 'branch_f2c11d0fb42',
},
{
id: 'branch_2c11d0fb42c',
},
],
},
],
},
{
type: 'dynamicSplit',
id: 'exclusiveSplit_88dbf2c60ae',
meta: {
defaultExpanded: true,
},
blocks: [
{
id: 'branch_8dbf2c60aee',
blocks: [
{
type: 'dynamicSplit',
id: 'exclusiveSplit_a59afaadc9a',
blocks: [
{
id: 'branch_59afaadc9ac',
},
{
id: 'branch_9afaadc9acd',
blocks: [
{
type: 'deleteRecords',
id: 'deleteRecords_c32807e97c5',
},
]
},
],
},
]
},
{
id: 'branch_dbf2c60aee4',
blocks: [
{
type: 'updateRecords',
id: 'updateRecords_7ed2a172c32',
},
]
},
],
},
{
type: 'end',
id: 'end',
},
],
};