index.ts
613 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('Camera')
export const CameraConfig: ConfigType = {
key,
chartKey,
conKey,
title: '摄像头',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: EPackagesCategoryEnum.COMPOSES,
chartFrame: ChartFrameEnum.NAIVE_UI,
image: 'dateTime.png'
}