PHP 8.2.30
Preview: property.factory.js Size: 355 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/spec/fixtures/property.factory.js

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',
})

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
457 B lrw-r--r-- 2026-02-28 00:29:00
Edit Download
130 B lrw-r--r-- 2026-02-28 00:31:30
Edit Download
355 B lrw-r--r-- 2026-02-28 00:31:48
Edit Download
248 B lrw-r--r-- 2026-02-28 00:31:48
Edit Download

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