PHP 8.2.30
Preview: property-json.factory.js Size: 793 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/lib/frontend/components/spec/property-json.factory.js

import { factory } from 'factory-girl';
factory.define('PropertyJSON', Object, {
  custom: {},
  isTitle: false,
  isId: false,
  isSortable: true,
  availableValues: null,
  label: factory.sequence('JSONProperty.label', n => `someProperty${n}`),
  name: factory.sequence('JSONProperty.name', n => `someProperty${n}`),
  position: factory.sequence('JSONProperty.position', n => n),
  type: 'string',
  reference: null,
  isDisabled: false,
  isArray: false,
  isDraggable: false,
  subProperties: [],
  isRequired: true,
  components: undefined,
  path: factory.sequence('JSONProperty.path', n => `someProperty${n}`),
  propertyPath: factory.sequence('JSONProperty.propertyPath', n => `someProperty${n}`),
  resourceId: 'someResourceId',
  isVirtual: false,
  props: {},
  hideLabel: false
});

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
470 B lrw-r--r-- 2026-02-28 00:28:58
Edit Download
302 B lrw-r--r-- 2026-02-28 00:31:30
Edit Download
127 B lrw-r--r-- 2026-02-28 00:31:44
Edit Download
214 B lrw-r--r-- 2026-02-28 00:31:48
Edit Download
793 B lrw-r--r-- 2026-02-28 00:31:48
Edit Download
1.06 KB lrw-r--r-- 2026-02-28 00:31:48
Edit Download
1.51 KB lrw-r--r-- 2026-02-28 00:31:48
Edit Download
946 B lrw-r--r-- 2026-02-28 00:31:50
Edit Download

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