const { Integer, Relationship } = require('@keystonejs/fields'); const { AutoIncrement } = require('@keystonejs/fields-auto-increment'); module.exports = { fields: { id: { type: Integer, isRequired: true, label: 'Uprawnienia Uzytkownika' }, puni: { type: Integer, isRequired: true, label: 'puni' }, operators_id: { type: Relationship, ref: 'operators', many: false, isRequired: true, label: 'Uzytkownik' }, }, label: 'Sysprivilege'//, plural: 'Sysprivilegess' };