tachybase_todo/packages/plugin-system-settings/src/collections/system_settings.ts

17 lines
275 B
TypeScript
Raw Normal View History

2021-08-13 23:14:07 +08:00
import { TableOptions } from '@nocobase/database';
export default {
name: 'system_settings',
fields: [
{
type: 'string',
name: 'title',
},
{
type: 'belongsTo',
name: 'logo',
target: 'attachments',
},
],
} as TableOptions;