@glyphjs/schemas 0.1.0 → 0.3.0

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.
package/dist/index.d.ts CHANGED
@@ -306,6 +306,7 @@ declare const timelineSchema: z.ZodObject<{
306
306
  description?: string | undefined;
307
307
  }>, "many">;
308
308
  orientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
309
+ markdown: z.ZodDefault<z.ZodBoolean>;
309
310
  }, "strip", z.ZodTypeAny, {
310
311
  events: {
311
312
  date: string;
@@ -313,6 +314,7 @@ declare const timelineSchema: z.ZodObject<{
313
314
  type?: string | undefined;
314
315
  description?: string | undefined;
315
316
  }[];
317
+ markdown: boolean;
316
318
  orientation?: "vertical" | "horizontal" | undefined;
317
319
  }, {
318
320
  events: {
@@ -322,20 +324,24 @@ declare const timelineSchema: z.ZodObject<{
322
324
  description?: string | undefined;
323
325
  }[];
324
326
  orientation?: "vertical" | "horizontal" | undefined;
327
+ markdown?: boolean | undefined;
325
328
  }>;
326
329
 
327
330
  declare const calloutSchema: z.ZodObject<{
328
331
  type: z.ZodEnum<["info", "warning", "error", "tip"]>;
329
332
  title: z.ZodOptional<z.ZodString>;
330
333
  content: z.ZodString;
334
+ markdown: z.ZodDefault<z.ZodBoolean>;
331
335
  }, "strip", z.ZodTypeAny, {
332
336
  type: "info" | "warning" | "error" | "tip";
337
+ markdown: boolean;
333
338
  content: string;
334
339
  title?: string | undefined;
335
340
  }, {
336
341
  type: "info" | "warning" | "error" | "tip";
337
342
  content: string;
338
343
  title?: string | undefined;
344
+ markdown?: boolean | undefined;
339
345
  }>;
340
346
 
341
347
  declare const tabsSchema: z.ZodObject<{
@@ -375,7 +381,9 @@ declare const stepsSchema: z.ZodObject<{
375
381
  content: string;
376
382
  status?: "pending" | "active" | "completed" | undefined;
377
383
  }>, "many">;
384
+ markdown: z.ZodDefault<z.ZodBoolean>;
378
385
  }, "strip", z.ZodTypeAny, {
386
+ markdown: boolean;
379
387
  steps: {
380
388
  title: string;
381
389
  content: string;
@@ -387,6 +395,7 @@ declare const stepsSchema: z.ZodObject<{
387
395
  content: string;
388
396
  status?: "pending" | "active" | "completed" | undefined;
389
397
  }[];
398
+ markdown?: boolean | undefined;
390
399
  }>;
391
400
 
392
401
  interface ArchitectureNode {
@@ -469,7 +478,9 @@ declare const kpiSchema: z.ZodObject<{
469
478
  unit?: string | undefined;
470
479
  }>, "many">;
471
480
  columns: z.ZodOptional<z.ZodNumber>;
481
+ markdown: z.ZodDefault<z.ZodBoolean>;
472
482
  }, "strip", z.ZodTypeAny, {
483
+ markdown: boolean;
473
484
  metrics: {
474
485
  value: string;
475
486
  label: string;
@@ -491,6 +502,7 @@ declare const kpiSchema: z.ZodObject<{
491
502
  }[];
492
503
  columns?: number | undefined;
493
504
  title?: string | undefined;
505
+ markdown?: boolean | undefined;
494
506
  }>;
495
507
 
496
508
  declare const accordionSchema: z.ZodObject<{
@@ -507,7 +519,9 @@ declare const accordionSchema: z.ZodObject<{
507
519
  }>, "many">;
508
520
  defaultOpen: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
509
521
  multiple: z.ZodDefault<z.ZodBoolean>;
522
+ markdown: z.ZodDefault<z.ZodBoolean>;
510
523
  }, "strip", z.ZodTypeAny, {
524
+ markdown: boolean;
511
525
  sections: {
512
526
  title: string;
513
527
  content: string;
@@ -521,6 +535,7 @@ declare const accordionSchema: z.ZodObject<{
521
535
  content: string;
522
536
  }[];
523
537
  title?: string | undefined;
538
+ markdown?: boolean | undefined;
524
539
  defaultOpen?: number[] | undefined;
525
540
  multiple?: boolean | undefined;
526
541
  }>;
@@ -547,11 +562,13 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
547
562
  values: string[];
548
563
  name: string;
549
564
  }>, "many">;
565
+ markdown: z.ZodDefault<z.ZodBoolean>;
550
566
  }, "strip", z.ZodTypeAny, {
551
567
  options: {
552
568
  name: string;
553
569
  description?: string | undefined;
554
570
  }[];
571
+ markdown: boolean;
555
572
  features: {
556
573
  values: string[];
557
574
  name: string;
@@ -567,11 +584,13 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
567
584
  name: string;
568
585
  }[];
569
586
  title?: string | undefined;
587
+ markdown?: boolean | undefined;
570
588
  }>, {
571
589
  options: {
572
590
  name: string;
573
591
  description?: string | undefined;
574
592
  }[];
593
+ markdown: boolean;
575
594
  features: {
576
595
  values: string[];
577
596
  name: string;
@@ -587,6 +606,7 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
587
606
  name: string;
588
607
  }[];
589
608
  title?: string | undefined;
609
+ markdown?: boolean | undefined;
590
610
  }>;
591
611
 
592
612
  declare const codediffSchema: z.ZodObject<{
@@ -902,7 +922,9 @@ declare const quizSchema: z.ZodObject<{
902
922
  }>]>, "many">;
903
923
  showScore: z.ZodDefault<z.ZodBoolean>;
904
924
  title: z.ZodOptional<z.ZodString>;
925
+ markdown: z.ZodDefault<z.ZodBoolean>;
905
926
  }, "strip", z.ZodTypeAny, {
927
+ markdown: boolean;
906
928
  questions: ({
907
929
  type: "multiple-choice";
908
930
  options: string[];
@@ -943,6 +965,7 @@ declare const quizSchema: z.ZodObject<{
943
965
  explanation?: string | undefined;
944
966
  })[];
945
967
  title?: string | undefined;
968
+ markdown?: boolean | undefined;
946
969
  showScore?: boolean | undefined;
947
970
  }>;
948
971
 
@@ -987,7 +1010,9 @@ declare const cardSchema: z.ZodObject<{
987
1010
  }>, "many">;
988
1011
  variant: z.ZodDefault<z.ZodEnum<["default", "outlined", "elevated"]>>;
989
1012
  columns: z.ZodOptional<z.ZodNumber>;
1013
+ markdown: z.ZodDefault<z.ZodBoolean>;
990
1014
  }, "strip", z.ZodTypeAny, {
1015
+ markdown: boolean;
991
1016
  cards: {
992
1017
  title: string;
993
1018
  icon?: string | undefined;
@@ -1016,6 +1041,7 @@ declare const cardSchema: z.ZodObject<{
1016
1041
  }[];
1017
1042
  columns?: number | undefined;
1018
1043
  title?: string | undefined;
1044
+ markdown?: boolean | undefined;
1019
1045
  variant?: "default" | "outlined" | "elevated" | undefined;
1020
1046
  }>;
1021
1047
 
@@ -1219,7 +1245,9 @@ declare const infographicSchema: z.ZodObject<{
1219
1245
  })[];
1220
1246
  heading?: string | undefined;
1221
1247
  }>, "many">;
1248
+ markdown: z.ZodDefault<z.ZodBoolean>;
1222
1249
  }, "strip", z.ZodTypeAny, {
1250
+ markdown: boolean;
1223
1251
  sections: {
1224
1252
  items: ({
1225
1253
  type: "stat";
@@ -1303,9 +1331,573 @@ declare const infographicSchema: z.ZodObject<{
1303
1331
  heading?: string | undefined;
1304
1332
  }[];
1305
1333
  title?: string | undefined;
1334
+ markdown?: boolean | undefined;
1335
+ }>;
1336
+
1337
+ declare const pollSchema: z.ZodObject<{
1338
+ question: z.ZodString;
1339
+ options: z.ZodArray<z.ZodString, "many">;
1340
+ multiple: z.ZodDefault<z.ZodBoolean>;
1341
+ showResults: z.ZodDefault<z.ZodBoolean>;
1342
+ title: z.ZodOptional<z.ZodString>;
1343
+ markdown: z.ZodDefault<z.ZodBoolean>;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ options: string[];
1346
+ markdown: boolean;
1347
+ multiple: boolean;
1348
+ question: string;
1349
+ showResults: boolean;
1350
+ title?: string | undefined;
1351
+ }, {
1352
+ options: string[];
1353
+ question: string;
1354
+ title?: string | undefined;
1355
+ markdown?: boolean | undefined;
1356
+ multiple?: boolean | undefined;
1357
+ showResults?: boolean | undefined;
1358
+ }>;
1359
+
1360
+ declare const ratingSchema: z.ZodObject<{
1361
+ title: z.ZodOptional<z.ZodString>;
1362
+ scale: z.ZodDefault<z.ZodNumber>;
1363
+ mode: z.ZodDefault<z.ZodEnum<["star", "number"]>>;
1364
+ labels: z.ZodOptional<z.ZodObject<{
1365
+ low: z.ZodString;
1366
+ high: z.ZodString;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ low: string;
1369
+ high: string;
1370
+ }, {
1371
+ low: string;
1372
+ high: string;
1373
+ }>>;
1374
+ items: z.ZodArray<z.ZodObject<{
1375
+ label: z.ZodString;
1376
+ description: z.ZodOptional<z.ZodString>;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ label: string;
1379
+ description?: string | undefined;
1380
+ }, {
1381
+ label: string;
1382
+ description?: string | undefined;
1383
+ }>, "many">;
1384
+ markdown: z.ZodDefault<z.ZodBoolean>;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ markdown: boolean;
1387
+ items: {
1388
+ label: string;
1389
+ description?: string | undefined;
1390
+ }[];
1391
+ scale: number;
1392
+ mode: "number" | "star";
1393
+ title?: string | undefined;
1394
+ labels?: {
1395
+ low: string;
1396
+ high: string;
1397
+ } | undefined;
1398
+ }, {
1399
+ items: {
1400
+ label: string;
1401
+ description?: string | undefined;
1402
+ }[];
1403
+ title?: string | undefined;
1404
+ markdown?: boolean | undefined;
1405
+ scale?: number | undefined;
1406
+ mode?: "number" | "star" | undefined;
1407
+ labels?: {
1408
+ low: string;
1409
+ high: string;
1410
+ } | undefined;
1411
+ }>;
1412
+
1413
+ declare const rankerSchema: z.ZodObject<{
1414
+ title: z.ZodOptional<z.ZodString>;
1415
+ items: z.ZodArray<z.ZodObject<{
1416
+ id: z.ZodString;
1417
+ label: z.ZodString;
1418
+ description: z.ZodOptional<z.ZodString>;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ id: string;
1421
+ label: string;
1422
+ description?: string | undefined;
1423
+ }, {
1424
+ id: string;
1425
+ label: string;
1426
+ description?: string | undefined;
1427
+ }>, "many">;
1428
+ markdown: z.ZodDefault<z.ZodBoolean>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ markdown: boolean;
1431
+ items: {
1432
+ id: string;
1433
+ label: string;
1434
+ description?: string | undefined;
1435
+ }[];
1436
+ title?: string | undefined;
1437
+ }, {
1438
+ items: {
1439
+ id: string;
1440
+ label: string;
1441
+ description?: string | undefined;
1442
+ }[];
1443
+ title?: string | undefined;
1444
+ markdown?: boolean | undefined;
1445
+ }>;
1446
+
1447
+ declare const sliderSchema: z.ZodObject<{
1448
+ title: z.ZodOptional<z.ZodString>;
1449
+ layout: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
1450
+ parameters: z.ZodArray<z.ZodObject<{
1451
+ id: z.ZodString;
1452
+ label: z.ZodString;
1453
+ min: z.ZodDefault<z.ZodNumber>;
1454
+ max: z.ZodDefault<z.ZodNumber>;
1455
+ step: z.ZodDefault<z.ZodNumber>;
1456
+ value: z.ZodOptional<z.ZodNumber>;
1457
+ unit: z.ZodOptional<z.ZodString>;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ id: string;
1460
+ label: string;
1461
+ min: number;
1462
+ max: number;
1463
+ step: number;
1464
+ value?: number | undefined;
1465
+ unit?: string | undefined;
1466
+ }, {
1467
+ id: string;
1468
+ label: string;
1469
+ value?: number | undefined;
1470
+ min?: number | undefined;
1471
+ max?: number | undefined;
1472
+ unit?: string | undefined;
1473
+ step?: number | undefined;
1474
+ }>, "many">;
1475
+ markdown: z.ZodDefault<z.ZodBoolean>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ layout: "vertical" | "horizontal";
1478
+ markdown: boolean;
1479
+ parameters: {
1480
+ id: string;
1481
+ label: string;
1482
+ min: number;
1483
+ max: number;
1484
+ step: number;
1485
+ value?: number | undefined;
1486
+ unit?: string | undefined;
1487
+ }[];
1488
+ title?: string | undefined;
1489
+ }, {
1490
+ parameters: {
1491
+ id: string;
1492
+ label: string;
1493
+ value?: number | undefined;
1494
+ min?: number | undefined;
1495
+ max?: number | undefined;
1496
+ unit?: string | undefined;
1497
+ step?: number | undefined;
1498
+ }[];
1499
+ layout?: "vertical" | "horizontal" | undefined;
1500
+ title?: string | undefined;
1501
+ markdown?: boolean | undefined;
1502
+ }>;
1503
+
1504
+ declare const matrixSchema: z.ZodObject<{
1505
+ title: z.ZodOptional<z.ZodString>;
1506
+ scale: z.ZodDefault<z.ZodNumber>;
1507
+ showTotals: z.ZodDefault<z.ZodBoolean>;
1508
+ columns: z.ZodArray<z.ZodObject<{
1509
+ id: z.ZodString;
1510
+ label: z.ZodString;
1511
+ weight: z.ZodDefault<z.ZodNumber>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ id: string;
1514
+ label: string;
1515
+ weight: number;
1516
+ }, {
1517
+ id: string;
1518
+ label: string;
1519
+ weight?: number | undefined;
1520
+ }>, "many">;
1521
+ rows: z.ZodArray<z.ZodObject<{
1522
+ id: z.ZodString;
1523
+ label: z.ZodString;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ id: string;
1526
+ label: string;
1527
+ }, {
1528
+ id: string;
1529
+ label: string;
1530
+ }>, "many">;
1531
+ markdown: z.ZodDefault<z.ZodBoolean>;
1532
+ }, "strip", z.ZodTypeAny, {
1533
+ columns: {
1534
+ id: string;
1535
+ label: string;
1536
+ weight: number;
1537
+ }[];
1538
+ rows: {
1539
+ id: string;
1540
+ label: string;
1541
+ }[];
1542
+ markdown: boolean;
1543
+ scale: number;
1544
+ showTotals: boolean;
1545
+ title?: string | undefined;
1546
+ }, {
1547
+ columns: {
1548
+ id: string;
1549
+ label: string;
1550
+ weight?: number | undefined;
1551
+ }[];
1552
+ rows: {
1553
+ id: string;
1554
+ label: string;
1555
+ }[];
1556
+ title?: string | undefined;
1557
+ markdown?: boolean | undefined;
1558
+ scale?: number | undefined;
1559
+ showTotals?: boolean | undefined;
1560
+ }>;
1561
+
1562
+ declare const formSchema: z.ZodObject<{
1563
+ title: z.ZodOptional<z.ZodString>;
1564
+ description: z.ZodOptional<z.ZodString>;
1565
+ submitLabel: z.ZodDefault<z.ZodString>;
1566
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1567
+ type: z.ZodLiteral<"text">;
1568
+ id: z.ZodString;
1569
+ label: z.ZodString;
1570
+ required: z.ZodDefault<z.ZodBoolean>;
1571
+ default: z.ZodOptional<z.ZodString>;
1572
+ placeholder: z.ZodOptional<z.ZodString>;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ type: "text";
1575
+ id: string;
1576
+ label: string;
1577
+ required: boolean;
1578
+ default?: string | undefined;
1579
+ placeholder?: string | undefined;
1580
+ }, {
1581
+ type: "text";
1582
+ id: string;
1583
+ label: string;
1584
+ default?: string | undefined;
1585
+ required?: boolean | undefined;
1586
+ placeholder?: string | undefined;
1587
+ }>, z.ZodObject<{
1588
+ type: z.ZodLiteral<"textarea">;
1589
+ id: z.ZodString;
1590
+ label: z.ZodString;
1591
+ required: z.ZodDefault<z.ZodBoolean>;
1592
+ default: z.ZodOptional<z.ZodString>;
1593
+ placeholder: z.ZodOptional<z.ZodString>;
1594
+ rows: z.ZodDefault<z.ZodNumber>;
1595
+ }, "strip", z.ZodTypeAny, {
1596
+ type: "textarea";
1597
+ id: string;
1598
+ label: string;
1599
+ rows: number;
1600
+ required: boolean;
1601
+ default?: string | undefined;
1602
+ placeholder?: string | undefined;
1603
+ }, {
1604
+ type: "textarea";
1605
+ id: string;
1606
+ label: string;
1607
+ rows?: number | undefined;
1608
+ default?: string | undefined;
1609
+ required?: boolean | undefined;
1610
+ placeholder?: string | undefined;
1611
+ }>, z.ZodObject<{
1612
+ type: z.ZodLiteral<"select">;
1613
+ id: z.ZodString;
1614
+ label: z.ZodString;
1615
+ required: z.ZodDefault<z.ZodBoolean>;
1616
+ options: z.ZodArray<z.ZodString, "many">;
1617
+ default: z.ZodOptional<z.ZodString>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ type: "select";
1620
+ options: string[];
1621
+ id: string;
1622
+ label: string;
1623
+ required: boolean;
1624
+ default?: string | undefined;
1625
+ }, {
1626
+ type: "select";
1627
+ options: string[];
1628
+ id: string;
1629
+ label: string;
1630
+ default?: string | undefined;
1631
+ required?: boolean | undefined;
1632
+ }>, z.ZodObject<{
1633
+ type: z.ZodLiteral<"checkbox">;
1634
+ id: z.ZodString;
1635
+ label: z.ZodString;
1636
+ default: z.ZodDefault<z.ZodBoolean>;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ type: "checkbox";
1639
+ id: string;
1640
+ label: string;
1641
+ default: boolean;
1642
+ }, {
1643
+ type: "checkbox";
1644
+ id: string;
1645
+ label: string;
1646
+ default?: boolean | undefined;
1647
+ }>, z.ZodObject<{
1648
+ type: z.ZodLiteral<"range">;
1649
+ id: z.ZodString;
1650
+ label: z.ZodString;
1651
+ min: z.ZodDefault<z.ZodNumber>;
1652
+ max: z.ZodDefault<z.ZodNumber>;
1653
+ step: z.ZodDefault<z.ZodNumber>;
1654
+ default: z.ZodOptional<z.ZodNumber>;
1655
+ unit: z.ZodOptional<z.ZodString>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ type: "range";
1658
+ id: string;
1659
+ label: string;
1660
+ min: number;
1661
+ max: number;
1662
+ step: number;
1663
+ unit?: string | undefined;
1664
+ default?: number | undefined;
1665
+ }, {
1666
+ type: "range";
1667
+ id: string;
1668
+ label: string;
1669
+ min?: number | undefined;
1670
+ max?: number | undefined;
1671
+ unit?: string | undefined;
1672
+ default?: number | undefined;
1673
+ step?: number | undefined;
1674
+ }>]>, "many">;
1675
+ markdown: z.ZodDefault<z.ZodBoolean>;
1676
+ }, "strip", z.ZodTypeAny, {
1677
+ markdown: boolean;
1678
+ submitLabel: string;
1679
+ fields: ({
1680
+ type: "text";
1681
+ id: string;
1682
+ label: string;
1683
+ required: boolean;
1684
+ default?: string | undefined;
1685
+ placeholder?: string | undefined;
1686
+ } | {
1687
+ type: "textarea";
1688
+ id: string;
1689
+ label: string;
1690
+ rows: number;
1691
+ required: boolean;
1692
+ default?: string | undefined;
1693
+ placeholder?: string | undefined;
1694
+ } | {
1695
+ type: "select";
1696
+ options: string[];
1697
+ id: string;
1698
+ label: string;
1699
+ required: boolean;
1700
+ default?: string | undefined;
1701
+ } | {
1702
+ type: "checkbox";
1703
+ id: string;
1704
+ label: string;
1705
+ default: boolean;
1706
+ } | {
1707
+ type: "range";
1708
+ id: string;
1709
+ label: string;
1710
+ min: number;
1711
+ max: number;
1712
+ step: number;
1713
+ unit?: string | undefined;
1714
+ default?: number | undefined;
1715
+ })[];
1716
+ title?: string | undefined;
1717
+ description?: string | undefined;
1718
+ }, {
1719
+ fields: ({
1720
+ type: "text";
1721
+ id: string;
1722
+ label: string;
1723
+ default?: string | undefined;
1724
+ required?: boolean | undefined;
1725
+ placeholder?: string | undefined;
1726
+ } | {
1727
+ type: "textarea";
1728
+ id: string;
1729
+ label: string;
1730
+ rows?: number | undefined;
1731
+ default?: string | undefined;
1732
+ required?: boolean | undefined;
1733
+ placeholder?: string | undefined;
1734
+ } | {
1735
+ type: "select";
1736
+ options: string[];
1737
+ id: string;
1738
+ label: string;
1739
+ default?: string | undefined;
1740
+ required?: boolean | undefined;
1741
+ } | {
1742
+ type: "checkbox";
1743
+ id: string;
1744
+ label: string;
1745
+ default?: boolean | undefined;
1746
+ } | {
1747
+ type: "range";
1748
+ id: string;
1749
+ label: string;
1750
+ min?: number | undefined;
1751
+ max?: number | undefined;
1752
+ unit?: string | undefined;
1753
+ default?: number | undefined;
1754
+ step?: number | undefined;
1755
+ })[];
1756
+ title?: string | undefined;
1757
+ description?: string | undefined;
1758
+ markdown?: boolean | undefined;
1759
+ submitLabel?: string | undefined;
1760
+ }>;
1761
+
1762
+ declare const kanbanSchema: z.ZodObject<{
1763
+ title: z.ZodOptional<z.ZodString>;
1764
+ columns: z.ZodArray<z.ZodObject<{
1765
+ id: z.ZodString;
1766
+ title: z.ZodString;
1767
+ cards: z.ZodDefault<z.ZodArray<z.ZodObject<{
1768
+ id: z.ZodString;
1769
+ title: z.ZodString;
1770
+ description: z.ZodOptional<z.ZodString>;
1771
+ priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
1772
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ id: string;
1775
+ title: string;
1776
+ description?: string | undefined;
1777
+ priority?: "low" | "high" | "medium" | undefined;
1778
+ tags?: string[] | undefined;
1779
+ }, {
1780
+ id: string;
1781
+ title: string;
1782
+ description?: string | undefined;
1783
+ priority?: "low" | "high" | "medium" | undefined;
1784
+ tags?: string[] | undefined;
1785
+ }>, "many">>;
1786
+ limit: z.ZodOptional<z.ZodNumber>;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ id: string;
1789
+ title: string;
1790
+ cards: {
1791
+ id: string;
1792
+ title: string;
1793
+ description?: string | undefined;
1794
+ priority?: "low" | "high" | "medium" | undefined;
1795
+ tags?: string[] | undefined;
1796
+ }[];
1797
+ limit?: number | undefined;
1798
+ }, {
1799
+ id: string;
1800
+ title: string;
1801
+ cards?: {
1802
+ id: string;
1803
+ title: string;
1804
+ description?: string | undefined;
1805
+ priority?: "low" | "high" | "medium" | undefined;
1806
+ tags?: string[] | undefined;
1807
+ }[] | undefined;
1808
+ limit?: number | undefined;
1809
+ }>, "many">;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ columns: {
1812
+ id: string;
1813
+ title: string;
1814
+ cards: {
1815
+ id: string;
1816
+ title: string;
1817
+ description?: string | undefined;
1818
+ priority?: "low" | "high" | "medium" | undefined;
1819
+ tags?: string[] | undefined;
1820
+ }[];
1821
+ limit?: number | undefined;
1822
+ }[];
1823
+ title?: string | undefined;
1824
+ }, {
1825
+ columns: {
1826
+ id: string;
1827
+ title: string;
1828
+ cards?: {
1829
+ id: string;
1830
+ title: string;
1831
+ description?: string | undefined;
1832
+ priority?: "low" | "high" | "medium" | undefined;
1833
+ tags?: string[] | undefined;
1834
+ }[] | undefined;
1835
+ limit?: number | undefined;
1836
+ }[];
1837
+ title?: string | undefined;
1838
+ }>;
1839
+
1840
+ declare const annotateSchema: z.ZodObject<{
1841
+ title: z.ZodOptional<z.ZodString>;
1842
+ labels: z.ZodArray<z.ZodObject<{
1843
+ name: z.ZodString;
1844
+ color: z.ZodString;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ name: string;
1847
+ color: string;
1848
+ }, {
1849
+ name: string;
1850
+ color: string;
1851
+ }>, "many">;
1852
+ text: z.ZodString;
1853
+ annotations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1854
+ start: z.ZodNumber;
1855
+ end: z.ZodNumber;
1856
+ label: z.ZodString;
1857
+ note: z.ZodOptional<z.ZodString>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ label: string;
1860
+ start: number;
1861
+ end: number;
1862
+ note?: string | undefined;
1863
+ }, {
1864
+ label: string;
1865
+ start: number;
1866
+ end: number;
1867
+ note?: string | undefined;
1868
+ }>, "many">>;
1869
+ markdown: z.ZodDefault<z.ZodBoolean>;
1870
+ }, "strip", z.ZodTypeAny, {
1871
+ markdown: boolean;
1872
+ text: string;
1873
+ labels: {
1874
+ name: string;
1875
+ color: string;
1876
+ }[];
1877
+ annotations: {
1878
+ label: string;
1879
+ start: number;
1880
+ end: number;
1881
+ note?: string | undefined;
1882
+ }[];
1883
+ title?: string | undefined;
1884
+ }, {
1885
+ text: string;
1886
+ labels: {
1887
+ name: string;
1888
+ color: string;
1889
+ }[];
1890
+ title?: string | undefined;
1891
+ markdown?: boolean | undefined;
1892
+ annotations?: {
1893
+ label: string;
1894
+ start: number;
1895
+ end: number;
1896
+ note?: string | undefined;
1897
+ }[] | undefined;
1306
1898
  }>;
1307
1899
 
1308
1900
  declare const componentSchemas: ReadonlyMap<string, z.ZodType>;
1309
1901
  declare function getJsonSchema(componentType: string): object | undefined;
1310
1902
 
1311
- export { accordionSchema, architectureSchema, calloutSchema, cardSchema, chartSchema, codediffSchema, comparisonSchema, componentSchemas, equationSchema, filetreeSchema, flowchartSchema, getJsonSchema, graphSchema, infographicSchema, kpiSchema, mindmapSchema, quizSchema, relationSchema, sequenceSchema, stepsSchema, tableSchema, tabsSchema, timelineSchema };
1903
+ export { accordionSchema, annotateSchema, architectureSchema, calloutSchema, cardSchema, chartSchema, codediffSchema, comparisonSchema, componentSchemas, equationSchema, filetreeSchema, flowchartSchema, formSchema, getJsonSchema, graphSchema, infographicSchema, kanbanSchema, kpiSchema, matrixSchema, mindmapSchema, pollSchema, quizSchema, rankerSchema, ratingSchema, relationSchema, sequenceSchema, sliderSchema, stepsSchema, tableSchema, tabsSchema, timelineSchema };