chore: setup increment ci env (#109)

This commit is contained in:
tecvan
2025-07-28 17:51:31 +08:00
committed by GitHub
parent 4a44c0ddbd
commit 9dcdb70508
22 changed files with 516 additions and 55 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable unicorn/filename-case */
/*
* Copyright 2025 coze-dev Authors
*
@@ -13,8 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable unicorn/filename-case */
import { type ViewVariableType } from '@coze-workflow/base';
import { useNodeAvailableVariablesWithNode } from '../../hooks/use-node-available-variables';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { useShallow } from 'zustand/react/shallow';
import { type WorkflowDatabase, ViewVariableType } from '@coze-workflow/base';
import { FieldItemType, type DatabaseInfo } from '@coze-arch/bot-api/memory';
@@ -54,6 +54,7 @@ function transformRawDatabaseToDatabase(
fields: rawDatabase.field_list?.map(field => ({
id: field.alterId as number,
name: field.name,
// @ts-expect-error fix me late
type: fieldItemTypeToViewVariableType(field.type),
required: field.must_required,
description: field.desc,