mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 11:17:38 +08:00
Replace ExploreContext with derived permission checks using useAppContext and useMembers, eliminating redundant state synchronization. Add oRPC contract for explore endpoints, extract TryAppSelection type, and migrate app-publisher icons from @remixicon/react components to CSS icon classes. Update all related tests to reflect the new context-free architecture.
9 lines
197 B
TypeScript
9 lines
197 B
TypeScript
import type { App } from '@/models/explore'
|
|
|
|
export type TryAppSelection = {
|
|
appId: string
|
|
app: App
|
|
}
|
|
|
|
export type SetTryAppPanel = (showTryAppPanel: boolean, params?: TryAppSelection) => void
|