tachybase_todo/packages/plugin-system-settings/src/collections/system_settings.ts
2021-08-17 00:15:53 +08:00

21 lines
339 B
TypeScript

import { TableOptions } from '@nocobase/database';
export default {
name: 'system_settings',
fields: [
{
type: 'string',
name: 'title',
},
{
type: 'boolean',
name: 'showLogoOnly',
},
{
type: 'belongsTo',
name: 'logo',
target: 'attachments',
},
],
} as TableOptions;