Files
terminus/app/structs/screen_template.rb
Brooke Kuhlmann 42eb29a8ae Added screen template export attributes
Necessary to define what attributes are allowed when exporting a screen template.

Milestone: minor
2026-08-11 16:53:22 -06:00

13 lines
274 B
Ruby

# frozen_string_literal: true
module Terminus
module Structs
# The screen template struct.
class ScreenTemplate < DB::Struct
def export_attributes = {label:, name:}
def screen_attributes = {template_id: id, name:, label:, content:}
end
end
end