| 1234567891011 |
- const { Text, Uuid, Relationship, Integer } = require('@keystonejs/fields');
- const { AutoIncrement } = require('@keystonejs/fields-auto-increment');
- module.exports = {
- fields: {
- id: { type: Integer, many: false, isRequired: true, label: 'productsgroup' },
- name: { type: Text, label: 'Nazwa' },
- suppliers_id: { type: Relationship, ref: 'suppliers', many: false, label: 'suppliers' },
- productsgroup_guid: { type: Uuid, isRequired: true, label: 'productsgroup_guid' },
- }, label: 'Productsgroup'//, plural: 'Productsgroups'
- };
|