@glyphjs/schemas 0.1.0 → 0.2.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.cjs +164 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +543 -1
- package/dist/index.d.ts +543 -1
- package/dist/index.js +157 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1305,7 +1305,549 @@ declare const infographicSchema: z.ZodObject<{
|
|
|
1305
1305
|
title?: string | undefined;
|
|
1306
1306
|
}>;
|
|
1307
1307
|
|
|
1308
|
+
declare const pollSchema: z.ZodObject<{
|
|
1309
|
+
question: z.ZodString;
|
|
1310
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
1311
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
1312
|
+
showResults: z.ZodDefault<z.ZodBoolean>;
|
|
1313
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
}, "strip", z.ZodTypeAny, {
|
|
1315
|
+
options: string[];
|
|
1316
|
+
multiple: boolean;
|
|
1317
|
+
question: string;
|
|
1318
|
+
showResults: boolean;
|
|
1319
|
+
title?: string | undefined;
|
|
1320
|
+
}, {
|
|
1321
|
+
options: string[];
|
|
1322
|
+
question: string;
|
|
1323
|
+
title?: string | undefined;
|
|
1324
|
+
multiple?: boolean | undefined;
|
|
1325
|
+
showResults?: boolean | undefined;
|
|
1326
|
+
}>;
|
|
1327
|
+
|
|
1328
|
+
declare const ratingSchema: z.ZodObject<{
|
|
1329
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
1331
|
+
mode: z.ZodDefault<z.ZodEnum<["star", "number"]>>;
|
|
1332
|
+
labels: z.ZodOptional<z.ZodObject<{
|
|
1333
|
+
low: z.ZodString;
|
|
1334
|
+
high: z.ZodString;
|
|
1335
|
+
}, "strip", z.ZodTypeAny, {
|
|
1336
|
+
low: string;
|
|
1337
|
+
high: string;
|
|
1338
|
+
}, {
|
|
1339
|
+
low: string;
|
|
1340
|
+
high: string;
|
|
1341
|
+
}>>;
|
|
1342
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1343
|
+
label: z.ZodString;
|
|
1344
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
label: string;
|
|
1347
|
+
description?: string | undefined;
|
|
1348
|
+
}, {
|
|
1349
|
+
label: string;
|
|
1350
|
+
description?: string | undefined;
|
|
1351
|
+
}>, "many">;
|
|
1352
|
+
}, "strip", z.ZodTypeAny, {
|
|
1353
|
+
items: {
|
|
1354
|
+
label: string;
|
|
1355
|
+
description?: string | undefined;
|
|
1356
|
+
}[];
|
|
1357
|
+
scale: number;
|
|
1358
|
+
mode: "number" | "star";
|
|
1359
|
+
title?: string | undefined;
|
|
1360
|
+
labels?: {
|
|
1361
|
+
low: string;
|
|
1362
|
+
high: string;
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
}, {
|
|
1365
|
+
items: {
|
|
1366
|
+
label: string;
|
|
1367
|
+
description?: string | undefined;
|
|
1368
|
+
}[];
|
|
1369
|
+
title?: string | undefined;
|
|
1370
|
+
scale?: number | undefined;
|
|
1371
|
+
mode?: "number" | "star" | undefined;
|
|
1372
|
+
labels?: {
|
|
1373
|
+
low: string;
|
|
1374
|
+
high: string;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
}>;
|
|
1377
|
+
|
|
1378
|
+
declare const rankerSchema: z.ZodObject<{
|
|
1379
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
label: z.ZodString;
|
|
1383
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
}, "strip", z.ZodTypeAny, {
|
|
1385
|
+
id: string;
|
|
1386
|
+
label: string;
|
|
1387
|
+
description?: string | undefined;
|
|
1388
|
+
}, {
|
|
1389
|
+
id: string;
|
|
1390
|
+
label: string;
|
|
1391
|
+
description?: string | undefined;
|
|
1392
|
+
}>, "many">;
|
|
1393
|
+
}, "strip", z.ZodTypeAny, {
|
|
1394
|
+
items: {
|
|
1395
|
+
id: string;
|
|
1396
|
+
label: string;
|
|
1397
|
+
description?: string | undefined;
|
|
1398
|
+
}[];
|
|
1399
|
+
title?: string | undefined;
|
|
1400
|
+
}, {
|
|
1401
|
+
items: {
|
|
1402
|
+
id: string;
|
|
1403
|
+
label: string;
|
|
1404
|
+
description?: string | undefined;
|
|
1405
|
+
}[];
|
|
1406
|
+
title?: string | undefined;
|
|
1407
|
+
}>;
|
|
1408
|
+
|
|
1409
|
+
declare const sliderSchema: z.ZodObject<{
|
|
1410
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
layout: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
1412
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
1413
|
+
id: z.ZodString;
|
|
1414
|
+
label: z.ZodString;
|
|
1415
|
+
min: z.ZodDefault<z.ZodNumber>;
|
|
1416
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
1417
|
+
step: z.ZodDefault<z.ZodNumber>;
|
|
1418
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
1419
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
id: string;
|
|
1422
|
+
label: string;
|
|
1423
|
+
min: number;
|
|
1424
|
+
max: number;
|
|
1425
|
+
step: number;
|
|
1426
|
+
value?: number | undefined;
|
|
1427
|
+
unit?: string | undefined;
|
|
1428
|
+
}, {
|
|
1429
|
+
id: string;
|
|
1430
|
+
label: string;
|
|
1431
|
+
value?: number | undefined;
|
|
1432
|
+
min?: number | undefined;
|
|
1433
|
+
max?: number | undefined;
|
|
1434
|
+
unit?: string | undefined;
|
|
1435
|
+
step?: number | undefined;
|
|
1436
|
+
}>, "many">;
|
|
1437
|
+
}, "strip", z.ZodTypeAny, {
|
|
1438
|
+
layout: "vertical" | "horizontal";
|
|
1439
|
+
parameters: {
|
|
1440
|
+
id: string;
|
|
1441
|
+
label: string;
|
|
1442
|
+
min: number;
|
|
1443
|
+
max: number;
|
|
1444
|
+
step: number;
|
|
1445
|
+
value?: number | undefined;
|
|
1446
|
+
unit?: string | undefined;
|
|
1447
|
+
}[];
|
|
1448
|
+
title?: string | undefined;
|
|
1449
|
+
}, {
|
|
1450
|
+
parameters: {
|
|
1451
|
+
id: string;
|
|
1452
|
+
label: string;
|
|
1453
|
+
value?: number | undefined;
|
|
1454
|
+
min?: number | undefined;
|
|
1455
|
+
max?: number | undefined;
|
|
1456
|
+
unit?: string | undefined;
|
|
1457
|
+
step?: number | undefined;
|
|
1458
|
+
}[];
|
|
1459
|
+
layout?: "vertical" | "horizontal" | undefined;
|
|
1460
|
+
title?: string | undefined;
|
|
1461
|
+
}>;
|
|
1462
|
+
|
|
1463
|
+
declare const matrixSchema: z.ZodObject<{
|
|
1464
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
1466
|
+
showTotals: z.ZodDefault<z.ZodBoolean>;
|
|
1467
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1468
|
+
id: z.ZodString;
|
|
1469
|
+
label: z.ZodString;
|
|
1470
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
1471
|
+
}, "strip", z.ZodTypeAny, {
|
|
1472
|
+
id: string;
|
|
1473
|
+
label: string;
|
|
1474
|
+
weight: number;
|
|
1475
|
+
}, {
|
|
1476
|
+
id: string;
|
|
1477
|
+
label: string;
|
|
1478
|
+
weight?: number | undefined;
|
|
1479
|
+
}>, "many">;
|
|
1480
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1481
|
+
id: z.ZodString;
|
|
1482
|
+
label: z.ZodString;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
id: string;
|
|
1485
|
+
label: string;
|
|
1486
|
+
}, {
|
|
1487
|
+
id: string;
|
|
1488
|
+
label: string;
|
|
1489
|
+
}>, "many">;
|
|
1490
|
+
}, "strip", z.ZodTypeAny, {
|
|
1491
|
+
columns: {
|
|
1492
|
+
id: string;
|
|
1493
|
+
label: string;
|
|
1494
|
+
weight: number;
|
|
1495
|
+
}[];
|
|
1496
|
+
rows: {
|
|
1497
|
+
id: string;
|
|
1498
|
+
label: string;
|
|
1499
|
+
}[];
|
|
1500
|
+
scale: number;
|
|
1501
|
+
showTotals: boolean;
|
|
1502
|
+
title?: string | undefined;
|
|
1503
|
+
}, {
|
|
1504
|
+
columns: {
|
|
1505
|
+
id: string;
|
|
1506
|
+
label: string;
|
|
1507
|
+
weight?: number | undefined;
|
|
1508
|
+
}[];
|
|
1509
|
+
rows: {
|
|
1510
|
+
id: string;
|
|
1511
|
+
label: string;
|
|
1512
|
+
}[];
|
|
1513
|
+
title?: string | undefined;
|
|
1514
|
+
scale?: number | undefined;
|
|
1515
|
+
showTotals?: boolean | undefined;
|
|
1516
|
+
}>;
|
|
1517
|
+
|
|
1518
|
+
declare const formSchema: z.ZodObject<{
|
|
1519
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
submitLabel: z.ZodDefault<z.ZodString>;
|
|
1522
|
+
fields: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1523
|
+
type: z.ZodLiteral<"text">;
|
|
1524
|
+
id: z.ZodString;
|
|
1525
|
+
label: z.ZodString;
|
|
1526
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1527
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
type: "text";
|
|
1531
|
+
id: string;
|
|
1532
|
+
label: string;
|
|
1533
|
+
required: boolean;
|
|
1534
|
+
default?: string | undefined;
|
|
1535
|
+
placeholder?: string | undefined;
|
|
1536
|
+
}, {
|
|
1537
|
+
type: "text";
|
|
1538
|
+
id: string;
|
|
1539
|
+
label: string;
|
|
1540
|
+
default?: string | undefined;
|
|
1541
|
+
required?: boolean | undefined;
|
|
1542
|
+
placeholder?: string | undefined;
|
|
1543
|
+
}>, z.ZodObject<{
|
|
1544
|
+
type: z.ZodLiteral<"textarea">;
|
|
1545
|
+
id: z.ZodString;
|
|
1546
|
+
label: z.ZodString;
|
|
1547
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1548
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1549
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1550
|
+
rows: z.ZodDefault<z.ZodNumber>;
|
|
1551
|
+
}, "strip", z.ZodTypeAny, {
|
|
1552
|
+
type: "textarea";
|
|
1553
|
+
id: string;
|
|
1554
|
+
label: string;
|
|
1555
|
+
rows: number;
|
|
1556
|
+
required: boolean;
|
|
1557
|
+
default?: string | undefined;
|
|
1558
|
+
placeholder?: string | undefined;
|
|
1559
|
+
}, {
|
|
1560
|
+
type: "textarea";
|
|
1561
|
+
id: string;
|
|
1562
|
+
label: string;
|
|
1563
|
+
rows?: number | undefined;
|
|
1564
|
+
default?: string | undefined;
|
|
1565
|
+
required?: boolean | undefined;
|
|
1566
|
+
placeholder?: string | undefined;
|
|
1567
|
+
}>, z.ZodObject<{
|
|
1568
|
+
type: z.ZodLiteral<"select">;
|
|
1569
|
+
id: z.ZodString;
|
|
1570
|
+
label: z.ZodString;
|
|
1571
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1572
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
1573
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
}, "strip", z.ZodTypeAny, {
|
|
1575
|
+
type: "select";
|
|
1576
|
+
options: string[];
|
|
1577
|
+
id: string;
|
|
1578
|
+
label: string;
|
|
1579
|
+
required: boolean;
|
|
1580
|
+
default?: string | undefined;
|
|
1581
|
+
}, {
|
|
1582
|
+
type: "select";
|
|
1583
|
+
options: string[];
|
|
1584
|
+
id: string;
|
|
1585
|
+
label: string;
|
|
1586
|
+
default?: string | undefined;
|
|
1587
|
+
required?: boolean | undefined;
|
|
1588
|
+
}>, z.ZodObject<{
|
|
1589
|
+
type: z.ZodLiteral<"checkbox">;
|
|
1590
|
+
id: z.ZodString;
|
|
1591
|
+
label: z.ZodString;
|
|
1592
|
+
default: z.ZodDefault<z.ZodBoolean>;
|
|
1593
|
+
}, "strip", z.ZodTypeAny, {
|
|
1594
|
+
type: "checkbox";
|
|
1595
|
+
id: string;
|
|
1596
|
+
label: string;
|
|
1597
|
+
default: boolean;
|
|
1598
|
+
}, {
|
|
1599
|
+
type: "checkbox";
|
|
1600
|
+
id: string;
|
|
1601
|
+
label: string;
|
|
1602
|
+
default?: boolean | undefined;
|
|
1603
|
+
}>, z.ZodObject<{
|
|
1604
|
+
type: z.ZodLiteral<"range">;
|
|
1605
|
+
id: z.ZodString;
|
|
1606
|
+
label: z.ZodString;
|
|
1607
|
+
min: z.ZodDefault<z.ZodNumber>;
|
|
1608
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
1609
|
+
step: z.ZodDefault<z.ZodNumber>;
|
|
1610
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
1611
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
type: "range";
|
|
1614
|
+
id: string;
|
|
1615
|
+
label: string;
|
|
1616
|
+
min: number;
|
|
1617
|
+
max: number;
|
|
1618
|
+
step: number;
|
|
1619
|
+
unit?: string | undefined;
|
|
1620
|
+
default?: number | undefined;
|
|
1621
|
+
}, {
|
|
1622
|
+
type: "range";
|
|
1623
|
+
id: string;
|
|
1624
|
+
label: string;
|
|
1625
|
+
min?: number | undefined;
|
|
1626
|
+
max?: number | undefined;
|
|
1627
|
+
unit?: string | undefined;
|
|
1628
|
+
default?: number | undefined;
|
|
1629
|
+
step?: number | undefined;
|
|
1630
|
+
}>]>, "many">;
|
|
1631
|
+
}, "strip", z.ZodTypeAny, {
|
|
1632
|
+
submitLabel: string;
|
|
1633
|
+
fields: ({
|
|
1634
|
+
type: "text";
|
|
1635
|
+
id: string;
|
|
1636
|
+
label: string;
|
|
1637
|
+
required: boolean;
|
|
1638
|
+
default?: string | undefined;
|
|
1639
|
+
placeholder?: string | undefined;
|
|
1640
|
+
} | {
|
|
1641
|
+
type: "textarea";
|
|
1642
|
+
id: string;
|
|
1643
|
+
label: string;
|
|
1644
|
+
rows: number;
|
|
1645
|
+
required: boolean;
|
|
1646
|
+
default?: string | undefined;
|
|
1647
|
+
placeholder?: string | undefined;
|
|
1648
|
+
} | {
|
|
1649
|
+
type: "select";
|
|
1650
|
+
options: string[];
|
|
1651
|
+
id: string;
|
|
1652
|
+
label: string;
|
|
1653
|
+
required: boolean;
|
|
1654
|
+
default?: string | undefined;
|
|
1655
|
+
} | {
|
|
1656
|
+
type: "checkbox";
|
|
1657
|
+
id: string;
|
|
1658
|
+
label: string;
|
|
1659
|
+
default: boolean;
|
|
1660
|
+
} | {
|
|
1661
|
+
type: "range";
|
|
1662
|
+
id: string;
|
|
1663
|
+
label: string;
|
|
1664
|
+
min: number;
|
|
1665
|
+
max: number;
|
|
1666
|
+
step: number;
|
|
1667
|
+
unit?: string | undefined;
|
|
1668
|
+
default?: number | undefined;
|
|
1669
|
+
})[];
|
|
1670
|
+
title?: string | undefined;
|
|
1671
|
+
description?: string | undefined;
|
|
1672
|
+
}, {
|
|
1673
|
+
fields: ({
|
|
1674
|
+
type: "text";
|
|
1675
|
+
id: string;
|
|
1676
|
+
label: string;
|
|
1677
|
+
default?: string | undefined;
|
|
1678
|
+
required?: boolean | undefined;
|
|
1679
|
+
placeholder?: string | undefined;
|
|
1680
|
+
} | {
|
|
1681
|
+
type: "textarea";
|
|
1682
|
+
id: string;
|
|
1683
|
+
label: string;
|
|
1684
|
+
rows?: number | undefined;
|
|
1685
|
+
default?: string | undefined;
|
|
1686
|
+
required?: boolean | undefined;
|
|
1687
|
+
placeholder?: string | undefined;
|
|
1688
|
+
} | {
|
|
1689
|
+
type: "select";
|
|
1690
|
+
options: string[];
|
|
1691
|
+
id: string;
|
|
1692
|
+
label: string;
|
|
1693
|
+
default?: string | undefined;
|
|
1694
|
+
required?: boolean | undefined;
|
|
1695
|
+
} | {
|
|
1696
|
+
type: "checkbox";
|
|
1697
|
+
id: string;
|
|
1698
|
+
label: string;
|
|
1699
|
+
default?: boolean | undefined;
|
|
1700
|
+
} | {
|
|
1701
|
+
type: "range";
|
|
1702
|
+
id: string;
|
|
1703
|
+
label: string;
|
|
1704
|
+
min?: number | undefined;
|
|
1705
|
+
max?: number | undefined;
|
|
1706
|
+
unit?: string | undefined;
|
|
1707
|
+
default?: number | undefined;
|
|
1708
|
+
step?: number | undefined;
|
|
1709
|
+
})[];
|
|
1710
|
+
title?: string | undefined;
|
|
1711
|
+
description?: string | undefined;
|
|
1712
|
+
submitLabel?: string | undefined;
|
|
1713
|
+
}>;
|
|
1714
|
+
|
|
1715
|
+
declare const kanbanSchema: z.ZodObject<{
|
|
1716
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
id: z.ZodString;
|
|
1719
|
+
title: z.ZodString;
|
|
1720
|
+
cards: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1721
|
+
id: z.ZodString;
|
|
1722
|
+
title: z.ZodString;
|
|
1723
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
priority: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
|
|
1725
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1726
|
+
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
id: string;
|
|
1728
|
+
title: string;
|
|
1729
|
+
description?: string | undefined;
|
|
1730
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1731
|
+
tags?: string[] | undefined;
|
|
1732
|
+
}, {
|
|
1733
|
+
id: string;
|
|
1734
|
+
title: string;
|
|
1735
|
+
description?: string | undefined;
|
|
1736
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1737
|
+
tags?: string[] | undefined;
|
|
1738
|
+
}>, "many">>;
|
|
1739
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
id: string;
|
|
1742
|
+
title: string;
|
|
1743
|
+
cards: {
|
|
1744
|
+
id: string;
|
|
1745
|
+
title: string;
|
|
1746
|
+
description?: string | undefined;
|
|
1747
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1748
|
+
tags?: string[] | undefined;
|
|
1749
|
+
}[];
|
|
1750
|
+
limit?: number | undefined;
|
|
1751
|
+
}, {
|
|
1752
|
+
id: string;
|
|
1753
|
+
title: string;
|
|
1754
|
+
cards?: {
|
|
1755
|
+
id: string;
|
|
1756
|
+
title: string;
|
|
1757
|
+
description?: string | undefined;
|
|
1758
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1759
|
+
tags?: string[] | undefined;
|
|
1760
|
+
}[] | undefined;
|
|
1761
|
+
limit?: number | undefined;
|
|
1762
|
+
}>, "many">;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
columns: {
|
|
1765
|
+
id: string;
|
|
1766
|
+
title: string;
|
|
1767
|
+
cards: {
|
|
1768
|
+
id: string;
|
|
1769
|
+
title: string;
|
|
1770
|
+
description?: string | undefined;
|
|
1771
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1772
|
+
tags?: string[] | undefined;
|
|
1773
|
+
}[];
|
|
1774
|
+
limit?: number | undefined;
|
|
1775
|
+
}[];
|
|
1776
|
+
title?: string | undefined;
|
|
1777
|
+
}, {
|
|
1778
|
+
columns: {
|
|
1779
|
+
id: string;
|
|
1780
|
+
title: string;
|
|
1781
|
+
cards?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
title: string;
|
|
1784
|
+
description?: string | undefined;
|
|
1785
|
+
priority?: "low" | "high" | "medium" | undefined;
|
|
1786
|
+
tags?: string[] | undefined;
|
|
1787
|
+
}[] | undefined;
|
|
1788
|
+
limit?: number | undefined;
|
|
1789
|
+
}[];
|
|
1790
|
+
title?: string | undefined;
|
|
1791
|
+
}>;
|
|
1792
|
+
|
|
1793
|
+
declare const annotateSchema: z.ZodObject<{
|
|
1794
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
labels: z.ZodArray<z.ZodObject<{
|
|
1796
|
+
name: z.ZodString;
|
|
1797
|
+
color: z.ZodString;
|
|
1798
|
+
}, "strip", z.ZodTypeAny, {
|
|
1799
|
+
name: string;
|
|
1800
|
+
color: string;
|
|
1801
|
+
}, {
|
|
1802
|
+
name: string;
|
|
1803
|
+
color: string;
|
|
1804
|
+
}>, "many">;
|
|
1805
|
+
text: z.ZodString;
|
|
1806
|
+
annotations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1807
|
+
start: z.ZodNumber;
|
|
1808
|
+
end: z.ZodNumber;
|
|
1809
|
+
label: z.ZodString;
|
|
1810
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
}, "strip", z.ZodTypeAny, {
|
|
1812
|
+
label: string;
|
|
1813
|
+
start: number;
|
|
1814
|
+
end: number;
|
|
1815
|
+
note?: string | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
label: string;
|
|
1818
|
+
start: number;
|
|
1819
|
+
end: number;
|
|
1820
|
+
note?: string | undefined;
|
|
1821
|
+
}>, "many">>;
|
|
1822
|
+
}, "strip", z.ZodTypeAny, {
|
|
1823
|
+
text: string;
|
|
1824
|
+
labels: {
|
|
1825
|
+
name: string;
|
|
1826
|
+
color: string;
|
|
1827
|
+
}[];
|
|
1828
|
+
annotations: {
|
|
1829
|
+
label: string;
|
|
1830
|
+
start: number;
|
|
1831
|
+
end: number;
|
|
1832
|
+
note?: string | undefined;
|
|
1833
|
+
}[];
|
|
1834
|
+
title?: string | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
text: string;
|
|
1837
|
+
labels: {
|
|
1838
|
+
name: string;
|
|
1839
|
+
color: string;
|
|
1840
|
+
}[];
|
|
1841
|
+
title?: string | undefined;
|
|
1842
|
+
annotations?: {
|
|
1843
|
+
label: string;
|
|
1844
|
+
start: number;
|
|
1845
|
+
end: number;
|
|
1846
|
+
note?: string | undefined;
|
|
1847
|
+
}[] | undefined;
|
|
1848
|
+
}>;
|
|
1849
|
+
|
|
1308
1850
|
declare const componentSchemas: ReadonlyMap<string, z.ZodType>;
|
|
1309
1851
|
declare function getJsonSchema(componentType: string): object | undefined;
|
|
1310
1852
|
|
|
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 };
|
|
1853
|
+
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 };
|