Skip to content

Commit 834d63c

Browse files
Vitexusclaude
andcommitted
feat: declare MultiFlexi events (schema 3.4.0) in app definitions
Add events.emits/consumes blocks and bump schemaVersion to 3.4.0 so Node-RED can connect producing and consuming MultiFlexi processes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7328ede commit 834d63c

4 files changed

Lines changed: 32 additions & 4 deletions

multiflexi/abraflexi-reminder.multiflexi.app.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3-
"schemaVersion": "3.1.0",
3+
"schemaVersion": "3.4.0",
44
"uuid": "0fd52fdd-1c83-4346-b9f9-13e82bd5d6d0",
55
"name": {
66
"en": "Reminder",
@@ -21,6 +21,13 @@
2121
],
2222
"homepage": "https://github.com/VitexSoftware/abraflexi-reminder",
2323
"executable": "abraflexi-reminder",
24+
"events": {
25+
"emits": {
26+
"invoice.reminder.sent": {
27+
"description": "An overdue payment reminder was sent"
28+
}
29+
}
30+
},
2431
"environment": {
2532
"DEBUG": {
2633
"type": "bool",

multiflexi/clear_reminder_labels.multiflexi.app.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3-
"schemaVersion": "3.1.0",
3+
"schemaVersion": "3.4.0",
44
"uuid": "138f1310-8e76-4670-bc55-47a3400795e1",
55
"name": {
66
"en": "Clear Reminder Labels",
@@ -20,6 +20,13 @@
2020
],
2121
"homepage": "https://github.com/VitexSoftware/abraflexi-reminder",
2222
"executable": "abraflexi-reminder-clean-labels",
23+
"events": {
24+
"emits": {
25+
"reminder.labels.cleared": {
26+
"description": "Reminder labels were cleared"
27+
}
28+
}
29+
},
2330
"environment": {
2431
"LANG": {
2532
"type": "set",

multiflexi/debts_overview.multiflexi.app.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3-
"schemaVersion": "3.0.0",
3+
"schemaVersion": "3.4.0",
44
"uuid": "82710b78-5cf9-4380-a7e2-62b6e65b2027",
55
"name": {
66
"en": "Debts overview",
@@ -21,6 +21,13 @@
2121
],
2222
"homepage": "https://github.com/VitexSoftware/abraflexi-reminder",
2323
"executable": "abraflexi-show-debts",
24+
"events": {
25+
"emits": {
26+
"debts.reported": {
27+
"description": "Outstanding debts were reported"
28+
}
29+
}
30+
},
2431
"environment": {
2532
"ABRAFLEXI_COMPANY": {
2633
"type": "string",

multiflexi/inventarize.multiflexi.app.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3-
"schemaVersion": "3.0.0",
3+
"schemaVersion": "3.4.0",
44
"uuid": "2d08b097-6da2-475d-b5cc-85f51cf5e463",
55
"name": {
66
"en": "Notify Customers",
@@ -21,6 +21,13 @@
2121
],
2222
"homepage": "https://github.com/VitexSoftware/abraflexi-reminder",
2323
"executable": "abraflexi-notify-customers",
24+
"events": {
25+
"emits": {
26+
"customer.notified": {
27+
"description": "Customers were notified"
28+
}
29+
}
30+
},
2431
"environment": {
2532
"ABRAFLEXI_COMPANY": {
2633
"type": "string",

0 commit comments

Comments
 (0)