PHP 8.2.30
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

Name Size Perms Modified Actions
543 B lrw-r--r-- 2026-02-28 00:31:58
Edit Download
298 B lrw-r--r-- 2026-02-28 00:32:10
Edit Download
127 B lrw-r--r-- 2026-02-28 00:32:28
Edit Download
283 B lrw-r--r-- 2026-02-28 00:32:38
Edit Download
876 B lrw-r--r-- 2026-02-28 00:32:40
Edit Download
1.17 KB lrw-r--r-- 2026-02-28 00:32:40
Edit Download
1.65 KB lrw-r--r-- 2026-02-28 00:32:42
Edit Download
996 B lrw-r--r-- 2026-02-28 00:32:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).