automation list box

This commit is contained in:
ari committed 2022-04-20 15:40:26 -04:00
1 parent 248660ff30
commit afc67a17ec
6 files changed
+220 -34

No files matched your search

+3 -2
View File
@@ -1,15 +1,16 @@
import { AutomationData } from 'types/automations';
export const createMockAuto = (): AutomationData => ({
export const createMockAuto = (tags: Record<string, string> = {}): AutomationData => ({
metadata: {
id: "random",
id: Math.random().toString(36).slice(2, 5),
alias: "Random",
description: "Example Metadata",
trigger_variables: {
'wowo': '!'
},
mode: 'single',
tags
},
trigger: [
{