summaryrefslogtreecommitdiff
path: root/types/trigger.pp
diff options
context:
space:
mode:
Diffstat (limited to 'types/trigger.pp')
-rw-r--r--types/trigger.pp6
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]],
+}]
+