@sockethub/platform-caldav 1.0.0-beta.3 → 1.0.0-beta.5
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/README.md +76 -10
- package/dist/dav.d.ts +6 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.js +296 -63
- package/dist/index.js.map +6 -6
- package/dist/schema.d.ts +612 -0
- package/dist/types.d.ts +9 -0
- package/package.json +6 -6
package/dist/schema.d.ts
CHANGED
|
@@ -79,6 +79,17 @@ export declare const PlatformCalDavSchema: {
|
|
|
79
79
|
format: string;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
required: string[];
|
|
84
|
+
type: string;
|
|
85
|
+
additionalProperties: boolean;
|
|
86
|
+
properties: {
|
|
87
|
+
syncToken: {
|
|
88
|
+
type: string;
|
|
89
|
+
minLength: number;
|
|
90
|
+
maxLength: number;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
82
93
|
})[];
|
|
83
94
|
};
|
|
84
95
|
};
|
|
@@ -138,6 +149,40 @@ export declare const PlatformCalDavSchema: {
|
|
|
138
149
|
};
|
|
139
150
|
required: string[];
|
|
140
151
|
not?: undefined;
|
|
152
|
+
} | {
|
|
153
|
+
properties: {
|
|
154
|
+
type: {
|
|
155
|
+
const: string;
|
|
156
|
+
};
|
|
157
|
+
target: {
|
|
158
|
+
type: string;
|
|
159
|
+
required: string[];
|
|
160
|
+
additionalProperties: boolean;
|
|
161
|
+
properties: {
|
|
162
|
+
id: {
|
|
163
|
+
type: string;
|
|
164
|
+
format: string;
|
|
165
|
+
maxLength: number;
|
|
166
|
+
};
|
|
167
|
+
type: {
|
|
168
|
+
enum: string[];
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
object: {
|
|
173
|
+
type: string;
|
|
174
|
+
additionalProperties: boolean;
|
|
175
|
+
properties: {
|
|
176
|
+
syncToken: {
|
|
177
|
+
type: string;
|
|
178
|
+
minLength: number;
|
|
179
|
+
maxLength: number;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
required: string[];
|
|
185
|
+
not?: undefined;
|
|
141
186
|
} | {
|
|
142
187
|
properties: {
|
|
143
188
|
type: {
|
|
@@ -1347,6 +1392,570 @@ export declare const PlatformCalDavSchema: {
|
|
|
1347
1392
|
})[];
|
|
1348
1393
|
};
|
|
1349
1394
|
};
|
|
1395
|
+
removed?: undefined;
|
|
1396
|
+
syncToken?: undefined;
|
|
1397
|
+
truncated?: undefined;
|
|
1398
|
+
actor?: undefined;
|
|
1399
|
+
target?: undefined;
|
|
1400
|
+
object?: undefined;
|
|
1401
|
+
};
|
|
1402
|
+
} | {
|
|
1403
|
+
type: string;
|
|
1404
|
+
required: string[];
|
|
1405
|
+
additionalProperties: boolean;
|
|
1406
|
+
properties: {
|
|
1407
|
+
"@context": {
|
|
1408
|
+
type: string;
|
|
1409
|
+
items: {
|
|
1410
|
+
type: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
id: {
|
|
1414
|
+
type: string[];
|
|
1415
|
+
};
|
|
1416
|
+
type: {
|
|
1417
|
+
const: string;
|
|
1418
|
+
enum?: undefined;
|
|
1419
|
+
};
|
|
1420
|
+
summary: {
|
|
1421
|
+
type: string;
|
|
1422
|
+
};
|
|
1423
|
+
totalItems: {
|
|
1424
|
+
type: string;
|
|
1425
|
+
minimum: number;
|
|
1426
|
+
};
|
|
1427
|
+
items: {
|
|
1428
|
+
type: string;
|
|
1429
|
+
items: {
|
|
1430
|
+
oneOf: ({
|
|
1431
|
+
type: string;
|
|
1432
|
+
required: string[];
|
|
1433
|
+
additionalProperties: boolean;
|
|
1434
|
+
properties: {
|
|
1435
|
+
type: {
|
|
1436
|
+
enum: string[];
|
|
1437
|
+
};
|
|
1438
|
+
startTime: {
|
|
1439
|
+
type: string;
|
|
1440
|
+
minLength: number;
|
|
1441
|
+
maxLength: number;
|
|
1442
|
+
};
|
|
1443
|
+
endTime: {
|
|
1444
|
+
type: string;
|
|
1445
|
+
minLength: number;
|
|
1446
|
+
maxLength: number;
|
|
1447
|
+
};
|
|
1448
|
+
allDay: {
|
|
1449
|
+
type: string;
|
|
1450
|
+
default: boolean;
|
|
1451
|
+
};
|
|
1452
|
+
status: {
|
|
1453
|
+
enum: string[];
|
|
1454
|
+
};
|
|
1455
|
+
id: {
|
|
1456
|
+
type: string;
|
|
1457
|
+
format: string;
|
|
1458
|
+
maxLength: number;
|
|
1459
|
+
};
|
|
1460
|
+
etag: {
|
|
1461
|
+
type: string;
|
|
1462
|
+
minLength: number;
|
|
1463
|
+
maxLength: number;
|
|
1464
|
+
};
|
|
1465
|
+
uid: {
|
|
1466
|
+
type: string;
|
|
1467
|
+
minLength: number;
|
|
1468
|
+
maxLength: number;
|
|
1469
|
+
};
|
|
1470
|
+
sequence: {
|
|
1471
|
+
type: string;
|
|
1472
|
+
minimum: number;
|
|
1473
|
+
maximum: number;
|
|
1474
|
+
};
|
|
1475
|
+
name: {
|
|
1476
|
+
type: string;
|
|
1477
|
+
minLength: number;
|
|
1478
|
+
maxLength: number;
|
|
1479
|
+
};
|
|
1480
|
+
content: {
|
|
1481
|
+
type: string;
|
|
1482
|
+
maxLength: number;
|
|
1483
|
+
};
|
|
1484
|
+
location: {
|
|
1485
|
+
type: string;
|
|
1486
|
+
maxLength: number;
|
|
1487
|
+
};
|
|
1488
|
+
url: {
|
|
1489
|
+
type: string;
|
|
1490
|
+
format: string;
|
|
1491
|
+
maxLength: number;
|
|
1492
|
+
};
|
|
1493
|
+
timeZone: {
|
|
1494
|
+
type: string;
|
|
1495
|
+
minLength: number;
|
|
1496
|
+
maxLength: number;
|
|
1497
|
+
};
|
|
1498
|
+
recurrence: {
|
|
1499
|
+
type: string;
|
|
1500
|
+
required: string[];
|
|
1501
|
+
additionalProperties: boolean;
|
|
1502
|
+
properties: {
|
|
1503
|
+
frequency: {
|
|
1504
|
+
enum: string[];
|
|
1505
|
+
};
|
|
1506
|
+
interval: {
|
|
1507
|
+
type: string;
|
|
1508
|
+
minimum: number;
|
|
1509
|
+
maximum: number;
|
|
1510
|
+
};
|
|
1511
|
+
count: {
|
|
1512
|
+
type: string;
|
|
1513
|
+
minimum: number;
|
|
1514
|
+
maximum: number;
|
|
1515
|
+
};
|
|
1516
|
+
until: {
|
|
1517
|
+
type: string;
|
|
1518
|
+
format: string;
|
|
1519
|
+
};
|
|
1520
|
+
byDay: {
|
|
1521
|
+
type: string;
|
|
1522
|
+
uniqueItems: boolean;
|
|
1523
|
+
maxItems: number;
|
|
1524
|
+
items: {
|
|
1525
|
+
type: string;
|
|
1526
|
+
pattern: string;
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
byMonthDay: {
|
|
1530
|
+
type: string;
|
|
1531
|
+
uniqueItems: boolean;
|
|
1532
|
+
maxItems: number;
|
|
1533
|
+
items: {
|
|
1534
|
+
type: string;
|
|
1535
|
+
minimum: number;
|
|
1536
|
+
maximum: number;
|
|
1537
|
+
not: {
|
|
1538
|
+
const: number;
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
not: {
|
|
1544
|
+
required: string[];
|
|
1545
|
+
};
|
|
1546
|
+
};
|
|
1547
|
+
organizer: {
|
|
1548
|
+
type: string;
|
|
1549
|
+
required: string[];
|
|
1550
|
+
additionalProperties: boolean;
|
|
1551
|
+
properties: {
|
|
1552
|
+
email: {
|
|
1553
|
+
type: string;
|
|
1554
|
+
format: string;
|
|
1555
|
+
maxLength: number;
|
|
1556
|
+
};
|
|
1557
|
+
name: {
|
|
1558
|
+
type: string;
|
|
1559
|
+
maxLength: number;
|
|
1560
|
+
};
|
|
1561
|
+
role: {
|
|
1562
|
+
enum: string[];
|
|
1563
|
+
};
|
|
1564
|
+
status: {
|
|
1565
|
+
enum: string[];
|
|
1566
|
+
};
|
|
1567
|
+
rsvp: {
|
|
1568
|
+
type: string;
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
attendees: {
|
|
1573
|
+
type: string;
|
|
1574
|
+
maxItems: number;
|
|
1575
|
+
items: {
|
|
1576
|
+
type: string;
|
|
1577
|
+
required: string[];
|
|
1578
|
+
additionalProperties: boolean;
|
|
1579
|
+
properties: {
|
|
1580
|
+
email: {
|
|
1581
|
+
type: string;
|
|
1582
|
+
format: string;
|
|
1583
|
+
maxLength: number;
|
|
1584
|
+
};
|
|
1585
|
+
name: {
|
|
1586
|
+
type: string;
|
|
1587
|
+
maxLength: number;
|
|
1588
|
+
};
|
|
1589
|
+
role: {
|
|
1590
|
+
enum: string[];
|
|
1591
|
+
};
|
|
1592
|
+
status: {
|
|
1593
|
+
enum: string[];
|
|
1594
|
+
};
|
|
1595
|
+
rsvp: {
|
|
1596
|
+
type: string;
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
reminders: {
|
|
1602
|
+
type: string;
|
|
1603
|
+
maxItems: number;
|
|
1604
|
+
items: {
|
|
1605
|
+
type: string;
|
|
1606
|
+
required: string[];
|
|
1607
|
+
additionalProperties: boolean;
|
|
1608
|
+
properties: {
|
|
1609
|
+
trigger: {
|
|
1610
|
+
type: string;
|
|
1611
|
+
minLength: number;
|
|
1612
|
+
maxLength: number;
|
|
1613
|
+
};
|
|
1614
|
+
action: {
|
|
1615
|
+
enum: string[];
|
|
1616
|
+
};
|
|
1617
|
+
description: {
|
|
1618
|
+
type: string;
|
|
1619
|
+
maxLength: number;
|
|
1620
|
+
};
|
|
1621
|
+
recipients: {
|
|
1622
|
+
type: string;
|
|
1623
|
+
minItems: number;
|
|
1624
|
+
maxItems: number;
|
|
1625
|
+
items: {
|
|
1626
|
+
type: string;
|
|
1627
|
+
format: string;
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
attachments: {
|
|
1634
|
+
type: string;
|
|
1635
|
+
maxItems: number;
|
|
1636
|
+
items: {
|
|
1637
|
+
type: string;
|
|
1638
|
+
additionalProperties: boolean;
|
|
1639
|
+
properties: {
|
|
1640
|
+
url: {
|
|
1641
|
+
type: string;
|
|
1642
|
+
format: string;
|
|
1643
|
+
maxLength: number;
|
|
1644
|
+
};
|
|
1645
|
+
data: {
|
|
1646
|
+
type: string;
|
|
1647
|
+
maxLength: number;
|
|
1648
|
+
};
|
|
1649
|
+
mediaType: {
|
|
1650
|
+
type: string;
|
|
1651
|
+
maxLength: number;
|
|
1652
|
+
};
|
|
1653
|
+
filename: {
|
|
1654
|
+
type: string;
|
|
1655
|
+
maxLength: number;
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
oneOf: {
|
|
1659
|
+
required: string[];
|
|
1660
|
+
}[];
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
updateSupported: {
|
|
1664
|
+
type: string;
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
} | {
|
|
1668
|
+
type: string;
|
|
1669
|
+
required: string[];
|
|
1670
|
+
additionalProperties: boolean;
|
|
1671
|
+
properties: {
|
|
1672
|
+
type: {
|
|
1673
|
+
enum: string[];
|
|
1674
|
+
};
|
|
1675
|
+
startTime: {
|
|
1676
|
+
type: string;
|
|
1677
|
+
minLength: number;
|
|
1678
|
+
maxLength: number;
|
|
1679
|
+
};
|
|
1680
|
+
due: {
|
|
1681
|
+
type: string;
|
|
1682
|
+
minLength: number;
|
|
1683
|
+
maxLength: number;
|
|
1684
|
+
};
|
|
1685
|
+
allDay: {
|
|
1686
|
+
type: string;
|
|
1687
|
+
default: boolean;
|
|
1688
|
+
};
|
|
1689
|
+
status: {
|
|
1690
|
+
enum: string[];
|
|
1691
|
+
};
|
|
1692
|
+
completedTime: {
|
|
1693
|
+
type: string;
|
|
1694
|
+
format: string;
|
|
1695
|
+
};
|
|
1696
|
+
percentComplete: {
|
|
1697
|
+
type: string;
|
|
1698
|
+
minimum: number;
|
|
1699
|
+
maximum: number;
|
|
1700
|
+
};
|
|
1701
|
+
id: {
|
|
1702
|
+
type: string;
|
|
1703
|
+
format: string;
|
|
1704
|
+
maxLength: number;
|
|
1705
|
+
};
|
|
1706
|
+
etag: {
|
|
1707
|
+
type: string;
|
|
1708
|
+
minLength: number;
|
|
1709
|
+
maxLength: number;
|
|
1710
|
+
};
|
|
1711
|
+
uid: {
|
|
1712
|
+
type: string;
|
|
1713
|
+
minLength: number;
|
|
1714
|
+
maxLength: number;
|
|
1715
|
+
};
|
|
1716
|
+
sequence: {
|
|
1717
|
+
type: string;
|
|
1718
|
+
minimum: number;
|
|
1719
|
+
maximum: number;
|
|
1720
|
+
};
|
|
1721
|
+
name: {
|
|
1722
|
+
type: string;
|
|
1723
|
+
minLength: number;
|
|
1724
|
+
maxLength: number;
|
|
1725
|
+
};
|
|
1726
|
+
content: {
|
|
1727
|
+
type: string;
|
|
1728
|
+
maxLength: number;
|
|
1729
|
+
};
|
|
1730
|
+
location: {
|
|
1731
|
+
type: string;
|
|
1732
|
+
maxLength: number;
|
|
1733
|
+
};
|
|
1734
|
+
url: {
|
|
1735
|
+
type: string;
|
|
1736
|
+
format: string;
|
|
1737
|
+
maxLength: number;
|
|
1738
|
+
};
|
|
1739
|
+
timeZone: {
|
|
1740
|
+
type: string;
|
|
1741
|
+
minLength: number;
|
|
1742
|
+
maxLength: number;
|
|
1743
|
+
};
|
|
1744
|
+
recurrence: {
|
|
1745
|
+
type: string;
|
|
1746
|
+
required: string[];
|
|
1747
|
+
additionalProperties: boolean;
|
|
1748
|
+
properties: {
|
|
1749
|
+
frequency: {
|
|
1750
|
+
enum: string[];
|
|
1751
|
+
};
|
|
1752
|
+
interval: {
|
|
1753
|
+
type: string;
|
|
1754
|
+
minimum: number;
|
|
1755
|
+
maximum: number;
|
|
1756
|
+
};
|
|
1757
|
+
count: {
|
|
1758
|
+
type: string;
|
|
1759
|
+
minimum: number;
|
|
1760
|
+
maximum: number;
|
|
1761
|
+
};
|
|
1762
|
+
until: {
|
|
1763
|
+
type: string;
|
|
1764
|
+
format: string;
|
|
1765
|
+
};
|
|
1766
|
+
byDay: {
|
|
1767
|
+
type: string;
|
|
1768
|
+
uniqueItems: boolean;
|
|
1769
|
+
maxItems: number;
|
|
1770
|
+
items: {
|
|
1771
|
+
type: string;
|
|
1772
|
+
pattern: string;
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
byMonthDay: {
|
|
1776
|
+
type: string;
|
|
1777
|
+
uniqueItems: boolean;
|
|
1778
|
+
maxItems: number;
|
|
1779
|
+
items: {
|
|
1780
|
+
type: string;
|
|
1781
|
+
minimum: number;
|
|
1782
|
+
maximum: number;
|
|
1783
|
+
not: {
|
|
1784
|
+
const: number;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
not: {
|
|
1790
|
+
required: string[];
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
organizer: {
|
|
1794
|
+
type: string;
|
|
1795
|
+
required: string[];
|
|
1796
|
+
additionalProperties: boolean;
|
|
1797
|
+
properties: {
|
|
1798
|
+
email: {
|
|
1799
|
+
type: string;
|
|
1800
|
+
format: string;
|
|
1801
|
+
maxLength: number;
|
|
1802
|
+
};
|
|
1803
|
+
name: {
|
|
1804
|
+
type: string;
|
|
1805
|
+
maxLength: number;
|
|
1806
|
+
};
|
|
1807
|
+
role: {
|
|
1808
|
+
enum: string[];
|
|
1809
|
+
};
|
|
1810
|
+
status: {
|
|
1811
|
+
enum: string[];
|
|
1812
|
+
};
|
|
1813
|
+
rsvp: {
|
|
1814
|
+
type: string;
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
attendees: {
|
|
1819
|
+
type: string;
|
|
1820
|
+
maxItems: number;
|
|
1821
|
+
items: {
|
|
1822
|
+
type: string;
|
|
1823
|
+
required: string[];
|
|
1824
|
+
additionalProperties: boolean;
|
|
1825
|
+
properties: {
|
|
1826
|
+
email: {
|
|
1827
|
+
type: string;
|
|
1828
|
+
format: string;
|
|
1829
|
+
maxLength: number;
|
|
1830
|
+
};
|
|
1831
|
+
name: {
|
|
1832
|
+
type: string;
|
|
1833
|
+
maxLength: number;
|
|
1834
|
+
};
|
|
1835
|
+
role: {
|
|
1836
|
+
enum: string[];
|
|
1837
|
+
};
|
|
1838
|
+
status: {
|
|
1839
|
+
enum: string[];
|
|
1840
|
+
};
|
|
1841
|
+
rsvp: {
|
|
1842
|
+
type: string;
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
reminders: {
|
|
1848
|
+
type: string;
|
|
1849
|
+
maxItems: number;
|
|
1850
|
+
items: {
|
|
1851
|
+
type: string;
|
|
1852
|
+
required: string[];
|
|
1853
|
+
additionalProperties: boolean;
|
|
1854
|
+
properties: {
|
|
1855
|
+
trigger: {
|
|
1856
|
+
type: string;
|
|
1857
|
+
minLength: number;
|
|
1858
|
+
maxLength: number;
|
|
1859
|
+
};
|
|
1860
|
+
action: {
|
|
1861
|
+
enum: string[];
|
|
1862
|
+
};
|
|
1863
|
+
description: {
|
|
1864
|
+
type: string;
|
|
1865
|
+
maxLength: number;
|
|
1866
|
+
};
|
|
1867
|
+
recipients: {
|
|
1868
|
+
type: string;
|
|
1869
|
+
minItems: number;
|
|
1870
|
+
maxItems: number;
|
|
1871
|
+
items: {
|
|
1872
|
+
type: string;
|
|
1873
|
+
format: string;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
attachments: {
|
|
1880
|
+
type: string;
|
|
1881
|
+
maxItems: number;
|
|
1882
|
+
items: {
|
|
1883
|
+
type: string;
|
|
1884
|
+
additionalProperties: boolean;
|
|
1885
|
+
properties: {
|
|
1886
|
+
url: {
|
|
1887
|
+
type: string;
|
|
1888
|
+
format: string;
|
|
1889
|
+
maxLength: number;
|
|
1890
|
+
};
|
|
1891
|
+
data: {
|
|
1892
|
+
type: string;
|
|
1893
|
+
maxLength: number;
|
|
1894
|
+
};
|
|
1895
|
+
mediaType: {
|
|
1896
|
+
type: string;
|
|
1897
|
+
maxLength: number;
|
|
1898
|
+
};
|
|
1899
|
+
filename: {
|
|
1900
|
+
type: string;
|
|
1901
|
+
maxLength: number;
|
|
1902
|
+
};
|
|
1903
|
+
};
|
|
1904
|
+
oneOf: {
|
|
1905
|
+
required: string[];
|
|
1906
|
+
}[];
|
|
1907
|
+
};
|
|
1908
|
+
};
|
|
1909
|
+
updateSupported: {
|
|
1910
|
+
type: string;
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
allOf: ({
|
|
1914
|
+
if: {
|
|
1915
|
+
properties: {
|
|
1916
|
+
status: {
|
|
1917
|
+
const: string;
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
required: string[];
|
|
1921
|
+
};
|
|
1922
|
+
then: {
|
|
1923
|
+
required: string[];
|
|
1924
|
+
properties?: undefined;
|
|
1925
|
+
};
|
|
1926
|
+
} | {
|
|
1927
|
+
if: {
|
|
1928
|
+
required: string[];
|
|
1929
|
+
properties?: undefined;
|
|
1930
|
+
};
|
|
1931
|
+
then: {
|
|
1932
|
+
properties: {
|
|
1933
|
+
status: {
|
|
1934
|
+
const: string;
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
required: string[];
|
|
1938
|
+
};
|
|
1939
|
+
})[];
|
|
1940
|
+
})[];
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
removed: {
|
|
1944
|
+
type: string;
|
|
1945
|
+
items: {
|
|
1946
|
+
type: string;
|
|
1947
|
+
format: string;
|
|
1948
|
+
maxLength: number;
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1951
|
+
syncToken: {
|
|
1952
|
+
type: string;
|
|
1953
|
+
minLength: number;
|
|
1954
|
+
maxLength: number;
|
|
1955
|
+
};
|
|
1956
|
+
truncated: {
|
|
1957
|
+
type: string;
|
|
1958
|
+
};
|
|
1350
1959
|
actor?: undefined;
|
|
1351
1960
|
target?: undefined;
|
|
1352
1961
|
object?: undefined;
|
|
@@ -1427,6 +2036,9 @@ export declare const PlatformCalDavSchema: {
|
|
|
1427
2036
|
summary?: undefined;
|
|
1428
2037
|
totalItems?: undefined;
|
|
1429
2038
|
items?: undefined;
|
|
2039
|
+
removed?: undefined;
|
|
2040
|
+
syncToken?: undefined;
|
|
2041
|
+
truncated?: undefined;
|
|
1430
2042
|
};
|
|
1431
2043
|
})[];
|
|
1432
2044
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -85,3 +85,12 @@ export interface DeleteInput {
|
|
|
85
85
|
type: CalendarComponent;
|
|
86
86
|
etag: string;
|
|
87
87
|
}
|
|
88
|
+
export interface SyncInput {
|
|
89
|
+
syncToken?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface CalendarSyncResult {
|
|
92
|
+
items: CalendarItem[];
|
|
93
|
+
removed: string[];
|
|
94
|
+
syncToken: string;
|
|
95
|
+
truncated: boolean;
|
|
96
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sockethub/platform-caldav",
|
|
3
3
|
"description": "A Sockethub platform for synchronizing CalDAV calendars, events, and tasks",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "LGPL-3.0+",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"test": "bun test src/"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@sockethub/dav": "^1.0.0-beta.
|
|
39
|
-
"@sockethub/schemas": "^3.0.0-beta.
|
|
40
|
-
"@sockethub/util": "^1.0.0-beta.
|
|
38
|
+
"@sockethub/dav": "^1.0.0-beta.5",
|
|
39
|
+
"@sockethub/schemas": "^3.0.0-beta.5",
|
|
40
|
+
"@sockethub/util": "^1.0.0-beta.5",
|
|
41
41
|
"undici": "^7.30.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/bun": "latest"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@sockethub/server": "^5.0.0-beta.
|
|
47
|
+
"@sockethub/server": "^5.0.0-beta.5"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"@sockethub/server": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"types": "./dist/index.d.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "2dffe4cc1bea5375e38531b1012b56bcbab93569"
|
|
56
56
|
}
|