Skip to content

Commit 0ed3c92

Browse files
committed
Add Accessibility#hasBackgroundMusic
1 parent 10f3806 commit 0ed3c92

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Accessibility.ts

+6
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ export interface Accessibility extends Interactable<GenericInteraction> {
132132
*/
133133
hasSoundAbsorption?: boolean;
134134

135+
/**
136+
* Determines if there is background music playing.
137+
*/
138+
hasBackgroundMusic?: boolean;
139+
135140
/**
136141
* Determines if there is air conditioning installed and actively used.
137142
*/
@@ -319,6 +324,7 @@ export const getAccessibilitySchemaDefinition: () => SchemaDefinition = () => ({
319324
hasPatientLifter: BooleanField,
320325
offersTreatmentWithoutLeavingWheelchair: BooleanField,
321326
hasLowStimulusEnvironment: BooleanField,
327+
hasBackgroundMusic: BooleanField,
322328
...getPrefixedSchemaDefinition('staff', getStaffSchemaDefinition()),
323329
...getPrefixedArraySchemaDefinition('availableEquipment', getEquipmentPropertiesSchemaDefinition()),
324330
...getPrefixedSchemaDefinition('wheelchairPlaces', getWheelchairPlacesSchemaDefinition()),

src/accessibilityFixture.ts

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const accessibilityFixture: Complete<Accessibility> = {
3939
hasPatientLifter: true,
4040
offersTreatmentWithoutLeavingWheelchair: true,
4141
hasLowStimulusEnvironment: true,
42+
hasBackgroundMusic: true,
4243
serviceContact: { en: 'string' },
4344
media: [mediaFixture],
4445
desks: [deskFixture],

0 commit comments

Comments
 (0)