31 lines
492 B
TypeScript
31 lines
492 B
TypeScript
import { defineCollection } from '@nocobase/database';
|
|
|
|
export default defineCollection({
|
|
name: 'systemSettings',
|
|
fields: [
|
|
{
|
|
type: 'string',
|
|
name: 'title',
|
|
},
|
|
{
|
|
type: 'boolean',
|
|
name: 'showLogoOnly',
|
|
},
|
|
{
|
|
type: 'boolean',
|
|
name: 'allowSignUp',
|
|
defaultValue: true,
|
|
},
|
|
{
|
|
type: 'belongsTo',
|
|
name: 'logo',
|
|
target: 'attachments',
|
|
},
|
|
{
|
|
type: 'string',
|
|
name: 'appLang',
|
|
},
|
|
],
|
|
});
|
|
|