fix: remove unused props from FlowPilotSession after action bar removal
canResolve, canEscalate, onResolve, onEscalate, onPause, onAbandon are now handled at the page level in FlowPilotSessionPage header. Remove from component interface to fix TS6133 build errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,8 +4,6 @@ import type {
|
||||
AISessionDetail,
|
||||
AISessionStepResponse,
|
||||
StepResponseRequest,
|
||||
ResolveSessionRequest,
|
||||
EscalateSessionRequest,
|
||||
SessionDocumentation,
|
||||
StatusUpdateAudience,
|
||||
StatusUpdateLength,
|
||||
@@ -29,18 +27,12 @@ interface FlowPilotSessionProps {
|
||||
allSteps: AISessionStepResponse[]
|
||||
currentStep: AISessionStepResponse | null
|
||||
isProcessing: boolean
|
||||
canResolve: boolean
|
||||
canEscalate: boolean
|
||||
documentation: SessionDocumentation | null
|
||||
psaPushStatus?: string | null
|
||||
psaPushError?: string | null
|
||||
memberMappingWarning?: string | null
|
||||
onRespond: (response: StepResponseRequest) => void
|
||||
onResolve: (data: ResolveSessionRequest) => Promise<SessionDocumentation>
|
||||
onEscalate: (data: EscalateSessionRequest) => Promise<SessionDocumentation>
|
||||
onPause?: () => Promise<void>
|
||||
onResume?: () => Promise<void>
|
||||
onAbandon?: () => Promise<void>
|
||||
onRate: (rating: number) => void
|
||||
onReloadSession?: () => Promise<void>
|
||||
onGenerateStatusUpdate?: (audience: StatusUpdateAudience, length: StatusUpdateLength, context: StatusUpdateContext) => Promise<StatusUpdateResponse>
|
||||
@@ -51,18 +43,12 @@ export function FlowPilotSession({
|
||||
allSteps,
|
||||
currentStep,
|
||||
isProcessing,
|
||||
canResolve,
|
||||
canEscalate,
|
||||
documentation,
|
||||
psaPushStatus,
|
||||
psaPushError,
|
||||
memberMappingWarning,
|
||||
onRespond,
|
||||
onResolve,
|
||||
onEscalate,
|
||||
onPause,
|
||||
onResume,
|
||||
onAbandon,
|
||||
onRate,
|
||||
onReloadSession,
|
||||
onGenerateStatusUpdate,
|
||||
|
||||
Reference in New Issue
Block a user