fix(plugin-workflow): fix module import (#1550) (#1552)

* fix(plugin-workflow): fix module import (#1550)

* fix(plugin-workflow): fix module import
This commit is contained in:
Junyi 2023-03-08 23:00:44 +08:00 committed by GitHub
parent c86b91c586
commit 060ccd04e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ function appendArrayColumn(scope, key) {
function replaceNumberIndex(path: string, scope: Scope): string {
const segments = path.split('.');
const paths = [];
const paths: string[] = [];
for (let i = 0; i < segments.length; i++) {
const p = segments[i];

View File

@ -1,6 +1,6 @@
import { cloneDeep } from 'lodash';
import { i18n, IField, interfacesProperties } from '@nocobase/client';
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
import { Registry } from '@nocobase/utils/client';
import { NAMESPACE } from './locale';

View File

@ -3,7 +3,7 @@ import { onFormValuesChange } from '@formily/core';
import { useFieldSchema, useFormEffects } from '@formily/react';
import cloneDeep from 'lodash/cloneDeep';
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
import { Registry, toFixedByStep } from '@nocobase/utils/client';
import { Checkbox, DatePicker, Input as InputString, InputNumber, useCollection } from '@nocobase/client';

View File

@ -3,7 +3,7 @@ import { i18n } from '@nocobase/client';
import { css } from '@emotion/css';
import { CollectionManagerContext, registerField, SchemaComponentOptions } from '@nocobase/client';
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
import { Formula } from './formula';
import field from './field';

View File

@ -3,7 +3,7 @@ import { css } from '@emotion/css';
import parse from 'json-templates';
import { SchemaInitializer, SchemaInitializerItemOptions } from '@nocobase/client';
import evaluators, { renderReference, Evaluator } from '@nocobase/evaluators/client';
import { evaluators, renderReference, Evaluator } from '@nocobase/evaluators/client';
import { useFlowContext } from '../FlowContext';
import { lang, NAMESPACE } from '../locale';

View File

@ -6,7 +6,7 @@ import { Trans, useTranslation } from "react-i18next";
import { Registry } from "@nocobase/utils/client";
import { Variable, useCompile } from "@nocobase/client";
import evaluators, { renderReference } from "@nocobase/evaluators/client";
import { evaluators, renderReference } from "@nocobase/evaluators/client";
import { NodeDefaultView } from ".";
import { Branch } from "../Branch";