@@ -6,6 +6,7 @@ import type { Action } from '@objectstack/spec/ui';
66export const CompleteTaskAction : Action = {
77 name : 'complete_task' ,
88 label : 'Mark Complete' ,
9+ objectName : 'task' ,
910 icon : 'check-circle' ,
1011 type : 'script' ,
1112 target : 'completeTask' ,
@@ -18,6 +19,7 @@ export const CompleteTaskAction: Action = {
1819export const StartTaskAction : Action = {
1920 name : 'start_task' ,
2021 label : 'Start Task' ,
22+ objectName : 'task' ,
2123 icon : 'play-circle' ,
2224 type : 'script' ,
2325 target : 'startTask' ,
@@ -30,6 +32,7 @@ export const StartTaskAction: Action = {
3032export const DeferTaskAction : Action = {
3133 name : 'defer_task' ,
3234 label : 'Defer Task' ,
35+ objectName : 'task' ,
3336 icon : 'clock' ,
3437 type : 'modal' ,
3538 target : 'defer_task_modal' ,
@@ -56,6 +59,7 @@ export const DeferTaskAction: Action = {
5659export const SetReminderAction : Action = {
5760 name : 'set_reminder' ,
5861 label : 'Set Reminder' ,
62+ objectName : 'task' ,
5963 icon : 'bell' ,
6064 type : 'modal' ,
6165 target : 'set_reminder_modal' ,
@@ -76,6 +80,7 @@ export const SetReminderAction: Action = {
7680export const CloneTaskAction : Action = {
7781 name : 'clone_task' ,
7882 label : 'Clone Task' ,
83+ objectName : 'task' ,
7984 icon : 'copy' ,
8085 type : 'script' ,
8186 target : 'cloneTask' ,
@@ -88,6 +93,7 @@ export const CloneTaskAction: Action = {
8893export const MassCompleteTasksAction : Action = {
8994 name : 'mass_complete' ,
9095 label : 'Complete Selected' ,
96+ objectName : 'task' ,
9197 icon : 'check-square' ,
9298 type : 'script' ,
9399 target : 'massCompleteTasks' ,
@@ -100,6 +106,7 @@ export const MassCompleteTasksAction: Action = {
100106export const DeleteCompletedAction : Action = {
101107 name : 'delete_completed' ,
102108 label : 'Delete Completed' ,
109+ objectName : 'task' ,
103110 icon : 'trash-2' ,
104111 type : 'script' ,
105112 target : 'deleteCompletedTasks' ,
@@ -112,6 +119,7 @@ export const DeleteCompletedAction: Action = {
112119export const ExportToCsvAction : Action = {
113120 name : 'export_csv' ,
114121 label : 'Export to CSV' ,
122+ objectName : 'task' ,
115123 icon : 'download' ,
116124 type : 'script' ,
117125 target : 'exportTasksToCSV' ,
0 commit comments