@uibot/mcp-server 0.0.0-stage → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/content.d.ts +15 -0
  2. package/dist/discovery.d.ts +40 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +0 -0
  5. package/dist/resources/design-md/claude.design.md +178 -0
  6. package/dist/resources/design-md/control-console.design.md +176 -0
  7. package/dist/resources/design-md/figma.design.md +102 -0
  8. package/dist/resources/design-md/frontend-principles.design.md +155 -0
  9. package/dist/resources/design-md/ibm.design.md +109 -0
  10. package/dist/resources/design-md/linear.design.md +175 -0
  11. package/dist/resources/design-md/notion.design.md +175 -0
  12. package/dist/resources/design-md/raycast.design.md +106 -0
  13. package/dist/resources/design-md/stripe.design.md +178 -0
  14. package/dist/resources/design-md/supabase.design.md +185 -0
  15. package/dist/resources/design-md/vercel.design.md +172 -0
  16. package/dist/resources/shells/app-shell-floating.yaml +42 -0
  17. package/dist/resources/shells/app-shell-icon-rail.yaml +42 -0
  18. package/dist/resources/shells/app-shell-inset.yaml +42 -0
  19. package/dist/resources/shells/app-shell-settings.yaml +56 -0
  20. package/dist/resources/shells/app-shell-sidebar.yaml +47 -0
  21. package/dist/resources/shells/app-shell-workspace.yaml +54 -0
  22. package/dist/resources/shells/shadcn-admin-shell.yaml +151 -0
  23. package/dist/resources/templates/admin-dashboard.yaml +183 -0
  24. package/dist/resources/templates/ai-chat.yaml +448 -0
  25. package/dist/resources/templates/analytics-dashboard.yaml +152 -0
  26. package/dist/resources/templates/auth.yaml +90 -0
  27. package/dist/resources/templates/blog.yaml +111 -0
  28. package/dist/resources/templates/crm.yaml +161 -0
  29. package/dist/resources/templates/ecommerce.yaml +169 -0
  30. package/dist/resources/templates/lms.yaml +459 -0
  31. package/dist/resources/templates/portfolio.yaml +139 -0
  32. package/dist/resources/templates/pricing.yaml +171 -0
  33. package/dist/resources/templates/saas-landing.yaml +199 -0
  34. package/dist/resources/templates/settings.yaml +151 -0
  35. package/dist/resources/templates/shadcn-admin.yaml +4660 -0
  36. package/dist/resources/templates/store.yaml +469 -0
  37. package/dist/resources/templates/support-inbox.yaml +96 -0
  38. package/dist/resources/templates/team-directory.yaml +98 -0
  39. package/dist/server.d.ts +23 -0
  40. package/dist/server.js +138 -0
  41. package/package.json +39 -4
  42. package/README.md +0 -3
@@ -0,0 +1,4660 @@
1
+ version: "2.0"
2
+ connections:
3
+ - id: tasks-db
4
+ type: NowAPI.Collection
5
+ - id: users-db
6
+ type: NowAPI.Collection
7
+ - id: preferences-db
8
+ type: NowAPI.Collection
9
+ - id: conversations-db
10
+ type: NowAPI.Collection
11
+ - id: messages-db
12
+ type: NowAPI.Collection
13
+ - id: integrations-db
14
+ type: NowAPI.Collection
15
+ pages:
16
+ - id: dashboard
17
+ path: /
18
+ title: Dashboard
19
+ state:
20
+ currentPath: /
21
+ blocks:
22
+ - type: PageLayout
23
+ children:
24
+ - type: Box
25
+ props:
26
+ className: "!flex-row items-start justify-between gap-4 mb-6"
27
+ children:
28
+ - type: Box
29
+ props:
30
+ gap: xs
31
+ children:
32
+ - type: Heading
33
+ props:
34
+ level: 1
35
+ text: Dashboard
36
+ - type: Button
37
+ props:
38
+ label: Download
39
+ disabled: true
40
+ - type: Tabs
41
+ props:
42
+ tabs:
43
+ - Overview
44
+ - Analytics
45
+ - Reports
46
+ - Notifications
47
+ disabledTabs:
48
+ - 2
49
+ - 3
50
+ variant: segmented
51
+ children:
52
+ - type: Box
53
+ props:
54
+ gap: md
55
+ children:
56
+ - type: Box
57
+ props:
58
+ className: "!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4"
59
+ children:
60
+ - type: StatCard
61
+ props:
62
+ label: Total Revenue
63
+ value: $45,231.89
64
+ description: +20.1% from last month
65
+ icon: chart-no-axes-column
66
+ - type: StatCard
67
+ props:
68
+ label: Subscriptions
69
+ value: "+2350"
70
+ description: +180.1% from last month
71
+ icon: users
72
+ - type: StatCard
73
+ props:
74
+ label: Sales
75
+ value: +12,234
76
+ description: +19% from last month
77
+ icon: boxes
78
+ - type: StatCard
79
+ props:
80
+ label: Active Now
81
+ value: "+573"
82
+ description: +201 since last hour
83
+ icon: chart-no-axes-column
84
+ - type: Box
85
+ props:
86
+ className: "!grid grid-cols-1 gap-4 lg:grid-cols-7"
87
+ children:
88
+ - type: Box
89
+ props:
90
+ className: lg:col-span-4
91
+ children:
92
+ - type: Card
93
+ props:
94
+ title: Overview
95
+ children:
96
+ - type: BarChart
97
+ props:
98
+ prefix: $
99
+ height: 350
100
+ data:
101
+ - label: Jan
102
+ value: 1500
103
+ - label: Feb
104
+ value: 5800
105
+ - label: Mar
106
+ value: 5500
107
+ - label: Apr
108
+ value: 2200
109
+ - label: May
110
+ value: 4800
111
+ - label: Jun
112
+ value: 1600
113
+ - label: Jul
114
+ value: 2800
115
+ - label: Aug
116
+ value: 2300
117
+ - label: Sep
118
+ value: 5700
119
+ - label: Oct
120
+ value: 1400
121
+ - label: Nov
122
+ value: 2900
123
+ - label: Dec
124
+ value: 1900
125
+ - type: Box
126
+ props:
127
+ className: lg:col-span-3
128
+ children:
129
+ - type: Card
130
+ props:
131
+ title: Recent Sales
132
+ description: You made 265 sales this month.
133
+ children:
134
+ - type: AvatarList
135
+ props:
136
+ items:
137
+ - id: "0"
138
+ initials: OM
139
+ name: Olivia Martin
140
+ description: olivia.martin@email.com
141
+ value: +$1,999.00
142
+ - id: "1"
143
+ initials: JL
144
+ name: Jackson Lee
145
+ description: jackson.lee@email.com
146
+ value: +$39.00
147
+ - id: "2"
148
+ initials: IN
149
+ name: Isabella Nguyen
150
+ description: isabella.nguyen@email.com
151
+ value: +$299.00
152
+ - id: "3"
153
+ initials: WK
154
+ name: William Kim
155
+ description: will@email.com
156
+ value: +$99.00
157
+ - id: "4"
158
+ initials: SD
159
+ name: Sofia Davis
160
+ description: sofia.davis@email.com
161
+ value: +$39.00
162
+ - type: Box
163
+ props:
164
+ gap: md
165
+ children:
166
+ - type: Box
167
+ props:
168
+ className: "!flex-row items-start justify-between gap-4 mb-6"
169
+ children:
170
+ - type: Box
171
+ props:
172
+ gap: xs
173
+ children:
174
+ - type: Heading
175
+ props:
176
+ level: 1
177
+ text: Analytics
178
+ - type: Paragraph
179
+ props:
180
+ text: Revenue and subscription performance.
181
+ muted: true
182
+ size: sm
183
+ - type: Box
184
+ props:
185
+ className: "!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4"
186
+ children:
187
+ - type: StatCard
188
+ props:
189
+ label: Total Revenue
190
+ value: $45,231.89
191
+ description: +20.1% from last month
192
+ icon: chart-no-axes-column
193
+ - type: StatCard
194
+ props:
195
+ label: Subscriptions
196
+ value: "+2350"
197
+ description: +180.1% from last month
198
+ icon: users
199
+ - type: StatCard
200
+ props:
201
+ label: Sales
202
+ value: +12,234
203
+ description: +19% from last month
204
+ icon: boxes
205
+ - type: StatCard
206
+ props:
207
+ label: Active Now
208
+ value: "+573"
209
+ description: +201 since last hour
210
+ icon: chart-no-axes-column
211
+ - type: Card
212
+ props:
213
+ title: Revenue over time
214
+ children:
215
+ - type: BarChart
216
+ props:
217
+ prefix: $
218
+ data:
219
+ - label: Apr
220
+ value: 18200
221
+ - label: May
222
+ value: 21400
223
+ - label: Jun
224
+ value: 28000
225
+ - label: Jul
226
+ value: 26200
227
+ - label: Aug
228
+ value: 31500
229
+ - label: Sep
230
+ value: 45231
231
+ template: shadcn-admin-shell
232
+ - id: tasks
233
+ lifecycle:
234
+ onMount:
235
+ - action: Request
236
+ params:
237
+ connectionId: tasks-db
238
+ request:
239
+ id: load-tasks
240
+ connectionId: tasks-db
241
+ payload:
242
+ operation: FindAll
243
+ responsePath: rows
244
+ loadingPath: loading
245
+ errorPath: uiError
246
+ onError:
247
+ - action: SetState
248
+ params:
249
+ path: requestFailed
250
+ value: true
251
+ path: /tasks
252
+ title: Tasks
253
+ state:
254
+ currentPath: /tasks
255
+ rows:
256
+ - id: TASK-8782
257
+ title: Document release rollback steps
258
+ label: documentation
259
+ status: backlog
260
+ priority: medium
261
+ - id: TASK-8783
262
+ title: Fix keyboard focus in the task drawer
263
+ label: bug
264
+ status: todo
265
+ priority: high
266
+ - id: TASK-8784
267
+ title: Add status filters to the task list
268
+ label: feature
269
+ status: in progress
270
+ priority: low
271
+ - id: TASK-8785
272
+ title: Update deployment checklist
273
+ label: documentation
274
+ status: done
275
+ priority: medium
276
+ - id: TASK-8786
277
+ title: Investigate duplicate task submissions
278
+ label: bug
279
+ status: canceled
280
+ priority: high
281
+ - id: TASK-8787
282
+ title: Add saved table views
283
+ label: feature
284
+ status: backlog
285
+ priority: low
286
+ - id: TASK-8788
287
+ title: Document task priority definitions
288
+ label: documentation
289
+ status: todo
290
+ priority: medium
291
+ - id: TASK-8789
292
+ title: Update the onboarding documentation for team members.
293
+ label: bug
294
+ status: in progress
295
+ priority: high
296
+ - id: TASK-8790
297
+ title: Review project permissions before the next release.
298
+ label: feature
299
+ status: done
300
+ priority: low
301
+ - id: TASK-8791
302
+ title: Make the settings form usable with keyboard navigation.
303
+ label: documentation
304
+ status: canceled
305
+ priority: medium
306
+ - id: TASK-8792
307
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
308
+ label: bug
309
+ status: backlog
310
+ priority: high
311
+ - id: TASK-8793
312
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
313
+ label: feature
314
+ status: todo
315
+ priority: low
316
+ - id: TASK-8794
317
+ title: We need to bypass the neural TCP card!
318
+ label: documentation
319
+ status: in progress
320
+ priority: medium
321
+ - id: TASK-8795
322
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
323
+ label: bug
324
+ status: done
325
+ priority: high
326
+ - id: TASK-8796
327
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
328
+ label: feature
329
+ status: canceled
330
+ priority: low
331
+ - id: TASK-8797
332
+ title: Use the digital TLS panel, then you can transmit the haptic system!
333
+ label: documentation
334
+ status: backlog
335
+ priority: medium
336
+ - id: TASK-8798
337
+ title: The RAM monitor is down, parsing the virtual circuit will help.
338
+ label: bug
339
+ status: todo
340
+ priority: high
341
+ - id: TASK-8799
342
+ title: Update the onboarding documentation for team members.
343
+ label: feature
344
+ status: in progress
345
+ priority: low
346
+ - id: TASK-8800
347
+ title: Review project permissions before the next release.
348
+ label: documentation
349
+ status: done
350
+ priority: medium
351
+ - id: TASK-8801
352
+ title: Make the settings form usable with keyboard navigation.
353
+ label: bug
354
+ status: canceled
355
+ priority: high
356
+ - id: TASK-8802
357
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
358
+ label: feature
359
+ status: backlog
360
+ priority: low
361
+ - id: TASK-8803
362
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
363
+ label: documentation
364
+ status: todo
365
+ priority: medium
366
+ - id: TASK-8804
367
+ title: We need to bypass the neural TCP card!
368
+ label: bug
369
+ status: in progress
370
+ priority: high
371
+ - id: TASK-8805
372
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
373
+ label: feature
374
+ status: done
375
+ priority: low
376
+ - id: TASK-8806
377
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
378
+ label: documentation
379
+ status: canceled
380
+ priority: medium
381
+ - id: TASK-8807
382
+ title: Use the digital TLS panel, then you can transmit the haptic system!
383
+ label: bug
384
+ status: backlog
385
+ priority: high
386
+ - id: TASK-8808
387
+ title: The RAM monitor is down, parsing the virtual circuit will help.
388
+ label: feature
389
+ status: todo
390
+ priority: low
391
+ - id: TASK-8809
392
+ title: Update the onboarding documentation for team members.
393
+ label: documentation
394
+ status: in progress
395
+ priority: medium
396
+ - id: TASK-8810
397
+ title: Review project permissions before the next release.
398
+ label: bug
399
+ status: done
400
+ priority: high
401
+ - id: TASK-8811
402
+ title: Make the settings form usable with keyboard navigation.
403
+ label: feature
404
+ status: canceled
405
+ priority: low
406
+ - id: TASK-8812
407
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
408
+ label: documentation
409
+ status: backlog
410
+ priority: medium
411
+ - id: TASK-8813
412
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
413
+ label: bug
414
+ status: todo
415
+ priority: high
416
+ - id: TASK-8814
417
+ title: We need to bypass the neural TCP card!
418
+ label: feature
419
+ status: in progress
420
+ priority: low
421
+ - id: TASK-8815
422
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
423
+ label: documentation
424
+ status: done
425
+ priority: medium
426
+ - id: TASK-8816
427
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
428
+ label: bug
429
+ status: canceled
430
+ priority: high
431
+ - id: TASK-8817
432
+ title: Use the digital TLS panel, then you can transmit the haptic system!
433
+ label: feature
434
+ status: backlog
435
+ priority: low
436
+ - id: TASK-8818
437
+ title: The RAM monitor is down, parsing the virtual circuit will help.
438
+ label: documentation
439
+ status: todo
440
+ priority: medium
441
+ - id: TASK-8819
442
+ title: Update the onboarding documentation for team members.
443
+ label: bug
444
+ status: in progress
445
+ priority: high
446
+ - id: TASK-8820
447
+ title: Review project permissions before the next release.
448
+ label: feature
449
+ status: done
450
+ priority: low
451
+ - id: TASK-8821
452
+ title: Make the settings form usable with keyboard navigation.
453
+ label: documentation
454
+ status: canceled
455
+ priority: medium
456
+ - id: TASK-8822
457
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
458
+ label: bug
459
+ status: backlog
460
+ priority: high
461
+ - id: TASK-8823
462
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
463
+ label: feature
464
+ status: todo
465
+ priority: low
466
+ - id: TASK-8824
467
+ title: We need to bypass the neural TCP card!
468
+ label: documentation
469
+ status: in progress
470
+ priority: medium
471
+ - id: TASK-8825
472
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
473
+ label: bug
474
+ status: done
475
+ priority: high
476
+ - id: TASK-8826
477
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
478
+ label: feature
479
+ status: canceled
480
+ priority: low
481
+ - id: TASK-8827
482
+ title: Use the digital TLS panel, then you can transmit the haptic system!
483
+ label: documentation
484
+ status: backlog
485
+ priority: medium
486
+ - id: TASK-8828
487
+ title: The RAM monitor is down, parsing the virtual circuit will help.
488
+ label: bug
489
+ status: todo
490
+ priority: high
491
+ - id: TASK-8829
492
+ title: Update the onboarding documentation for team members.
493
+ label: feature
494
+ status: in progress
495
+ priority: low
496
+ - id: TASK-8830
497
+ title: Review project permissions before the next release.
498
+ label: documentation
499
+ status: done
500
+ priority: medium
501
+ - id: TASK-8831
502
+ title: Make the settings form usable with keyboard navigation.
503
+ label: bug
504
+ status: canceled
505
+ priority: high
506
+ - id: TASK-8832
507
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
508
+ label: feature
509
+ status: backlog
510
+ priority: low
511
+ - id: TASK-8833
512
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
513
+ label: documentation
514
+ status: todo
515
+ priority: medium
516
+ - id: TASK-8834
517
+ title: We need to bypass the neural TCP card!
518
+ label: bug
519
+ status: in progress
520
+ priority: high
521
+ - id: TASK-8835
522
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
523
+ label: feature
524
+ status: done
525
+ priority: low
526
+ - id: TASK-8836
527
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
528
+ label: documentation
529
+ status: canceled
530
+ priority: medium
531
+ - id: TASK-8837
532
+ title: Use the digital TLS panel, then you can transmit the haptic system!
533
+ label: bug
534
+ status: backlog
535
+ priority: high
536
+ - id: TASK-8838
537
+ title: The RAM monitor is down, parsing the virtual circuit will help.
538
+ label: feature
539
+ status: todo
540
+ priority: low
541
+ - id: TASK-8839
542
+ title: Update the onboarding documentation for team members.
543
+ label: documentation
544
+ status: in progress
545
+ priority: medium
546
+ - id: TASK-8840
547
+ title: Review project permissions before the next release.
548
+ label: bug
549
+ status: done
550
+ priority: high
551
+ - id: TASK-8841
552
+ title: Make the settings form usable with keyboard navigation.
553
+ label: feature
554
+ status: canceled
555
+ priority: low
556
+ - id: TASK-8842
557
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
558
+ label: documentation
559
+ status: backlog
560
+ priority: medium
561
+ - id: TASK-8843
562
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
563
+ label: bug
564
+ status: todo
565
+ priority: high
566
+ - id: TASK-8844
567
+ title: We need to bypass the neural TCP card!
568
+ label: feature
569
+ status: in progress
570
+ priority: low
571
+ - id: TASK-8845
572
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
573
+ label: documentation
574
+ status: done
575
+ priority: medium
576
+ - id: TASK-8846
577
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
578
+ label: bug
579
+ status: canceled
580
+ priority: high
581
+ - id: TASK-8847
582
+ title: Use the digital TLS panel, then you can transmit the haptic system!
583
+ label: feature
584
+ status: backlog
585
+ priority: low
586
+ - id: TASK-8848
587
+ title: The RAM monitor is down, parsing the virtual circuit will help.
588
+ label: documentation
589
+ status: todo
590
+ priority: medium
591
+ - id: TASK-8849
592
+ title: Update the onboarding documentation for team members.
593
+ label: bug
594
+ status: in progress
595
+ priority: high
596
+ - id: TASK-8850
597
+ title: Review project permissions before the next release.
598
+ label: feature
599
+ status: done
600
+ priority: low
601
+ - id: TASK-8851
602
+ title: Make the settings form usable with keyboard navigation.
603
+ label: documentation
604
+ status: canceled
605
+ priority: medium
606
+ - id: TASK-8852
607
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
608
+ label: bug
609
+ status: backlog
610
+ priority: high
611
+ - id: TASK-8853
612
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
613
+ label: feature
614
+ status: todo
615
+ priority: low
616
+ - id: TASK-8854
617
+ title: We need to bypass the neural TCP card!
618
+ label: documentation
619
+ status: in progress
620
+ priority: medium
621
+ - id: TASK-8855
622
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
623
+ label: bug
624
+ status: done
625
+ priority: high
626
+ - id: TASK-8856
627
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
628
+ label: feature
629
+ status: canceled
630
+ priority: low
631
+ - id: TASK-8857
632
+ title: Use the digital TLS panel, then you can transmit the haptic system!
633
+ label: documentation
634
+ status: backlog
635
+ priority: medium
636
+ - id: TASK-8858
637
+ title: The RAM monitor is down, parsing the virtual circuit will help.
638
+ label: bug
639
+ status: todo
640
+ priority: high
641
+ - id: TASK-8859
642
+ title: Update the onboarding documentation for team members.
643
+ label: feature
644
+ status: in progress
645
+ priority: low
646
+ - id: TASK-8860
647
+ title: Review project permissions before the next release.
648
+ label: documentation
649
+ status: done
650
+ priority: medium
651
+ - id: TASK-8861
652
+ title: Make the settings form usable with keyboard navigation.
653
+ label: bug
654
+ status: canceled
655
+ priority: high
656
+ - id: TASK-8862
657
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
658
+ label: feature
659
+ status: backlog
660
+ priority: low
661
+ - id: TASK-8863
662
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
663
+ label: documentation
664
+ status: todo
665
+ priority: medium
666
+ - id: TASK-8864
667
+ title: We need to bypass the neural TCP card!
668
+ label: bug
669
+ status: in progress
670
+ priority: high
671
+ - id: TASK-8865
672
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
673
+ label: feature
674
+ status: done
675
+ priority: low
676
+ - id: TASK-8866
677
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
678
+ label: documentation
679
+ status: canceled
680
+ priority: medium
681
+ - id: TASK-8867
682
+ title: Use the digital TLS panel, then you can transmit the haptic system!
683
+ label: bug
684
+ status: backlog
685
+ priority: high
686
+ - id: TASK-8868
687
+ title: The RAM monitor is down, parsing the virtual circuit will help.
688
+ label: feature
689
+ status: todo
690
+ priority: low
691
+ - id: TASK-8869
692
+ title: Update the onboarding documentation for team members.
693
+ label: documentation
694
+ status: in progress
695
+ priority: medium
696
+ - id: TASK-8870
697
+ title: Review project permissions before the next release.
698
+ label: bug
699
+ status: done
700
+ priority: high
701
+ - id: TASK-8871
702
+ title: Make the settings form usable with keyboard navigation.
703
+ label: feature
704
+ status: canceled
705
+ priority: low
706
+ - id: TASK-8872
707
+ title: You can’t compress the program without quantifying the open-source SSD pixel!
708
+ label: documentation
709
+ status: backlog
710
+ priority: medium
711
+ - id: TASK-8873
712
+ title: Try to calculate the EXE feed, maybe it will index the multi-byte pixel!
713
+ label: bug
714
+ status: todo
715
+ priority: high
716
+ - id: TASK-8874
717
+ title: We need to bypass the neural TCP card!
718
+ label: feature
719
+ status: in progress
720
+ priority: low
721
+ - id: TASK-8875
722
+ title: The SAS interface is down, bypass the open-source pixel so we can back up the PNG bandwidth!
723
+ label: documentation
724
+ status: done
725
+ priority: medium
726
+ - id: TASK-8876
727
+ title: I’ll transmit the primary HTTP panel, that should feed the UTF-8 protocol!
728
+ label: bug
729
+ status: canceled
730
+ priority: high
731
+ - id: TASK-8877
732
+ title: Use the digital TLS panel, then you can transmit the haptic system!
733
+ label: feature
734
+ status: backlog
735
+ priority: low
736
+ - id: TASK-8878
737
+ title: The RAM monitor is down, parsing the virtual circuit will help.
738
+ label: documentation
739
+ status: todo
740
+ priority: medium
741
+ - id: TASK-8879
742
+ title: Update the onboarding documentation for team members.
743
+ label: bug
744
+ status: in progress
745
+ priority: high
746
+ - id: TASK-8880
747
+ title: Review project permissions before the next release.
748
+ label: feature
749
+ status: done
750
+ priority: low
751
+ - id: TASK-8881
752
+ title: Make the settings form usable with keyboard navigation.
753
+ label: documentation
754
+ status: canceled
755
+ priority: medium
756
+ editorOpen: false
757
+ deleteOpen: false
758
+ draft: {}
759
+ loading: false
760
+ saving: false
761
+ uiError: null
762
+ tableView: ""
763
+ serverMode: false
764
+ selectedIds: []
765
+ total: null
766
+ hasNextPage: false
767
+ reloadRequested: 0
768
+ pageNotice: ""
769
+ bulkOpen: false
770
+ bulkRequest: null
771
+ bulkSubmit: false
772
+ bulkAction: ""
773
+ bulkStatus: backlog
774
+ bulkSummary: ""
775
+ bulkError: null
776
+ bulkConfirmDisabled: true
777
+ bulkDisabled: true
778
+ bulkUnavailable: Select records with known versions to enable batch actions.
779
+ blocks:
780
+ - type: PageLayout
781
+ children:
782
+ - type: Box
783
+ props:
784
+ className: "!flex-row items-start justify-between gap-4 mb-6"
785
+ children:
786
+ - type: Box
787
+ props:
788
+ gap: xs
789
+ children:
790
+ - type: Heading
791
+ props:
792
+ level: 1
793
+ text: Tasks
794
+ - type: Paragraph
795
+ props:
796
+ text: Sample tasks for triage and prioritization.
797
+ muted: true
798
+ size: sm
799
+ - type: Button
800
+ props:
801
+ label: Create
802
+ variant: default
803
+ events:
804
+ onClick:
805
+ - action: SetState
806
+ params:
807
+ path: draft
808
+ value:
809
+ action: create
810
+ - action: SetState
811
+ params:
812
+ path: uiError
813
+ value: null
814
+ - action: SetState
815
+ params:
816
+ path: editorOpen
817
+ value: true
818
+ - type: Paragraph
819
+ visible:
820
+ _state: serverMode
821
+ props:
822
+ text:
823
+ _state: pageNotice
824
+ muted: true
825
+ size: sm
826
+ - type: DataTable
827
+ props:
828
+ server:
829
+ _state: serverMode
830
+ total:
831
+ _state: total
832
+ hasNextPage:
833
+ _state: hasNextPage
834
+ selectedIds:
835
+ _if:
836
+ - _state: serverMode
837
+ - _state: selectedIds
838
+ - null
839
+ rows:
840
+ _state: rows
841
+ loading:
842
+ _state: loading
843
+ error:
844
+ _state: uiError.message
845
+ columns:
846
+ - key: id
847
+ label: Task
848
+ kind: muted
849
+ - key: title
850
+ label: Title
851
+ kind: text
852
+ badgeKey: label
853
+ - key: status
854
+ label: Status
855
+ kind: badge
856
+ - key: priority
857
+ label: Priority
858
+ kind: text
859
+ filters:
860
+ - key: status
861
+ label: Status
862
+ options:
863
+ - value: backlog
864
+ label: Backlog
865
+ - value: todo
866
+ label: Todo
867
+ - value: in progress
868
+ label: In Progress
869
+ - value: done
870
+ label: Done
871
+ - value: canceled
872
+ label: Canceled
873
+ - key: priority
874
+ label: Priority
875
+ options:
876
+ - value: low
877
+ label: Low
878
+ - value: medium
879
+ label: Medium
880
+ - value: high
881
+ label: High
882
+ searchKeys:
883
+ - id
884
+ - title
885
+ searchPlaceholder: Filter tasks...
886
+ actions:
887
+ - id: edit
888
+ label: Edit
889
+ - id: delete
890
+ label: Delete
891
+ bulkActions:
892
+ _if:
893
+ - _state: serverMode
894
+ - - id: delete
895
+ label: Delete selected
896
+ disabled:
897
+ _state: bulkDisabled
898
+ - id: status
899
+ label: Change status
900
+ disabled:
901
+ _state: bulkDisabled
902
+ - - id: delete
903
+ label: Delete selected
904
+ disabled: true
905
+ view:
906
+ _state: tableView
907
+ minWidth: 950
908
+ events:
909
+ onRowAction:
910
+ - action: SetState
911
+ params:
912
+ path: uiError
913
+ value: null
914
+ - action: SetState
915
+ params:
916
+ path: draft
917
+ value:
918
+ _event: values
919
+ - action: SetState
920
+ params:
921
+ path: editorOpen
922
+ value:
923
+ _eq:
924
+ - _state: draft.action
925
+ - edit
926
+ - action: SetState
927
+ params:
928
+ path: deleteOpen
929
+ value:
930
+ _eq:
931
+ - _state: draft.action
932
+ - delete
933
+ onBulkAction:
934
+ - action: SetState
935
+ params:
936
+ path: bulkRequest
937
+ value:
938
+ _event: values
939
+ onSelectionChange:
940
+ - action: SetState
941
+ params:
942
+ path: selectionEvent
943
+ value:
944
+ _event: values
945
+ - action: SetState
946
+ params:
947
+ path: selectedIds
948
+ value:
949
+ _state: selectionEvent.ids
950
+ onViewChange:
951
+ - action: SetState
952
+ params:
953
+ path: tableView
954
+ value:
955
+ _event: value
956
+ - type: Paragraph
957
+ visible:
958
+ _state: serverMode
959
+ props:
960
+ text:
961
+ _state: bulkUnavailable
962
+ muted: true
963
+ size: sm
964
+ - type: Button
965
+ visible:
966
+ _state: serverMode
967
+ props:
968
+ label: Reload first page
969
+ variant: outline
970
+ disabled:
971
+ _or:
972
+ - _state: loading
973
+ - _state: saving
974
+ events:
975
+ onClick:
976
+ - action: SetState
977
+ params:
978
+ path: reloadRequested
979
+ value:
980
+ _not:
981
+ _state: reloadRequested
982
+ - type: Modal
983
+ props:
984
+ open:
985
+ _state: bulkOpen
986
+ pending:
987
+ _state: saving
988
+ title:
989
+ _if:
990
+ - _eq:
991
+ - _state: bulkAction
992
+ - delete
993
+ - Delete selected records?
994
+ - Change selected status?
995
+ description: Review the selected IDs, versions and change before confirming.
996
+ children:
997
+ - type: Field
998
+ visible:
999
+ _eq:
1000
+ - _state: bulkAction
1001
+ - status
1002
+ props:
1003
+ name: bulkStatus
1004
+ label: New status
1005
+ kind: select
1006
+ value:
1007
+ _bindState: bulkStatus
1008
+ disabled:
1009
+ _state: saving
1010
+ options:
1011
+ - value: backlog
1012
+ label: Backlog
1013
+ - value: todo
1014
+ label: Todo
1015
+ - value: in progress
1016
+ label: In Progress
1017
+ - value: done
1018
+ label: Done
1019
+ - value: canceled
1020
+ label: Canceled
1021
+ - type: Paragraph
1022
+ props:
1023
+ text:
1024
+ _state: bulkSummary
1025
+ className: "whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono text-xs"
1026
+ - type: Paragraph
1027
+ visible:
1028
+ _state: bulkError
1029
+ props:
1030
+ text:
1031
+ _state: bulkError.message
1032
+ className: "text-destructive"
1033
+ - type: Box
1034
+ props:
1035
+ direction: row
1036
+ justify: end
1037
+ children:
1038
+ - type: Button
1039
+ props:
1040
+ label: Cancel
1041
+ variant: outline
1042
+ disabled:
1043
+ _state: saving
1044
+ events:
1045
+ onClick:
1046
+ - action: SetState
1047
+ params:
1048
+ path: bulkOpen
1049
+ value: false
1050
+ - type: Button
1051
+ props:
1052
+ label: Confirm batch
1053
+ disabled:
1054
+ _state: bulkConfirmDisabled
1055
+ events:
1056
+ onClick:
1057
+ - action: SetState
1058
+ params:
1059
+ path: bulkSubmit
1060
+ value:
1061
+ _not:
1062
+ _state: bulkSubmit
1063
+ events:
1064
+ onClose:
1065
+ - action: SetState
1066
+ params:
1067
+ path: bulkOpen
1068
+ value: false
1069
+ - type: Drawer
1070
+ props:
1071
+ open:
1072
+ _state: editorOpen
1073
+ pending:
1074
+ _state: saving
1075
+ title: Create or edit task
1076
+ description: Update the details below. Click save when you’re done.
1077
+ children:
1078
+ - type: Form
1079
+ props:
1080
+ label: Record details
1081
+ pending:
1082
+ _state: saving
1083
+ idempotent: true
1084
+ children:
1085
+ - type: Field
1086
+ props:
1087
+ name: title
1088
+ label: Title
1089
+ kind: text
1090
+ value:
1091
+ _bindState: draft.title
1092
+ required: true
1093
+ - type: Field
1094
+ props:
1095
+ name: label
1096
+ label: Label
1097
+ kind: select
1098
+ value:
1099
+ _bindState: draft.label
1100
+ required: true
1101
+ options:
1102
+ - value: documentation
1103
+ label: Documentation
1104
+ - value: bug
1105
+ label: Bug
1106
+ - value: feature
1107
+ label: Feature
1108
+ - type: Field
1109
+ props:
1110
+ name: status
1111
+ label: Status
1112
+ kind: select
1113
+ value:
1114
+ _bindState: draft.status
1115
+ required: true
1116
+ options:
1117
+ - value: backlog
1118
+ label: Backlog
1119
+ - value: todo
1120
+ label: Todo
1121
+ - value: in progress
1122
+ label: In Progress
1123
+ - value: done
1124
+ label: Done
1125
+ - value: canceled
1126
+ label: Canceled
1127
+ - type: Field
1128
+ props:
1129
+ name: priority
1130
+ label: Priority
1131
+ kind: radio
1132
+ value:
1133
+ _bindState: draft.priority
1134
+ required: true
1135
+ options:
1136
+ - value: low
1137
+ label: Low
1138
+ - value: medium
1139
+ label: Medium
1140
+ - value: high
1141
+ label: High
1142
+ - type: Paragraph
1143
+ props:
1144
+ text:
1145
+ _state: uiError.message
1146
+ muted: true
1147
+ size: sm
1148
+ visible:
1149
+ _state: uiError
1150
+ - type: Form.Submit
1151
+ props:
1152
+ label: Save changes
1153
+ disabled:
1154
+ _state: saving
1155
+ events:
1156
+ onSubmit:
1157
+ - action: Request
1158
+ params:
1159
+ connectionId: tasks-db
1160
+ request:
1161
+ id: mutate-tasks
1162
+ connectionId: tasks-db
1163
+ payload:
1164
+ operation:
1165
+ _if:
1166
+ - _eq:
1167
+ - _state: draft.action
1168
+ - create
1169
+ - InsertOne
1170
+ - UpdateOne
1171
+ filter:
1172
+ id:
1173
+ _state: draft.id
1174
+ data:
1175
+ _event: values
1176
+ idempotencyKey:
1177
+ _event: value
1178
+ expectedVersion:
1179
+ _state: draft.version
1180
+ loadingPath: saving
1181
+ errorPath: uiError
1182
+ onSuccess:
1183
+ - action: SetState
1184
+ params:
1185
+ path: editorOpen
1186
+ value: false
1187
+ - action: SetState
1188
+ params:
1189
+ path: deleteOpen
1190
+ value: false
1191
+ - action: Request
1192
+ params:
1193
+ connectionId: tasks-db
1194
+ request:
1195
+ id: load-tasks
1196
+ connectionId: tasks-db
1197
+ payload:
1198
+ operation: FindAll
1199
+ responsePath: rows
1200
+ loadingPath: loading
1201
+ errorPath: uiError
1202
+ onError:
1203
+ - action: SetState
1204
+ params:
1205
+ path: requestFailed
1206
+ value: true
1207
+ onError:
1208
+ - action: SetState
1209
+ params:
1210
+ path: requestFailed
1211
+ value: true
1212
+ events:
1213
+ onClose:
1214
+ - action: SetState
1215
+ params:
1216
+ path: editorOpen
1217
+ value: false
1218
+ - type: Modal
1219
+ props:
1220
+ open:
1221
+ _state: deleteOpen
1222
+ pending:
1223
+ _state: saving
1224
+ title: Delete this record?
1225
+ description: This action cannot be undone. The record will be permanently removed.
1226
+ children:
1227
+ - type: Paragraph
1228
+ visible:
1229
+ _state: uiError
1230
+ props:
1231
+ text:
1232
+ _state: uiError.message
1233
+ className: "text-destructive"
1234
+ - type: Box
1235
+ props:
1236
+ direction: row
1237
+ justify: end
1238
+ children:
1239
+ - type: Button
1240
+ props:
1241
+ label: Cancel
1242
+ variant: outline
1243
+ disabled:
1244
+ _state: saving
1245
+ events:
1246
+ onClick:
1247
+ - action: SetState
1248
+ params:
1249
+ path: deleteOpen
1250
+ value: false
1251
+ - type: Button
1252
+ props:
1253
+ label: Delete
1254
+ variant: destructive
1255
+ disabled:
1256
+ _state: saving
1257
+ events:
1258
+ onClick:
1259
+ - action: Request
1260
+ params:
1261
+ connectionId: tasks-db
1262
+ request:
1263
+ id: mutate-tasks
1264
+ connectionId: tasks-db
1265
+ payload:
1266
+ operation: DeleteOne
1267
+ filter:
1268
+ id:
1269
+ _state: draft.id
1270
+ expectedVersion:
1271
+ _state: draft.version
1272
+ loadingPath: saving
1273
+ errorPath: uiError
1274
+ onSuccess:
1275
+ - action: SetState
1276
+ params:
1277
+ path: editorOpen
1278
+ value: false
1279
+ - action: SetState
1280
+ params:
1281
+ path: deleteOpen
1282
+ value: false
1283
+ - action: Request
1284
+ params:
1285
+ connectionId: tasks-db
1286
+ request:
1287
+ id: load-tasks
1288
+ connectionId: tasks-db
1289
+ payload:
1290
+ operation: FindAll
1291
+ responsePath: rows
1292
+ loadingPath: loading
1293
+ errorPath: uiError
1294
+ onError:
1295
+ - action: SetState
1296
+ params:
1297
+ path: requestFailed
1298
+ value: true
1299
+ onError:
1300
+ - action: SetState
1301
+ params:
1302
+ path: requestFailed
1303
+ value: true
1304
+ events:
1305
+ onClose:
1306
+ - action: SetState
1307
+ params:
1308
+ path: deleteOpen
1309
+ value: false
1310
+ template: shadcn-admin-shell
1311
+ urlState:
1312
+ tableView:
1313
+ param: view
1314
+ default: ""
1315
+ - id: users
1316
+ lifecycle:
1317
+ onMount:
1318
+ - action: Request
1319
+ params:
1320
+ connectionId: users-db
1321
+ request:
1322
+ id: load-users
1323
+ connectionId: users-db
1324
+ payload:
1325
+ operation: FindAll
1326
+ responsePath: rows
1327
+ loadingPath: loading
1328
+ errorPath: uiError
1329
+ onError:
1330
+ - action: SetState
1331
+ params:
1332
+ path: requestFailed
1333
+ value: true
1334
+ path: /users
1335
+ title: Users
1336
+ state:
1337
+ currentPath: /users
1338
+ rows:
1339
+ - id: user-1
1340
+ username: liam.anderson
1341
+ firstName: Liam
1342
+ lastName: Anderson
1343
+ email: liam.anderson@example.com
1344
+ phoneNumber: +1 (555) 010-0000
1345
+ status: active
1346
+ role: admin
1347
+ - id: user-2
1348
+ username: olivia.baker
1349
+ firstName: Olivia
1350
+ lastName: Baker
1351
+ email: olivia.baker@example.com
1352
+ phoneNumber: +1 (555) 010-0001
1353
+ status: inactive
1354
+ role: manager
1355
+ - id: user-3
1356
+ username: noah.carter
1357
+ firstName: Noah
1358
+ lastName: Carter
1359
+ email: noah.carter@example.com
1360
+ phoneNumber: +1 (555) 010-0002
1361
+ status: invited
1362
+ role: cashier
1363
+ - id: user-4
1364
+ username: emma.davis
1365
+ firstName: Emma
1366
+ lastName: Davis
1367
+ email: emma.davis@example.com
1368
+ phoneNumber: +1 (555) 010-0003
1369
+ status: suspended
1370
+ role: superadmin
1371
+ - id: user-5
1372
+ username: elijah.evans
1373
+ firstName: Elijah
1374
+ lastName: Evans
1375
+ email: elijah.evans@example.com
1376
+ phoneNumber: +1 (555) 010-0004
1377
+ status: active
1378
+ role: admin
1379
+ - id: user-6
1380
+ username: amelia.foster
1381
+ firstName: Amelia
1382
+ lastName: Foster
1383
+ email: amelia.foster@example.com
1384
+ phoneNumber: +1 (555) 010-0005
1385
+ status: inactive
1386
+ role: manager
1387
+ - id: user-7
1388
+ username: james.garcia
1389
+ firstName: James
1390
+ lastName: Garcia
1391
+ email: james.garcia@example.com
1392
+ phoneNumber: +1 (555) 010-0006
1393
+ status: invited
1394
+ role: cashier
1395
+ - id: user-8
1396
+ username: charlotte.harris
1397
+ firstName: Charlotte
1398
+ lastName: Harris
1399
+ email: charlotte.harris@example.com
1400
+ phoneNumber: +1 (555) 010-0007
1401
+ status: suspended
1402
+ role: superadmin
1403
+ - id: user-9
1404
+ username: william.irwin
1405
+ firstName: William
1406
+ lastName: Irwin
1407
+ email: william.irwin@example.com
1408
+ phoneNumber: +1 (555) 010-0008
1409
+ status: active
1410
+ role: admin
1411
+ - id: user-10
1412
+ username: sophia.jones
1413
+ firstName: Sophia
1414
+ lastName: Jones
1415
+ email: sophia.jones@example.com
1416
+ phoneNumber: +1 (555) 010-0009
1417
+ status: inactive
1418
+ role: manager
1419
+ - id: user-11
1420
+ username: benjamin.kim
1421
+ firstName: Benjamin
1422
+ lastName: Kim
1423
+ email: benjamin.kim@example.com
1424
+ phoneNumber: +1 (555) 010-0010
1425
+ status: invited
1426
+ role: cashier
1427
+ - id: user-12
1428
+ username: isabella.lewis
1429
+ firstName: Isabella
1430
+ lastName: Lewis
1431
+ email: isabella.lewis@example.com
1432
+ phoneNumber: +1 (555) 010-0011
1433
+ status: suspended
1434
+ role: superadmin
1435
+ - id: user-13
1436
+ username: liam.anderson
1437
+ firstName: Liam
1438
+ lastName: Anderson
1439
+ email: liam.anderson@example.com
1440
+ phoneNumber: +1 (555) 010-0012
1441
+ status: active
1442
+ role: admin
1443
+ - id: user-14
1444
+ username: olivia.baker
1445
+ firstName: Olivia
1446
+ lastName: Baker
1447
+ email: olivia.baker@example.com
1448
+ phoneNumber: +1 (555) 010-0013
1449
+ status: inactive
1450
+ role: manager
1451
+ - id: user-15
1452
+ username: noah.carter
1453
+ firstName: Noah
1454
+ lastName: Carter
1455
+ email: noah.carter@example.com
1456
+ phoneNumber: +1 (555) 010-0014
1457
+ status: invited
1458
+ role: cashier
1459
+ - id: user-16
1460
+ username: emma.davis
1461
+ firstName: Emma
1462
+ lastName: Davis
1463
+ email: emma.davis@example.com
1464
+ phoneNumber: +1 (555) 010-0015
1465
+ status: suspended
1466
+ role: superadmin
1467
+ - id: user-17
1468
+ username: elijah.evans
1469
+ firstName: Elijah
1470
+ lastName: Evans
1471
+ email: elijah.evans@example.com
1472
+ phoneNumber: +1 (555) 010-0016
1473
+ status: active
1474
+ role: admin
1475
+ - id: user-18
1476
+ username: amelia.foster
1477
+ firstName: Amelia
1478
+ lastName: Foster
1479
+ email: amelia.foster@example.com
1480
+ phoneNumber: +1 (555) 010-0017
1481
+ status: inactive
1482
+ role: manager
1483
+ - id: user-19
1484
+ username: james.garcia
1485
+ firstName: James
1486
+ lastName: Garcia
1487
+ email: james.garcia@example.com
1488
+ phoneNumber: +1 (555) 010-0018
1489
+ status: invited
1490
+ role: cashier
1491
+ - id: user-20
1492
+ username: charlotte.harris
1493
+ firstName: Charlotte
1494
+ lastName: Harris
1495
+ email: charlotte.harris@example.com
1496
+ phoneNumber: +1 (555) 010-0019
1497
+ status: suspended
1498
+ role: superadmin
1499
+ - id: user-21
1500
+ username: william.irwin
1501
+ firstName: William
1502
+ lastName: Irwin
1503
+ email: william.irwin@example.com
1504
+ phoneNumber: +1 (555) 010-0020
1505
+ status: active
1506
+ role: admin
1507
+ - id: user-22
1508
+ username: sophia.jones
1509
+ firstName: Sophia
1510
+ lastName: Jones
1511
+ email: sophia.jones@example.com
1512
+ phoneNumber: +1 (555) 010-0021
1513
+ status: inactive
1514
+ role: manager
1515
+ - id: user-23
1516
+ username: benjamin.kim
1517
+ firstName: Benjamin
1518
+ lastName: Kim
1519
+ email: benjamin.kim@example.com
1520
+ phoneNumber: +1 (555) 010-0022
1521
+ status: invited
1522
+ role: cashier
1523
+ - id: user-24
1524
+ username: isabella.lewis
1525
+ firstName: Isabella
1526
+ lastName: Lewis
1527
+ email: isabella.lewis@example.com
1528
+ phoneNumber: +1 (555) 010-0023
1529
+ status: suspended
1530
+ role: superadmin
1531
+ - id: user-25
1532
+ username: liam.anderson
1533
+ firstName: Liam
1534
+ lastName: Anderson
1535
+ email: liam.anderson@example.com
1536
+ phoneNumber: +1 (555) 010-0024
1537
+ status: active
1538
+ role: admin
1539
+ - id: user-26
1540
+ username: olivia.baker
1541
+ firstName: Olivia
1542
+ lastName: Baker
1543
+ email: olivia.baker@example.com
1544
+ phoneNumber: +1 (555) 010-0025
1545
+ status: inactive
1546
+ role: manager
1547
+ - id: user-27
1548
+ username: noah.carter
1549
+ firstName: Noah
1550
+ lastName: Carter
1551
+ email: noah.carter@example.com
1552
+ phoneNumber: +1 (555) 010-0026
1553
+ status: invited
1554
+ role: cashier
1555
+ - id: user-28
1556
+ username: emma.davis
1557
+ firstName: Emma
1558
+ lastName: Davis
1559
+ email: emma.davis@example.com
1560
+ phoneNumber: +1 (555) 010-0027
1561
+ status: suspended
1562
+ role: superadmin
1563
+ - id: user-29
1564
+ username: elijah.evans
1565
+ firstName: Elijah
1566
+ lastName: Evans
1567
+ email: elijah.evans@example.com
1568
+ phoneNumber: +1 (555) 010-0028
1569
+ status: active
1570
+ role: admin
1571
+ - id: user-30
1572
+ username: amelia.foster
1573
+ firstName: Amelia
1574
+ lastName: Foster
1575
+ email: amelia.foster@example.com
1576
+ phoneNumber: +1 (555) 010-0029
1577
+ status: inactive
1578
+ role: manager
1579
+ - id: user-31
1580
+ username: james.garcia
1581
+ firstName: James
1582
+ lastName: Garcia
1583
+ email: james.garcia@example.com
1584
+ phoneNumber: +1 (555) 010-0030
1585
+ status: invited
1586
+ role: cashier
1587
+ - id: user-32
1588
+ username: charlotte.harris
1589
+ firstName: Charlotte
1590
+ lastName: Harris
1591
+ email: charlotte.harris@example.com
1592
+ phoneNumber: +1 (555) 010-0031
1593
+ status: suspended
1594
+ role: superadmin
1595
+ - id: user-33
1596
+ username: william.irwin
1597
+ firstName: William
1598
+ lastName: Irwin
1599
+ email: william.irwin@example.com
1600
+ phoneNumber: +1 (555) 010-0032
1601
+ status: active
1602
+ role: admin
1603
+ - id: user-34
1604
+ username: sophia.jones
1605
+ firstName: Sophia
1606
+ lastName: Jones
1607
+ email: sophia.jones@example.com
1608
+ phoneNumber: +1 (555) 010-0033
1609
+ status: inactive
1610
+ role: manager
1611
+ - id: user-35
1612
+ username: benjamin.kim
1613
+ firstName: Benjamin
1614
+ lastName: Kim
1615
+ email: benjamin.kim@example.com
1616
+ phoneNumber: +1 (555) 010-0034
1617
+ status: invited
1618
+ role: cashier
1619
+ - id: user-36
1620
+ username: isabella.lewis
1621
+ firstName: Isabella
1622
+ lastName: Lewis
1623
+ email: isabella.lewis@example.com
1624
+ phoneNumber: +1 (555) 010-0035
1625
+ status: suspended
1626
+ role: superadmin
1627
+ editorOpen: false
1628
+ deleteOpen: false
1629
+ draft: {}
1630
+ loading: false
1631
+ saving: false
1632
+ uiError: null
1633
+ tableView: ""
1634
+ serverMode: false
1635
+ selectedIds: []
1636
+ total: null
1637
+ hasNextPage: false
1638
+ reloadRequested: 0
1639
+ pageNotice: ""
1640
+ bulkOpen: false
1641
+ bulkRequest: null
1642
+ bulkSubmit: false
1643
+ bulkAction: ""
1644
+ bulkStatus: active
1645
+ bulkSummary: ""
1646
+ bulkError: null
1647
+ bulkConfirmDisabled: true
1648
+ bulkDisabled: true
1649
+ bulkUnavailable: Select records with known versions to enable batch actions.
1650
+ blocks:
1651
+ - type: PageLayout
1652
+ children:
1653
+ - type: Box
1654
+ props:
1655
+ className: "!flex-row items-start justify-between gap-4 mb-6"
1656
+ children:
1657
+ - type: Box
1658
+ props:
1659
+ gap: xs
1660
+ children:
1661
+ - type: Heading
1662
+ props:
1663
+ level: 1
1664
+ text: Users
1665
+ - type: Paragraph
1666
+ props:
1667
+ text: Manage your users and their roles here.
1668
+ muted: true
1669
+ size: sm
1670
+ - type: Button
1671
+ props:
1672
+ label: Add User
1673
+ variant: default
1674
+ events:
1675
+ onClick:
1676
+ - action: SetState
1677
+ params:
1678
+ path: draft
1679
+ value:
1680
+ action: create
1681
+ - action: SetState
1682
+ params:
1683
+ path: uiError
1684
+ value: null
1685
+ - action: SetState
1686
+ params:
1687
+ path: editorOpen
1688
+ value: true
1689
+ - type: Paragraph
1690
+ visible:
1691
+ _state: serverMode
1692
+ props:
1693
+ text:
1694
+ _state: pageNotice
1695
+ muted: true
1696
+ size: sm
1697
+ - type: DataTable
1698
+ props:
1699
+ server:
1700
+ _state: serverMode
1701
+ total:
1702
+ _state: total
1703
+ hasNextPage:
1704
+ _state: hasNextPage
1705
+ selectedIds:
1706
+ _if:
1707
+ - _state: serverMode
1708
+ - _state: selectedIds
1709
+ - null
1710
+ rows:
1711
+ _state: rows
1712
+ loading:
1713
+ _state: loading
1714
+ error:
1715
+ _state: uiError.message
1716
+ columns:
1717
+ - key: username
1718
+ label: Username
1719
+ kind: muted
1720
+ - key: firstName
1721
+ displayKeys: [firstName, lastName]
1722
+ label: Name
1723
+ kind: text
1724
+ - key: email
1725
+ label: Email
1726
+ kind: muted
1727
+ - key: phoneNumber
1728
+ label: Phone Number
1729
+ kind: muted
1730
+ - key: status
1731
+ label: Status
1732
+ kind: badge
1733
+ - key: role
1734
+ label: Role
1735
+ kind: text
1736
+ filters:
1737
+ - key: status
1738
+ label: Status
1739
+ options:
1740
+ - value: active
1741
+ label: Active
1742
+ - value: inactive
1743
+ label: Inactive
1744
+ - value: invited
1745
+ label: Invited
1746
+ - value: suspended
1747
+ label: Suspended
1748
+ - key: role
1749
+ label: Role
1750
+ options:
1751
+ - value: admin
1752
+ label: Admin
1753
+ - value: manager
1754
+ label: Manager
1755
+ - value: cashier
1756
+ label: Cashier
1757
+ - value: superadmin
1758
+ label: Superadmin
1759
+ searchKeys:
1760
+ - username
1761
+ - firstName
1762
+ - lastName
1763
+ - email
1764
+ searchPlaceholder: Filter users...
1765
+ actions:
1766
+ - id: edit
1767
+ label: Edit
1768
+ - id: delete
1769
+ label: Delete
1770
+ bulkActions:
1771
+ _if:
1772
+ - _state: serverMode
1773
+ - - id: delete
1774
+ label: Delete selected
1775
+ disabled:
1776
+ _state: bulkDisabled
1777
+ - id: status
1778
+ label: Change status
1779
+ disabled:
1780
+ _state: bulkDisabled
1781
+ - - id: delete
1782
+ label: Delete selected
1783
+ disabled: true
1784
+ view:
1785
+ _state: tableView
1786
+ minWidth: 950
1787
+ events:
1788
+ onRowAction:
1789
+ - action: SetState
1790
+ params:
1791
+ path: uiError
1792
+ value: null
1793
+ - action: SetState
1794
+ params:
1795
+ path: draft
1796
+ value:
1797
+ _event: values
1798
+ - action: SetState
1799
+ params:
1800
+ path: editorOpen
1801
+ value:
1802
+ _eq:
1803
+ - _state: draft.action
1804
+ - edit
1805
+ - action: SetState
1806
+ params:
1807
+ path: deleteOpen
1808
+ value:
1809
+ _eq:
1810
+ - _state: draft.action
1811
+ - delete
1812
+ onBulkAction:
1813
+ - action: SetState
1814
+ params:
1815
+ path: bulkRequest
1816
+ value:
1817
+ _event: values
1818
+ onSelectionChange:
1819
+ - action: SetState
1820
+ params:
1821
+ path: selectionEvent
1822
+ value:
1823
+ _event: values
1824
+ - action: SetState
1825
+ params:
1826
+ path: selectedIds
1827
+ value:
1828
+ _state: selectionEvent.ids
1829
+ onViewChange:
1830
+ - action: SetState
1831
+ params:
1832
+ path: tableView
1833
+ value:
1834
+ _event: value
1835
+ - type: Paragraph
1836
+ visible:
1837
+ _state: serverMode
1838
+ props:
1839
+ text:
1840
+ _state: bulkUnavailable
1841
+ muted: true
1842
+ size: sm
1843
+ - type: Button
1844
+ visible:
1845
+ _state: serverMode
1846
+ props:
1847
+ label: Reload first page
1848
+ variant: outline
1849
+ disabled:
1850
+ _or:
1851
+ - _state: loading
1852
+ - _state: saving
1853
+ events:
1854
+ onClick:
1855
+ - action: SetState
1856
+ params:
1857
+ path: reloadRequested
1858
+ value:
1859
+ _not:
1860
+ _state: reloadRequested
1861
+ - type: Modal
1862
+ props:
1863
+ open:
1864
+ _state: bulkOpen
1865
+ pending:
1866
+ _state: saving
1867
+ title:
1868
+ _if:
1869
+ - _eq:
1870
+ - _state: bulkAction
1871
+ - delete
1872
+ - Delete selected records?
1873
+ - Change selected status?
1874
+ description: Review the selected IDs, versions and change before confirming.
1875
+ children:
1876
+ - type: Field
1877
+ visible:
1878
+ _eq:
1879
+ - _state: bulkAction
1880
+ - status
1881
+ props:
1882
+ name: bulkStatus
1883
+ label: New status
1884
+ kind: select
1885
+ value:
1886
+ _bindState: bulkStatus
1887
+ disabled:
1888
+ _state: saving
1889
+ options:
1890
+ - value: active
1891
+ label: Active
1892
+ - value: inactive
1893
+ label: Inactive
1894
+ - value: invited
1895
+ label: Invited
1896
+ - value: suspended
1897
+ label: Suspended
1898
+ - type: Paragraph
1899
+ props:
1900
+ text:
1901
+ _state: bulkSummary
1902
+ className: "whitespace-pre-wrap break-all max-h-48 overflow-auto font-mono text-xs"
1903
+ - type: Paragraph
1904
+ visible:
1905
+ _state: bulkError
1906
+ props:
1907
+ text:
1908
+ _state: bulkError.message
1909
+ className: "text-destructive"
1910
+ - type: Box
1911
+ props:
1912
+ direction: row
1913
+ justify: end
1914
+ children:
1915
+ - type: Button
1916
+ props:
1917
+ label: Cancel
1918
+ variant: outline
1919
+ disabled:
1920
+ _state: saving
1921
+ events:
1922
+ onClick:
1923
+ - action: SetState
1924
+ params:
1925
+ path: bulkOpen
1926
+ value: false
1927
+ - type: Button
1928
+ props:
1929
+ label: Confirm batch
1930
+ disabled:
1931
+ _state: bulkConfirmDisabled
1932
+ events:
1933
+ onClick:
1934
+ - action: SetState
1935
+ params:
1936
+ path: bulkSubmit
1937
+ value:
1938
+ _not:
1939
+ _state: bulkSubmit
1940
+ events:
1941
+ onClose:
1942
+ - action: SetState
1943
+ params:
1944
+ path: bulkOpen
1945
+ value: false
1946
+ - type: Drawer
1947
+ props:
1948
+ open:
1949
+ _state: editorOpen
1950
+ pending:
1951
+ _state: saving
1952
+ title: Create or edit user
1953
+ description: Update the details below. Click save when you’re done.
1954
+ children:
1955
+ - type: Form
1956
+ props:
1957
+ label: Record details
1958
+ pending:
1959
+ _state: saving
1960
+ idempotent: true
1961
+ children:
1962
+ - type: Field
1963
+ props:
1964
+ name: username
1965
+ label: Username
1966
+ kind: text
1967
+ value:
1968
+ _bindState: draft.username
1969
+ required: true
1970
+ - type: Field
1971
+ props:
1972
+ name: firstName
1973
+ label: First name
1974
+ kind: text
1975
+ value:
1976
+ _bindState: draft.firstName
1977
+ required: true
1978
+ - type: Field
1979
+ props:
1980
+ name: lastName
1981
+ label: Last name
1982
+ kind: text
1983
+ value:
1984
+ _bindState: draft.lastName
1985
+ required: true
1986
+ - type: Field
1987
+ props:
1988
+ name: email
1989
+ label: Email
1990
+ kind: email
1991
+ value:
1992
+ _bindState: draft.email
1993
+ required: true
1994
+ - type: Field
1995
+ props:
1996
+ name: phoneNumber
1997
+ label: Phone Number
1998
+ kind: text
1999
+ value:
2000
+ _bindState: draft.phoneNumber
2001
+ required: true
2002
+ - type: Field
2003
+ props:
2004
+ name: status
2005
+ label: Status
2006
+ kind: select
2007
+ value:
2008
+ _bindState: draft.status
2009
+ required: true
2010
+ options:
2011
+ - value: active
2012
+ label: Active
2013
+ - value: inactive
2014
+ label: Inactive
2015
+ - value: invited
2016
+ label: Invited
2017
+ - value: suspended
2018
+ label: Suspended
2019
+ - type: Field
2020
+ props:
2021
+ name: role
2022
+ label: Role
2023
+ kind: select
2024
+ value:
2025
+ _bindState: draft.role
2026
+ required: true
2027
+ options:
2028
+ - value: admin
2029
+ label: Admin
2030
+ - value: manager
2031
+ label: Manager
2032
+ - value: cashier
2033
+ label: Cashier
2034
+ - value: superadmin
2035
+ label: Superadmin
2036
+ - type: Paragraph
2037
+ props:
2038
+ text:
2039
+ _state: uiError.message
2040
+ muted: true
2041
+ size: sm
2042
+ visible:
2043
+ _state: uiError
2044
+ - type: Form.Submit
2045
+ props:
2046
+ label: Save changes
2047
+ disabled:
2048
+ _state: saving
2049
+ events:
2050
+ onSubmit:
2051
+ - action: Request
2052
+ params:
2053
+ connectionId: users-db
2054
+ request:
2055
+ id: mutate-users
2056
+ connectionId: users-db
2057
+ payload:
2058
+ operation:
2059
+ _if:
2060
+ - _eq:
2061
+ - _state: draft.action
2062
+ - create
2063
+ - InsertOne
2064
+ - UpdateOne
2065
+ filter:
2066
+ id:
2067
+ _state: draft.id
2068
+ data:
2069
+ _event: values
2070
+ idempotencyKey:
2071
+ _event: value
2072
+ expectedVersion:
2073
+ _state: draft.version
2074
+ loadingPath: saving
2075
+ errorPath: uiError
2076
+ onSuccess:
2077
+ - action: SetState
2078
+ params:
2079
+ path: editorOpen
2080
+ value: false
2081
+ - action: SetState
2082
+ params:
2083
+ path: deleteOpen
2084
+ value: false
2085
+ - action: Request
2086
+ params:
2087
+ connectionId: users-db
2088
+ request:
2089
+ id: load-users
2090
+ connectionId: users-db
2091
+ payload:
2092
+ operation: FindAll
2093
+ responsePath: rows
2094
+ loadingPath: loading
2095
+ errorPath: uiError
2096
+ onError:
2097
+ - action: SetState
2098
+ params:
2099
+ path: requestFailed
2100
+ value: true
2101
+ onError:
2102
+ - action: SetState
2103
+ params:
2104
+ path: requestFailed
2105
+ value: true
2106
+ events:
2107
+ onClose:
2108
+ - action: SetState
2109
+ params:
2110
+ path: editorOpen
2111
+ value: false
2112
+ - type: Modal
2113
+ props:
2114
+ open:
2115
+ _state: deleteOpen
2116
+ pending:
2117
+ _state: saving
2118
+ title: Delete this record?
2119
+ description: This action cannot be undone. The record will be permanently removed.
2120
+ children:
2121
+ - type: Paragraph
2122
+ visible:
2123
+ _state: uiError
2124
+ props:
2125
+ text:
2126
+ _state: uiError.message
2127
+ className: "text-destructive"
2128
+ - type: Box
2129
+ props:
2130
+ direction: row
2131
+ justify: end
2132
+ children:
2133
+ - type: Button
2134
+ props:
2135
+ label: Cancel
2136
+ variant: outline
2137
+ disabled:
2138
+ _state: saving
2139
+ events:
2140
+ onClick:
2141
+ - action: SetState
2142
+ params:
2143
+ path: deleteOpen
2144
+ value: false
2145
+ - type: Button
2146
+ props:
2147
+ label: Delete
2148
+ variant: destructive
2149
+ disabled:
2150
+ _state: saving
2151
+ events:
2152
+ onClick:
2153
+ - action: Request
2154
+ params:
2155
+ connectionId: users-db
2156
+ request:
2157
+ id: mutate-users
2158
+ connectionId: users-db
2159
+ payload:
2160
+ operation: DeleteOne
2161
+ filter:
2162
+ id:
2163
+ _state: draft.id
2164
+ expectedVersion:
2165
+ _state: draft.version
2166
+ loadingPath: saving
2167
+ errorPath: uiError
2168
+ onSuccess:
2169
+ - action: SetState
2170
+ params:
2171
+ path: editorOpen
2172
+ value: false
2173
+ - action: SetState
2174
+ params:
2175
+ path: deleteOpen
2176
+ value: false
2177
+ - action: Request
2178
+ params:
2179
+ connectionId: users-db
2180
+ request:
2181
+ id: load-users
2182
+ connectionId: users-db
2183
+ payload:
2184
+ operation: FindAll
2185
+ responsePath: rows
2186
+ loadingPath: loading
2187
+ errorPath: uiError
2188
+ onError:
2189
+ - action: SetState
2190
+ params:
2191
+ path: requestFailed
2192
+ value: true
2193
+ onError:
2194
+ - action: SetState
2195
+ params:
2196
+ path: requestFailed
2197
+ value: true
2198
+ events:
2199
+ onClose:
2200
+ - action: SetState
2201
+ params:
2202
+ path: deleteOpen
2203
+ value: false
2204
+ template: shadcn-admin-shell
2205
+ urlState:
2206
+ tableView:
2207
+ param: view
2208
+ default: ""
2209
+ - id: apps
2210
+ path: /apps
2211
+ title: Apps
2212
+ state:
2213
+ currentPath: /apps
2214
+ integrationSettings: []
2215
+ editorOpen: false
2216
+ draft: {}
2217
+ saving: false
2218
+ uiError: null
2219
+ blocks:
2220
+ - type: PageLayout
2221
+ children:
2222
+ - type: Box
2223
+ props:
2224
+ className: "!flex-row items-start justify-between gap-4 mb-6"
2225
+ children:
2226
+ - type: Box
2227
+ props:
2228
+ gap: xs
2229
+ children:
2230
+ - type: Heading
2231
+ props:
2232
+ level: 1
2233
+ text: App Integrations
2234
+ - type: Paragraph
2235
+ props:
2236
+ text: Here’s a list of your apps for the integration!
2237
+ muted: true
2238
+ size: sm
2239
+ - type: IntegrationGrid
2240
+ props:
2241
+ items:
2242
+ - id: telegram
2243
+ brand: telegram
2244
+ name: Telegram
2245
+ description: Connect with Telegram for real-time communication.
2246
+ icon: boxes
2247
+ available: false
2248
+ connected: false
2249
+ - id: notion
2250
+ brand: notion
2251
+ name: Notion
2252
+ description: Sync Notion pages for collaboration.
2253
+ icon: boxes
2254
+ available: false
2255
+ connected: false
2256
+ - id: figma
2257
+ brand: figma
2258
+ name: Figma
2259
+ description: View and collaborate on Figma designs in one place.
2260
+ icon: boxes
2261
+ available: false
2262
+ connected: false
2263
+ - id: trello
2264
+ brand: trello
2265
+ name: Trello
2266
+ description: Sync Trello cards for project management.
2267
+ icon: boxes
2268
+ available: false
2269
+ connected: false
2270
+ - id: slack
2271
+ brand: slack
2272
+ name: Slack
2273
+ description: Integrate Slack for team communication.
2274
+ icon: boxes
2275
+ available: false
2276
+ connected: false
2277
+ - id: zoom
2278
+ brand: zoom
2279
+ name: Zoom
2280
+ description: Host Zoom meetings from your dashboard.
2281
+ icon: boxes
2282
+ available: false
2283
+ connected: false
2284
+ - id: stripe
2285
+ brand: stripe
2286
+ name: Stripe
2287
+ description: Manage Stripe transactions and payments.
2288
+ icon: boxes
2289
+ available: false
2290
+ connected: false
2291
+ - id: gmail
2292
+ brand: gmail
2293
+ name: Gmail
2294
+ description: Access and manage Gmail messages.
2295
+ icon: boxes
2296
+ available: false
2297
+ connected: false
2298
+ - id: medium
2299
+ brand: medium
2300
+ name: Medium
2301
+ description: Explore and share Medium stories.
2302
+ icon: boxes
2303
+ available: false
2304
+ connected: false
2305
+ - id: skype
2306
+ brand: skype
2307
+ name: Skype
2308
+ description: Connect with Skype contacts.
2309
+ icon: boxes
2310
+ available: false
2311
+ connected: false
2312
+ - id: docker
2313
+ brand: docker
2314
+ name: Docker
2315
+ description: Manage Docker containers.
2316
+ icon: boxes
2317
+ available: false
2318
+ connected: false
2319
+ - id: github
2320
+ brand: github
2321
+ name: GitHub
2322
+ description: Connect your repositories and issues.
2323
+ icon: boxes
2324
+ available: false
2325
+ connected: false
2326
+ - id: gitlab
2327
+ brand: gitlab
2328
+ name: GitLab
2329
+ description: Coordinate projects with GitLab.
2330
+ icon: boxes
2331
+ available: false
2332
+ connected: false
2333
+ - id: discord
2334
+ brand: discord
2335
+ name: Discord
2336
+ description: Connect with your Discord community.
2337
+ icon: boxes
2338
+ available: false
2339
+ connected: false
2340
+ - id: whatsapp
2341
+ brand: whatsapp
2342
+ name: WhatsApp
2343
+ description: Keep in touch with your contacts.
2344
+ icon: boxes
2345
+ available: false
2346
+ connected: false
2347
+ configurable: true
2348
+ configurations:
2349
+ _state: integrationSettings
2350
+ pending:
2351
+ _state: saving
2352
+ error:
2353
+ _state: uiError.message
2354
+ events:
2355
+ onConfigure:
2356
+ - action: SetState
2357
+ params:
2358
+ path: draft
2359
+ value:
2360
+ _event: values
2361
+ - action: SetState
2362
+ params:
2363
+ path: uiError
2364
+ value: null
2365
+ - action: SetState
2366
+ params:
2367
+ path: editorOpen
2368
+ value: true
2369
+ - type: Drawer
2370
+ props:
2371
+ title: Integration preferences
2372
+ description: Save workspace configuration. External provider authorization remains unavailable.
2373
+ open:
2374
+ _state: editorOpen
2375
+ pending:
2376
+ _state: saving
2377
+ events:
2378
+ onClose:
2379
+ - action: SetState
2380
+ params:
2381
+ path: editorOpen
2382
+ value: false
2383
+ children:
2384
+ - type: Form
2385
+ props:
2386
+ label: Integration preferences
2387
+ pending:
2388
+ _state: saving
2389
+ idempotent: true
2390
+ children:
2391
+ - type: Field
2392
+ props:
2393
+ name: enabled
2394
+ label: Enable in workspace
2395
+ kind: switch
2396
+ value:
2397
+ _bindState: draft.enabled
2398
+ - type: Field
2399
+ props:
2400
+ name: label
2401
+ label: Display label
2402
+ kind: text
2403
+ value:
2404
+ _bindState: draft.label
2405
+ - type: Field
2406
+ props:
2407
+ name: channel
2408
+ label: Channel
2409
+ kind: text
2410
+ value:
2411
+ _bindState: draft.channel
2412
+ - type: Paragraph
2413
+ props:
2414
+ text:
2415
+ _state: uiError.message
2416
+ visible:
2417
+ _state: uiError
2418
+ - type: Form.Submit
2419
+ props:
2420
+ label: Save preferences
2421
+ disabled:
2422
+ _state: saving
2423
+ events:
2424
+ onSubmit:
2425
+ - action: SetState
2426
+ params:
2427
+ path: submitted
2428
+ value:
2429
+ _event: values
2430
+ - action: Request
2431
+ params:
2432
+ connectionId: integrations-db
2433
+ request:
2434
+ id: save-integration
2435
+ connectionId: integrations-db
2436
+ payload:
2437
+ operation:
2438
+ _if:
2439
+ - _state: draft.id
2440
+ - UpdateOne
2441
+ - InsertOne
2442
+ filter:
2443
+ id:
2444
+ _state: draft.id
2445
+ expectedVersion:
2446
+ _state: draft.version
2447
+ idempotencyKey:
2448
+ _event: value
2449
+ data:
2450
+ provider:
2451
+ _state: draft.provider
2452
+ enabled:
2453
+ _state: submitted.enabled
2454
+ config:
2455
+ label:
2456
+ _state: submitted.label
2457
+ channel:
2458
+ _state: submitted.channel
2459
+ loadingPath: saving
2460
+ errorPath: uiError
2461
+ onSuccess:
2462
+ - &a2
2463
+ action: Request
2464
+ params:
2465
+ connectionId: integrations-db
2466
+ request:
2467
+ id: load-integrations
2468
+ connectionId: integrations-db
2469
+ payload:
2470
+ operation: FindAll
2471
+ responsePath: integrationSettings
2472
+ loadingPath: loading
2473
+ errorPath: uiError
2474
+ onError: &a1
2475
+ - action: SetState
2476
+ params:
2477
+ path: requestFailed
2478
+ value: true
2479
+ - action: SetState
2480
+ params:
2481
+ path: editorOpen
2482
+ value: false
2483
+ onError: *a1
2484
+ template: shadcn-admin-shell
2485
+ lifecycle:
2486
+ onMount:
2487
+ - *a2
2488
+ - id: chats
2489
+ path: /chats
2490
+ title: Chats
2491
+ state:
2492
+ currentPath: /chats
2493
+ conversations:
2494
+ - id: conversation-0
2495
+ name: Alex Johnson
2496
+ initials: AJ
2497
+ preview: Hey, how’s it going?
2498
+ - id: conversation-1
2499
+ name: Sarah Wilson
2500
+ initials: SW
2501
+ preview: Did you see the new design?
2502
+ - id: conversation-2
2503
+ name: Michael Brown
2504
+ initials: MB
2505
+ preview: Thanks for your help!
2506
+ - id: conversation-3
2507
+ name: Emily Davis
2508
+ initials: ED
2509
+ preview: Let’s catch up tomorrow.
2510
+ - id: conversation-4
2511
+ name: David Miller
2512
+ initials: DM
2513
+ preview: The update looks great.
2514
+ - id: conversation-5
2515
+ name: Jessica Garcia
2516
+ initials: JG
2517
+ preview: Can you review my pull request?
2518
+ messages:
2519
+ - id: m1
2520
+ conversationId: conversation-0
2521
+ text: Hey, how’s it going?
2522
+ time: 10:30 AM
2523
+ own: false
2524
+ - id: m2
2525
+ conversationId: conversation-0
2526
+ text: Pretty good! Working on the dashboard.
2527
+ time: 10:31 AM
2528
+ own: true
2529
+ draft: ""
2530
+ selectedId: ""
2531
+ sending: false
2532
+ uiError: null
2533
+ blocks:
2534
+ - type: PageLayout
2535
+ children:
2536
+ - type: ChatPanel
2537
+ props:
2538
+ conversations:
2539
+ _state: conversations
2540
+ messages:
2541
+ _state: messages
2542
+ selectedId:
2543
+ _state: selectedId
2544
+ draft:
2545
+ _state: draft
2546
+ pending:
2547
+ _state: sending
2548
+ error:
2549
+ _state: uiError.message
2550
+ canSend: true
2551
+ currentUserId:
2552
+ _state: currentUserId
2553
+ events:
2554
+ onSelect:
2555
+ - action: SetState
2556
+ params:
2557
+ path: selectedId
2558
+ value:
2559
+ _event: value
2560
+ onDraftChange:
2561
+ - action: SetState
2562
+ params:
2563
+ path: draft
2564
+ value:
2565
+ _event: value
2566
+ onSend:
2567
+ - action: SetState
2568
+ params:
2569
+ path: messageSubmission
2570
+ value:
2571
+ _event: values
2572
+ - action: Request
2573
+ params:
2574
+ connectionId: messages-db
2575
+ request:
2576
+ id: send-message
2577
+ connectionId: messages-db
2578
+ payload:
2579
+ operation: InsertOne
2580
+ data:
2581
+ conversationId:
2582
+ _state: messageSubmission.conversationId
2583
+ text:
2584
+ _state: messageSubmission.text
2585
+ idempotencyKey:
2586
+ _state: messageSubmission.requestId
2587
+ loadingPath: sending
2588
+ errorPath: uiError
2589
+ onSuccess:
2590
+ - action: Request
2591
+ params:
2592
+ connectionId: messages-db
2593
+ request:
2594
+ id: load-messages
2595
+ connectionId: messages-db
2596
+ payload:
2597
+ operation: FindAll
2598
+ responsePath: messages
2599
+ errorPath: uiError
2600
+ onError: &a3
2601
+ - action: SetState
2602
+ params:
2603
+ path: requestFailed
2604
+ value: true
2605
+ - action: SetState
2606
+ params:
2607
+ path: draft
2608
+ value: ""
2609
+ onError: *a3
2610
+ - type: Paragraph
2611
+ props:
2612
+ text: Workspace messages are stored here. External delivery is not configured.
2613
+ muted: true
2614
+ size: sm
2615
+ template: shadcn-admin-shell
2616
+ lifecycle:
2617
+ onMount:
2618
+ - action: Request
2619
+ params:
2620
+ connectionId: conversations-db
2621
+ request:
2622
+ id: load-conversations
2623
+ connectionId: conversations-db
2624
+ payload:
2625
+ operation: FindAll
2626
+ responsePath: conversations
2627
+ errorPath: uiError
2628
+ onError: *a3
2629
+ - action: Request
2630
+ params:
2631
+ connectionId: messages-db
2632
+ request:
2633
+ id: load-messages
2634
+ connectionId: messages-db
2635
+ payload:
2636
+ operation: FindAll
2637
+ responsePath: messages
2638
+ errorPath: uiError
2639
+ onError: *a3
2640
+ - id: settings-profile
2641
+ path: /settings/profile
2642
+ title: Settings · Profile
2643
+ state:
2644
+ currentPath: /settings/profile
2645
+ saving: false
2646
+ uiError: null
2647
+ saved: false
2648
+ form:
2649
+ username: shadcn
2650
+ email: m@example.com
2651
+ bio: I own a computer.
2652
+ urls:
2653
+ - https://shadcn.com
2654
+ preferences: []
2655
+ blocks:
2656
+ - type: PageLayout
2657
+ children:
2658
+ - type: Box
2659
+ props:
2660
+ className: "!flex-row items-start justify-between gap-4 mb-6"
2661
+ children:
2662
+ - type: Box
2663
+ props:
2664
+ gap: xs
2665
+ children:
2666
+ - type: Heading
2667
+ props:
2668
+ level: 1
2669
+ text: Settings
2670
+ - type: Paragraph
2671
+ props:
2672
+ text: Manage your account settings and set e-mail preferences.
2673
+ muted: true
2674
+ size: sm
2675
+ - type: Divider
2676
+ - type: Box
2677
+ props:
2678
+ className: "!flex-col gap-10 lg:!flex-row"
2679
+ children:
2680
+ - type: Box
2681
+ props:
2682
+ className: "w-full shrink-0 lg:!flex-col lg:w-48 [&>a]:shrink-0 [&>a]:px-3 [&>a]:py-2 [&>a]:rounded-md lg:[&>a]:px-0 lg:[&>a]:py-0"
2683
+ direction: row
2684
+ wrap: true
2685
+ gap: md
2686
+ children:
2687
+ - type: Link
2688
+ props:
2689
+ label: Profile
2690
+ href: /settings/profile
2691
+ variant: default
2692
+ className: "bg-muted font-medium lg:bg-transparent"
2693
+ - type: Link
2694
+ props:
2695
+ label: Account
2696
+ href: /settings/account
2697
+ variant: muted
2698
+ - type: Link
2699
+ props:
2700
+ label: Appearance
2701
+ href: /settings/appearance
2702
+ variant: muted
2703
+ - type: Link
2704
+ props:
2705
+ label: Notifications
2706
+ href: /settings/notifications
2707
+ variant: muted
2708
+ - type: Link
2709
+ props:
2710
+ label: Display
2711
+ href: /settings/display
2712
+ variant: muted
2713
+ - type: Box
2714
+ props:
2715
+ className: max-w-2xl flex-1
2716
+ gap: lg
2717
+ children:
2718
+ - type: Box
2719
+ props:
2720
+ className: "!flex-row items-start justify-between gap-4 mb-6"
2721
+ children:
2722
+ - type: Box
2723
+ props:
2724
+ gap: xs
2725
+ children:
2726
+ - type: Heading
2727
+ props:
2728
+ level: 2
2729
+ text: Profile
2730
+ - type: Paragraph
2731
+ props:
2732
+ text: This is how others will see you on the site.
2733
+ muted: true
2734
+ size: sm
2735
+ - type: Divider
2736
+ - type: Form
2737
+ props:
2738
+ label: Profile settings
2739
+ pending:
2740
+ _or:
2741
+ - _state: saving
2742
+ - _state: loading
2743
+ idempotent: true
2744
+ children:
2745
+ - type: Field
2746
+ props:
2747
+ name: username
2748
+ label: Username
2749
+ description: This is your public display name.
2750
+ required: true
2751
+ value:
2752
+ _bindState: form.username
2753
+ - type: Field
2754
+ props:
2755
+ name: email
2756
+ label: Email
2757
+ kind: email
2758
+ required: true
2759
+ value:
2760
+ _bindState: form.email
2761
+ - type: Field
2762
+ props:
2763
+ name: bio
2764
+ label: Bio
2765
+ kind: textarea
2766
+ description: Describe your role and what you work on.
2767
+ value:
2768
+ _bindState: form.bio
2769
+ - type: Field
2770
+ props:
2771
+ name: urls
2772
+ label: URLs
2773
+ kind: urls
2774
+ description: Add links to your website, blog, or social media profiles.
2775
+ value:
2776
+ _bindState: form.urls
2777
+ events:
2778
+ onChange:
2779
+ - action: SetState
2780
+ params:
2781
+ path: saved
2782
+ value: false
2783
+ - action: SetState
2784
+ params:
2785
+ path: uiError
2786
+ value: null
2787
+ - type: Paragraph
2788
+ props:
2789
+ text:
2790
+ _state: uiError.message
2791
+ muted: true
2792
+ visible:
2793
+ _state: uiError
2794
+ - type: Form.Submit
2795
+ props:
2796
+ label: Update profile
2797
+ disabled:
2798
+ _state: saving
2799
+ events:
2800
+ onChange:
2801
+ - action: SetState
2802
+ params:
2803
+ path: saved
2804
+ value: false
2805
+ - action: SetState
2806
+ params:
2807
+ path: uiError
2808
+ value: null
2809
+ onSubmit:
2810
+ - action: SetState
2811
+ params:
2812
+ path: saved
2813
+ value: false
2814
+ - action: SetState
2815
+ params:
2816
+ path: uiError
2817
+ value: null
2818
+ - action: Request
2819
+ params:
2820
+ connectionId: preferences-db
2821
+ request:
2822
+ id: save-preferences
2823
+ connectionId: preferences-db
2824
+ payload:
2825
+ operation:
2826
+ _if:
2827
+ - _state: preferences.0.id
2828
+ - UpdateOne
2829
+ - InsertOne
2830
+ filter:
2831
+ id:
2832
+ _state: preferences.0.id
2833
+ data:
2834
+ section: profile
2835
+ values:
2836
+ _event: values
2837
+ idempotencyKey:
2838
+ _event: value
2839
+ expectedVersion:
2840
+ _state: preferences.0.version
2841
+ loadingPath: saving
2842
+ errorPath: uiError
2843
+ onSuccess:
2844
+ - &a4
2845
+ action: Request
2846
+ params:
2847
+ connectionId: preferences-db
2848
+ request:
2849
+ id: load-preferences
2850
+ connectionId: preferences-db
2851
+ payload:
2852
+ operation: Find
2853
+ filter:
2854
+ section: profile
2855
+ responsePath: preferences
2856
+ loadingPath: loading
2857
+ errorPath: uiError
2858
+ onSuccess:
2859
+ - action: SetState
2860
+ params:
2861
+ path: form
2862
+ value:
2863
+ _if:
2864
+ - _state: preferences.0.id
2865
+ - _state: preferences.0.values
2866
+ - _state: form
2867
+ onError:
2868
+ - action: SetState
2869
+ params:
2870
+ path: requestFailed
2871
+ value: true
2872
+ - action: SetState
2873
+ params:
2874
+ path: saved
2875
+ value:
2876
+ _not:
2877
+ _state: uiError
2878
+ onError:
2879
+ - action: SetState
2880
+ params:
2881
+ path: requestFailed
2882
+ value: true
2883
+ - type: Paragraph
2884
+ props:
2885
+ text: Settings saved.
2886
+ muted: true
2887
+ visible:
2888
+ _state: saved
2889
+ template: shadcn-admin-shell
2890
+ lifecycle:
2891
+ onMount:
2892
+ - *a4
2893
+ - id: settings-account
2894
+ path: /settings/account
2895
+ title: Settings · Account
2896
+ state:
2897
+ currentPath: /settings/account
2898
+ saving: false
2899
+ uiError: null
2900
+ saved: false
2901
+ form:
2902
+ name: shadcn
2903
+ birthday: ""
2904
+ language: English
2905
+ preferences: []
2906
+ blocks:
2907
+ - type: PageLayout
2908
+ children:
2909
+ - type: Box
2910
+ props:
2911
+ className: "!flex-row items-start justify-between gap-4 mb-6"
2912
+ children:
2913
+ - type: Box
2914
+ props:
2915
+ gap: xs
2916
+ children:
2917
+ - type: Heading
2918
+ props:
2919
+ level: 1
2920
+ text: Settings
2921
+ - type: Paragraph
2922
+ props:
2923
+ text: Manage your account settings and set e-mail preferences.
2924
+ muted: true
2925
+ size: sm
2926
+ - type: Divider
2927
+ - type: Box
2928
+ props:
2929
+ className: "!flex-col gap-10 lg:!flex-row"
2930
+ children:
2931
+ - type: Box
2932
+ props:
2933
+ className: "w-full shrink-0 !flex-row flex-wrap gap-1 lg:!flex-col lg:w-48 [&>a]:shrink-0 [&>a]:px-3 [&>a]:py-2 [&>a]:rounded-md lg:[&>a]:px-0 lg:[&>a]:py-0"
2934
+ children:
2935
+ - type: Link
2936
+ props:
2937
+ label: Profile
2938
+ href: /settings/profile
2939
+ variant: muted
2940
+ - type: Link
2941
+ props:
2942
+ label: Account
2943
+ href: /settings/account
2944
+ variant: default
2945
+ className: "bg-muted font-medium lg:bg-transparent"
2946
+ - type: Link
2947
+ props:
2948
+ label: Appearance
2949
+ href: /settings/appearance
2950
+ variant: muted
2951
+ - type: Link
2952
+ props:
2953
+ label: Notifications
2954
+ href: /settings/notifications
2955
+ variant: muted
2956
+ - type: Link
2957
+ props:
2958
+ label: Display
2959
+ href: /settings/display
2960
+ variant: muted
2961
+ - type: Box
2962
+ props:
2963
+ className: max-w-2xl flex-1
2964
+ gap: lg
2965
+ children:
2966
+ - type: Box
2967
+ props:
2968
+ className: "!flex-row items-start justify-between gap-4 mb-6"
2969
+ children:
2970
+ - type: Box
2971
+ props:
2972
+ gap: xs
2973
+ children:
2974
+ - type: Heading
2975
+ props:
2976
+ level: 2
2977
+ text: Account
2978
+ - type: Paragraph
2979
+ props:
2980
+ text: Update your account settings. Set your preferred language and timezone.
2981
+ muted: true
2982
+ size: sm
2983
+ - type: Divider
2984
+ - type: Form
2985
+ props:
2986
+ label: Account settings
2987
+ pending:
2988
+ _or:
2989
+ - _state: saving
2990
+ - _state: loading
2991
+ idempotent: true
2992
+ children:
2993
+ - type: Field
2994
+ props:
2995
+ name: name
2996
+ label: Name
2997
+ description: This is the name that will be displayed on your profile.
2998
+ required: true
2999
+ value:
3000
+ _bindState: form.name
3001
+ - type: Field
3002
+ props:
3003
+ name: birthday
3004
+ label: Date of birth
3005
+ kind: date
3006
+ description: Your date of birth is used to calculate your age.
3007
+ value:
3008
+ _bindState: form.birthday
3009
+ - type: Field
3010
+ props:
3011
+ name: language
3012
+ label: Language
3013
+ kind: combobox
3014
+ options:
3015
+ - value: English
3016
+ label: English
3017
+ - value: Chinese
3018
+ label: Chinese
3019
+ - value: French
3020
+ label: French
3021
+ - value: German
3022
+ label: German
3023
+ - value: Japanese
3024
+ label: Japanese
3025
+ value:
3026
+ _bindState: form.language
3027
+ - type: Paragraph
3028
+ props:
3029
+ text:
3030
+ _state: uiError.message
3031
+ muted: true
3032
+ visible:
3033
+ _state: uiError
3034
+ - type: Form.Submit
3035
+ props:
3036
+ label: Update account
3037
+ disabled:
3038
+ _state: saving
3039
+ events:
3040
+ onChange:
3041
+ - action: SetState
3042
+ params:
3043
+ path: saved
3044
+ value: false
3045
+ - action: SetState
3046
+ params:
3047
+ path: uiError
3048
+ value: null
3049
+ onSubmit:
3050
+ - action: SetState
3051
+ params:
3052
+ path: saved
3053
+ value: false
3054
+ - action: SetState
3055
+ params:
3056
+ path: uiError
3057
+ value: null
3058
+ - action: Request
3059
+ params:
3060
+ connectionId: preferences-db
3061
+ request:
3062
+ id: save-preferences
3063
+ connectionId: preferences-db
3064
+ payload:
3065
+ operation:
3066
+ _if:
3067
+ - _state: preferences.0.id
3068
+ - UpdateOne
3069
+ - InsertOne
3070
+ filter:
3071
+ id:
3072
+ _state: preferences.0.id
3073
+ data:
3074
+ section: account
3075
+ values:
3076
+ _event: values
3077
+ idempotencyKey:
3078
+ _event: value
3079
+ expectedVersion:
3080
+ _state: preferences.0.version
3081
+ loadingPath: saving
3082
+ errorPath: uiError
3083
+ onSuccess:
3084
+ - &a5
3085
+ action: Request
3086
+ params:
3087
+ connectionId: preferences-db
3088
+ request:
3089
+ id: load-preferences
3090
+ connectionId: preferences-db
3091
+ payload:
3092
+ operation: Find
3093
+ filter:
3094
+ section: account
3095
+ responsePath: preferences
3096
+ loadingPath: loading
3097
+ errorPath: uiError
3098
+ onSuccess:
3099
+ - action: SetState
3100
+ params:
3101
+ path: form
3102
+ value:
3103
+ _if:
3104
+ - _state: preferences.0.id
3105
+ - _state: preferences.0.values
3106
+ - _state: form
3107
+ onError:
3108
+ - action: SetState
3109
+ params:
3110
+ path: requestFailed
3111
+ value: true
3112
+ - action: SetState
3113
+ params:
3114
+ path: saved
3115
+ value:
3116
+ _not:
3117
+ _state: uiError
3118
+ onError:
3119
+ - action: SetState
3120
+ params:
3121
+ path: requestFailed
3122
+ value: true
3123
+ - type: Paragraph
3124
+ props:
3125
+ text: Settings saved.
3126
+ muted: true
3127
+ visible:
3128
+ _state: saved
3129
+ template: shadcn-admin-shell
3130
+ lifecycle:
3131
+ onMount:
3132
+ - *a5
3133
+ - id: settings-appearance
3134
+ path: /settings/appearance
3135
+ title: Settings · Appearance
3136
+ state:
3137
+ currentPath: /settings/appearance
3138
+ saving: false
3139
+ uiError: null
3140
+ saved: false
3141
+ form:
3142
+ font: Inter
3143
+ theme: light
3144
+ direction: ltr
3145
+ preferences: []
3146
+ blocks:
3147
+ - type: PageLayout
3148
+ children:
3149
+ - type: Box
3150
+ props:
3151
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3152
+ children:
3153
+ - type: Box
3154
+ props:
3155
+ gap: xs
3156
+ children:
3157
+ - type: Heading
3158
+ props:
3159
+ level: 1
3160
+ text: Settings
3161
+ - type: Paragraph
3162
+ props:
3163
+ text: Manage your account settings and set e-mail preferences.
3164
+ muted: true
3165
+ size: sm
3166
+ - type: Divider
3167
+ - type: Box
3168
+ props:
3169
+ className: "!flex-col gap-10 lg:!flex-row"
3170
+ children:
3171
+ - type: Box
3172
+ props:
3173
+ className: "w-full shrink-0 !flex-row flex-wrap gap-1 lg:!flex-col lg:w-48 [&>a]:shrink-0 [&>a]:px-3 [&>a]:py-2 [&>a]:rounded-md lg:[&>a]:px-0 lg:[&>a]:py-0"
3174
+ children:
3175
+ - type: Link
3176
+ props:
3177
+ label: Profile
3178
+ href: /settings/profile
3179
+ variant: muted
3180
+ - type: Link
3181
+ props:
3182
+ label: Account
3183
+ href: /settings/account
3184
+ variant: muted
3185
+ - type: Link
3186
+ props:
3187
+ label: Appearance
3188
+ href: /settings/appearance
3189
+ variant: default
3190
+ className: "bg-muted font-medium lg:bg-transparent"
3191
+ - type: Link
3192
+ props:
3193
+ label: Notifications
3194
+ href: /settings/notifications
3195
+ variant: muted
3196
+ - type: Link
3197
+ props:
3198
+ label: Display
3199
+ href: /settings/display
3200
+ variant: muted
3201
+ - type: Box
3202
+ props:
3203
+ className: max-w-2xl flex-1
3204
+ gap: lg
3205
+ children:
3206
+ - type: Box
3207
+ props:
3208
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3209
+ children:
3210
+ - type: Box
3211
+ props:
3212
+ gap: xs
3213
+ children:
3214
+ - type: Heading
3215
+ props:
3216
+ level: 2
3217
+ text: Appearance
3218
+ - type: Paragraph
3219
+ props:
3220
+ text: Customize the appearance of the app. Automatically switch between day and night themes.
3221
+ muted: true
3222
+ size: sm
3223
+ - type: Divider
3224
+ - type: Form
3225
+ props:
3226
+ label: Appearance settings
3227
+ pending:
3228
+ _or:
3229
+ - _state: saving
3230
+ - _state: loading
3231
+ idempotent: true
3232
+ children:
3233
+ - type: Field
3234
+ props:
3235
+ name: font
3236
+ label: Font
3237
+ kind: select
3238
+ options:
3239
+ - value: Inter
3240
+ label: Inter
3241
+ - value: System
3242
+ label: System
3243
+ - value: Manrope
3244
+ label: Manrope
3245
+ value:
3246
+ _bindState: form.font
3247
+ - type: Field
3248
+ props:
3249
+ name: theme
3250
+ label: Theme
3251
+ kind: radio
3252
+ options:
3253
+ - value: light
3254
+ label: Light
3255
+ - value: dark
3256
+ label: Dark
3257
+ - value: system
3258
+ label: System
3259
+ value:
3260
+ _bindState: form.theme
3261
+ - type: Field
3262
+ props:
3263
+ name: direction
3264
+ label: Direction
3265
+ kind: select
3266
+ options:
3267
+ - value: ltr
3268
+ label: Ltr
3269
+ - value: rtl
3270
+ label: Rtl
3271
+ value:
3272
+ _bindState: form.direction
3273
+ - type: Paragraph
3274
+ props:
3275
+ text:
3276
+ _state: uiError.message
3277
+ muted: true
3278
+ visible:
3279
+ _state: uiError
3280
+ - type: Form.Submit
3281
+ props:
3282
+ label: Update appearance
3283
+ disabled:
3284
+ _state: saving
3285
+ events:
3286
+ onChange:
3287
+ - action: SetState
3288
+ params:
3289
+ path: saved
3290
+ value: false
3291
+ - action: SetState
3292
+ params:
3293
+ path: uiError
3294
+ value: null
3295
+ onSubmit:
3296
+ - action: SetState
3297
+ params:
3298
+ path: saved
3299
+ value: false
3300
+ - action: SetState
3301
+ params:
3302
+ path: uiError
3303
+ value: null
3304
+ - action: Request
3305
+ params:
3306
+ connectionId: preferences-db
3307
+ request:
3308
+ id: save-preferences
3309
+ connectionId: preferences-db
3310
+ payload:
3311
+ operation:
3312
+ _if:
3313
+ - _state: preferences.0.id
3314
+ - UpdateOne
3315
+ - InsertOne
3316
+ filter:
3317
+ id:
3318
+ _state: preferences.0.id
3319
+ data:
3320
+ section: appearance
3321
+ values:
3322
+ _event: values
3323
+ idempotencyKey:
3324
+ _event: value
3325
+ expectedVersion:
3326
+ _state: preferences.0.version
3327
+ loadingPath: saving
3328
+ errorPath: uiError
3329
+ onSuccess:
3330
+ - &a6
3331
+ action: Request
3332
+ params:
3333
+ connectionId: preferences-db
3334
+ request:
3335
+ id: load-preferences
3336
+ connectionId: preferences-db
3337
+ payload:
3338
+ operation: Find
3339
+ filter:
3340
+ section: appearance
3341
+ responsePath: preferences
3342
+ loadingPath: loading
3343
+ errorPath: uiError
3344
+ onSuccess:
3345
+ - action: SetState
3346
+ params:
3347
+ path: form
3348
+ value:
3349
+ _if:
3350
+ - _state: preferences.0.id
3351
+ - _state: preferences.0.values
3352
+ - _state: form
3353
+ onError:
3354
+ - action: SetState
3355
+ params:
3356
+ path: requestFailed
3357
+ value: true
3358
+ - action: SetState
3359
+ params:
3360
+ path: saved
3361
+ value:
3362
+ _not:
3363
+ _state: uiError
3364
+ - action: SetState
3365
+ params:
3366
+ path: theme
3367
+ value:
3368
+ _state: form.theme
3369
+ - action: SetState
3370
+ params:
3371
+ path: direction
3372
+ value:
3373
+ _state: form.direction
3374
+ - action: SetState
3375
+ params:
3376
+ path: font
3377
+ value:
3378
+ _state: form.font
3379
+ onError:
3380
+ - action: SetState
3381
+ params:
3382
+ path: requestFailed
3383
+ value: true
3384
+ - type: Paragraph
3385
+ props:
3386
+ text: Settings saved.
3387
+ muted: true
3388
+ visible:
3389
+ _state: saved
3390
+ template: shadcn-admin-shell
3391
+ lifecycle:
3392
+ onMount:
3393
+ - *a6
3394
+ - id: settings-notifications
3395
+ path: /settings/notifications
3396
+ title: Settings · Notifications
3397
+ state:
3398
+ currentPath: /settings/notifications
3399
+ saving: false
3400
+ uiError: null
3401
+ saved: false
3402
+ form:
3403
+ notify: all
3404
+ communication: false
3405
+ marketing: false
3406
+ social: true
3407
+ security: true
3408
+ preferences: []
3409
+ blocks:
3410
+ - type: PageLayout
3411
+ children:
3412
+ - type: Box
3413
+ props:
3414
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3415
+ children:
3416
+ - type: Box
3417
+ props:
3418
+ gap: xs
3419
+ children:
3420
+ - type: Heading
3421
+ props:
3422
+ level: 1
3423
+ text: Settings
3424
+ - type: Paragraph
3425
+ props:
3426
+ text: Manage your account settings and set e-mail preferences.
3427
+ muted: true
3428
+ size: sm
3429
+ - type: Divider
3430
+ - type: Box
3431
+ props:
3432
+ className: "!flex-col gap-10 lg:!flex-row"
3433
+ children:
3434
+ - type: Box
3435
+ props:
3436
+ className: "w-full shrink-0 !flex-row flex-wrap gap-1 lg:!flex-col lg:w-48 [&>a]:shrink-0 [&>a]:px-3 [&>a]:py-2 [&>a]:rounded-md lg:[&>a]:px-0 lg:[&>a]:py-0"
3437
+ children:
3438
+ - type: Link
3439
+ props:
3440
+ label: Profile
3441
+ href: /settings/profile
3442
+ variant: muted
3443
+ - type: Link
3444
+ props:
3445
+ label: Account
3446
+ href: /settings/account
3447
+ variant: muted
3448
+ - type: Link
3449
+ props:
3450
+ label: Appearance
3451
+ href: /settings/appearance
3452
+ variant: muted
3453
+ - type: Link
3454
+ props:
3455
+ label: Notifications
3456
+ href: /settings/notifications
3457
+ variant: default
3458
+ className: "bg-muted font-medium lg:bg-transparent"
3459
+ - type: Link
3460
+ props:
3461
+ label: Display
3462
+ href: /settings/display
3463
+ variant: muted
3464
+ - type: Box
3465
+ props:
3466
+ className: max-w-2xl flex-1
3467
+ gap: lg
3468
+ children:
3469
+ - type: Box
3470
+ props:
3471
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3472
+ children:
3473
+ - type: Box
3474
+ props:
3475
+ gap: xs
3476
+ children:
3477
+ - type: Heading
3478
+ props:
3479
+ level: 2
3480
+ text: Notifications
3481
+ - type: Paragraph
3482
+ props:
3483
+ text: Configure how you receive notifications.
3484
+ muted: true
3485
+ size: sm
3486
+ - type: Divider
3487
+ - type: Form
3488
+ props:
3489
+ label: Notifications settings
3490
+ pending:
3491
+ _or:
3492
+ - _state: saving
3493
+ - _state: loading
3494
+ idempotent: true
3495
+ children:
3496
+ - type: Field
3497
+ props:
3498
+ name: notify
3499
+ label: Notify me about...
3500
+ kind: radio
3501
+ options:
3502
+ - label: All new messages
3503
+ value: all
3504
+ - label: Direct messages and mentions
3505
+ value: mentions
3506
+ - label: Nothing
3507
+ value: none
3508
+ value:
3509
+ _bindState: form.notify
3510
+ - type: Field
3511
+ props:
3512
+ name: communication
3513
+ kind: switch
3514
+ label: Communication emails
3515
+ description: Receive emails about your account activity.
3516
+ value:
3517
+ _bindState: form.communication
3518
+ - type: Field
3519
+ props:
3520
+ name: marketing
3521
+ kind: switch
3522
+ label: Marketing emails
3523
+ description: Receive emails about new products and features.
3524
+ value:
3525
+ _bindState: form.marketing
3526
+ - type: Field
3527
+ props:
3528
+ name: social
3529
+ kind: switch
3530
+ label: Social emails
3531
+ description: Receive emails for friend requests and follows.
3532
+ value:
3533
+ _bindState: form.social
3534
+ - type: Field
3535
+ props:
3536
+ name: security
3537
+ kind: switch
3538
+ label: Security emails
3539
+ description: Receive emails about your account security.
3540
+ value:
3541
+ _bindState: form.security
3542
+ - type: Paragraph
3543
+ props:
3544
+ text:
3545
+ _state: uiError.message
3546
+ muted: true
3547
+ visible:
3548
+ _state: uiError
3549
+ - type: Form.Submit
3550
+ props:
3551
+ label: Update notifications
3552
+ disabled:
3553
+ _state: saving
3554
+ events:
3555
+ onChange:
3556
+ - action: SetState
3557
+ params:
3558
+ path: saved
3559
+ value: false
3560
+ - action: SetState
3561
+ params:
3562
+ path: uiError
3563
+ value: null
3564
+ onSubmit:
3565
+ - action: SetState
3566
+ params:
3567
+ path: saved
3568
+ value: false
3569
+ - action: SetState
3570
+ params:
3571
+ path: uiError
3572
+ value: null
3573
+ - action: Request
3574
+ params:
3575
+ connectionId: preferences-db
3576
+ request:
3577
+ id: save-preferences
3578
+ connectionId: preferences-db
3579
+ payload:
3580
+ operation:
3581
+ _if:
3582
+ - _state: preferences.0.id
3583
+ - UpdateOne
3584
+ - InsertOne
3585
+ filter:
3586
+ id:
3587
+ _state: preferences.0.id
3588
+ data:
3589
+ section: notifications
3590
+ values:
3591
+ _event: values
3592
+ idempotencyKey:
3593
+ _event: value
3594
+ expectedVersion:
3595
+ _state: preferences.0.version
3596
+ loadingPath: saving
3597
+ errorPath: uiError
3598
+ onSuccess:
3599
+ - &a7
3600
+ action: Request
3601
+ params:
3602
+ connectionId: preferences-db
3603
+ request:
3604
+ id: load-preferences
3605
+ connectionId: preferences-db
3606
+ payload:
3607
+ operation: Find
3608
+ filter:
3609
+ section: notifications
3610
+ responsePath: preferences
3611
+ loadingPath: loading
3612
+ errorPath: uiError
3613
+ onSuccess:
3614
+ - action: SetState
3615
+ params:
3616
+ path: form
3617
+ value:
3618
+ _if:
3619
+ - _state: preferences.0.id
3620
+ - _state: preferences.0.values
3621
+ - _state: form
3622
+ onError:
3623
+ - action: SetState
3624
+ params:
3625
+ path: requestFailed
3626
+ value: true
3627
+ - action: SetState
3628
+ params:
3629
+ path: saved
3630
+ value:
3631
+ _not:
3632
+ _state: uiError
3633
+ onError:
3634
+ - action: SetState
3635
+ params:
3636
+ path: requestFailed
3637
+ value: true
3638
+ - type: Paragraph
3639
+ props:
3640
+ text: Settings saved.
3641
+ muted: true
3642
+ visible:
3643
+ _state: saved
3644
+ template: shadcn-admin-shell
3645
+ lifecycle:
3646
+ onMount:
3647
+ - *a7
3648
+ - id: settings-display
3649
+ path: /settings/display
3650
+ title: Settings · Display
3651
+ state:
3652
+ currentPath: /settings/display
3653
+ saving: false
3654
+ uiError: null
3655
+ saved: false
3656
+ form:
3657
+ recents: true
3658
+ home: true
3659
+ applications: true
3660
+ desktop: true
3661
+ downloads: true
3662
+ documents: true
3663
+ preferences: []
3664
+ blocks:
3665
+ - type: PageLayout
3666
+ children:
3667
+ - type: Box
3668
+ props:
3669
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3670
+ children:
3671
+ - type: Box
3672
+ props:
3673
+ gap: xs
3674
+ children:
3675
+ - type: Heading
3676
+ props:
3677
+ level: 1
3678
+ text: Settings
3679
+ - type: Paragraph
3680
+ props:
3681
+ text: Manage your account settings and set e-mail preferences.
3682
+ muted: true
3683
+ size: sm
3684
+ - type: Divider
3685
+ - type: Box
3686
+ props:
3687
+ className: "!flex-col gap-10 lg:!flex-row"
3688
+ children:
3689
+ - type: Box
3690
+ props:
3691
+ className: "w-full shrink-0 !flex-row flex-wrap gap-1 lg:!flex-col lg:w-48 [&>a]:shrink-0 [&>a]:px-3 [&>a]:py-2 [&>a]:rounded-md lg:[&>a]:px-0 lg:[&>a]:py-0"
3692
+ children:
3693
+ - type: Link
3694
+ props:
3695
+ label: Profile
3696
+ href: /settings/profile
3697
+ variant: muted
3698
+ - type: Link
3699
+ props:
3700
+ label: Account
3701
+ href: /settings/account
3702
+ variant: muted
3703
+ - type: Link
3704
+ props:
3705
+ label: Appearance
3706
+ href: /settings/appearance
3707
+ variant: muted
3708
+ - type: Link
3709
+ props:
3710
+ label: Notifications
3711
+ href: /settings/notifications
3712
+ variant: muted
3713
+ - type: Link
3714
+ props:
3715
+ label: Display
3716
+ href: /settings/display
3717
+ variant: default
3718
+ className: "bg-muted font-medium lg:bg-transparent"
3719
+ - type: Box
3720
+ props:
3721
+ className: max-w-2xl flex-1
3722
+ gap: lg
3723
+ children:
3724
+ - type: Box
3725
+ props:
3726
+ className: "!flex-row items-start justify-between gap-4 mb-6"
3727
+ children:
3728
+ - type: Box
3729
+ props:
3730
+ gap: xs
3731
+ children:
3732
+ - type: Heading
3733
+ props:
3734
+ level: 2
3735
+ text: Display
3736
+ - type: Paragraph
3737
+ props:
3738
+ text: Turn items on or off to control what’s displayed in the app.
3739
+ muted: true
3740
+ size: sm
3741
+ - type: Divider
3742
+ - type: Form
3743
+ props:
3744
+ label: Display settings
3745
+ pending:
3746
+ _or:
3747
+ - _state: saving
3748
+ - _state: loading
3749
+ idempotent: true
3750
+ children:
3751
+ - type: Paragraph
3752
+ props:
3753
+ text: Select the items you want to display in the sidebar.
3754
+ muted: true
3755
+ - type: Field
3756
+ props:
3757
+ name: recents
3758
+ label: Recents
3759
+ kind: checkbox
3760
+ value:
3761
+ _bindState: form.recents
3762
+ - type: Field
3763
+ props:
3764
+ name: home
3765
+ label: Home
3766
+ kind: checkbox
3767
+ value:
3768
+ _bindState: form.home
3769
+ - type: Field
3770
+ props:
3771
+ name: applications
3772
+ label: Applications
3773
+ kind: checkbox
3774
+ value:
3775
+ _bindState: form.applications
3776
+ - type: Field
3777
+ props:
3778
+ name: desktop
3779
+ label: Desktop
3780
+ kind: checkbox
3781
+ value:
3782
+ _bindState: form.desktop
3783
+ - type: Field
3784
+ props:
3785
+ name: downloads
3786
+ label: Downloads
3787
+ kind: checkbox
3788
+ value:
3789
+ _bindState: form.downloads
3790
+ - type: Field
3791
+ props:
3792
+ name: documents
3793
+ label: Documents
3794
+ kind: checkbox
3795
+ value:
3796
+ _bindState: form.documents
3797
+ - type: Paragraph
3798
+ props:
3799
+ text:
3800
+ _state: uiError.message
3801
+ muted: true
3802
+ visible:
3803
+ _state: uiError
3804
+ - type: Form.Submit
3805
+ props:
3806
+ label: Update display
3807
+ disabled:
3808
+ _state: saving
3809
+ events:
3810
+ onChange:
3811
+ - action: SetState
3812
+ params:
3813
+ path: saved
3814
+ value: false
3815
+ - action: SetState
3816
+ params:
3817
+ path: uiError
3818
+ value: null
3819
+ onSubmit:
3820
+ - action: SetState
3821
+ params:
3822
+ path: saved
3823
+ value: false
3824
+ - action: SetState
3825
+ params:
3826
+ path: uiError
3827
+ value: null
3828
+ - action: Request
3829
+ params:
3830
+ connectionId: preferences-db
3831
+ request:
3832
+ id: save-preferences
3833
+ connectionId: preferences-db
3834
+ payload:
3835
+ operation:
3836
+ _if:
3837
+ - _state: preferences.0.id
3838
+ - UpdateOne
3839
+ - InsertOne
3840
+ filter:
3841
+ id:
3842
+ _state: preferences.0.id
3843
+ data:
3844
+ section: display
3845
+ values:
3846
+ _event: values
3847
+ idempotencyKey:
3848
+ _event: value
3849
+ expectedVersion:
3850
+ _state: preferences.0.version
3851
+ loadingPath: saving
3852
+ errorPath: uiError
3853
+ onSuccess:
3854
+ - &a8
3855
+ action: Request
3856
+ params:
3857
+ connectionId: preferences-db
3858
+ request:
3859
+ id: load-preferences
3860
+ connectionId: preferences-db
3861
+ payload:
3862
+ operation: Find
3863
+ filter:
3864
+ section: display
3865
+ responsePath: preferences
3866
+ loadingPath: loading
3867
+ errorPath: uiError
3868
+ onSuccess:
3869
+ - action: SetState
3870
+ params:
3871
+ path: form
3872
+ value:
3873
+ _if:
3874
+ - _state: preferences.0.id
3875
+ - _state: preferences.0.values
3876
+ - _state: form
3877
+ onError:
3878
+ - action: SetState
3879
+ params:
3880
+ path: requestFailed
3881
+ value: true
3882
+ - action: SetState
3883
+ params:
3884
+ path: saved
3885
+ value:
3886
+ _not:
3887
+ _state: uiError
3888
+ onError:
3889
+ - action: SetState
3890
+ params:
3891
+ path: requestFailed
3892
+ value: true
3893
+ - type: Paragraph
3894
+ props:
3895
+ text: Settings saved.
3896
+ muted: true
3897
+ visible:
3898
+ _state: saved
3899
+ template: shadcn-admin-shell
3900
+ lifecycle:
3901
+ onMount:
3902
+ - *a8
3903
+ - id: sign-in
3904
+ path: /sign-in
3905
+ title: Login
3906
+ state:
3907
+ currentPath: /sign-in
3908
+ blocks:
3909
+ - type: Box
3910
+ props:
3911
+ className: min-h-dvh items-center justify-center bg-background px-6
3912
+ gap: lg
3913
+ children:
3914
+ - type: Heading
3915
+ props:
3916
+ level: 3
3917
+ text: Shadcn Admin
3918
+ - type: Box
3919
+ props:
3920
+ className: w-full max-w-sm
3921
+ gap: lg
3922
+ children:
3923
+ - type: Heading
3924
+ props:
3925
+ level: 2
3926
+ text: Login
3927
+ - type: Paragraph
3928
+ props:
3929
+ text: Enter your email and password below to log into your account.
3930
+ muted: true
3931
+ size: sm
3932
+ - type: Form
3933
+ props:
3934
+ label: Login
3935
+ pending:
3936
+ _state: saving
3937
+ children:
3938
+ - type: Field
3939
+ props:
3940
+ name: email
3941
+ label: Email
3942
+ kind: email
3943
+ required: true
3944
+ - type: Field
3945
+ props:
3946
+ name: password
3947
+ label: Password
3948
+ kind: password
3949
+ required: true
3950
+ - type: Form.Submit
3951
+ props:
3952
+ label: Login
3953
+ full: true
3954
+ disabled: true
3955
+ - type: Paragraph
3956
+ props:
3957
+ text: Connect an authentication provider to continue.
3958
+ muted: true
3959
+ size: sm
3960
+ - type: Box
3961
+ props:
3962
+ direction: row
3963
+ justify: between
3964
+ children:
3965
+ - type: Link
3966
+ props:
3967
+ label: Forgot password?
3968
+ href: /forgot-password
3969
+ - type: Link
3970
+ props:
3971
+ label: Create account
3972
+ href: /sign-up
3973
+ - type: Paragraph
3974
+ props:
3975
+ text: By continuing, you agree to our Terms of Service and Privacy Policy.
3976
+ muted: true
3977
+ size: sm
3978
+ - id: sign-in-2
3979
+ path: /sign-in-2
3980
+ title: Login
3981
+ state:
3982
+ currentPath: /sign-in-2
3983
+ blocks:
3984
+ - type: Box
3985
+ props:
3986
+ className: "!grid lg:grid-cols-2 min-h-dvh"
3987
+ gap: none
3988
+ children:
3989
+ - type: Box
3990
+ props:
3991
+ className: min-h-dvh items-center justify-center px-6 py-12
3992
+ gap: lg
3993
+ children:
3994
+ - type: Heading
3995
+ props:
3996
+ level: 3
3997
+ text: Shadcn Admin
3998
+ - type: Box
3999
+ props:
4000
+ className: w-full max-w-sm
4001
+ gap: lg
4002
+ children:
4003
+ - type: Heading
4004
+ props:
4005
+ level: 2
4006
+ text: Login
4007
+ - type: Paragraph
4008
+ props:
4009
+ text: Welcome back! Please enter your details.
4010
+ muted: true
4011
+ size: sm
4012
+ - type: Form
4013
+ props:
4014
+ label: Login
4015
+ pending:
4016
+ _state: saving
4017
+ children:
4018
+ - type: Field
4019
+ props:
4020
+ name: email
4021
+ label: Email
4022
+ kind: email
4023
+ required: true
4024
+ - type: Field
4025
+ props:
4026
+ name: password
4027
+ label: Password
4028
+ kind: password
4029
+ required: true
4030
+ - type: Form.Submit
4031
+ props:
4032
+ label: Login
4033
+ full: true
4034
+ disabled: true
4035
+ - type: Paragraph
4036
+ props:
4037
+ text: Connect an authentication provider to continue.
4038
+ muted: true
4039
+ size: sm
4040
+ - type: Box
4041
+ props:
4042
+ direction: row
4043
+ justify: between
4044
+ children:
4045
+ - type: Link
4046
+ props:
4047
+ label: Forgot password?
4048
+ href: /forgot-password
4049
+ - type: Link
4050
+ props:
4051
+ label: Create account
4052
+ href: /sign-up
4053
+ - type: Paragraph
4054
+ props:
4055
+ text: By continuing, you agree to our Terms of Service and Privacy Policy.
4056
+ muted: true
4057
+ size: sm
4058
+ - type: Box
4059
+ props:
4060
+ className: hidden lg:flex relative overflow-hidden bg-muted min-h-dvh p-10
4061
+ gap: lg
4062
+ children:
4063
+ - type: Box
4064
+ props:
4065
+ className: absolute top-24 start-16 w-[960px] rounded-xl border bg-background p-8
4066
+ gap: lg
4067
+ children:
4068
+ - type: Box
4069
+ props:
4070
+ className: "!flex-row items-start justify-between gap-4 mb-6"
4071
+ children:
4072
+ - type: Box
4073
+ props:
4074
+ gap: xs
4075
+ children:
4076
+ - type: Heading
4077
+ props:
4078
+ level: 1
4079
+ text: Dashboard
4080
+ - type: Button
4081
+ props:
4082
+ label: Download
4083
+ disabled: true
4084
+ - type: Tabs
4085
+ props:
4086
+ tabs:
4087
+ - Overview
4088
+ - Analytics
4089
+ - Reports
4090
+ - Notifications
4091
+ disabledTabs:
4092
+ - 2
4093
+ - 3
4094
+ variant: segmented
4095
+ children:
4096
+ - type: Box
4097
+ props:
4098
+ gap: md
4099
+ children:
4100
+ - type: Box
4101
+ props:
4102
+ className: "!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4"
4103
+ children:
4104
+ - type: StatCard
4105
+ props:
4106
+ label: Total Revenue
4107
+ value: $45,231.89
4108
+ description: +20.1% from last month
4109
+ icon: chart-no-axes-column
4110
+ - type: StatCard
4111
+ props:
4112
+ label: Subscriptions
4113
+ value: "+2350"
4114
+ description: +180.1% from last month
4115
+ icon: users
4116
+ - type: StatCard
4117
+ props:
4118
+ label: Sales
4119
+ value: +12,234
4120
+ description: +19% from last month
4121
+ icon: boxes
4122
+ - type: StatCard
4123
+ props:
4124
+ label: Active Now
4125
+ value: "+573"
4126
+ description: +201 since last hour
4127
+ icon: chart-no-axes-column
4128
+ - type: Box
4129
+ props:
4130
+ className: "!grid grid-cols-1 gap-4 lg:grid-cols-7"
4131
+ children:
4132
+ - type: Box
4133
+ props:
4134
+ className: lg:col-span-4
4135
+ children:
4136
+ - type: Card
4137
+ props:
4138
+ title: Overview
4139
+ children:
4140
+ - type: BarChart
4141
+ props:
4142
+ prefix: $
4143
+ height: 350
4144
+ data:
4145
+ - label: Jan
4146
+ value: 1500
4147
+ - label: Feb
4148
+ value: 5800
4149
+ - label: Mar
4150
+ value: 5500
4151
+ - label: Apr
4152
+ value: 2200
4153
+ - label: May
4154
+ value: 4800
4155
+ - label: Jun
4156
+ value: 1600
4157
+ - label: Jul
4158
+ value: 2800
4159
+ - label: Aug
4160
+ value: 2300
4161
+ - label: Sep
4162
+ value: 5700
4163
+ - label: Oct
4164
+ value: 1400
4165
+ - label: Nov
4166
+ value: 2900
4167
+ - label: Dec
4168
+ value: 1900
4169
+ - type: Box
4170
+ props:
4171
+ className: lg:col-span-3
4172
+ children:
4173
+ - type: Card
4174
+ props:
4175
+ title: Recent Sales
4176
+ description: You made 265 sales this month.
4177
+ children:
4178
+ - type: AvatarList
4179
+ props:
4180
+ items:
4181
+ - id: "0"
4182
+ initials: OM
4183
+ name: Olivia Martin
4184
+ description: olivia.martin@email.com
4185
+ value: +$1,999.00
4186
+ - id: "1"
4187
+ initials: JL
4188
+ name: Jackson Lee
4189
+ description: jackson.lee@email.com
4190
+ value: +$39.00
4191
+ - id: "2"
4192
+ initials: IN
4193
+ name: Isabella Nguyen
4194
+ description: isabella.nguyen@email.com
4195
+ value: +$299.00
4196
+ - id: "3"
4197
+ initials: WK
4198
+ name: William Kim
4199
+ description: will@email.com
4200
+ value: +$99.00
4201
+ - id: "4"
4202
+ initials: SD
4203
+ name: Sofia Davis
4204
+ description: sofia.davis@email.com
4205
+ value: +$39.00
4206
+ - type: Box
4207
+ props:
4208
+ gap: md
4209
+ children:
4210
+ - type: Box
4211
+ props:
4212
+ className: "!flex-row items-start justify-between gap-4 mb-6"
4213
+ children:
4214
+ - type: Box
4215
+ props:
4216
+ gap: xs
4217
+ children:
4218
+ - type: Heading
4219
+ props:
4220
+ level: 1
4221
+ text: Analytics
4222
+ - type: Paragraph
4223
+ props:
4224
+ text: Revenue and subscription performance.
4225
+ muted: true
4226
+ size: sm
4227
+ - type: Box
4228
+ props:
4229
+ className: "!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4"
4230
+ children:
4231
+ - type: StatCard
4232
+ props:
4233
+ label: Total Revenue
4234
+ value: $45,231.89
4235
+ description: +20.1% from last month
4236
+ icon: chart-no-axes-column
4237
+ - type: StatCard
4238
+ props:
4239
+ label: Subscriptions
4240
+ value: "+2350"
4241
+ description: +180.1% from last month
4242
+ icon: users
4243
+ - type: StatCard
4244
+ props:
4245
+ label: Sales
4246
+ value: +12,234
4247
+ description: +19% from last month
4248
+ icon: boxes
4249
+ - type: StatCard
4250
+ props:
4251
+ label: Active Now
4252
+ value: "+573"
4253
+ description: +201 since last hour
4254
+ icon: chart-no-axes-column
4255
+ - type: Card
4256
+ props:
4257
+ title: Revenue over time
4258
+ children:
4259
+ - type: BarChart
4260
+ props:
4261
+ prefix: $
4262
+ data:
4263
+ - label: Apr
4264
+ value: 18200
4265
+ - label: May
4266
+ value: 21400
4267
+ - label: Jun
4268
+ value: 28000
4269
+ - label: Jul
4270
+ value: 26200
4271
+ - label: Aug
4272
+ value: 31500
4273
+ - label: Sep
4274
+ value: 45231
4275
+ - id: sign-up
4276
+ path: /sign-up
4277
+ title: Create an account
4278
+ state:
4279
+ currentPath: /sign-up
4280
+ blocks:
4281
+ - type: Box
4282
+ props:
4283
+ className: min-h-dvh items-center justify-center bg-background px-6
4284
+ gap: lg
4285
+ children:
4286
+ - type: Heading
4287
+ props:
4288
+ level: 3
4289
+ text: Shadcn Admin
4290
+ - type: Box
4291
+ props:
4292
+ className: w-full max-w-sm
4293
+ gap: lg
4294
+ children:
4295
+ - type: Heading
4296
+ props:
4297
+ level: 2
4298
+ text: Create an account
4299
+ - type: Paragraph
4300
+ props:
4301
+ text: Enter your email and password to create an account.
4302
+ muted: true
4303
+ size: sm
4304
+ - type: Form
4305
+ props:
4306
+ label: Create an account
4307
+ pending:
4308
+ _state: saving
4309
+ children:
4310
+ - type: Field
4311
+ props:
4312
+ name: email
4313
+ label: Email
4314
+ kind: email
4315
+ required: true
4316
+ - type: Field
4317
+ props:
4318
+ name: password
4319
+ label: Password
4320
+ kind: password
4321
+ required: true
4322
+ - type: Field
4323
+ props:
4324
+ name: confirm
4325
+ label: Confirm password
4326
+ kind: password
4327
+ required: true
4328
+ - type: Form.Submit
4329
+ props:
4330
+ label: Create account
4331
+ full: true
4332
+ disabled: true
4333
+ - type: Paragraph
4334
+ props:
4335
+ text: Connect an authentication provider to continue.
4336
+ muted: true
4337
+ size: sm
4338
+ - type: Box
4339
+ props:
4340
+ direction: row
4341
+ justify: between
4342
+ children:
4343
+ - type: Link
4344
+ props:
4345
+ label: Forgot password?
4346
+ href: /forgot-password
4347
+ - type: Link
4348
+ props:
4349
+ label: Create account
4350
+ href: /sign-up
4351
+ - type: Paragraph
4352
+ props:
4353
+ text: By continuing, you agree to our Terms of Service and Privacy Policy.
4354
+ muted: true
4355
+ size: sm
4356
+ - id: forgot-password
4357
+ path: /forgot-password
4358
+ title: Forgot Password
4359
+ state:
4360
+ currentPath: /forgot-password
4361
+ blocks:
4362
+ - type: Box
4363
+ props:
4364
+ className: min-h-dvh items-center justify-center bg-background px-6
4365
+ gap: lg
4366
+ children:
4367
+ - type: Heading
4368
+ props:
4369
+ level: 3
4370
+ text: Shadcn Admin
4371
+ - type: Box
4372
+ props:
4373
+ className: w-full max-w-sm
4374
+ gap: lg
4375
+ children:
4376
+ - type: Heading
4377
+ props:
4378
+ level: 2
4379
+ text: Forgot Password
4380
+ - type: Paragraph
4381
+ props:
4382
+ text: Enter your registered email and we will send you a reset link.
4383
+ muted: true
4384
+ size: sm
4385
+ - type: Form
4386
+ props:
4387
+ label: Forgot Password
4388
+ pending:
4389
+ _state: saving
4390
+ children:
4391
+ - type: Field
4392
+ props:
4393
+ name: email
4394
+ label: Email
4395
+ kind: email
4396
+ required: true
4397
+ - type: Form.Submit
4398
+ props:
4399
+ label: Send reset link
4400
+ full: true
4401
+ disabled: true
4402
+ - type: Paragraph
4403
+ props:
4404
+ text: Connect an authentication provider to continue.
4405
+ muted: true
4406
+ size: sm
4407
+ - type: Box
4408
+ props:
4409
+ direction: row
4410
+ justify: between
4411
+ children:
4412
+ - type: Link
4413
+ props:
4414
+ label: Forgot password?
4415
+ href: /forgot-password
4416
+ - type: Link
4417
+ props:
4418
+ label: Create account
4419
+ href: /sign-up
4420
+ - type: Paragraph
4421
+ props:
4422
+ text: By continuing, you agree to our Terms of Service and Privacy Policy.
4423
+ muted: true
4424
+ size: sm
4425
+ - id: otp
4426
+ path: /otp
4427
+ title: Two-factor Authentication
4428
+ state:
4429
+ currentPath: /otp
4430
+ blocks:
4431
+ - type: Box
4432
+ props:
4433
+ className: min-h-dvh items-center justify-center bg-background px-6
4434
+ gap: lg
4435
+ children:
4436
+ - type: Heading
4437
+ props:
4438
+ level: 3
4439
+ text: Shadcn Admin
4440
+ - type: Box
4441
+ props:
4442
+ className: w-full max-w-sm
4443
+ gap: lg
4444
+ children:
4445
+ - type: Heading
4446
+ props:
4447
+ level: 2
4448
+ text: Two-factor Authentication
4449
+ - type: Paragraph
4450
+ props:
4451
+ text: Please enter the authentication code sent to your email.
4452
+ muted: true
4453
+ size: sm
4454
+ - type: Form
4455
+ props:
4456
+ label: Two-factor Authentication
4457
+ pending:
4458
+ _state: saving
4459
+ children:
4460
+ - type: Field
4461
+ props:
4462
+ name: code
4463
+ label: Authentication code
4464
+ kind: otp
4465
+ required: true
4466
+ - type: Form.Submit
4467
+ props:
4468
+ label: Verify
4469
+ full: true
4470
+ disabled: true
4471
+ - type: Paragraph
4472
+ props:
4473
+ text: Connect an authentication provider to continue.
4474
+ muted: true
4475
+ size: sm
4476
+ - type: Box
4477
+ props:
4478
+ direction: row
4479
+ justify: between
4480
+ children:
4481
+ - type: Link
4482
+ props:
4483
+ label: Forgot password?
4484
+ href: /forgot-password
4485
+ - type: Link
4486
+ props:
4487
+ label: Create account
4488
+ href: /sign-up
4489
+ - type: Paragraph
4490
+ props:
4491
+ text: By continuing, you agree to our Terms of Service and Privacy Policy.
4492
+ muted: true
4493
+ size: sm
4494
+ - id: error-401
4495
+ path: /errors/401
4496
+ title: Unauthorized
4497
+ state:
4498
+ currentPath: /errors/401
4499
+ blocks:
4500
+ - type: Box
4501
+ props:
4502
+ className: min-h-dvh items-center justify-center px-6 text-center
4503
+ gap: lg
4504
+ children:
4505
+ - type: Heading
4506
+ props:
4507
+ level: 1
4508
+ text: "401"
4509
+ className: "!text-[7rem] !leading-tight !font-bold"
4510
+ - type: Heading
4511
+ props:
4512
+ level: 2
4513
+ text: Unauthorized
4514
+ - type: Paragraph
4515
+ props:
4516
+ text: Please log in with the appropriate credentials to access this resource.
4517
+ muted: true
4518
+ - type: Link
4519
+ props:
4520
+ label: Back to Home
4521
+ href: /
4522
+ variant: button
4523
+ - id: error-403
4524
+ path: /errors/403
4525
+ title: Access Forbidden
4526
+ state:
4527
+ currentPath: /errors/403
4528
+ blocks:
4529
+ - type: Box
4530
+ props:
4531
+ className: min-h-dvh items-center justify-center px-6 text-center
4532
+ gap: lg
4533
+ children:
4534
+ - type: Heading
4535
+ props:
4536
+ level: 1
4537
+ text: "403"
4538
+ className: "!text-[7rem] !leading-tight !font-bold"
4539
+ - type: Heading
4540
+ props:
4541
+ level: 2
4542
+ text: Access Forbidden
4543
+ - type: Paragraph
4544
+ props:
4545
+ text: You don’t have the necessary permission to view this page.
4546
+ muted: true
4547
+ - type: Link
4548
+ props:
4549
+ label: Back to Home
4550
+ href: /
4551
+ variant: button
4552
+ - id: error-404
4553
+ path: /errors/404
4554
+ title: Oops! Page Not Found!
4555
+ state:
4556
+ currentPath: /errors/404
4557
+ blocks:
4558
+ - type: Box
4559
+ props:
4560
+ className: min-h-dvh items-center justify-center px-6 text-center
4561
+ gap: lg
4562
+ children:
4563
+ - type: Heading
4564
+ props:
4565
+ level: 1
4566
+ text: "404"
4567
+ className: "!text-[7rem] !leading-tight !font-bold"
4568
+ - type: Heading
4569
+ props:
4570
+ level: 2
4571
+ text: Oops! Page Not Found!
4572
+ - type: Paragraph
4573
+ props:
4574
+ text: It seems like the page you’re looking for does not exist or might have been removed.
4575
+ muted: true
4576
+ - type: Link
4577
+ props:
4578
+ label: Back to Home
4579
+ href: /
4580
+ variant: button
4581
+ - id: error-500
4582
+ path: /errors/500
4583
+ title: Oops! Something went wrong
4584
+ state:
4585
+ currentPath: /errors/500
4586
+ blocks:
4587
+ - type: Box
4588
+ props:
4589
+ className: min-h-dvh items-center justify-center px-6 text-center
4590
+ gap: lg
4591
+ children:
4592
+ - type: Heading
4593
+ props:
4594
+ level: 1
4595
+ text: "500"
4596
+ className: "!text-[7rem] !leading-tight !font-bold"
4597
+ - type: Heading
4598
+ props:
4599
+ level: 2
4600
+ text: Oops! Something went wrong
4601
+ - type: Paragraph
4602
+ props:
4603
+ text: We apologize for the inconvenience. Please try again later.
4604
+ muted: true
4605
+ - type: Link
4606
+ props:
4607
+ label: Back to Home
4608
+ href: /
4609
+ variant: button
4610
+ - id: error-503
4611
+ path: /errors/503
4612
+ title: Website is under maintenance!
4613
+ state:
4614
+ currentPath: /errors/503
4615
+ blocks:
4616
+ - type: Box
4617
+ props:
4618
+ className: min-h-dvh items-center justify-center px-6 text-center
4619
+ gap: lg
4620
+ children:
4621
+ - type: Heading
4622
+ props:
4623
+ level: 1
4624
+ text: "503"
4625
+ className: "!text-[7rem] !leading-tight !font-bold"
4626
+ - type: Heading
4627
+ props:
4628
+ level: 2
4629
+ text: Website is under maintenance!
4630
+ - type: Paragraph
4631
+ props:
4632
+ text: The site is not available at the moment. We’ll be back online shortly.
4633
+ muted: true
4634
+ - type: Link
4635
+ props:
4636
+ label: Back to Home
4637
+ href: /
4638
+ variant: button
4639
+ - id: help
4640
+ path: /help-center
4641
+ title: Help Center
4642
+ state:
4643
+ currentPath: /help-center
4644
+ blocks:
4645
+ - type: PageLayout
4646
+ children:
4647
+ - type: Box
4648
+ props:
4649
+ className: min-h-[65vh] items-center justify-center
4650
+ gap: md
4651
+ children:
4652
+ - type: Heading
4653
+ props:
4654
+ level: 1
4655
+ text: Coming Soon!
4656
+ - type: Paragraph
4657
+ props:
4658
+ text: We’re working on the Help Center. Stay tuned!
4659
+ muted: true
4660
+ template: shadcn-admin-shell