Preview: action-json.factory.ts
Size: 543 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/src/frontend/components/spec/action-json.factory.ts
import { factory } from 'factory-girl'
import { ActionJSON } from '../../interfaces/index.js'
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,
showResourceActions: true,
resourceId: 'resource',
hideActionHeader: false,
containerWidth: 1,
layout: null,
variant: 'default',
parent: null,
hasHandler: true,
custom: {},
})
Directory Contents
Dirs: 0 × Files: 8