mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user