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-11-29 20:59:31 +08:00
|
|
|
{
|
|
|
|
type: 'boolean',
|
|
|
|
name: 'allowSignUp',
|
2021-11-30 08:51:27 +08:00
|
|
|
defaultValue: true,
|
2021-11-29 20:59:31 +08:00
|
|
|
},
|
2021-08-13 23:14:07 +08:00
|
|
|
{
|
|
|
|
type: 'belongsTo',
|
|
|
|
name: 'logo',
|
|
|
|
target: 'attachments',
|
|
|
|
},
|
2021-11-08 19:32:59 +08:00
|
|
|
{
|
|
|
|
type: 'string',
|
|
|
|
name: 'appLang',
|
|
|
|
},
|
2021-08-13 23:14:07 +08:00
|
|
|
],
|
|
|
|
} as TableOptions;
|