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

21 lines
339 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',
},
2021-08-17 00:15:53 +08:00
{
type: 'boolean',
name: 'showLogoOnly',
},
2021-08-13 23:14:07 +08:00
{
type: 'belongsTo',
name: 'logo',
target: 'attachments',
},
],
} as TableOptions;