const { Text, Integer, Checkbox } = require('@keystonejs/fields'); const { AutoIncrement } = require('@keystonejs/fields-auto-increment'); module.exports = { fields: { id: { type: Integer, many: false, isRequired: true, label: 'tagtemplates' }, name: { type: Text, label: 'Nazwa' }, width: { type: Integer, label: 'Szerokosc' }, height: { type: Integer, label: 'Wysokosc' }, size_type: { type: Text, label: 'size_type' }, type: { type: Integer, label: 'Typ' }, border: { type: Integer, label: 'Kraweds' }, digits_under_barcode: { type: Checkbox, label: 'digits_under_barcode' }, margin_top: { type: Integer, label: 'Margines Gorny' }, margin_bottom: { type: Integer, label: 'Margines Dolny' }, margin_left: { type: Integer, label: 'Margines Lewy' }, margin_right: { type: Integer, label: 'Margines Prawy' }, space_vertical: { type: Integer, label: 'Odstep w pionie' }, space_horizontal: { type: Integer, label: 'Odstep w poziomie' }, }, label: 'Tagtemplate'//, plural: 'Tagtemplatess' };