@mongoosejs/studio 0.5.4 → 0.5.6

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 (36) hide show
  1. package/backend/actions/Dashboard/createDashboard.js +12 -2
  2. package/backend/actions/Dashboard/getDashboard.js +6 -2
  3. package/backend/actions/Dashboard/getDashboards.js +3 -1
  4. package/backend/actions/Dashboard/updateDashboard.js +19 -6
  5. package/backend/actions/Model/analyzeSchema.js +202 -0
  6. package/backend/actions/Model/index.js +2 -0
  7. package/backend/actions/Model/validateDocument.js +35 -0
  8. package/backend/authorize.js +2 -0
  9. package/backend/db/dashboardSchema.js +31 -0
  10. package/backend/helpers/validateDocumentWithTimeout.js +39 -0
  11. package/backend/netlify.js +1 -0
  12. package/backend/next.js +1 -0
  13. package/express.js +1 -0
  14. package/frontend/public/app.js +859 -102
  15. package/frontend/public/images/pin-off.svg +1 -0
  16. package/frontend/public/images/pin.svg +1 -0
  17. package/frontend/public/tw.css +249 -28
  18. package/frontend/src/api.js +12 -0
  19. package/frontend/src/array-utils.js +60 -2
  20. package/frontend/src/dashboards/dashboards.html +52 -4
  21. package/frontend/src/dashboards/dashboards.js +96 -1
  22. package/frontend/src/detail-array/detail-array.html +98 -14
  23. package/frontend/src/detail-array/detail-array.js +73 -3
  24. package/frontend/src/document/document.html +51 -0
  25. package/frontend/src/document/document.js +13 -0
  26. package/frontend/src/document-details/document-details.html +10 -3
  27. package/frontend/src/document-details/document-details.js +28 -0
  28. package/frontend/src/document-details/document-property/document-property.html +36 -44
  29. package/frontend/src/document-details/document-property/document-property.js +78 -14
  30. package/frontend/src/edit-array/edit-array.html +143 -8
  31. package/frontend/src/edit-array/edit-array.js +104 -2
  32. package/frontend/src/models/analyze-schema-modal/analyze-schema-modal.html +169 -0
  33. package/frontend/src/models/analyze-schema-modal/analyze-schema-modal.js +149 -0
  34. package/frontend/src/models/models.html +25 -13
  35. package/frontend/src/models/models.js +5 -13
  36. package/package.json +2 -1
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentColor"><path d="M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentColor"><path d="m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"/></svg>
@@ -663,10 +663,6 @@ video {
663
663
  left: -0.25rem;
664
664
  }
665
665
 
666
- .-left-2 {
667
- left: -0.5rem;
668
- }
669
-
670
666
  .-left-3 {
671
667
  left: -0.75rem;
672
668
  }
@@ -791,6 +787,10 @@ video {
791
787
  z-index: 100;
792
788
  }
793
789
 
790
+ .z-\[1\] {
791
+ z-index: 1;
792
+ }
793
+
794
794
  .z-\[9999\] {
795
795
  z-index: 9999;
796
796
  }
@@ -905,6 +905,10 @@ video {
905
905
  margin-bottom: 1rem;
906
906
  }
907
907
 
908
+ .mb-5 {
909
+ margin-bottom: 1.25rem;
910
+ }
911
+
908
912
  .mb-6 {
909
913
  margin-bottom: 1.5rem;
910
914
  }
@@ -1068,6 +1072,10 @@ video {
1068
1072
  height: 4rem;
1069
1073
  }
1070
1074
 
1075
+ .h-20 {
1076
+ height: 5rem;
1077
+ }
1078
+
1071
1079
  .h-3 {
1072
1080
  height: 0.75rem;
1073
1081
  }
@@ -1096,6 +1104,10 @@ video {
1096
1104
  height: 16rem;
1097
1105
  }
1098
1106
 
1107
+ .h-7 {
1108
+ height: 1.75rem;
1109
+ }
1110
+
1099
1111
  .h-8 {
1100
1112
  height: 2rem;
1101
1113
  }
@@ -1140,6 +1152,10 @@ video {
1140
1152
  max-height: 12rem;
1141
1153
  }
1142
1154
 
1155
+ .max-h-72 {
1156
+ max-height: 18rem;
1157
+ }
1158
+
1143
1159
  .max-h-80 {
1144
1160
  max-height: 20rem;
1145
1161
  }
@@ -1152,6 +1168,10 @@ video {
1152
1168
  max-height: 50vh;
1153
1169
  }
1154
1170
 
1171
+ .max-h-\[55vh\] {
1172
+ max-height: 55vh;
1173
+ }
1174
+
1155
1175
  .min-h-0 {
1156
1176
  min-height: 0px;
1157
1177
  }
@@ -1208,6 +1228,10 @@ video {
1208
1228
  width: 0.375rem;
1209
1229
  }
1210
1230
 
1231
+ .w-10 {
1232
+ width: 2.5rem;
1233
+ }
1234
+
1211
1235
  .w-12 {
1212
1236
  width: 3rem;
1213
1237
  }
@@ -1216,6 +1240,18 @@ video {
1216
1240
  width: 4rem;
1217
1241
  }
1218
1242
 
1243
+ .w-20 {
1244
+ width: 5rem;
1245
+ }
1246
+
1247
+ .w-24 {
1248
+ width: 6rem;
1249
+ }
1250
+
1251
+ .w-28 {
1252
+ width: 7rem;
1253
+ }
1254
+
1219
1255
  .w-3 {
1220
1256
  width: 0.75rem;
1221
1257
  }
@@ -1224,6 +1260,10 @@ video {
1224
1260
  width: 0.875rem;
1225
1261
  }
1226
1262
 
1263
+ .w-32 {
1264
+ width: 8rem;
1265
+ }
1266
+
1227
1267
  .w-36 {
1228
1268
  width: 9rem;
1229
1269
  }
@@ -1276,6 +1316,14 @@ video {
1276
1316
  width: 240px;
1277
1317
  }
1278
1318
 
1319
+ .w-\[40\%\] {
1320
+ width: 40%;
1321
+ }
1322
+
1323
+ .w-\[60\%\] {
1324
+ width: 60%;
1325
+ }
1326
+
1279
1327
  .w-\[calc\(100\%-1rem\)\] {
1280
1328
  width: calc(100% - 1rem);
1281
1329
  }
@@ -1300,6 +1348,10 @@ video {
1300
1348
  min-width: 220px;
1301
1349
  }
1302
1350
 
1351
+ .min-w-\[260px\] {
1352
+ min-width: 260px;
1353
+ }
1354
+
1303
1355
  .min-w-\[7rem\] {
1304
1356
  min-width: 7rem;
1305
1357
  }
@@ -1308,6 +1360,10 @@ video {
1308
1360
  min-width: 80px;
1309
1361
  }
1310
1362
 
1363
+ .min-w-\[8rem\] {
1364
+ min-width: 8rem;
1365
+ }
1366
+
1311
1367
  .min-w-full {
1312
1368
  min-width: 100%;
1313
1369
  }
@@ -1348,6 +1404,10 @@ video {
1348
1404
  max-width: 32rem;
1349
1405
  }
1350
1406
 
1407
+ .max-w-md {
1408
+ max-width: 28rem;
1409
+ }
1410
+
1351
1411
  .max-w-xl {
1352
1412
  max-width: 36rem;
1353
1413
  }
@@ -1388,6 +1448,10 @@ video {
1388
1448
  flex-grow: 1;
1389
1449
  }
1390
1450
 
1451
+ .table-fixed {
1452
+ table-layout: fixed;
1453
+ }
1454
+
1391
1455
  .border-collapse {
1392
1456
  border-collapse: collapse;
1393
1457
  }
@@ -1455,6 +1519,16 @@ video {
1455
1519
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1456
1520
  }
1457
1521
 
1522
+ @keyframes pulse {
1523
+ 50% {
1524
+ opacity: .5;
1525
+ }
1526
+ }
1527
+
1528
+ .animate-pulse {
1529
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1530
+ }
1531
+
1458
1532
  @keyframes spin {
1459
1533
  to {
1460
1534
  transform: rotate(360deg);
@@ -1485,6 +1559,10 @@ video {
1485
1559
  resize: none;
1486
1560
  }
1487
1561
 
1562
+ .resize-y {
1563
+ resize: vertical;
1564
+ }
1565
+
1488
1566
  .list-disc {
1489
1567
  list-style-type: disc;
1490
1568
  }
@@ -1607,6 +1685,10 @@ video {
1607
1685
  column-gap: 1.5rem;
1608
1686
  }
1609
1687
 
1688
+ .gap-y-1 {
1689
+ row-gap: 0.25rem;
1690
+ }
1691
+
1610
1692
  .space-x-2 > :not([hidden]) ~ :not([hidden]) {
1611
1693
  --tw-space-x-reverse: 0;
1612
1694
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
@@ -1649,6 +1731,10 @@ video {
1649
1731
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
1650
1732
  }
1651
1733
 
1734
+ .divide-edge > :not([hidden]) ~ :not([hidden]) {
1735
+ border-color: var(--color-edge);
1736
+ }
1737
+
1652
1738
  .divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
1653
1739
  --tw-divide-opacity: 1;
1654
1740
  border-color: rgb(243 244 246 / var(--tw-divide-opacity));
@@ -1931,9 +2017,9 @@ video {
1931
2017
  border-color: rgb(254 240 138 / var(--tw-border-opacity));
1932
2018
  }
1933
2019
 
1934
- .border-l-blue-500 {
2020
+ .border-l-slate-100 {
1935
2021
  --tw-border-opacity: 1;
1936
- border-left-color: rgb(59 130 246 / var(--tw-border-opacity));
2022
+ border-left-color: rgb(241 245 249 / var(--tw-border-opacity));
1937
2023
  }
1938
2024
 
1939
2025
  .border-r-gray-900 {
@@ -1945,16 +2031,6 @@ video {
1945
2031
  background-color: var(--color-surface) !important;
1946
2032
  }
1947
2033
 
1948
- .bg-amber-100 {
1949
- --tw-bg-opacity: 1;
1950
- background-color: rgb(254 243 199 / var(--tw-bg-opacity));
1951
- }
1952
-
1953
- .bg-amber-200 {
1954
- --tw-bg-opacity: 1;
1955
- background-color: rgb(253 230 138 / var(--tw-bg-opacity));
1956
- }
1957
-
1958
2034
  .bg-black {
1959
2035
  --tw-bg-opacity: 1;
1960
2036
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
@@ -2059,6 +2135,15 @@ video {
2059
2135
  background-color: rgb(79 70 229 / var(--tw-bg-opacity));
2060
2136
  }
2061
2137
 
2138
+ .bg-inherit {
2139
+ background-color: inherit;
2140
+ }
2141
+
2142
+ .bg-merlot-700 {
2143
+ --tw-bg-opacity: 1;
2144
+ background-color: rgb(176 32 43 / var(--tw-bg-opacity));
2145
+ }
2146
+
2062
2147
  .bg-muted {
2063
2148
  background-color: var(--color-muted);
2064
2149
  }
@@ -2129,6 +2214,10 @@ video {
2129
2214
  background-color: rgb(248 250 252 / 0.5);
2130
2215
  }
2131
2216
 
2217
+ .bg-slate-50\/90 {
2218
+ background-color: rgb(248 250 252 / 0.9);
2219
+ }
2220
+
2132
2221
  .bg-slate-500 {
2133
2222
  --tw-bg-opacity: 1;
2134
2223
  background-color: rgb(100 116 139 / var(--tw-bg-opacity));
@@ -2314,6 +2403,11 @@ video {
2314
2403
  padding-right: 1.5rem;
2315
2404
  }
2316
2405
 
2406
+ .px-px {
2407
+ padding-left: 1px;
2408
+ padding-right: 1px;
2409
+ }
2410
+
2317
2411
  .py-0 {
2318
2412
  padding-top: 0px;
2319
2413
  padding-bottom: 0px;
@@ -2334,6 +2428,11 @@ video {
2334
2428
  padding-bottom: 0.375rem;
2335
2429
  }
2336
2430
 
2431
+ .py-10 {
2432
+ padding-top: 2.5rem;
2433
+ padding-bottom: 2.5rem;
2434
+ }
2435
+
2337
2436
  .py-12 {
2338
2437
  padding-top: 3rem;
2339
2438
  padding-bottom: 3rem;
@@ -2384,6 +2483,11 @@ video {
2384
2483
  padding-bottom: 1px;
2385
2484
  }
2386
2485
 
2486
+ .py-px {
2487
+ padding-top: 1px;
2488
+ padding-bottom: 1px;
2489
+ }
2490
+
2387
2491
  .pb-1 {
2388
2492
  padding-bottom: 0.25rem;
2389
2493
  }
@@ -2408,6 +2512,10 @@ video {
2408
2512
  padding-left: 2.5rem;
2409
2513
  }
2410
2514
 
2515
+ .pl-2 {
2516
+ padding-left: 0.5rem;
2517
+ }
2518
+
2411
2519
  .pl-3 {
2412
2520
  padding-left: 0.75rem;
2413
2521
  }
@@ -2424,10 +2532,18 @@ video {
2424
2532
  padding-left: 2rem;
2425
2533
  }
2426
2534
 
2535
+ .pl-9 {
2536
+ padding-left: 2.25rem;
2537
+ }
2538
+
2427
2539
  .pr-12 {
2428
2540
  padding-right: 3rem;
2429
2541
  }
2430
2542
 
2543
+ .pr-16 {
2544
+ padding-right: 4rem;
2545
+ }
2546
+
2431
2547
  .pr-2 {
2432
2548
  padding-right: 0.5rem;
2433
2549
  }
@@ -2568,6 +2684,10 @@ video {
2568
2684
  line-height: 1;
2569
2685
  }
2570
2686
 
2687
+ .leading-snug {
2688
+ line-height: 1.375;
2689
+ }
2690
+
2571
2691
  .leading-tight {
2572
2692
  line-height: 1.25;
2573
2693
  }
@@ -2677,6 +2797,11 @@ video {
2677
2797
  color: rgb(20 83 45 / var(--tw-text-opacity));
2678
2798
  }
2679
2799
 
2800
+ .text-merlot-700 {
2801
+ --tw-text-opacity: 1;
2802
+ color: rgb(176 32 43 / var(--tw-text-opacity));
2803
+ }
2804
+
2680
2805
  .text-primary {
2681
2806
  color: var(--color-primary);
2682
2807
  }
@@ -2814,6 +2939,10 @@ video {
2814
2939
  text-decoration-line: underline;
2815
2940
  }
2816
2941
 
2942
+ .decoration-primary {
2943
+ text-decoration-color: var(--color-primary);
2944
+ }
2945
+
2817
2946
  .decoration-dotted {
2818
2947
  text-decoration-style: dotted;
2819
2948
  }
@@ -2950,6 +3079,14 @@ video {
2950
3079
  --tw-ring-color: rgb(0 0 0 / 0.05);
2951
3080
  }
2952
3081
 
3082
+ .ring-edge {
3083
+ --tw-ring-color: var(--color-edge);
3084
+ }
3085
+
3086
+ .ring-edge-strong {
3087
+ --tw-ring-color: var(--color-edge-strong);
3088
+ }
3089
+
2953
3090
  .ring-gray-300 {
2954
3091
  --tw-ring-opacity: 1;
2955
3092
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
@@ -3090,6 +3227,10 @@ video {
3090
3227
  margin-bottom: 0px;
3091
3228
  }
3092
3229
 
3230
+ .last\:border-b-0:last-child {
3231
+ border-bottom-width: 0px;
3232
+ }
3233
+
3093
3234
  .last\:border-r-0:last-child {
3094
3235
  border-right-width: 0px;
3095
3236
  }
@@ -3182,14 +3323,9 @@ video {
3182
3323
  border-color: rgb(253 224 71 / var(--tw-border-opacity));
3183
3324
  }
3184
3325
 
3185
- .hover\:border-l-blue-600:hover {
3326
+ .hover\:border-l-slate-100:hover {
3186
3327
  --tw-border-opacity: 1;
3187
- border-left-color: rgb(37 99 235 / var(--tw-border-opacity));
3188
- }
3189
-
3190
- .hover\:bg-amber-200:hover {
3191
- --tw-bg-opacity: 1;
3192
- background-color: rgb(253 230 138 / var(--tw-bg-opacity));
3328
+ border-left-color: rgb(241 245 249 / var(--tw-border-opacity));
3193
3329
  }
3194
3330
 
3195
3331
  .hover\:bg-blue-100:hover {
@@ -3308,6 +3444,11 @@ video {
3308
3444
  background-color: rgb(241 245 249 / var(--tw-bg-opacity));
3309
3445
  }
3310
3446
 
3447
+ .hover\:bg-slate-200:hover {
3448
+ --tw-bg-opacity: 1;
3449
+ background-color: rgb(226 232 240 / var(--tw-bg-opacity));
3450
+ }
3451
+
3311
3452
  .hover\:bg-slate-400:hover {
3312
3453
  --tw-bg-opacity: 1;
3313
3454
  background-color: rgb(148 163 184 / var(--tw-bg-opacity));
@@ -3318,6 +3459,14 @@ video {
3318
3459
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
3319
3460
  }
3320
3461
 
3462
+ .hover\:bg-slate-50\/60:hover {
3463
+ background-color: rgb(248 250 252 / 0.6);
3464
+ }
3465
+
3466
+ .hover\:bg-slate-50\/80:hover {
3467
+ background-color: rgb(248 250 252 / 0.8);
3468
+ }
3469
+
3321
3470
  .hover\:bg-slate-500:hover {
3322
3471
  --tw-bg-opacity: 1;
3323
3472
  background-color: rgb(100 116 139 / var(--tw-bg-opacity));
@@ -3378,11 +3527,6 @@ video {
3378
3527
  --tw-gradient-to: #b91c1c var(--tw-gradient-to-position);
3379
3528
  }
3380
3529
 
3381
- .hover\:text-blue-800:hover {
3382
- --tw-text-opacity: 1;
3383
- color: rgb(30 64 175 / var(--tw-text-opacity));
3384
- }
3385
-
3386
3530
  .hover\:text-content:hover {
3387
3531
  color: var(--color-content);
3388
3532
  }
@@ -3406,6 +3550,11 @@ video {
3406
3550
  color: rgb(31 41 55 / var(--tw-text-opacity));
3407
3551
  }
3408
3552
 
3553
+ .hover\:text-merlot-900:hover {
3554
+ --tw-text-opacity: 1;
3555
+ color: rgb(127 29 43 / var(--tw-text-opacity));
3556
+ }
3557
+
3409
3558
  .hover\:text-primary:hover {
3410
3559
  color: var(--color-primary);
3411
3560
  }
@@ -3521,6 +3670,10 @@ video {
3521
3670
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
3522
3671
  }
3523
3672
 
3673
+ .focus\:ring-inset:focus {
3674
+ --tw-ring-inset: inset;
3675
+ }
3676
+
3524
3677
  .focus\:ring-blue-500:focus {
3525
3678
  --tw-ring-opacity: 1;
3526
3679
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
@@ -3658,6 +3811,10 @@ video {
3658
3811
  cursor: not-allowed;
3659
3812
  }
3660
3813
 
3814
+ .disabled\:cursor-wait:disabled {
3815
+ cursor: wait;
3816
+ }
3817
+
3661
3818
  .disabled\:bg-gray-400:disabled {
3662
3819
  --tw-bg-opacity: 1;
3663
3820
  background-color: rgb(156 163 175 / var(--tw-bg-opacity));
@@ -3668,10 +3825,18 @@ video {
3668
3825
  background-color: rgb(75 85 99 / var(--tw-bg-opacity));
3669
3826
  }
3670
3827
 
3828
+ .disabled\:bg-muted:disabled {
3829
+ background-color: var(--color-muted);
3830
+ }
3831
+
3671
3832
  .disabled\:bg-page:disabled {
3672
3833
  background-color: var(--color-page);
3673
3834
  }
3674
3835
 
3836
+ .disabled\:text-content-tertiary:disabled {
3837
+ color: var(--color-content-tertiary);
3838
+ }
3839
+
3675
3840
  .disabled\:text-gray-300:disabled {
3676
3841
  --tw-text-opacity: 1;
3677
3842
  color: rgb(209 213 219 / var(--tw-text-opacity));
@@ -3682,6 +3847,10 @@ video {
3682
3847
  color: rgb(156 163 175 / var(--tw-text-opacity));
3683
3848
  }
3684
3849
 
3850
+ .disabled\:opacity-40:disabled {
3851
+ opacity: 0.4;
3852
+ }
3853
+
3685
3854
  .disabled\:opacity-50:disabled {
3686
3855
  opacity: 0.5;
3687
3856
  }
@@ -3743,10 +3912,18 @@ video {
3743
3912
  height: 1rem;
3744
3913
  }
3745
3914
 
3915
+ .sm\:max-w-md {
3916
+ max-width: 28rem;
3917
+ }
3918
+
3746
3919
  .sm\:flex-none {
3747
3920
  flex: none;
3748
3921
  }
3749
3922
 
3923
+ .sm\:grid-cols-3 {
3924
+ grid-template-columns: repeat(3, minmax(0, 1fr));
3925
+ }
3926
+
3750
3927
  .sm\:grid-cols-4 {
3751
3928
  grid-template-columns: repeat(4, minmax(0, 1fr));
3752
3929
  }
@@ -3767,6 +3944,10 @@ video {
3767
3944
  align-items: center;
3768
3945
  }
3769
3946
 
3947
+ .sm\:gap-3 {
3948
+ gap: 0.75rem;
3949
+ }
3950
+
3770
3951
  .sm\:rounded-xl {
3771
3952
  border-radius: 0.75rem;
3772
3953
  }
@@ -3812,10 +3993,26 @@ video {
3812
3993
  display: none;
3813
3994
  }
3814
3995
 
3996
+ .md\:\!w-\[70vw\] {
3997
+ width: 70vw !important;
3998
+ }
3999
+
3815
4000
  .md\:grid-cols-2 {
3816
4001
  grid-template-columns: repeat(2, minmax(0, 1fr));
3817
4002
  }
3818
4003
 
4004
+ .md\:grid-cols-4 {
4005
+ grid-template-columns: repeat(4, minmax(0, 1fr));
4006
+ }
4007
+
4008
+ .md\:grid-cols-\[minmax\(160px\2c 220px\)_1fr\] {
4009
+ grid-template-columns: minmax(160px,220px) 1fr;
4010
+ }
4011
+
4012
+ .md\:grid-cols-\[minmax\(180px\2c 240px\)_1fr\] {
4013
+ grid-template-columns: minmax(180px,240px) 1fr;
4014
+ }
4015
+
3819
4016
  .md\:gap-3 {
3820
4017
  gap: 0.75rem;
3821
4018
  }
@@ -3848,6 +4045,10 @@ video {
3848
4045
  margin-right: -2rem;
3849
4046
  }
3850
4047
 
4048
+ .lg\:ml-auto {
4049
+ margin-left: auto;
4050
+ }
4051
+
3851
4052
  .lg\:flex {
3852
4053
  display: flex;
3853
4054
  }
@@ -3868,6 +4069,10 @@ video {
3868
4069
  width: 16rem;
3869
4070
  }
3870
4071
 
4072
+ .lg\:max-w-\[18rem\] {
4073
+ max-width: 18rem;
4074
+ }
4075
+
3871
4076
  .lg\:max-w-\[calc\(100vw-20rem\)\] {
3872
4077
  max-width: calc(100vw - 20rem);
3873
4078
  }
@@ -3877,6 +4082,18 @@ video {
3877
4082
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
3878
4083
  }
3879
4084
 
4085
+ .lg\:flex-row {
4086
+ flex-direction: row;
4087
+ }
4088
+
4089
+ .lg\:items-center {
4090
+ align-items: center;
4091
+ }
4092
+
4093
+ .lg\:gap-4 {
4094
+ gap: 1rem;
4095
+ }
4096
+
3880
4097
  .lg\:\!border-r-0 {
3881
4098
  border-right-width: 0px !important;
3882
4099
  }
@@ -3885,6 +4102,10 @@ video {
3885
4102
  padding-left: 2rem;
3886
4103
  padding-right: 2rem;
3887
4104
  }
4105
+
4106
+ .lg\:text-right {
4107
+ text-align: right;
4108
+ }
3888
4109
  }
3889
4110
 
3890
4111
  @media (min-width: 1280px) {
@@ -168,6 +168,9 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
168
168
  addField(params) {
169
169
  return client.post('', { action: 'Model.addField', ...params }).then(res => res.data);
170
170
  },
171
+ analyzeSchema(params) {
172
+ return client.post('', { action: 'Model.analyzeSchema', ...params }).then(res => res.data);
173
+ },
171
174
  createChart(params) {
172
175
  return client.post('', { action: 'Model.createChart', ...params }).then(res => res.data);
173
176
  },
@@ -183,6 +186,9 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
183
186
  executeDocumentScript(params) {
184
187
  return client.post('', { action: 'Model.executeDocumentScript', ...params }).then(res => res.data);
185
188
  },
189
+ validateDocument(params) {
190
+ return client.post('', { action: 'Model.validateDocument', ...params }).then(res => res.data);
191
+ },
186
192
  exportQueryResults(params) {
187
193
  const accessToken = window.localStorage.getItem('_mongooseStudioAccessToken') || null;
188
194
 
@@ -439,6 +445,9 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
439
445
  getCollectionInfo: function getCollectionInfo(params) {
440
446
  return client.post('/Model/getCollectionInfo', params).then(res => res.data);
441
447
  },
448
+ analyzeSchema: function analyzeSchema(params) {
449
+ return client.post('/Model/analyzeSchema', params).then(res => res.data);
450
+ },
442
451
  getIndexes: function getIndexes(params) {
443
452
  return client.post('/Model/getIndexes', params).then(res => res.data);
444
453
  },
@@ -451,6 +460,9 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
451
460
  updateDocument: function updateDocument(params) {
452
461
  return client.post('/Model/updateDocument', params).then(res => res.data);
453
462
  },
463
+ validateDocument: function validateDocument(params) {
464
+ return client.post('/Model/validateDocument', params).then(res => res.data);
465
+ },
454
466
  streamChatMessage: async function* streamChatMessage(params) {
455
467
  const accessToken = window.localStorage.getItem('_mongooseStudioAccessToken') || null;
456
468
  const url = window.MONGOOSE_STUDIO_CONFIG.baseURL + '/Model/streamChatMessage?' + new URLSearchParams(params).toString();