Added screen repository interrupts constant

Necessary to define -- via a single constant and object -- the kinds of screens that are interrupts.

Milestone: minor
This commit is contained in:
Brooke Kuhlmann
2026-08-05 14:43:51 -06:00
parent ee16d82bd5
commit bb3e479e39
+2
View File
@@ -4,6 +4,8 @@ module Terminus
module Repositories
# The screen repository.
class Screen < DB::Repository[:screen]
INTERRUPTS = %w[error notification sleep wake welcome].freeze
commands :create
commands update: :by_pk,