You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
355 B
12 lines
355 B
import { factory } from 'factory-girl'
|
|
|
|
factory.define('property', Object, {
|
|
isId: false,
|
|
isSortable: true,
|
|
isTitle: true,
|
|
label: factory.sequence('property.label', (n) => `some property ${n}`),
|
|
name: factory.sequence('property.name', (n) => `someProperty${n}`),
|
|
position: factory.sequence('property.position', (n) => n),
|
|
type: 'string',
|
|
})
|