mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 23:45:54 +08:00
add verified tag
This commit is contained in:
parent
307af29b65
commit
1ecea62052
@ -7,7 +7,7 @@ import {
|
|||||||
RiBugLine,
|
RiBugLine,
|
||||||
RiCloseLine,
|
RiCloseLine,
|
||||||
RiHardDrive3Line,
|
RiHardDrive3Line,
|
||||||
// RiVerifiedBadgeLine,
|
RiVerifiedBadgeLine,
|
||||||
} from '@remixicon/react'
|
} from '@remixicon/react'
|
||||||
import type { PluginDetail } from '../types'
|
import type { PluginDetail } from '../types'
|
||||||
import { PluginSource } from '../types'
|
import { PluginSource } from '../types'
|
||||||
@ -73,7 +73,7 @@ const PluginDetailPanel: FC<Props> = ({
|
|||||||
<div className="ml-3 w-0 grow">
|
<div className="ml-3 w-0 grow">
|
||||||
<div className="flex items-center h-5">
|
<div className="flex items-center h-5">
|
||||||
<Title title={pluginDetail.declaration.label[locale]} />
|
<Title title={pluginDetail.declaration.label[locale]} />
|
||||||
{/* <RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" /> */}
|
{pluginDetail.declaration.verified && <RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" />}
|
||||||
<Badge
|
<Badge
|
||||||
className='mx-1'
|
className='mx-1'
|
||||||
text={pluginDetail.version}
|
text={pluginDetail.version}
|
||||||
|
@ -25,6 +25,7 @@ export const toolNotion = {
|
|||||||
resource: {},
|
resource: {},
|
||||||
plugins: {},
|
plugins: {},
|
||||||
tool: {}, // TODO
|
tool: {}, // TODO
|
||||||
|
verified: true,
|
||||||
},
|
},
|
||||||
installation_id: 'jflkdsjoewingljlsadjgoijg-dkfjldajglkajglask-dlfkajdg',
|
installation_id: 'jflkdsjoewingljlsadjgoijg-dkfjldajglkajglask-dlfkajdg',
|
||||||
tenant_id: 'jflkdsjoewingljlsadjgoijg',
|
tenant_id: 'jflkdsjoewingljlsadjgoijg',
|
||||||
|
@ -47,6 +47,7 @@ export type PluginDeclaration = {
|
|||||||
created_at: string
|
created_at: string
|
||||||
resource: any // useless in frontend
|
resource: any // useless in frontend
|
||||||
plugins: any // useless in frontend
|
plugins: any // useless in frontend
|
||||||
|
verified: boolean
|
||||||
tool: PluginToolDeclaration
|
tool: PluginToolDeclaration
|
||||||
endpoint: PluginEndpointDeclaration
|
endpoint: PluginEndpointDeclaration
|
||||||
model: any // TODO
|
model: any // TODO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user