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

30 lines
496 B
TypeScript
Raw Normal View History

2021-12-06 21:23:34 +08:00
import { CollectionOptions } from '@nocobase/database';
2021-08-13 23:14:07 +08:00
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',
defaultValue: true,
2021-11-29 20:59:31 +08:00
},
2021-08-13 23:14:07 +08:00
{
type: 'belongsTo',
name: 'logo',
target: 'attachments',
},
{
type: 'string',
name: 'appLang',
},
2021-08-13 23:14:07 +08:00
],
2021-12-06 21:23:34 +08:00
} as CollectionOptions;