opencode-windows-scheduler 1.1.0 → 1.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/CHANGELOG.md +45 -1
- package/README.md +13 -3
- package/README.ru.md +13 -3
- package/ROADMAP.md +20 -13
- package/dist/core/analytics.d.ts +10 -0
- package/dist/core/analytics.d.ts.map +1 -1
- package/dist/core/analytics.js +21 -0
- package/dist/core/dry-run.d.ts +13 -0
- package/dist/core/dry-run.d.ts.map +1 -1
- package/dist/core/dry-run.js +30 -0
- package/dist/core/matrix.d.ts.map +1 -1
- package/dist/core/matrix.js +10 -0
- package/dist/core/ps-wrapper.d.ts +32 -2
- package/dist/core/ps-wrapper.d.ts.map +1 -1
- package/dist/core/ps-wrapper.js +101 -3
- package/dist/core/schedule-gate.d.ts +2 -0
- package/dist/core/schedule-gate.d.ts.map +1 -0
- package/dist/core/schedule-gate.js +182 -0
- package/dist/core/schedule-v2.d.ts +88 -0
- package/dist/core/schedule-v2.d.ts.map +1 -0
- package/dist/core/schedule-v2.js +496 -0
- package/dist/core/scheduler/types.d.ts +15 -0
- package/dist/core/scheduler/types.d.ts.map +1 -1
- package/dist/core/scheduler/windows.d.ts.map +1 -1
- package/dist/core/scheduler/windows.js +13 -1
- package/dist/core/wrappers/bash.d.ts +15 -0
- package/dist/core/wrappers/bash.d.ts.map +1 -1
- package/dist/core/wrappers/bash.js +44 -1
- package/dist/db/history-repo.d.ts +8 -0
- package/dist/db/history-repo.d.ts.map +1 -1
- package/dist/db/history-repo.js +13 -0
- package/dist/db/schema.d.ts +1 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +11 -0
- package/dist/index.d.ts +117 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1010 -54
- package/dist/notifications.d.ts +112 -6
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +396 -34
- package/dist/profiles.d.ts +60 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +209 -0
- package/dist/rpc.d.ts +511 -0
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +190 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +5 -2
- package/dist/settings.d.ts +57 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +118 -8
- package/dist/task-transfer.d.ts +13 -0
- package/dist/task-transfer.d.ts.map +1 -1
- package/dist/task-transfer.js +26 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -11
- package/dist/workspaces.d.ts +43 -0
- package/dist/workspaces.d.ts.map +1 -1
- package/dist/workspaces.js +174 -8
- package/docs/ARCHITECTURE.md +32 -12
- package/docs/FEATURES.md +86 -7
- package/gui-experimental.cjs +4 -2
- package/package.json +6 -2
- package/src/core/analytics.ts +36 -0
- package/src/core/dry-run.ts +42 -0
- package/src/core/matrix.ts +10 -0
- package/src/core/ps-wrapper.ts +117 -3
- package/src/core/schedule-gate.ts +213 -0
- package/src/core/schedule-v2.ts +533 -0
- package/src/core/scheduler/types.ts +15 -0
- package/src/core/scheduler/windows.ts +13 -1
- package/src/core/wrappers/bash.ts +60 -0
- package/src/db/history-repo.ts +23 -0
- package/src/db/schema.ts +14 -0
- package/src/gui.tsx +767 -22
- package/src/index.ts +1226 -52
- package/src/notifications.ts +516 -40
- package/src/profiles.ts +236 -0
- package/src/rpc.ts +201 -2
- package/src/server.ts +5 -2
- package/src/settings.ts +214 -9
- package/src/task-transfer.ts +44 -0
- package/src/types.ts +3 -13
- package/src/workspaces.ts +214 -8
package/dist/rpc.d.ts
CHANGED
|
@@ -98,6 +98,22 @@ export declare const SchedulerRpc: {
|
|
|
98
98
|
readonly watchPath: {
|
|
99
99
|
readonly type: readonly ["string", "null"];
|
|
100
100
|
};
|
|
101
|
+
/** IANA-часовой пояс задачи (Спринт 19; null — системный). */
|
|
102
|
+
readonly timezone: {
|
|
103
|
+
readonly type: readonly ["string", "null"];
|
|
104
|
+
};
|
|
105
|
+
/** Начало окна запуска "HH:MM" (null — без окна). */
|
|
106
|
+
readonly notBefore: {
|
|
107
|
+
readonly type: readonly ["string", "null"];
|
|
108
|
+
};
|
|
109
|
+
/** Конец окна запуска "HH:MM" (null — без окна). */
|
|
110
|
+
readonly notAfter: {
|
|
111
|
+
readonly type: readonly ["string", "null"];
|
|
112
|
+
};
|
|
113
|
+
/** Пауза до даты в ISO (null — автопродолжение не запланировано). */
|
|
114
|
+
readonly pausedUntil: {
|
|
115
|
+
readonly type: readonly ["string", "null"];
|
|
116
|
+
};
|
|
101
117
|
/** Рабочая директория задачи (null — папка проекта по умолчанию). */
|
|
102
118
|
readonly workingDirectory: {
|
|
103
119
|
readonly type: readonly ["string", "null"];
|
|
@@ -376,6 +392,18 @@ export declare const SchedulerRpc: {
|
|
|
376
392
|
};
|
|
377
393
|
readonly required: readonly ["workspaceIds"];
|
|
378
394
|
};
|
|
395
|
+
/** IANA-часовой пояс задачи (например, Europe/Moscow). Пусто — системный. */
|
|
396
|
+
readonly timezone: {
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
};
|
|
399
|
+
/** Начало окна запуска "HH:MM"; вне окна запуск переносится. */
|
|
400
|
+
readonly notBefore: {
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
};
|
|
403
|
+
/** Конец окна запуска "HH:MM"; может быть меньше notBefore (через полночь). */
|
|
404
|
+
readonly notAfter: {
|
|
405
|
+
readonly type: "string";
|
|
406
|
+
};
|
|
379
407
|
};
|
|
380
408
|
readonly required: readonly ["name", "schedule", "prompt"];
|
|
381
409
|
};
|
|
@@ -445,6 +473,13 @@ export declare const SchedulerRpc: {
|
|
|
445
473
|
readonly name: {
|
|
446
474
|
readonly type: "string";
|
|
447
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* Только для pause: пауза до указанного момента (ISO). Плагин включит
|
|
478
|
+
* задачу автоматически; пусто — бессрочная пауза.
|
|
479
|
+
*/
|
|
480
|
+
readonly until: {
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
};
|
|
448
483
|
};
|
|
449
484
|
readonly required: readonly ["name"];
|
|
450
485
|
};
|
|
@@ -468,6 +503,13 @@ export declare const SchedulerRpc: {
|
|
|
468
503
|
readonly name: {
|
|
469
504
|
readonly type: "string";
|
|
470
505
|
};
|
|
506
|
+
/**
|
|
507
|
+
* Только для pause: пауза до указанного момента (ISO). Плагин включит
|
|
508
|
+
* задачу автоматически; пусто — бессрочная пауза.
|
|
509
|
+
*/
|
|
510
|
+
readonly until: {
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
};
|
|
471
513
|
};
|
|
472
514
|
readonly required: readonly ["name"];
|
|
473
515
|
};
|
|
@@ -634,6 +676,18 @@ export declare const SchedulerRpc: {
|
|
|
634
676
|
};
|
|
635
677
|
readonly required: readonly ["workspaceIds"];
|
|
636
678
|
};
|
|
679
|
+
/** IANA-часовой пояс задачи. Пустая строка — сбросить на системный. */
|
|
680
|
+
readonly timezone: {
|
|
681
|
+
readonly type: "string";
|
|
682
|
+
};
|
|
683
|
+
/** Начало окна запуска "HH:MM". Пустая строка — сбросить окно. */
|
|
684
|
+
readonly notBefore: {
|
|
685
|
+
readonly type: "string";
|
|
686
|
+
};
|
|
687
|
+
/** Конец окна запуска "HH:MM". Пустая строка — сбросить окно. */
|
|
688
|
+
readonly notAfter: {
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
};
|
|
637
691
|
};
|
|
638
692
|
readonly required: readonly ["name"];
|
|
639
693
|
};
|
|
@@ -683,6 +737,10 @@ export declare const SchedulerRpc: {
|
|
|
683
737
|
readonly limit: {
|
|
684
738
|
readonly type: "number";
|
|
685
739
|
};
|
|
740
|
+
/** Фильтр по имени задачи (регистр не важен). */
|
|
741
|
+
readonly taskName: {
|
|
742
|
+
readonly type: "string";
|
|
743
|
+
};
|
|
686
744
|
};
|
|
687
745
|
readonly additionalProperties: false;
|
|
688
746
|
};
|
|
@@ -1395,6 +1453,17 @@ export declare const SchedulerRpc: {
|
|
|
1395
1453
|
readonly color: {
|
|
1396
1454
|
readonly type: readonly ["string", "null"];
|
|
1397
1455
|
};
|
|
1456
|
+
/** Env-переменные workspace; значения секретов замаскированы (***). */
|
|
1457
|
+
readonly env: {
|
|
1458
|
+
readonly type: readonly ["object", "null"];
|
|
1459
|
+
readonly additionalProperties: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
/** Путь к .env-файлу workspace (null — не задан). */
|
|
1464
|
+
readonly envFile: {
|
|
1465
|
+
readonly type: readonly ["string", "null"];
|
|
1466
|
+
};
|
|
1398
1467
|
readonly createdAt: {
|
|
1399
1468
|
readonly type: "string";
|
|
1400
1469
|
};
|
|
@@ -1419,6 +1488,17 @@ export declare const SchedulerRpc: {
|
|
|
1419
1488
|
readonly color: {
|
|
1420
1489
|
readonly type: "string";
|
|
1421
1490
|
};
|
|
1491
|
+
/** Env-переменные workspace (ключ → значение). */
|
|
1492
|
+
readonly env: {
|
|
1493
|
+
readonly type: readonly ["object", "null"];
|
|
1494
|
+
readonly additionalProperties: {
|
|
1495
|
+
readonly type: "string";
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
/** Путь к .env-файлу workspace. */
|
|
1499
|
+
readonly envFile: {
|
|
1500
|
+
readonly type: readonly ["string", "null"];
|
|
1501
|
+
};
|
|
1422
1502
|
};
|
|
1423
1503
|
readonly required: readonly ["path"];
|
|
1424
1504
|
readonly additionalProperties: false;
|
|
@@ -1450,6 +1530,17 @@ export declare const SchedulerRpc: {
|
|
|
1450
1530
|
readonly color: {
|
|
1451
1531
|
readonly type: readonly ["string", "null"];
|
|
1452
1532
|
};
|
|
1533
|
+
/** Env-переменные workspace; значения секретов замаскированы (***). */
|
|
1534
|
+
readonly env: {
|
|
1535
|
+
readonly type: readonly ["object", "null"];
|
|
1536
|
+
readonly additionalProperties: {
|
|
1537
|
+
readonly type: "string";
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
/** Путь к .env-файлу workspace (null — не задан). */
|
|
1541
|
+
readonly envFile: {
|
|
1542
|
+
readonly type: readonly ["string", "null"];
|
|
1543
|
+
};
|
|
1453
1544
|
readonly createdAt: {
|
|
1454
1545
|
readonly type: "string";
|
|
1455
1546
|
};
|
|
@@ -1479,6 +1570,17 @@ export declare const SchedulerRpc: {
|
|
|
1479
1570
|
readonly color: {
|
|
1480
1571
|
readonly type: "string";
|
|
1481
1572
|
};
|
|
1573
|
+
/** Env-переменные workspace; null — очистить, отсутствие — не менять. */
|
|
1574
|
+
readonly env: {
|
|
1575
|
+
readonly type: readonly ["object", "null"];
|
|
1576
|
+
readonly additionalProperties: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
/** Путь к .env-файлу; null — очистить. */
|
|
1581
|
+
readonly envFile: {
|
|
1582
|
+
readonly type: readonly ["string", "null"];
|
|
1583
|
+
};
|
|
1482
1584
|
};
|
|
1483
1585
|
readonly required: readonly ["id"];
|
|
1484
1586
|
readonly additionalProperties: false;
|
|
@@ -1510,6 +1612,17 @@ export declare const SchedulerRpc: {
|
|
|
1510
1612
|
readonly color: {
|
|
1511
1613
|
readonly type: readonly ["string", "null"];
|
|
1512
1614
|
};
|
|
1615
|
+
/** Env-переменные workspace; значения секретов замаскированы (***). */
|
|
1616
|
+
readonly env: {
|
|
1617
|
+
readonly type: readonly ["object", "null"];
|
|
1618
|
+
readonly additionalProperties: {
|
|
1619
|
+
readonly type: "string";
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
/** Путь к .env-файлу workspace (null — не задан). */
|
|
1623
|
+
readonly envFile: {
|
|
1624
|
+
readonly type: readonly ["string", "null"];
|
|
1625
|
+
};
|
|
1513
1626
|
readonly createdAt: {
|
|
1514
1627
|
readonly type: "string";
|
|
1515
1628
|
};
|
|
@@ -1546,6 +1659,157 @@ export declare const SchedulerRpc: {
|
|
|
1546
1659
|
readonly required: readonly ["success"];
|
|
1547
1660
|
};
|
|
1548
1661
|
};
|
|
1662
|
+
readonly get_profiles: {
|
|
1663
|
+
readonly input: {
|
|
1664
|
+
readonly type: "object";
|
|
1665
|
+
readonly properties: {};
|
|
1666
|
+
readonly additionalProperties: false;
|
|
1667
|
+
};
|
|
1668
|
+
readonly output: {
|
|
1669
|
+
readonly type: "object";
|
|
1670
|
+
readonly properties: {
|
|
1671
|
+
readonly current: {
|
|
1672
|
+
readonly type: "string";
|
|
1673
|
+
};
|
|
1674
|
+
/** true — профиль задан переменной OPENCODE_SCHEDULER_PROFILE. */
|
|
1675
|
+
readonly pinnedByEnv: {
|
|
1676
|
+
readonly type: "boolean";
|
|
1677
|
+
};
|
|
1678
|
+
readonly profiles: {
|
|
1679
|
+
readonly type: "array";
|
|
1680
|
+
readonly items: {
|
|
1681
|
+
readonly type: "object";
|
|
1682
|
+
readonly properties: {
|
|
1683
|
+
readonly name: {
|
|
1684
|
+
readonly type: "string";
|
|
1685
|
+
};
|
|
1686
|
+
readonly dir: {
|
|
1687
|
+
readonly type: "string";
|
|
1688
|
+
};
|
|
1689
|
+
readonly port: {
|
|
1690
|
+
readonly type: readonly ["number", "null"];
|
|
1691
|
+
};
|
|
1692
|
+
readonly isDefault: {
|
|
1693
|
+
readonly type: "boolean";
|
|
1694
|
+
};
|
|
1695
|
+
readonly active: {
|
|
1696
|
+
readonly type: "boolean";
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
readonly required: readonly ["name", "dir", "isDefault", "active"];
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
readonly required: readonly ["current", "pinnedByEnv", "profiles"];
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
readonly set_profile: {
|
|
1707
|
+
readonly input: {
|
|
1708
|
+
readonly type: "object";
|
|
1709
|
+
readonly properties: {
|
|
1710
|
+
readonly name: {
|
|
1711
|
+
readonly type: "string";
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
readonly required: readonly ["name"];
|
|
1715
|
+
readonly additionalProperties: false;
|
|
1716
|
+
};
|
|
1717
|
+
readonly output: {
|
|
1718
|
+
readonly type: "object";
|
|
1719
|
+
readonly properties: {
|
|
1720
|
+
readonly success: {
|
|
1721
|
+
readonly type: "boolean";
|
|
1722
|
+
};
|
|
1723
|
+
readonly message: {
|
|
1724
|
+
readonly type: "string";
|
|
1725
|
+
};
|
|
1726
|
+
readonly current: {
|
|
1727
|
+
readonly type: "string";
|
|
1728
|
+
};
|
|
1729
|
+
/** true — изменения вступят в силу после перезапуска OpenCode. */
|
|
1730
|
+
readonly restartRequired: {
|
|
1731
|
+
readonly type: "boolean";
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
readonly required: readonly ["success", "message", "current", "restartRequired"];
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
readonly create_profile: {
|
|
1738
|
+
readonly input: {
|
|
1739
|
+
readonly type: "object";
|
|
1740
|
+
readonly properties: {
|
|
1741
|
+
readonly name: {
|
|
1742
|
+
readonly type: "string";
|
|
1743
|
+
};
|
|
1744
|
+
/** Порт дашборда профиля (по умолчанию — свободный 3782+). */
|
|
1745
|
+
readonly port: {
|
|
1746
|
+
readonly type: "number";
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly required: readonly ["name"];
|
|
1750
|
+
readonly additionalProperties: false;
|
|
1751
|
+
};
|
|
1752
|
+
readonly output: {
|
|
1753
|
+
readonly type: "object";
|
|
1754
|
+
readonly properties: {
|
|
1755
|
+
readonly success: {
|
|
1756
|
+
readonly type: "boolean";
|
|
1757
|
+
};
|
|
1758
|
+
readonly message: {
|
|
1759
|
+
readonly type: "string";
|
|
1760
|
+
};
|
|
1761
|
+
readonly profile: {
|
|
1762
|
+
readonly type: "object";
|
|
1763
|
+
readonly properties: {
|
|
1764
|
+
readonly name: {
|
|
1765
|
+
readonly type: "string";
|
|
1766
|
+
};
|
|
1767
|
+
readonly dir: {
|
|
1768
|
+
readonly type: "string";
|
|
1769
|
+
};
|
|
1770
|
+
readonly port: {
|
|
1771
|
+
readonly type: readonly ["number", "null"];
|
|
1772
|
+
};
|
|
1773
|
+
readonly isDefault: {
|
|
1774
|
+
readonly type: "boolean";
|
|
1775
|
+
};
|
|
1776
|
+
readonly active: {
|
|
1777
|
+
readonly type: "boolean";
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
readonly required: readonly ["name", "dir", "isDefault", "active"];
|
|
1781
|
+
};
|
|
1782
|
+
readonly error: {
|
|
1783
|
+
readonly type: "string";
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
readonly required: readonly ["success"];
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
readonly delete_profile: {
|
|
1790
|
+
readonly input: {
|
|
1791
|
+
readonly type: "object";
|
|
1792
|
+
readonly properties: {
|
|
1793
|
+
readonly name: {
|
|
1794
|
+
readonly type: "string";
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
readonly required: readonly ["name"];
|
|
1798
|
+
readonly additionalProperties: false;
|
|
1799
|
+
};
|
|
1800
|
+
readonly output: {
|
|
1801
|
+
readonly type: "object";
|
|
1802
|
+
readonly properties: {
|
|
1803
|
+
readonly success: {
|
|
1804
|
+
readonly type: "boolean";
|
|
1805
|
+
};
|
|
1806
|
+
readonly message: {
|
|
1807
|
+
readonly type: "string";
|
|
1808
|
+
};
|
|
1809
|
+
};
|
|
1810
|
+
readonly required: readonly ["success", "message"];
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1549
1813
|
readonly export_tasks: {
|
|
1550
1814
|
readonly input: {
|
|
1551
1815
|
readonly type: "object";
|
|
@@ -1636,9 +1900,85 @@ export declare const SchedulerRpc: {
|
|
|
1636
1900
|
readonly url: {
|
|
1637
1901
|
readonly type: "string";
|
|
1638
1902
|
};
|
|
1903
|
+
readonly timeoutMs: {
|
|
1904
|
+
readonly type: "number";
|
|
1905
|
+
};
|
|
1906
|
+
readonly retryCount: {
|
|
1907
|
+
readonly type: "number";
|
|
1908
|
+
};
|
|
1909
|
+
readonly retryDelayMs: {
|
|
1910
|
+
readonly type: "number";
|
|
1911
|
+
};
|
|
1639
1912
|
};
|
|
1640
1913
|
readonly required: readonly ["enabled", "url"];
|
|
1641
1914
|
};
|
|
1915
|
+
readonly templates: {
|
|
1916
|
+
readonly type: "object";
|
|
1917
|
+
readonly properties: {
|
|
1918
|
+
readonly success: {
|
|
1919
|
+
readonly type: "string";
|
|
1920
|
+
};
|
|
1921
|
+
readonly error: {
|
|
1922
|
+
readonly type: "string";
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
readonly required: readonly ["success", "error"];
|
|
1926
|
+
};
|
|
1927
|
+
readonly filters: {
|
|
1928
|
+
readonly type: "object";
|
|
1929
|
+
readonly properties: {
|
|
1930
|
+
readonly include: {
|
|
1931
|
+
readonly type: "array";
|
|
1932
|
+
readonly items: {
|
|
1933
|
+
readonly type: "string";
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
readonly exclude: {
|
|
1937
|
+
readonly type: "array";
|
|
1938
|
+
readonly items: {
|
|
1939
|
+
readonly type: "string";
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
readonly required: readonly ["include", "exclude"];
|
|
1944
|
+
};
|
|
1945
|
+
readonly matrix: {
|
|
1946
|
+
readonly type: "object";
|
|
1947
|
+
readonly properties: {
|
|
1948
|
+
readonly enabled: {
|
|
1949
|
+
readonly type: "boolean";
|
|
1950
|
+
};
|
|
1951
|
+
readonly onPartial: {
|
|
1952
|
+
readonly type: "boolean";
|
|
1953
|
+
};
|
|
1954
|
+
readonly onAllFailed: {
|
|
1955
|
+
readonly type: "boolean";
|
|
1956
|
+
};
|
|
1957
|
+
readonly stuckAfterMinutes: {
|
|
1958
|
+
readonly type: "number";
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
readonly required: readonly ["enabled", "onPartial", "onAllFailed", "stuckAfterMinutes"];
|
|
1962
|
+
};
|
|
1963
|
+
readonly digest: {
|
|
1964
|
+
readonly type: "object";
|
|
1965
|
+
readonly properties: {
|
|
1966
|
+
readonly enabled: {
|
|
1967
|
+
readonly type: "boolean";
|
|
1968
|
+
};
|
|
1969
|
+
readonly frequency: {
|
|
1970
|
+
readonly type: "string";
|
|
1971
|
+
readonly enum: readonly ["daily", "weekly"];
|
|
1972
|
+
};
|
|
1973
|
+
readonly time: {
|
|
1974
|
+
readonly type: "string";
|
|
1975
|
+
};
|
|
1976
|
+
readonly lastSentAt: {
|
|
1977
|
+
readonly type: readonly ["string", "null"];
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
readonly required: readonly ["enabled", "frequency", "time"];
|
|
1981
|
+
};
|
|
1642
1982
|
};
|
|
1643
1983
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
1644
1984
|
};
|
|
@@ -1692,9 +2032,85 @@ export declare const SchedulerRpc: {
|
|
|
1692
2032
|
readonly url: {
|
|
1693
2033
|
readonly type: "string";
|
|
1694
2034
|
};
|
|
2035
|
+
readonly timeoutMs: {
|
|
2036
|
+
readonly type: "number";
|
|
2037
|
+
};
|
|
2038
|
+
readonly retryCount: {
|
|
2039
|
+
readonly type: "number";
|
|
2040
|
+
};
|
|
2041
|
+
readonly retryDelayMs: {
|
|
2042
|
+
readonly type: "number";
|
|
2043
|
+
};
|
|
1695
2044
|
};
|
|
1696
2045
|
readonly required: readonly ["enabled", "url"];
|
|
1697
2046
|
};
|
|
2047
|
+
readonly templates: {
|
|
2048
|
+
readonly type: "object";
|
|
2049
|
+
readonly properties: {
|
|
2050
|
+
readonly success: {
|
|
2051
|
+
readonly type: "string";
|
|
2052
|
+
};
|
|
2053
|
+
readonly error: {
|
|
2054
|
+
readonly type: "string";
|
|
2055
|
+
};
|
|
2056
|
+
};
|
|
2057
|
+
readonly required: readonly ["success", "error"];
|
|
2058
|
+
};
|
|
2059
|
+
readonly filters: {
|
|
2060
|
+
readonly type: "object";
|
|
2061
|
+
readonly properties: {
|
|
2062
|
+
readonly include: {
|
|
2063
|
+
readonly type: "array";
|
|
2064
|
+
readonly items: {
|
|
2065
|
+
readonly type: "string";
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
readonly exclude: {
|
|
2069
|
+
readonly type: "array";
|
|
2070
|
+
readonly items: {
|
|
2071
|
+
readonly type: "string";
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
readonly required: readonly ["include", "exclude"];
|
|
2076
|
+
};
|
|
2077
|
+
readonly matrix: {
|
|
2078
|
+
readonly type: "object";
|
|
2079
|
+
readonly properties: {
|
|
2080
|
+
readonly enabled: {
|
|
2081
|
+
readonly type: "boolean";
|
|
2082
|
+
};
|
|
2083
|
+
readonly onPartial: {
|
|
2084
|
+
readonly type: "boolean";
|
|
2085
|
+
};
|
|
2086
|
+
readonly onAllFailed: {
|
|
2087
|
+
readonly type: "boolean";
|
|
2088
|
+
};
|
|
2089
|
+
readonly stuckAfterMinutes: {
|
|
2090
|
+
readonly type: "number";
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
readonly required: readonly ["enabled", "onPartial", "onAllFailed", "stuckAfterMinutes"];
|
|
2094
|
+
};
|
|
2095
|
+
readonly digest: {
|
|
2096
|
+
readonly type: "object";
|
|
2097
|
+
readonly properties: {
|
|
2098
|
+
readonly enabled: {
|
|
2099
|
+
readonly type: "boolean";
|
|
2100
|
+
};
|
|
2101
|
+
readonly frequency: {
|
|
2102
|
+
readonly type: "string";
|
|
2103
|
+
readonly enum: readonly ["daily", "weekly"];
|
|
2104
|
+
};
|
|
2105
|
+
readonly time: {
|
|
2106
|
+
readonly type: "string";
|
|
2107
|
+
};
|
|
2108
|
+
readonly lastSentAt: {
|
|
2109
|
+
readonly type: readonly ["string", "null"];
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
readonly required: readonly ["enabled", "frequency", "time"];
|
|
2113
|
+
};
|
|
1698
2114
|
};
|
|
1699
2115
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
1700
2116
|
};
|
|
@@ -1749,9 +2165,85 @@ export declare const SchedulerRpc: {
|
|
|
1749
2165
|
readonly url: {
|
|
1750
2166
|
readonly type: "string";
|
|
1751
2167
|
};
|
|
2168
|
+
readonly timeoutMs: {
|
|
2169
|
+
readonly type: "number";
|
|
2170
|
+
};
|
|
2171
|
+
readonly retryCount: {
|
|
2172
|
+
readonly type: "number";
|
|
2173
|
+
};
|
|
2174
|
+
readonly retryDelayMs: {
|
|
2175
|
+
readonly type: "number";
|
|
2176
|
+
};
|
|
1752
2177
|
};
|
|
1753
2178
|
readonly required: readonly ["enabled", "url"];
|
|
1754
2179
|
};
|
|
2180
|
+
readonly templates: {
|
|
2181
|
+
readonly type: "object";
|
|
2182
|
+
readonly properties: {
|
|
2183
|
+
readonly success: {
|
|
2184
|
+
readonly type: "string";
|
|
2185
|
+
};
|
|
2186
|
+
readonly error: {
|
|
2187
|
+
readonly type: "string";
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
readonly required: readonly ["success", "error"];
|
|
2191
|
+
};
|
|
2192
|
+
readonly filters: {
|
|
2193
|
+
readonly type: "object";
|
|
2194
|
+
readonly properties: {
|
|
2195
|
+
readonly include: {
|
|
2196
|
+
readonly type: "array";
|
|
2197
|
+
readonly items: {
|
|
2198
|
+
readonly type: "string";
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
readonly exclude: {
|
|
2202
|
+
readonly type: "array";
|
|
2203
|
+
readonly items: {
|
|
2204
|
+
readonly type: "string";
|
|
2205
|
+
};
|
|
2206
|
+
};
|
|
2207
|
+
};
|
|
2208
|
+
readonly required: readonly ["include", "exclude"];
|
|
2209
|
+
};
|
|
2210
|
+
readonly matrix: {
|
|
2211
|
+
readonly type: "object";
|
|
2212
|
+
readonly properties: {
|
|
2213
|
+
readonly enabled: {
|
|
2214
|
+
readonly type: "boolean";
|
|
2215
|
+
};
|
|
2216
|
+
readonly onPartial: {
|
|
2217
|
+
readonly type: "boolean";
|
|
2218
|
+
};
|
|
2219
|
+
readonly onAllFailed: {
|
|
2220
|
+
readonly type: "boolean";
|
|
2221
|
+
};
|
|
2222
|
+
readonly stuckAfterMinutes: {
|
|
2223
|
+
readonly type: "number";
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
readonly required: readonly ["enabled", "onPartial", "onAllFailed", "stuckAfterMinutes"];
|
|
2227
|
+
};
|
|
2228
|
+
readonly digest: {
|
|
2229
|
+
readonly type: "object";
|
|
2230
|
+
readonly properties: {
|
|
2231
|
+
readonly enabled: {
|
|
2232
|
+
readonly type: "boolean";
|
|
2233
|
+
};
|
|
2234
|
+
readonly frequency: {
|
|
2235
|
+
readonly type: "string";
|
|
2236
|
+
readonly enum: readonly ["daily", "weekly"];
|
|
2237
|
+
};
|
|
2238
|
+
readonly time: {
|
|
2239
|
+
readonly type: "string";
|
|
2240
|
+
};
|
|
2241
|
+
readonly lastSentAt: {
|
|
2242
|
+
readonly type: readonly ["string", "null"];
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
readonly required: readonly ["enabled", "frequency", "time"];
|
|
2246
|
+
};
|
|
1755
2247
|
};
|
|
1756
2248
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
1757
2249
|
};
|
|
@@ -2179,6 +2671,25 @@ export declare const SchedulerRpc: {
|
|
|
2179
2671
|
readonly required: readonly ["success", "message"];
|
|
2180
2672
|
};
|
|
2181
2673
|
};
|
|
2674
|
+
readonly send_digest: {
|
|
2675
|
+
readonly input: {
|
|
2676
|
+
readonly type: "object";
|
|
2677
|
+
readonly properties: {};
|
|
2678
|
+
readonly additionalProperties: false;
|
|
2679
|
+
};
|
|
2680
|
+
readonly output: {
|
|
2681
|
+
readonly type: "object";
|
|
2682
|
+
readonly properties: {
|
|
2683
|
+
readonly success: {
|
|
2684
|
+
readonly type: "boolean";
|
|
2685
|
+
};
|
|
2686
|
+
readonly message: {
|
|
2687
|
+
readonly type: "string";
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2690
|
+
readonly required: readonly ["success", "message"];
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2182
2693
|
};
|
|
2183
2694
|
readonly events: {};
|
|
2184
2695
|
};
|
package/dist/rpc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAinCA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCApjCrB,+DAA+D;;;;gCAE/D,+CAA+C;;;;gCAE/C,oDAAoD;;;;gCAEpD,wDAAwD;;;;gCAExD,qDAAqD;;;;gCAErD,sCAAsC;;;;gCAEtC,qDAAqD;;;;gCAErD,+EAA+E;;;;;;;gCAE/E,2DAA2D;;;;gCAE3D,6CAA6C;;;;gCAE7C,8CAA8C;;;;gCAE9C,mEAAmE;;;;gCAEnE,qDAAqD;;;;;;;;;;;;;;;;gCAErD,iDAAiD;;;;gCAEjD,8DAA8D;;;;gCAE9D,qDAAqD;;;;gCAErD,oDAAoD;;;;gCAEpD,qEAAqE;;;;gCAErE,qEAAqE;;;;gCAErE,8DAA8D;;;;gCAE9D,4DAA4D;;;;gCAE5D,8BAA8B;;;;gCAE9B,8EAA8E;;;;;;;gCAE9E,sEAAsE;;;;;;;gCAEtE,yDAAyD;;;;;;;;;;;;;;;;;;;;;;wCA5EzD,sDAAsD;;;;wCAEtD,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA4EzE,yDAAyD;;;;gCAEzD,gDAAgD;;;;gCAEhD,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAuC1D,0DAA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