| 12345678910111213 |
- const { Text, Relationship } = require('@keystonejs/fields');
- const { AutoIncrement } = require('@keystonejs/fields-auto-increment');
- module.exports = {
- fields: {
- productfeatures_id: { type: AutoIncrement, isRequired: true, label: 'productfeatures' },
- features_id: { type: Relationship, ref: 'features', many: true, label: 'features' },
- featuresval_id: { type: Relationship, ref: 'featuresval', many: false, label: 'featuresval' },
- article_id: { type: Relationship, ref: 'items', many: false, label: 'article' },
- custom_value: { type: Text, label: 'custom_value' },
- }, label: 'Productfeature'//, plural: 'Productfeaturess'
- };
|