@pikku/cli 0.12.38 → 0.12.39
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/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +232 -232
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -2
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +11 -11
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/functions/db/local-db.js +12 -1
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.39
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
@@ -1694,6 +1694,96 @@
|
|
|
1694
1694
|
"inputHash": "914f8a46",
|
|
1695
1695
|
"outputHash": "dc82a9b9"
|
|
1696
1696
|
},
|
|
1697
|
+
"pikkuChannels": {
|
|
1698
|
+
"pikkuFuncId": "pikkuChannels",
|
|
1699
|
+
"functionType": "user",
|
|
1700
|
+
"funcWrapper": "pikkuVoidFunc",
|
|
1701
|
+
"sessionless": true,
|
|
1702
|
+
"name": "pikkuChannels",
|
|
1703
|
+
"inputSchemaName": null,
|
|
1704
|
+
"outputSchemaName": null,
|
|
1705
|
+
"inputs": [],
|
|
1706
|
+
"outputs": [],
|
|
1707
|
+
"implementationHash": "4500d1d31c681eee",
|
|
1708
|
+
"middleware": [
|
|
1709
|
+
{
|
|
1710
|
+
"type": "wire",
|
|
1711
|
+
"name": "logCommandInfoAndTime",
|
|
1712
|
+
"inline": false
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
"contractHash": "b8affc841944693d",
|
|
1716
|
+
"inputHash": "adc31f8a",
|
|
1717
|
+
"outputHash": "600bd99c"
|
|
1718
|
+
},
|
|
1719
|
+
"pikkuChannelTypes": {
|
|
1720
|
+
"pikkuFuncId": "pikkuChannelTypes",
|
|
1721
|
+
"functionType": "user",
|
|
1722
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1723
|
+
"sessionless": true,
|
|
1724
|
+
"name": "pikkuChannelTypes",
|
|
1725
|
+
"inputSchemaName": null,
|
|
1726
|
+
"outputSchemaName": null,
|
|
1727
|
+
"inputs": [],
|
|
1728
|
+
"outputs": [],
|
|
1729
|
+
"implementationHash": "f40a97a0e23777ed",
|
|
1730
|
+
"middleware": [
|
|
1731
|
+
{
|
|
1732
|
+
"type": "wire",
|
|
1733
|
+
"name": "logCommandInfoAndTime",
|
|
1734
|
+
"inline": false
|
|
1735
|
+
}
|
|
1736
|
+
],
|
|
1737
|
+
"contractHash": "2b2bc06bcbe06e22",
|
|
1738
|
+
"inputHash": "161b06fb",
|
|
1739
|
+
"outputHash": "bc44e48a"
|
|
1740
|
+
},
|
|
1741
|
+
"pikkuChannelsMap": {
|
|
1742
|
+
"pikkuFuncId": "pikkuChannelsMap",
|
|
1743
|
+
"functionType": "user",
|
|
1744
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1745
|
+
"sessionless": true,
|
|
1746
|
+
"name": "pikkuChannelsMap",
|
|
1747
|
+
"inputSchemaName": null,
|
|
1748
|
+
"outputSchemaName": null,
|
|
1749
|
+
"inputs": [],
|
|
1750
|
+
"outputs": [],
|
|
1751
|
+
"implementationHash": "65b4c1a3e6e5e368",
|
|
1752
|
+
"middleware": [
|
|
1753
|
+
{
|
|
1754
|
+
"type": "wire",
|
|
1755
|
+
"name": "logCommandInfoAndTime",
|
|
1756
|
+
"inline": false
|
|
1757
|
+
}
|
|
1758
|
+
],
|
|
1759
|
+
"contractHash": "b6068160a2079ff6",
|
|
1760
|
+
"inputHash": "b3525fa4",
|
|
1761
|
+
"outputHash": "283f1aa2"
|
|
1762
|
+
},
|
|
1763
|
+
"pikkuCommandChannels": {
|
|
1764
|
+
"pikkuFuncId": "pikkuCommandChannels",
|
|
1765
|
+
"functionType": "user",
|
|
1766
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1767
|
+
"sessionless": true,
|
|
1768
|
+
"name": "pikkuCommandChannels",
|
|
1769
|
+
"inputSchemaName": null,
|
|
1770
|
+
"outputSchemaName": "PikkuCommandChannelsOutput",
|
|
1771
|
+
"inputs": [],
|
|
1772
|
+
"outputs": [
|
|
1773
|
+
"PikkuCommandChannelsOutput"
|
|
1774
|
+
],
|
|
1775
|
+
"implementationHash": "ef9730e9a40668ad",
|
|
1776
|
+
"middleware": [
|
|
1777
|
+
{
|
|
1778
|
+
"type": "wire",
|
|
1779
|
+
"name": "logCommandInfoAndTime",
|
|
1780
|
+
"inline": false
|
|
1781
|
+
}
|
|
1782
|
+
],
|
|
1783
|
+
"contractHash": "5fc1a394b205aa65",
|
|
1784
|
+
"inputHash": "5d1524e3",
|
|
1785
|
+
"outputHash": "048ccd50"
|
|
1786
|
+
},
|
|
1697
1787
|
"pikkuAIAgentTypes": {
|
|
1698
1788
|
"pikkuFuncId": "pikkuAIAgentTypes",
|
|
1699
1789
|
"functionType": "user",
|
|
@@ -1764,17 +1854,19 @@
|
|
|
1764
1854
|
"inputHash": "c0a04edb",
|
|
1765
1855
|
"outputHash": "aca3832e"
|
|
1766
1856
|
},
|
|
1767
|
-
"
|
|
1768
|
-
"pikkuFuncId": "
|
|
1857
|
+
"pikkuCLIEntry": {
|
|
1858
|
+
"pikkuFuncId": "pikkuCLIEntry",
|
|
1769
1859
|
"functionType": "user",
|
|
1770
|
-
"funcWrapper": "
|
|
1860
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1771
1861
|
"sessionless": true,
|
|
1772
|
-
"name": "
|
|
1862
|
+
"name": "pikkuCLIEntry",
|
|
1773
1863
|
"inputSchemaName": null,
|
|
1774
|
-
"outputSchemaName":
|
|
1864
|
+
"outputSchemaName": "PikkuCLIEntryOutput",
|
|
1775
1865
|
"inputs": [],
|
|
1776
|
-
"outputs": [
|
|
1777
|
-
|
|
1866
|
+
"outputs": [
|
|
1867
|
+
"PikkuCLIEntryOutput"
|
|
1868
|
+
],
|
|
1869
|
+
"implementationHash": "3de1aae7d25e5a8d",
|
|
1778
1870
|
"middleware": [
|
|
1779
1871
|
{
|
|
1780
1872
|
"type": "wire",
|
|
@@ -1782,21 +1874,23 @@
|
|
|
1782
1874
|
"inline": false
|
|
1783
1875
|
}
|
|
1784
1876
|
],
|
|
1785
|
-
"contractHash": "
|
|
1786
|
-
"inputHash": "
|
|
1787
|
-
"outputHash": "
|
|
1877
|
+
"contractHash": "a44d47273b044b63",
|
|
1878
|
+
"inputHash": "3e5aa4e1",
|
|
1879
|
+
"outputHash": "2f8523b1"
|
|
1788
1880
|
},
|
|
1789
|
-
"
|
|
1790
|
-
"pikkuFuncId": "
|
|
1881
|
+
"pikkuCLI": {
|
|
1882
|
+
"pikkuFuncId": "pikkuCLI",
|
|
1791
1883
|
"functionType": "user",
|
|
1792
1884
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1793
1885
|
"sessionless": true,
|
|
1794
|
-
"name": "
|
|
1886
|
+
"name": "pikkuCLI",
|
|
1795
1887
|
"inputSchemaName": null,
|
|
1796
|
-
"outputSchemaName":
|
|
1888
|
+
"outputSchemaName": "PikkuCLIOutput",
|
|
1797
1889
|
"inputs": [],
|
|
1798
|
-
"outputs": [
|
|
1799
|
-
|
|
1890
|
+
"outputs": [
|
|
1891
|
+
"PikkuCLIOutput"
|
|
1892
|
+
],
|
|
1893
|
+
"implementationHash": "106ebe1537d48581",
|
|
1800
1894
|
"middleware": [
|
|
1801
1895
|
{
|
|
1802
1896
|
"type": "wire",
|
|
@@ -1804,21 +1898,23 @@
|
|
|
1804
1898
|
"inline": false
|
|
1805
1899
|
}
|
|
1806
1900
|
],
|
|
1807
|
-
"contractHash": "
|
|
1808
|
-
"inputHash": "
|
|
1809
|
-
"outputHash": "
|
|
1901
|
+
"contractHash": "3932cb0e6b7de268",
|
|
1902
|
+
"inputHash": "fef4d62b",
|
|
1903
|
+
"outputHash": "7d42c9e1"
|
|
1810
1904
|
},
|
|
1811
|
-
"
|
|
1812
|
-
"pikkuFuncId": "
|
|
1905
|
+
"pikkuConsoleFunctions": {
|
|
1906
|
+
"pikkuFuncId": "pikkuConsoleFunctions",
|
|
1813
1907
|
"functionType": "user",
|
|
1814
1908
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1815
1909
|
"sessionless": true,
|
|
1816
|
-
"name": "
|
|
1910
|
+
"name": "pikkuConsoleFunctions",
|
|
1817
1911
|
"inputSchemaName": null,
|
|
1818
|
-
"outputSchemaName":
|
|
1912
|
+
"outputSchemaName": "PikkuConsoleFunctionsOutput",
|
|
1819
1913
|
"inputs": [],
|
|
1820
|
-
"outputs": [
|
|
1821
|
-
|
|
1914
|
+
"outputs": [
|
|
1915
|
+
"PikkuConsoleFunctionsOutput"
|
|
1916
|
+
],
|
|
1917
|
+
"implementationHash": "9755b441da9e4b81",
|
|
1822
1918
|
"middleware": [
|
|
1823
1919
|
{
|
|
1824
1920
|
"type": "wire",
|
|
@@ -1826,23 +1922,21 @@
|
|
|
1826
1922
|
"inline": false
|
|
1827
1923
|
}
|
|
1828
1924
|
],
|
|
1829
|
-
"contractHash": "
|
|
1830
|
-
"inputHash": "
|
|
1831
|
-
"outputHash": "
|
|
1925
|
+
"contractHash": "5725bacdf339c573",
|
|
1926
|
+
"inputHash": "ac47cb5e",
|
|
1927
|
+
"outputHash": "8259a954"
|
|
1832
1928
|
},
|
|
1833
|
-
"
|
|
1834
|
-
"pikkuFuncId": "
|
|
1929
|
+
"pikkuNodeTypes": {
|
|
1930
|
+
"pikkuFuncId": "pikkuNodeTypes",
|
|
1835
1931
|
"functionType": "user",
|
|
1836
1932
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1837
1933
|
"sessionless": true,
|
|
1838
|
-
"name": "
|
|
1934
|
+
"name": "pikkuNodeTypes",
|
|
1839
1935
|
"inputSchemaName": null,
|
|
1840
|
-
"outputSchemaName":
|
|
1936
|
+
"outputSchemaName": null,
|
|
1841
1937
|
"inputs": [],
|
|
1842
|
-
"outputs": [
|
|
1843
|
-
|
|
1844
|
-
],
|
|
1845
|
-
"implementationHash": "ef9730e9a40668ad",
|
|
1938
|
+
"outputs": [],
|
|
1939
|
+
"implementationHash": "9a4ff23a5eedca95",
|
|
1846
1940
|
"middleware": [
|
|
1847
1941
|
{
|
|
1848
1942
|
"type": "wire",
|
|
@@ -1850,21 +1944,23 @@
|
|
|
1850
1944
|
"inline": false
|
|
1851
1945
|
}
|
|
1852
1946
|
],
|
|
1853
|
-
"contractHash": "
|
|
1854
|
-
"inputHash": "
|
|
1855
|
-
"outputHash": "
|
|
1947
|
+
"contractHash": "50029dfb2ea6b6c2",
|
|
1948
|
+
"inputHash": "4f5677f1",
|
|
1949
|
+
"outputHash": "616d3f6e"
|
|
1856
1950
|
},
|
|
1857
|
-
"
|
|
1858
|
-
"pikkuFuncId": "
|
|
1951
|
+
"pikkuNodesMeta": {
|
|
1952
|
+
"pikkuFuncId": "pikkuNodesMeta",
|
|
1859
1953
|
"functionType": "user",
|
|
1860
1954
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1861
1955
|
"sessionless": true,
|
|
1862
|
-
"name": "
|
|
1956
|
+
"name": "pikkuNodesMeta",
|
|
1863
1957
|
"inputSchemaName": null,
|
|
1864
|
-
"outputSchemaName":
|
|
1958
|
+
"outputSchemaName": "PikkuNodesMetaOutput",
|
|
1865
1959
|
"inputs": [],
|
|
1866
|
-
"outputs": [
|
|
1867
|
-
|
|
1960
|
+
"outputs": [
|
|
1961
|
+
"PikkuNodesMetaOutput"
|
|
1962
|
+
],
|
|
1963
|
+
"implementationHash": "56d7a29cc36421e4",
|
|
1868
1964
|
"middleware": [
|
|
1869
1965
|
{
|
|
1870
1966
|
"type": "wire",
|
|
@@ -1872,23 +1968,21 @@
|
|
|
1872
1968
|
"inline": false
|
|
1873
1969
|
}
|
|
1874
1970
|
],
|
|
1875
|
-
"contractHash": "
|
|
1876
|
-
"inputHash": "
|
|
1877
|
-
"outputHash": "
|
|
1971
|
+
"contractHash": "2dd28c3201f71199",
|
|
1972
|
+
"inputHash": "4be7b8bd",
|
|
1973
|
+
"outputHash": "fca2b5eb"
|
|
1878
1974
|
},
|
|
1879
|
-
"
|
|
1880
|
-
"pikkuFuncId": "
|
|
1975
|
+
"pikkuCredentials": {
|
|
1976
|
+
"pikkuFuncId": "pikkuCredentials",
|
|
1881
1977
|
"functionType": "user",
|
|
1882
1978
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1883
1979
|
"sessionless": true,
|
|
1884
|
-
"name": "
|
|
1980
|
+
"name": "pikkuCredentials",
|
|
1885
1981
|
"inputSchemaName": null,
|
|
1886
|
-
"outputSchemaName":
|
|
1982
|
+
"outputSchemaName": null,
|
|
1887
1983
|
"inputs": [],
|
|
1888
|
-
"outputs": [
|
|
1889
|
-
|
|
1890
|
-
],
|
|
1891
|
-
"implementationHash": "3de1aae7d25e5a8d",
|
|
1984
|
+
"outputs": [],
|
|
1985
|
+
"implementationHash": "a99a627856fd77bd",
|
|
1892
1986
|
"middleware": [
|
|
1893
1987
|
{
|
|
1894
1988
|
"type": "wire",
|
|
@@ -1896,23 +1990,21 @@
|
|
|
1896
1990
|
"inline": false
|
|
1897
1991
|
}
|
|
1898
1992
|
],
|
|
1899
|
-
"contractHash": "
|
|
1900
|
-
"inputHash": "
|
|
1901
|
-
"outputHash": "
|
|
1993
|
+
"contractHash": "8fa847acfa7ef407",
|
|
1994
|
+
"inputHash": "b98cb2ee",
|
|
1995
|
+
"outputHash": "9e33f562"
|
|
1902
1996
|
},
|
|
1903
|
-
"
|
|
1904
|
-
"pikkuFuncId": "
|
|
1997
|
+
"pikkuAuth": {
|
|
1998
|
+
"pikkuFuncId": "pikkuAuth",
|
|
1905
1999
|
"functionType": "user",
|
|
1906
2000
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
1907
2001
|
"sessionless": true,
|
|
1908
|
-
"name": "
|
|
2002
|
+
"name": "pikkuAuth",
|
|
1909
2003
|
"inputSchemaName": null,
|
|
1910
|
-
"outputSchemaName":
|
|
2004
|
+
"outputSchemaName": null,
|
|
1911
2005
|
"inputs": [],
|
|
1912
|
-
"outputs": [
|
|
1913
|
-
|
|
1914
|
-
],
|
|
1915
|
-
"implementationHash": "106ebe1537d48581",
|
|
2006
|
+
"outputs": [],
|
|
2007
|
+
"implementationHash": "f8a2af6b34ab525f",
|
|
1916
2008
|
"middleware": [
|
|
1917
2009
|
{
|
|
1918
2010
|
"type": "wire",
|
|
@@ -1920,9 +2012,9 @@
|
|
|
1920
2012
|
"inline": false
|
|
1921
2013
|
}
|
|
1922
2014
|
],
|
|
1923
|
-
"contractHash": "
|
|
1924
|
-
"inputHash": "
|
|
1925
|
-
"outputHash": "
|
|
2015
|
+
"contractHash": "9fa89ecfb6307a51",
|
|
2016
|
+
"inputHash": "c3580f86",
|
|
2017
|
+
"outputHash": "f5261f72"
|
|
1926
2018
|
},
|
|
1927
2019
|
"pikkuFunctionTypesSplit": {
|
|
1928
2020
|
"pikkuFuncId": "pikkuFunctionTypesSplit",
|
|
@@ -2018,30 +2110,6 @@
|
|
|
2018
2110
|
"inputHash": "a3e730d9",
|
|
2019
2111
|
"outputHash": "e0b61e49"
|
|
2020
2112
|
},
|
|
2021
|
-
"pikkuGateway": {
|
|
2022
|
-
"pikkuFuncId": "pikkuGateway",
|
|
2023
|
-
"functionType": "user",
|
|
2024
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2025
|
-
"sessionless": true,
|
|
2026
|
-
"name": "pikkuGateway",
|
|
2027
|
-
"inputSchemaName": null,
|
|
2028
|
-
"outputSchemaName": "PikkuGatewayOutput",
|
|
2029
|
-
"inputs": [],
|
|
2030
|
-
"outputs": [
|
|
2031
|
-
"PikkuGatewayOutput"
|
|
2032
|
-
],
|
|
2033
|
-
"implementationHash": "cc85ec16d890311e",
|
|
2034
|
-
"middleware": [
|
|
2035
|
-
{
|
|
2036
|
-
"type": "wire",
|
|
2037
|
-
"name": "logCommandInfoAndTime",
|
|
2038
|
-
"inline": false
|
|
2039
|
-
}
|
|
2040
|
-
],
|
|
2041
|
-
"contractHash": "8c9fc7c18aeb2212",
|
|
2042
|
-
"inputHash": "a5477eae",
|
|
2043
|
-
"outputHash": "b5ea8b47"
|
|
2044
|
-
},
|
|
2045
2113
|
"pikkuHTTPMap": {
|
|
2046
2114
|
"pikkuFuncId": "pikkuHTTPMap",
|
|
2047
2115
|
"functionType": "user",
|
|
@@ -2294,6 +2362,30 @@
|
|
|
2294
2362
|
"inputHash": "6c4c903c",
|
|
2295
2363
|
"outputHash": "5ceae041"
|
|
2296
2364
|
},
|
|
2365
|
+
"pikkuGateway": {
|
|
2366
|
+
"pikkuFuncId": "pikkuGateway",
|
|
2367
|
+
"functionType": "user",
|
|
2368
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2369
|
+
"sessionless": true,
|
|
2370
|
+
"name": "pikkuGateway",
|
|
2371
|
+
"inputSchemaName": null,
|
|
2372
|
+
"outputSchemaName": "PikkuGatewayOutput",
|
|
2373
|
+
"inputs": [],
|
|
2374
|
+
"outputs": [
|
|
2375
|
+
"PikkuGatewayOutput"
|
|
2376
|
+
],
|
|
2377
|
+
"implementationHash": "cc85ec16d890311e",
|
|
2378
|
+
"middleware": [
|
|
2379
|
+
{
|
|
2380
|
+
"type": "wire",
|
|
2381
|
+
"name": "logCommandInfoAndTime",
|
|
2382
|
+
"inline": false
|
|
2383
|
+
}
|
|
2384
|
+
],
|
|
2385
|
+
"contractHash": "8c9fc7c18aeb2212",
|
|
2386
|
+
"inputHash": "a5477eae",
|
|
2387
|
+
"outputHash": "b5ea8b47"
|
|
2388
|
+
},
|
|
2297
2389
|
"pikkuPermissions": {
|
|
2298
2390
|
"pikkuFuncId": "pikkuPermissions",
|
|
2299
2391
|
"functionType": "user",
|
|
@@ -2456,6 +2548,52 @@
|
|
|
2456
2548
|
"inputHash": "0e752243",
|
|
2457
2549
|
"outputHash": "486a58ef"
|
|
2458
2550
|
},
|
|
2551
|
+
"pikkuSchedulerTypes": {
|
|
2552
|
+
"pikkuFuncId": "pikkuSchedulerTypes",
|
|
2553
|
+
"functionType": "user",
|
|
2554
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2555
|
+
"sessionless": true,
|
|
2556
|
+
"name": "pikkuSchedulerTypes",
|
|
2557
|
+
"inputSchemaName": null,
|
|
2558
|
+
"outputSchemaName": null,
|
|
2559
|
+
"inputs": [],
|
|
2560
|
+
"outputs": [],
|
|
2561
|
+
"implementationHash": "ca3f707d96566f5c",
|
|
2562
|
+
"middleware": [
|
|
2563
|
+
{
|
|
2564
|
+
"type": "wire",
|
|
2565
|
+
"name": "logCommandInfoAndTime",
|
|
2566
|
+
"inline": false
|
|
2567
|
+
}
|
|
2568
|
+
],
|
|
2569
|
+
"contractHash": "562f598e335cbbf8",
|
|
2570
|
+
"inputHash": "5cb0bd41",
|
|
2571
|
+
"outputHash": "4108ab7a"
|
|
2572
|
+
},
|
|
2573
|
+
"pikkuScheduler": {
|
|
2574
|
+
"pikkuFuncId": "pikkuScheduler",
|
|
2575
|
+
"functionType": "user",
|
|
2576
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2577
|
+
"sessionless": true,
|
|
2578
|
+
"name": "pikkuScheduler",
|
|
2579
|
+
"inputSchemaName": null,
|
|
2580
|
+
"outputSchemaName": "PikkuSchedulerOutput",
|
|
2581
|
+
"inputs": [],
|
|
2582
|
+
"outputs": [
|
|
2583
|
+
"PikkuSchedulerOutput"
|
|
2584
|
+
],
|
|
2585
|
+
"implementationHash": "e78409e71cedf438",
|
|
2586
|
+
"middleware": [
|
|
2587
|
+
{
|
|
2588
|
+
"type": "wire",
|
|
2589
|
+
"name": "logCommandInfoAndTime",
|
|
2590
|
+
"inline": false
|
|
2591
|
+
}
|
|
2592
|
+
],
|
|
2593
|
+
"contractHash": "064923ed2e031573",
|
|
2594
|
+
"inputHash": "dda1c6aa",
|
|
2595
|
+
"outputHash": "1f0f0345"
|
|
2596
|
+
},
|
|
2459
2597
|
"pikkuPublicRPC": {
|
|
2460
2598
|
"pikkuFuncId": "pikkuPublicRPC",
|
|
2461
2599
|
"functionType": "user",
|
|
@@ -2572,52 +2710,6 @@
|
|
|
2572
2710
|
"inputHash": "835d9763",
|
|
2573
2711
|
"outputHash": "b9430fb9"
|
|
2574
2712
|
},
|
|
2575
|
-
"pikkuSchedulerTypes": {
|
|
2576
|
-
"pikkuFuncId": "pikkuSchedulerTypes",
|
|
2577
|
-
"functionType": "user",
|
|
2578
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2579
|
-
"sessionless": true,
|
|
2580
|
-
"name": "pikkuSchedulerTypes",
|
|
2581
|
-
"inputSchemaName": null,
|
|
2582
|
-
"outputSchemaName": null,
|
|
2583
|
-
"inputs": [],
|
|
2584
|
-
"outputs": [],
|
|
2585
|
-
"implementationHash": "ca3f707d96566f5c",
|
|
2586
|
-
"middleware": [
|
|
2587
|
-
{
|
|
2588
|
-
"type": "wire",
|
|
2589
|
-
"name": "logCommandInfoAndTime",
|
|
2590
|
-
"inline": false
|
|
2591
|
-
}
|
|
2592
|
-
],
|
|
2593
|
-
"contractHash": "562f598e335cbbf8",
|
|
2594
|
-
"inputHash": "5cb0bd41",
|
|
2595
|
-
"outputHash": "4108ab7a"
|
|
2596
|
-
},
|
|
2597
|
-
"pikkuScheduler": {
|
|
2598
|
-
"pikkuFuncId": "pikkuScheduler",
|
|
2599
|
-
"functionType": "user",
|
|
2600
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2601
|
-
"sessionless": true,
|
|
2602
|
-
"name": "pikkuScheduler",
|
|
2603
|
-
"inputSchemaName": null,
|
|
2604
|
-
"outputSchemaName": "PikkuSchedulerOutput",
|
|
2605
|
-
"inputs": [],
|
|
2606
|
-
"outputs": [
|
|
2607
|
-
"PikkuSchedulerOutput"
|
|
2608
|
-
],
|
|
2609
|
-
"implementationHash": "e78409e71cedf438",
|
|
2610
|
-
"middleware": [
|
|
2611
|
-
{
|
|
2612
|
-
"type": "wire",
|
|
2613
|
-
"name": "logCommandInfoAndTime",
|
|
2614
|
-
"inline": false
|
|
2615
|
-
}
|
|
2616
|
-
],
|
|
2617
|
-
"contractHash": "064923ed2e031573",
|
|
2618
|
-
"inputHash": "dda1c6aa",
|
|
2619
|
-
"outputHash": "1f0f0345"
|
|
2620
|
-
},
|
|
2621
2713
|
"pikkuSecrets": {
|
|
2622
2714
|
"pikkuFuncId": "pikkuSecrets",
|
|
2623
2715
|
"functionType": "user",
|
|
@@ -2733,97 +2825,5 @@
|
|
|
2733
2825
|
"contractHash": "4bfa767e5f7be854",
|
|
2734
2826
|
"inputHash": "3bda91da",
|
|
2735
2827
|
"outputHash": "8b24f1df"
|
|
2736
|
-
},
|
|
2737
|
-
"pikkuConsoleFunctions": {
|
|
2738
|
-
"pikkuFuncId": "pikkuConsoleFunctions",
|
|
2739
|
-
"functionType": "user",
|
|
2740
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2741
|
-
"sessionless": true,
|
|
2742
|
-
"name": "pikkuConsoleFunctions",
|
|
2743
|
-
"inputSchemaName": null,
|
|
2744
|
-
"outputSchemaName": "PikkuConsoleFunctionsOutput",
|
|
2745
|
-
"inputs": [],
|
|
2746
|
-
"outputs": [
|
|
2747
|
-
"PikkuConsoleFunctionsOutput"
|
|
2748
|
-
],
|
|
2749
|
-
"implementationHash": "9755b441da9e4b81",
|
|
2750
|
-
"middleware": [
|
|
2751
|
-
{
|
|
2752
|
-
"type": "wire",
|
|
2753
|
-
"name": "logCommandInfoAndTime",
|
|
2754
|
-
"inline": false
|
|
2755
|
-
}
|
|
2756
|
-
],
|
|
2757
|
-
"contractHash": "5725bacdf339c573",
|
|
2758
|
-
"inputHash": "ac47cb5e",
|
|
2759
|
-
"outputHash": "8259a954"
|
|
2760
|
-
},
|
|
2761
|
-
"pikkuNodeTypes": {
|
|
2762
|
-
"pikkuFuncId": "pikkuNodeTypes",
|
|
2763
|
-
"functionType": "user",
|
|
2764
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2765
|
-
"sessionless": true,
|
|
2766
|
-
"name": "pikkuNodeTypes",
|
|
2767
|
-
"inputSchemaName": null,
|
|
2768
|
-
"outputSchemaName": null,
|
|
2769
|
-
"inputs": [],
|
|
2770
|
-
"outputs": [],
|
|
2771
|
-
"implementationHash": "9a4ff23a5eedca95",
|
|
2772
|
-
"middleware": [
|
|
2773
|
-
{
|
|
2774
|
-
"type": "wire",
|
|
2775
|
-
"name": "logCommandInfoAndTime",
|
|
2776
|
-
"inline": false
|
|
2777
|
-
}
|
|
2778
|
-
],
|
|
2779
|
-
"contractHash": "50029dfb2ea6b6c2",
|
|
2780
|
-
"inputHash": "4f5677f1",
|
|
2781
|
-
"outputHash": "616d3f6e"
|
|
2782
|
-
},
|
|
2783
|
-
"pikkuNodesMeta": {
|
|
2784
|
-
"pikkuFuncId": "pikkuNodesMeta",
|
|
2785
|
-
"functionType": "user",
|
|
2786
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2787
|
-
"sessionless": true,
|
|
2788
|
-
"name": "pikkuNodesMeta",
|
|
2789
|
-
"inputSchemaName": null,
|
|
2790
|
-
"outputSchemaName": "PikkuNodesMetaOutput",
|
|
2791
|
-
"inputs": [],
|
|
2792
|
-
"outputs": [
|
|
2793
|
-
"PikkuNodesMetaOutput"
|
|
2794
|
-
],
|
|
2795
|
-
"implementationHash": "56d7a29cc36421e4",
|
|
2796
|
-
"middleware": [
|
|
2797
|
-
{
|
|
2798
|
-
"type": "wire",
|
|
2799
|
-
"name": "logCommandInfoAndTime",
|
|
2800
|
-
"inline": false
|
|
2801
|
-
}
|
|
2802
|
-
],
|
|
2803
|
-
"contractHash": "2dd28c3201f71199",
|
|
2804
|
-
"inputHash": "4be7b8bd",
|
|
2805
|
-
"outputHash": "fca2b5eb"
|
|
2806
|
-
},
|
|
2807
|
-
"pikkuCredentials": {
|
|
2808
|
-
"pikkuFuncId": "pikkuCredentials",
|
|
2809
|
-
"functionType": "user",
|
|
2810
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2811
|
-
"sessionless": true,
|
|
2812
|
-
"name": "pikkuCredentials",
|
|
2813
|
-
"inputSchemaName": null,
|
|
2814
|
-
"outputSchemaName": null,
|
|
2815
|
-
"inputs": [],
|
|
2816
|
-
"outputs": [],
|
|
2817
|
-
"implementationHash": "a99a627856fd77bd",
|
|
2818
|
-
"middleware": [
|
|
2819
|
-
{
|
|
2820
|
-
"type": "wire",
|
|
2821
|
-
"name": "logCommandInfoAndTime",
|
|
2822
|
-
"inline": false
|
|
2823
|
-
}
|
|
2824
|
-
],
|
|
2825
|
-
"contractHash": "8fa847acfa7ef407",
|
|
2826
|
-
"inputHash": "b98cb2ee",
|
|
2827
|
-
"outputHash": "9e33f562"
|
|
2828
2828
|
}
|
|
2829
2829
|
}
|
|
@@ -119,17 +119,17 @@
|
|
|
119
119
|
"pikkuMCPJSON": "pikkuMCPJSON",
|
|
120
120
|
"pikkuMCPTypes": "pikkuMCPTypes",
|
|
121
121
|
"pikkuMCP": "pikkuMCP",
|
|
122
|
+
"pikkuMiddleware": "pikkuMiddleware",
|
|
122
123
|
"pikkuSecretDefinitionTypes": "pikkuSecretDefinitionTypes",
|
|
123
124
|
"pikkuVariableDefinitionTypes": "pikkuVariableDefinitionTypes",
|
|
124
125
|
"pikkuPackage": "pikkuPackage",
|
|
125
126
|
"pikkuPermissions": "pikkuPermissions",
|
|
127
|
+
"pikkuEventsScaffold": "pikkuEventsScaffold",
|
|
126
128
|
"pikkuCommandQueueMap": "pikkuCommandQueueMap",
|
|
127
129
|
"pikkuQueueTypes": "pikkuQueueTypes",
|
|
128
130
|
"pikkuCommandQueue": "pikkuCommandQueue",
|
|
129
131
|
"pikkuQueueMap": "pikkuQueueMap",
|
|
130
132
|
"pikkuQueue": "pikkuQueue",
|
|
131
|
-
"pikkuMiddleware": "pikkuMiddleware",
|
|
132
|
-
"pikkuEventsScaffold": "pikkuEventsScaffold",
|
|
133
133
|
"pikkuPublicRPC": "pikkuPublicRPC",
|
|
134
134
|
"pikkuRemoteRPC": "pikkuRemoteRPC",
|
|
135
135
|
"pikkuRPCInternalMap": "pikkuRPCInternalMap",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.39
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
|
|
@@ -180,24 +180,26 @@ import * as PikkuMetaClientsInput from './schemas/PikkuMetaClientsInput.schema.j
|
|
|
180
180
|
addSchema('PikkuMetaClientsInput', PikkuMetaClientsInput);
|
|
181
181
|
import * as RemoteRPCHandlerInput from './schemas/RemoteRPCHandlerInput.schema.json' with { type: 'json' };
|
|
182
182
|
addSchema('RemoteRPCHandlerInput', RemoteRPCHandlerInput);
|
|
183
|
+
import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
|
|
184
|
+
addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
|
|
183
185
|
import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
|
|
184
186
|
addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
|
|
185
187
|
import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
|
|
186
188
|
addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
|
|
187
|
-
import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
|
|
188
|
-
addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
|
|
189
189
|
import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
|
|
190
190
|
addSchema('PikkuCLIEntryOutput', PikkuCLIEntryOutput);
|
|
191
191
|
import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
|
|
192
192
|
addSchema('PikkuCLIOutput', PikkuCLIOutput);
|
|
193
|
+
import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
|
|
194
|
+
addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
|
|
195
|
+
import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
|
|
196
|
+
addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
|
|
193
197
|
import * as PikkuFunctionTypesSplitInput from './schemas/PikkuFunctionTypesSplitInput.schema.json' with { type: 'json' };
|
|
194
198
|
addSchema('PikkuFunctionTypesSplitInput', PikkuFunctionTypesSplitInput);
|
|
195
199
|
import * as PikkuFunctionTypesInput from './schemas/PikkuFunctionTypesInput.schema.json' with { type: 'json' };
|
|
196
200
|
addSchema('PikkuFunctionTypesInput', PikkuFunctionTypesInput);
|
|
197
201
|
import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
|
|
198
202
|
addSchema('PikkuFunctionsOutput', PikkuFunctionsOutput);
|
|
199
|
-
import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
|
|
200
|
-
addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
|
|
201
203
|
import * as PikkuCommandHTTPOutput from './schemas/PikkuCommandHTTPOutput.schema.json' with { type: 'json' };
|
|
202
204
|
addSchema('PikkuCommandHTTPOutput', PikkuCommandHTTPOutput);
|
|
203
205
|
import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
|
|
@@ -208,6 +210,8 @@ import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.j
|
|
|
208
210
|
addSchema('PikkuMiddlewareOutput', PikkuMiddlewareOutput);
|
|
209
211
|
import * as PikkuPackageOutput from './schemas/PikkuPackageOutput.schema.json' with { type: 'json' };
|
|
210
212
|
addSchema('PikkuPackageOutput', PikkuPackageOutput);
|
|
213
|
+
import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
|
|
214
|
+
addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
|
|
211
215
|
import * as PikkuPermissionsOutput from './schemas/PikkuPermissionsOutput.schema.json' with { type: 'json' };
|
|
212
216
|
addSchema('PikkuPermissionsOutput', PikkuPermissionsOutput);
|
|
213
217
|
import * as PikkuCommandQueueOutput from './schemas/PikkuCommandQueueOutput.schema.json' with { type: 'json' };
|
|
@@ -216,23 +220,19 @@ import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with
|
|
|
216
220
|
addSchema('PikkuQueueOutput', PikkuQueueOutput);
|
|
217
221
|
import * as PikkuEventsScaffoldOutput from './schemas/PikkuEventsScaffoldOutput.schema.json' with { type: 'json' };
|
|
218
222
|
addSchema('PikkuEventsScaffoldOutput', PikkuEventsScaffoldOutput);
|
|
223
|
+
import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.json' with { type: 'json' };
|
|
224
|
+
addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
|
|
219
225
|
import * as PikkuPublicRPCOutput from './schemas/PikkuPublicRPCOutput.schema.json' with { type: 'json' };
|
|
220
226
|
addSchema('PikkuPublicRPCOutput', PikkuPublicRPCOutput);
|
|
221
227
|
import * as PikkuRemoteRPCOutput from './schemas/PikkuRemoteRPCOutput.schema.json' with { type: 'json' };
|
|
222
228
|
addSchema('PikkuRemoteRPCOutput', PikkuRemoteRPCOutput);
|
|
223
229
|
import * as PikkuRPCOutput from './schemas/PikkuRPCOutput.schema.json' with { type: 'json' };
|
|
224
230
|
addSchema('PikkuRPCOutput', PikkuRPCOutput);
|
|
225
|
-
import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.json' with { type: 'json' };
|
|
226
|
-
addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
|
|
227
231
|
import * as PikkuTriggerTypesInput from './schemas/PikkuTriggerTypesInput.schema.json' with { type: 'json' };
|
|
228
232
|
addSchema('PikkuTriggerTypesInput', PikkuTriggerTypesInput);
|
|
229
233
|
import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' with { type: 'json' };
|
|
230
234
|
addSchema('PikkuTriggerOutput', PikkuTriggerOutput);
|
|
231
235
|
import * as PikkuWorkflowRoutesOutput from './schemas/PikkuWorkflowRoutesOutput.schema.json' with { type: 'json' };
|
|
232
236
|
addSchema('PikkuWorkflowRoutesOutput', PikkuWorkflowRoutesOutput);
|
|
233
|
-
import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
|
|
234
|
-
addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
|
|
235
|
-
import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
|
|
236
|
-
addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
|
|
237
237
|
import * as PikkuCLIConfig from './schemas/PikkuCLIConfig.schema.json' with { type: 'json' };
|
|
238
238
|
addSchema('PikkuCLIConfig', PikkuCLIConfig);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.39
|
|
3
3
|
*/
|
|
4
4
|
export { wireVariable } from '@pikku/core/variable';
|
|
5
5
|
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
package/dist/bin/pikku-bin.mjs
CHANGED
|
@@ -11,8 +11,8 @@ async function checkForUpdate() {
|
|
|
11
11
|
})
|
|
12
12
|
if (!res.ok) return
|
|
13
13
|
const { version: latest } = await res.json()
|
|
14
|
-
if (latest !== '0.12.
|
|
15
|
-
process.stderr.write(`\n Update available 0.12.
|
|
14
|
+
if (latest !== '0.12.39') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.39 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
|
@@ -308,8 +308,19 @@ async function introspectorToMap(intro) {
|
|
|
308
308
|
function diffSchemas(desired, actual) {
|
|
309
309
|
const missingTables = [];
|
|
310
310
|
const missingColumns = [];
|
|
311
|
+
const findSchemaQualifiedMatch = (table) => {
|
|
312
|
+
if (table.includes('.'))
|
|
313
|
+
return undefined;
|
|
314
|
+
const matches = [...actual.entries()].filter(([actualTable]) => {
|
|
315
|
+
const parts = actualTable.split('.');
|
|
316
|
+
return parts.length === 2 && parts[1] === table;
|
|
317
|
+
});
|
|
318
|
+
if (matches.length !== 1)
|
|
319
|
+
return undefined;
|
|
320
|
+
return matches[0][1];
|
|
321
|
+
};
|
|
311
322
|
for (const [table, cols] of desired) {
|
|
312
|
-
const actualCols = actual.get(table);
|
|
323
|
+
const actualCols = actual.get(table) ?? findSchemaQualifiedMatch(table);
|
|
313
324
|
if (!actualCols) {
|
|
314
325
|
missingTables.push(table);
|
|
315
326
|
continue;
|