diff options
Diffstat (limited to 'types/trigger.pp')
-rw-r--r-- | types/trigger.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/types/trigger.pp b/types/trigger.pp new file mode 100644 index 0000000..38a9b97 --- /dev/null +++ b/types/trigger.pp @@ -0,0 +1,6 @@ +type Pacman::Trigger = Struct[{ + type => Enum['Path', 'Package'], + operation => Variant[Pacman::Operation, Array[Pacman::Operation, 1]], + target => Variant[String, Array[String, 1]], +}] + |