2022-02-11 18:13:14 +08:00
|
|
|
import { defineCollection } from '@nocobase/database';
|
2021-08-13 23:14:07 +08:00
|
|
|
|
2022-02-11 18:13:14 +08:00
|
|
|
export default defineCollection({
|
|
|
|
name: 'systemSettings',
|
2021-08-13 23:14:07 +08:00
|
|
|
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
|
|
|
],
|
2022-02-11 18:13:14 +08:00
|
|
|
});
|
|
|
|
|