tachybase_todo/packages/plugins/notifications/src/collections/notification_logs.ts
chenos 883f1e6fd1
fix: eslint (#1759)
* fix: eslint

* fix: eslint --fix

* fix: changelog
2023-04-25 13:12:14 +08:00

26 lines
482 B
TypeScript

import { CollectionOptions } from '@nocobase/database';
import { NotificationLog } from '../models';
export default {
name: 'notification_logs',
model: NotificationLog,
title: '通知日志',
fields: [
{
title: '接收人',
type: 'json',
name: 'receiver',
},
{
title: '状态',
type: 'string',
name: 'state',
},
{
title: '详情',
type: 'json',
name: 'response',
},
],
} as CollectionOptions;