docflow.js 435 B

12345678910
  1. const { Uuid, Relationship } = require('@keystonejs/fields');
  2. module.exports = {
  3. fields: {
  4. docflow_id: { type: Uuid, isRequired: true, label: 'docflow' },
  5. id1: { type: Uuid, isRequired: true, label: 'id1' },
  6. id2: { type: Uuid, isRequired: true, label: 'id2' },
  7. shops_id: { type: Relationship, ref: 'shops', many: true, label: 'Magazyn' },
  8. }//, label: 'Docflow'//, plural: 'Docflows'
  9. };