@@ -30,7 +30,7 @@ export default defineStack({
3030 type : 'grid' ,
3131 data : { provider : 'object' , object : 'account' } ,
3232 columns : [ 'name' , 'industry' , 'type' , 'annual_revenue' , 'rating' , 'owner' ] ,
33- sort : [ { field : 'name' , direction : 'asc' } ] ,
33+ sort : [ { field : 'name' , order : 'asc' } ] ,
3434 } ,
3535 active_accounts : {
3636 name : 'active_accounts' ,
@@ -39,7 +39,7 @@ export default defineStack({
3939 data : { provider : 'object' , object : 'account' } ,
4040 columns : [ 'name' , 'industry' , 'annual_revenue' , 'phone' , 'owner' ] ,
4141 filter : [ 'type' , '=' , 'Customer' ] ,
42- sort : [ { field : 'annual_revenue' , direction : 'desc' } ] ,
42+ sort : [ { field : 'annual_revenue' , order : 'desc' } ] ,
4343 } ,
4444 } ,
4545 } ,
@@ -52,7 +52,7 @@ export default defineStack({
5252 type : 'grid' ,
5353 data : { provider : 'object' , object : 'contact' } ,
5454 columns : [ 'name' , 'email' , 'phone' , 'title' , 'account' , 'status' , 'priority' ] ,
55- sort : [ { field : 'name' , direction : 'asc' } ] ,
55+ sort : [ { field : 'name' , order : 'asc' } ] ,
5656 } ,
5757 active_contacts : {
5858 name : 'active_contacts' ,
@@ -73,7 +73,7 @@ export default defineStack({
7373 type : 'grid' ,
7474 data : { provider : 'object' , object : 'opportunity' } ,
7575 columns : [ 'name' , 'amount' , 'stage' , 'close_date' , 'probability' , 'forecast_category' ] ,
76- sort : [ { field : 'close_date' , direction : 'asc' } ] ,
76+ sort : [ { field : 'close_date' , order : 'asc' } ] ,
7777 } ,
7878 pipeline : {
7979 name : 'pipeline' ,
@@ -92,7 +92,7 @@ export default defineStack({
9292 type : 'grid' ,
9393 data : { provider : 'object' , object : 'opportunity' } ,
9494 columns : [ 'name' , 'amount' , 'stage' , 'close_date' , 'probability' ] ,
95- sort : [ { field : 'close_date' , direction : 'asc' } ] ,
95+ sort : [ { field : 'close_date' , order : 'asc' } ] ,
9696 } ,
9797 } ,
9898 } ,
@@ -105,7 +105,7 @@ export default defineStack({
105105 type : 'grid' ,
106106 data : { provider : 'object' , object : 'product' } ,
107107 columns : [ 'name' , 'sku' , 'category' , 'price' , 'stock' , 'is_active' ] ,
108- sort : [ { field : 'name' , direction : 'asc' } ] ,
108+ sort : [ { field : 'name' , order : 'asc' } ] ,
109109 } ,
110110 active_products : {
111111 name : 'active_products' ,
@@ -126,7 +126,7 @@ export default defineStack({
126126 type : 'grid' ,
127127 data : { provider : 'object' , object : 'order' } ,
128128 columns : [ 'name' , 'customer' , 'amount' , 'status' , 'order_date' , 'payment_method' ] ,
129- sort : [ { field : 'order_date' , direction : 'desc' } ] ,
129+ sort : [ { field : 'order_date' , order : 'desc' } ] ,
130130 } ,
131131 pending_orders : {
132132 name : 'pending_orders' ,
@@ -147,7 +147,7 @@ export default defineStack({
147147 type : 'grid' ,
148148 data : { provider : 'object' , object : 'user' } ,
149149 columns : [ 'name' , 'email' , 'role' , 'department' , 'active' ] ,
150- sort : [ { field : 'name' , direction : 'asc' } ] ,
150+ sort : [ { field : 'name' , order : 'asc' } ] ,
151151 } ,
152152 active_users : {
153153 name : 'active_users' ,
@@ -168,7 +168,7 @@ export default defineStack({
168168 type : 'grid' ,
169169 data : { provider : 'object' , object : 'event' } ,
170170 columns : [ 'subject' , 'start' , 'end' , 'location' , 'type' , 'status' ] ,
171- sort : [ { field : 'start' , direction : 'asc' } ] ,
171+ sort : [ { field : 'start' , order : 'asc' } ] ,
172172 } ,
173173 calendar : {
174174 name : 'calendar' ,
@@ -189,7 +189,7 @@ export default defineStack({
189189 data : { provider : 'object' , object : 'event' } ,
190190 columns : [ 'subject' , 'start' , 'location' , 'organizer' ] ,
191191 filter : [ 'type' , '=' , 'meeting' ] ,
192- sort : [ { field : 'start' , direction : 'asc' } ] ,
192+ sort : [ { field : 'start' , order : 'asc' } ] ,
193193 } ,
194194 } ,
195195 } ,
@@ -202,7 +202,7 @@ export default defineStack({
202202 type : 'grid' ,
203203 data : { provider : 'object' , object : 'project_task' } ,
204204 columns : [ 'name' , 'status' , 'priority' , 'start_date' , 'end_date' , 'progress' , 'assignee' ] ,
205- sort : [ { field : 'start_date' , direction : 'asc' } ] ,
205+ sort : [ { field : 'start_date' , order : 'asc' } ] ,
206206 } ,
207207 board : {
208208 name : 'board' ,
@@ -931,12 +931,12 @@ export default defineStack({
931931 object : 'event' ,
932932 mode : 'upsert' ,
933933 records : [
934- { _id : "e1" , subject : "Weekly Standup" , start : new Date ( "2024-02-05T09:00:00" ) , end : new Date ( "2024-02-05T10:00:00" ) , location : "Conference Room A" , type : "meeting" , status : "completed" , organizer : "1" , reminder : "15 minutes " , description : "Team synchronization regarding Project Alpha" } ,
935- { _id : "e2" , subject : "Client Call - TechCorp" , start : new Date ( "2024-02-06T14:00:00" ) , end : new Date ( "2024-02-06T15:00:00" ) , location : "Zoom" , type : "call" , status : "completed" , organizer : "2" , reminder : "5 minutes " , description : "Reviewing Q1 Goals and Roadblocks" } ,
936- { _id : "e3" , subject : "Project Review" , start : new Date ( "2024-02-08T10:00:00" ) , end : new Date ( "2024-02-08T11:30:00" ) , location : "Board Room" , type : "meeting" , status : "completed" , organizer : "1" , reminder : "30 minutes " , description : "Milestone review with stakeholders" } ,
934+ { _id : "e1" , subject : "Weekly Standup" , start : new Date ( "2024-02-05T09:00:00" ) , end : new Date ( "2024-02-05T10:00:00" ) , location : "Conference Room A" , type : "meeting" , status : "completed" , organizer : "1" , reminder : "min_15 " , description : "Team synchronization regarding Project Alpha" } ,
935+ { _id : "e2" , subject : "Client Call - TechCorp" , start : new Date ( "2024-02-06T14:00:00" ) , end : new Date ( "2024-02-06T15:00:00" ) , location : "Zoom" , type : "call" , status : "completed" , organizer : "2" , reminder : "min_5 " , description : "Reviewing Q1 Goals and Roadblocks" } ,
936+ { _id : "e3" , subject : "Project Review" , start : new Date ( "2024-02-08T10:00:00" ) , end : new Date ( "2024-02-08T11:30:00" ) , location : "Board Room" , type : "meeting" , status : "completed" , organizer : "1" , reminder : "min_30 " , description : "Milestone review with stakeholders" } ,
937937 { _id : "e4" , subject : "Lunch with Partners" , start : new Date ( "2024-02-09T12:00:00" ) , end : new Date ( "2024-02-09T13:30:00" ) , location : "Downtown Cafe" , type : "other" , status : "completed" , organizer : "2" , description : "Networking event" } ,
938- { _id : "e5" , subject : "Product Demo - Berlin Auto" , start : new Date ( "2024-03-10T11:00:00" ) , end : new Date ( "2024-03-10T12:30:00" ) , location : "Online" , type : "meeting" , status : "scheduled" , organizer : "1" , reminder : "1 hour " , is_private : false , description : "Showcasing the new automation suite capabilities" } ,
939- { _id : "e6" , subject : "Internal Training" , start : new Date ( "2024-03-15T09:00:00" ) , end : new Date ( "2024-03-15T16:00:00" ) , location : "Training Center" , type : "other" , status : "scheduled" , organizer : "1" , is_all_day : true , reminder : "1 day " , description : "Security compliance training for all staff" }
938+ { _id : "e5" , subject : "Product Demo - Berlin Auto" , start : new Date ( "2024-03-10T11:00:00" ) , end : new Date ( "2024-03-10T12:30:00" ) , location : "Online" , type : "meeting" , status : "scheduled" , organizer : "1" , reminder : "hour_1 " , is_private : false , description : "Showcasing the new automation suite capabilities" } ,
939+ { _id : "e6" , subject : "Internal Training" , start : new Date ( "2024-03-15T09:00:00" ) , end : new Date ( "2024-03-15T16:00:00" ) , location : "Training Center" , type : "other" , status : "scheduled" , organizer : "1" , is_all_day : true , reminder : "day_1 " , description : "Security compliance training for all staff" }
940940 ]
941941 }
942942 ]
0 commit comments