Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: PPT-1475 mark Trigger fields to ignore from ES index
Browse files Browse the repository at this point in the history
naqvis committed Aug 14, 2024
1 parent c2e5a17 commit c833bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/placeos-models/trigger.cr
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@ module PlaceOS::Model
attribute description : String = ""

# Full path allows resolution in macros
attribute actions : PlaceOS::Model::Trigger::Actions = ->{ Actions.new }, es_type: "object"
attribute conditions : PlaceOS::Model::Trigger::Conditions = ->{ Conditions.new }, es_type: "object"
attribute actions : PlaceOS::Model::Trigger::Actions = ->{ Actions.new }, es_ignore: true
attribute conditions : PlaceOS::Model::Trigger::Conditions = ->{ Conditions.new }, es_ignore: true

# In milliseconds
attribute debounce_period : Int32 = 0

0 comments on commit c833bfe

Please sign in to comment.