docflow.js 437 B

12345678910
  1. const { Uuid, Relationship, Integer } = require('@keystonejs/fields');
  2. module.exports = {
  3. fields: {
  4. 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: false, label: 'Magazyn' },
  8. }//, label: 'Docflow'//, plural: 'Docflows'
  9. };