remove overrides (#22575)
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import { useEffect, useRef } from 'react'
|
import { useEffect, useRef } from 'react'
|
||||||
import cn from '@/utils/classnames'
|
import cn from '@/utils/classnames'
|
||||||
|
|
||||||
type AutoHeightTextareaProps =
|
type AutoHeightTextareaProps
|
||||||
& React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>
|
= & React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>
|
||||||
& { outerClassName?: string }
|
& { outerClassName?: string }
|
||||||
|
|
||||||
const AutoHeightTextarea = (
|
const AutoHeightTextarea = (
|
||||||
|
@@ -393,8 +393,8 @@ export const WorkflowWithInnerContext = memo(({
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
type WorkflowWithDefaultContextProps =
|
type WorkflowWithDefaultContextProps
|
||||||
Pick<WorkflowProps, 'edges' | 'nodes'>
|
= Pick<WorkflowProps, 'edges' | 'nodes'>
|
||||||
& {
|
& {
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
}
|
}
|
||||||
|
@@ -36,21 +36,21 @@ import type { LayoutSliceShape } from './layout-slice'
|
|||||||
import { createLayoutSlice } from './layout-slice'
|
import { createLayoutSlice } from './layout-slice'
|
||||||
import type { WorkflowSliceShape as WorkflowAppSliceShape } from '@/app/components/workflow-app/store/workflow/workflow-slice'
|
import type { WorkflowSliceShape as WorkflowAppSliceShape } from '@/app/components/workflow-app/store/workflow/workflow-slice'
|
||||||
|
|
||||||
export type Shape =
|
export type Shape
|
||||||
ChatVariableSliceShape &
|
= ChatVariableSliceShape
|
||||||
EnvVariableSliceShape &
|
& EnvVariableSliceShape
|
||||||
FormSliceShape &
|
& FormSliceShape
|
||||||
HelpLineSliceShape &
|
& HelpLineSliceShape
|
||||||
HistorySliceShape &
|
& HistorySliceShape
|
||||||
NodeSliceShape &
|
& NodeSliceShape
|
||||||
PanelSliceShape &
|
& PanelSliceShape
|
||||||
ToolSliceShape &
|
& ToolSliceShape
|
||||||
VersionSliceShape &
|
& VersionSliceShape
|
||||||
WorkflowDraftSliceShape &
|
& WorkflowDraftSliceShape
|
||||||
WorkflowSliceShape &
|
& WorkflowSliceShape
|
||||||
InspectVarsSliceShape &
|
& InspectVarsSliceShape
|
||||||
LayoutSliceShape &
|
& LayoutSliceShape
|
||||||
WorkflowAppSliceShape
|
& WorkflowAppSliceShape
|
||||||
|
|
||||||
type CreateWorkflowStoreParams = {
|
type CreateWorkflowStoreParams = {
|
||||||
injectWorkflowStoreSliceFn?: StateCreator<WorkflowAppSliceShape>
|
injectWorkflowStoreSliceFn?: StateCreator<WorkflowAppSliceShape>
|
||||||
|
@@ -21,8 +21,8 @@ type IState = {
|
|||||||
timezone: string
|
timezone: string
|
||||||
}
|
}
|
||||||
|
|
||||||
type IAction =
|
type IAction
|
||||||
| { type: 'failed', payload: null }
|
= | { type: 'failed', payload: null }
|
||||||
| { type: 'invitation_code', value: string }
|
| { type: 'invitation_code', value: string }
|
||||||
| { type: 'interface_language', value: string }
|
| { type: 'interface_language', value: string }
|
||||||
| { type: 'timezone', value: string }
|
| { type: 'timezone', value: string }
|
||||||
|
@@ -38,7 +38,6 @@ export default combine(
|
|||||||
'style/brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
|
'style/brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
|
||||||
'style/dot-location': ['error', 'property'],
|
'style/dot-location': ['error', 'property'],
|
||||||
'style/object-curly-newline': ['error', { consistent: true, multiline: true }],
|
'style/object-curly-newline': ['error', { consistent: true, multiline: true }],
|
||||||
'style/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
|
|
||||||
'style/template-curly-spacing': ['error', 'never'],
|
'style/template-curly-spacing': ['error', 'never'],
|
||||||
'style/keyword-spacing': 'off',
|
'style/keyword-spacing': 'off',
|
||||||
|
|
||||||
|
@@ -7,8 +7,8 @@ import useTimestamp from '@/hooks/use-timestamp'
|
|||||||
export type inputType = 'input' | 'select' | 'textarea'
|
export type inputType = 'input' | 'select' | 'textarea'
|
||||||
export type metadataType = DocType | 'originInfo' | 'technicalParameters'
|
export type metadataType = DocType | 'originInfo' | 'technicalParameters'
|
||||||
|
|
||||||
type MetadataMap =
|
type MetadataMap
|
||||||
Record<
|
= Record<
|
||||||
metadataType,
|
metadataType,
|
||||||
{
|
{
|
||||||
text: string
|
text: string
|
||||||
|
@@ -229,11 +229,6 @@
|
|||||||
"eslint --fix"
|
"eslint --fix"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"overrides": {
|
|
||||||
"@types/react": "19.0.11",
|
|
||||||
"@types/react-dom": "19.0.4",
|
|
||||||
"@storybook/test": "8.5.0"
|
|
||||||
},
|
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"esbuild@<0.25.0": "0.25.0",
|
"esbuild@<0.25.0": "0.25.0",
|
||||||
|
5866
web/pnpm-lock.yaml
generated
5866
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user