chore: format all frontend files (#430)

This commit is contained in:
tecvan
2025-07-31 23:15:48 +08:00
committed by GitHub
parent 8b078ff013
commit 6995cec404
8787 changed files with 11975 additions and 10924 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import classNames from 'classnames';
import { IconCozKnowledgeFill } from '@coze-arch/coze-design/icons';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import qs from 'qs';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { type ReactNode, useMemo } from 'react';
import {
@@ -24,7 +24,10 @@ import {
import { validateNameConflict } from '@coze-project-ide/biz-components';
import { I18n } from '@coze-arch/i18n';
import { ResType } from '@coze-arch/bot-api/plugin_develop';
import { IconCozDatabase, IconCozKnowledge } from '@coze-arch/coze-design/icons';
import {
IconCozDatabase,
IconCozKnowledge,
} from '@coze-arch/coze-design/icons';
import useKnowledgeResource from './use-knowledge-resource';
import useImportData from './use-import-data';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type ReactNode, useCallback } from 'react';
import {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { useState } from 'react';
import { useProjectId, useSpaceId } from '@coze-project-ide/framework';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type ReactNode, useCallback } from 'react';
import {
@@ -70,7 +70,9 @@ const useKnowledgeResource = (): UseKnowledgeResourceReturn => {
refetch();
close();
IDENav(
`/knowledge/${datasetID}?type=${unitType}${shouldUpload ? '&module=upload' : ''}`,
`/knowledge/${datasetID}?type=${unitType}${
shouldUpload ? '&module=upload' : ''
}`,
);
},
});

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {
type BizResourceType,
useResourceCopyDispatch,

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export {
KnowledgeWidgetRegistry,
VariablesWidgetRegistry,

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import qs from 'qs';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import {

View File

@@ -13,5 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/// <reference types='@coze-arch/bot-typings' />

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { useEffect } from 'react';
import qs from 'qs';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { defineConfig } from '@coze-arch/vitest-config';
export default defineConfig({