mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
19 lines
287 B
TypeScript
19 lines
287 B
TypeScript
import { TableOptions } from '../../src';
|
|
|
|
export default {
|
|
name: 'comments',
|
|
fields: [
|
|
{
|
|
type: 'text',
|
|
name: 'content',
|
|
},
|
|
{
|
|
type: 'belongsTo',
|
|
name: 'user',
|
|
},
|
|
{
|
|
type: 'belongsTo',
|
|
name: 'post',
|
|
},
|
|
],
|
|
} as TableOptions; |