index.ts
629 Bytes
import { ChartFrameEnum, ConfigType } from '@/packages/index.d'
import { EPackagesCategoryEnum } from '@/packages/components/external/types'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'
const { key, chartKey, conKey } = useWidgetKey('SingleCamera')
export const SingleCameraConfig: ConfigType = {
key,
chartKey,
conKey,
title: '单个摄像头',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: EPackagesCategoryEnum.COMPOSES,
chartFrame: ChartFrameEnum.NAIVE_UI,
image: 'camera.png'
}