| 123456789101112 |
- const { Text, Relationship } = require('@keystonejs/fields');
- const { AutoIncrement } = require('@keystonejs/fields-auto-increment');
- module.exports = {
- fields: {
- product_minmax_features_id: { type: AutoIncrement, isRequired: true, label: 'product_minmax_features' },
- products_minmax_id: { type: Relationship, ref: 'products_minmax', many: false, isRequired: true, label: 'products_minmax' },
- features_id: { type: Relationship, ref: 'features', many: false, isRequired: true, label: 'Atrybut' },
- features_val_id: { type: Relationship, ref: 'featuresval', many: false, label: 'Wartosc atrybutu' },
- custom_val: { type: Text, label: 'custom_val' },
- }, label: 'Product_minmax_feature'//, plural: 'Product_minmax_featuress'
- };
|