Skip to content

Commit

Permalink
Add pilot feature flag for staff attendance integration
Browse files Browse the repository at this point in the history
  • Loading branch information
terolaakso committed Feb 13, 2025
1 parent 6f14b50 commit 79b8818
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion frontend/src/lib-common/generated/api-types/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ export const pilotFeatures = [
'PLACEMENT_TERMINATION',
'REALTIME_STAFF_ATTENDANCE',
'PUSH_NOTIFICATIONS',
'SERVICE_APPLICATIONS'
'SERVICE_APPLICATIONS',
'STAFF_ATTENDANCE_INTEGRATION'
] as const

export type PilotFeature = typeof pilotFeatures[number]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4998,7 +4998,8 @@ export const fi = {
PLACEMENT_TERMINATION: 'Paikan irtisanominen',
REALTIME_STAFF_ATTENDANCE: 'Henkilökunnan reaaliaikainen läsnäolo',
PUSH_NOTIFICATIONS: 'Mobiilinotifikaatiot',
SERVICE_APPLICATIONS: 'Palveluntarpeen muutoshakemukset'
SERVICE_APPLICATIONS: 'Palveluntarpeen muutoshakemukset',
STAFF_ATTENDANCE_INTEGRATION: 'Työvuoro-suunnittelu-integraatio'
}
},
roles: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ enum class PilotFeature : DatabaseEnum {
PLACEMENT_TERMINATION,
REALTIME_STAFF_ATTENDANCE,
PUSH_NOTIFICATIONS,
SERVICE_APPLICATIONS;
SERVICE_APPLICATIONS,
STAFF_ATTENDANCE_INTEGRATION;

override val sqlType: String = "pilot_feature"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TYPE pilot_feature ADD VALUE 'STAFF_ATTENDANCE_INTEGRATION';
1 change: 1 addition & 0 deletions service/src/main/resources/migrations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -491,3 +491,4 @@ V492__finance_note.sql
V493__acl_end_date.sql
V494__daycare_acl_schedule.sql
V495__draft_message_recipients.sql
V496__staff_attendance_integration_feature.sql

0 comments on commit 79b8818

Please sign in to comment.