UNPKG

admin-bro

Version:
19 lines (17 loc) 496 B
import factory from 'factory-girl' import { ActionJSON } from '../../interfaces' factory.define<ActionJSON>('ActionJSON', Object, { actionType: 'record', showInDrawer: true, name: factory.sequence('ActionJSON.name', n => `action${n}`), label: factory.sequence('ActionJSON.label', n => `action ${n}`), showFilter: false, resourceId: 'resource', hideActionHeader: false, containerWidth: 1, layout: null, variant: 'default', parent: null, hasHandler: true, custom: {}, })