refactor: fixes to custom field

This commit is contained in:
Carlos Valente
2025-07-11 16:49:41 +02:00
parent 4d419c0877
commit d8c1c38123
20 changed files with 103 additions and 108 deletions
@@ -197,12 +197,12 @@ describe('parseRundown()', () => {
const customFields: CustomFields = {
lighting: {
type: 'string',
type: 'text',
colour: 'red',
label: 'lighting',
},
sound: {
type: 'string',
type: 'text',
colour: 'red',
label: 'sound',
},
@@ -229,7 +229,7 @@ describe('parseRundown()', () => {
const customFields: CustomFields = {
lighting: {
type: 'string',
type: 'text',
colour: 'red',
label: 'lighting',
},
@@ -308,12 +308,12 @@ describe('handleCustomField()', () => {
it('creates a map of where custom fields are used', () => {
const customFields = {
lighting: {
type: 'string',
type: 'text',
colour: 'red',
label: 'lighting',
},
sound: {
type: 'string',
type: 'text',
colour: 'red',
label: 'sound',
},