@genesislcap/foundation-state-machine 14.226.0 → 14.226.2-alpha-bcda968.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/core/binding.d.ts.map +1 -1
- package/dist/dts/core/guards.d.ts.map +1 -1
- package/dist/dts/machines/fetch/types.d.ts.map +1 -1
- package/dist/{tsdoc-metadata.json → dts/tsdoc-metadata.json} +1 -1
- package/dist/esm/machines/fetch/machine.js +6 -6
- package/dist/foundation-state-machine.api.json +239 -772
- package/dist/foundation-state-machine.d.ts +3 -3
- package/docs/api/foundation-state-machine.createerrorstatenode.md +1 -14
- package/docs/api/foundation-state-machine.createfetchpolicy.md +1 -15
- package/docs/api/foundation-state-machine.createresponsedataextractorwithdeserializer.md +1 -13
- package/docs/api/foundation-state-machine.errorworkflowinput.md +6 -8
- package/docs/api/foundation-state-machine.isaborterror.md +1 -12
- package/docs/api/foundation-state-machine.isactorerrorevent.md +1 -13
- package/docs/api/foundation-state-machine.isapierror.md +1 -12
- package/docs/api/foundation-state-machine.isdoneinvokeevent.md +1 -12
- package/docs/api/foundation-state-machine.iserrorcustomevent.md +1 -11
- package/docs/api/foundation-state-machine.iserrorevent.md +1 -12
- package/docs/api/foundation-state-machine.iserrortype.md +1 -12
- package/docs/api/foundation-state-machine.iseventwithparams.md +1 -12
- package/docs/api/foundation-state-machine.isgenesisservererror.md +1 -12
- package/docs/api/foundation-state-machine.ismappingerror.md +1 -12
- package/docs/api/foundation-state-machine.isnetworkerror.md +1 -12
- package/docs/api/foundation-state-machine.isnotfounderror.md +1 -12
- package/docs/api/foundation-state-machine.issyntaxerror.md +1 -12
- package/docs/api/foundation-state-machine.istypeerror.md +1 -12
- package/docs/api/foundation-state-machine.isunauthorizederror.md +1 -12
- package/docs/api/foundation-state-machine.md +20 -20
- package/docs/api/foundation-state-machine.seterrorbykey.md +1 -11
- package/docs/{api-report.md.api.md → api-report.md} +3 -3
- package/package.json +13 -13
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"metadata": {
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
4
|
-
"toolVersion": "7.
|
4
|
+
"toolVersion": "7.34.9",
|
5
5
|
"schemaVersion": 1011,
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
7
7
|
"tsdocConfig": {
|
@@ -1682,37 +1682,17 @@
|
|
1682
1682
|
"name": "assertEvent"
|
1683
1683
|
},
|
1684
1684
|
{
|
1685
|
-
"kind": "
|
1686
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!createErrorStateNode:
|
1685
|
+
"kind": "Variable",
|
1686
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!createErrorStateNode:var",
|
1687
1687
|
"docComment": "/**\n * Creates an error state node.\n *\n * @param key - An error state key.\n *\n * @param metaContent - An optional meta content value.\n *\n * @param final - An optional flag which adds final with output functionality.\n *\n * @public\n */\n",
|
1688
1688
|
"excerptTokens": [
|
1689
1689
|
{
|
1690
1690
|
"kind": "Content",
|
1691
|
-
"text": "createErrorStateNode:
|
1692
|
-
},
|
1693
|
-
{
|
1694
|
-
"kind": "Content",
|
1695
|
-
"text": "string"
|
1696
|
-
},
|
1697
|
-
{
|
1698
|
-
"kind": "Content",
|
1699
|
-
"text": ", metaContent?: "
|
1700
|
-
},
|
1701
|
-
{
|
1702
|
-
"kind": "Content",
|
1703
|
-
"text": "string"
|
1704
|
-
},
|
1705
|
-
{
|
1706
|
-
"kind": "Content",
|
1707
|
-
"text": ", final?: "
|
1708
|
-
},
|
1709
|
-
{
|
1710
|
-
"kind": "Content",
|
1711
|
-
"text": "boolean"
|
1691
|
+
"text": "createErrorStateNode: "
|
1712
1692
|
},
|
1713
1693
|
{
|
1714
1694
|
"kind": "Content",
|
1715
|
-
"text": ") => "
|
1695
|
+
"text": "(key: string, metaContent?: string, final?: boolean) => "
|
1716
1696
|
},
|
1717
1697
|
{
|
1718
1698
|
"kind": "Reference",
|
@@ -1725,56 +1705,26 @@
|
|
1725
1705
|
}
|
1726
1706
|
],
|
1727
1707
|
"fileUrlPath": "src/core/state.ts",
|
1728
|
-
"
|
1729
|
-
"startIndex": 7,
|
1730
|
-
"endIndex": 9
|
1731
|
-
},
|
1708
|
+
"isReadonly": true,
|
1732
1709
|
"releaseTag": "Public",
|
1733
|
-
"
|
1734
|
-
"
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
"startIndex": 1,
|
1739
|
-
"endIndex": 2
|
1740
|
-
},
|
1741
|
-
"isOptional": false
|
1742
|
-
},
|
1743
|
-
{
|
1744
|
-
"parameterName": "metaContent",
|
1745
|
-
"parameterTypeTokenRange": {
|
1746
|
-
"startIndex": 3,
|
1747
|
-
"endIndex": 4
|
1748
|
-
},
|
1749
|
-
"isOptional": true
|
1750
|
-
},
|
1751
|
-
{
|
1752
|
-
"parameterName": "final",
|
1753
|
-
"parameterTypeTokenRange": {
|
1754
|
-
"startIndex": 5,
|
1755
|
-
"endIndex": 6
|
1756
|
-
},
|
1757
|
-
"isOptional": true
|
1758
|
-
}
|
1759
|
-
],
|
1760
|
-
"name": "createErrorStateNode"
|
1710
|
+
"name": "createErrorStateNode",
|
1711
|
+
"variableTypeTokenRange": {
|
1712
|
+
"startIndex": 1,
|
1713
|
+
"endIndex": 4
|
1714
|
+
}
|
1761
1715
|
},
|
1762
1716
|
{
|
1763
|
-
"kind": "
|
1764
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!createFetchPolicy:
|
1717
|
+
"kind": "Variable",
|
1718
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!createFetchPolicy:var",
|
1765
1719
|
"docComment": "/**\n * A fetch policy factory.\n *\n * @remarks\n *\n * Will retry network errors and responses with certain status codes up to the specified max attempts.\n *\n * @param maxAttempts - Max attempts. Defaults to `2`.\n *\n * @param retryCodes - Status code array to retry. Defaults to {@link defaultRetryStatsCodes}.\n *\n * @param backoff - Backoff algo. Defaults to {@link cockatiel#ExponentialBackoff}.\n *\n * @param timeoutDuration - Timeout duration. Defaults to 3 seconds.\n *\n * @param logEvents - Log events to the console. Defaults to `true`.\n *\n * @public\n */\n",
|
1766
1720
|
"excerptTokens": [
|
1767
1721
|
{
|
1768
1722
|
"kind": "Content",
|
1769
|
-
"text": "createFetchPolicy:
|
1770
|
-
},
|
1771
|
-
{
|
1772
|
-
"kind": "Content",
|
1773
|
-
"text": "number"
|
1723
|
+
"text": "createFetchPolicy: "
|
1774
1724
|
},
|
1775
1725
|
{
|
1776
1726
|
"kind": "Content",
|
1777
|
-
"text": ", retryCodes?: "
|
1727
|
+
"text": "(maxAttempts?: number, retryCodes?: "
|
1778
1728
|
},
|
1779
1729
|
{
|
1780
1730
|
"kind": "Reference",
|
@@ -1783,11 +1733,7 @@
|
|
1783
1733
|
},
|
1784
1734
|
{
|
1785
1735
|
"kind": "Content",
|
1786
|
-
"text": "[] | number[]"
|
1787
|
-
},
|
1788
|
-
{
|
1789
|
-
"kind": "Content",
|
1790
|
-
"text": ", backoff?: "
|
1736
|
+
"text": "[] | number[], backoff?: "
|
1791
1737
|
},
|
1792
1738
|
{
|
1793
1739
|
"kind": "Reference",
|
@@ -1805,31 +1751,7 @@
|
|
1805
1751
|
},
|
1806
1752
|
{
|
1807
1753
|
"kind": "Content",
|
1808
|
-
"text": "<unknown
|
1809
|
-
},
|
1810
|
-
{
|
1811
|
-
"kind": "Content",
|
1812
|
-
"text": ", timeoutDuration?: "
|
1813
|
-
},
|
1814
|
-
{
|
1815
|
-
"kind": "Content",
|
1816
|
-
"text": "number"
|
1817
|
-
},
|
1818
|
-
{
|
1819
|
-
"kind": "Content",
|
1820
|
-
"text": ", logEvents?: "
|
1821
|
-
},
|
1822
|
-
{
|
1823
|
-
"kind": "Content",
|
1824
|
-
"text": "boolean"
|
1825
|
-
},
|
1826
|
-
{
|
1827
|
-
"kind": "Content",
|
1828
|
-
"text": ") => "
|
1829
|
-
},
|
1830
|
-
{
|
1831
|
-
"kind": "Content",
|
1832
|
-
"text": "import(\"cockatiel\")."
|
1754
|
+
"text": "<unknown>>, timeoutDuration?: number, logEvents?: boolean) => import(\"cockatiel\")."
|
1833
1755
|
},
|
1834
1756
|
{
|
1835
1757
|
"kind": "Reference",
|
@@ -1878,84 +1800,26 @@
|
|
1878
1800
|
}
|
1879
1801
|
],
|
1880
1802
|
"fileUrlPath": "src/machines/fetch/policies.ts",
|
1881
|
-
"
|
1882
|
-
"startIndex": 15,
|
1883
|
-
"endIndex": 26
|
1884
|
-
},
|
1803
|
+
"isReadonly": true,
|
1885
1804
|
"releaseTag": "Public",
|
1886
|
-
"
|
1887
|
-
"
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
"startIndex": 1,
|
1892
|
-
"endIndex": 2
|
1893
|
-
},
|
1894
|
-
"isOptional": true
|
1895
|
-
},
|
1896
|
-
{
|
1897
|
-
"parameterName": "retryCodes",
|
1898
|
-
"parameterTypeTokenRange": {
|
1899
|
-
"startIndex": 3,
|
1900
|
-
"endIndex": 5
|
1901
|
-
},
|
1902
|
-
"isOptional": true
|
1903
|
-
},
|
1904
|
-
{
|
1905
|
-
"parameterName": "backoff",
|
1906
|
-
"parameterTypeTokenRange": {
|
1907
|
-
"startIndex": 6,
|
1908
|
-
"endIndex": 10
|
1909
|
-
},
|
1910
|
-
"isOptional": true
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
"parameterName": "timeoutDuration",
|
1914
|
-
"parameterTypeTokenRange": {
|
1915
|
-
"startIndex": 11,
|
1916
|
-
"endIndex": 12
|
1917
|
-
},
|
1918
|
-
"isOptional": true
|
1919
|
-
},
|
1920
|
-
{
|
1921
|
-
"parameterName": "logEvents",
|
1922
|
-
"parameterTypeTokenRange": {
|
1923
|
-
"startIndex": 13,
|
1924
|
-
"endIndex": 14
|
1925
|
-
},
|
1926
|
-
"isOptional": true
|
1927
|
-
}
|
1928
|
-
],
|
1929
|
-
"name": "createFetchPolicy"
|
1805
|
+
"name": "createFetchPolicy",
|
1806
|
+
"variableTypeTokenRange": {
|
1807
|
+
"startIndex": 1,
|
1808
|
+
"endIndex": 18
|
1809
|
+
}
|
1930
1810
|
},
|
1931
1811
|
{
|
1932
|
-
"kind": "
|
1933
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!createResponseDataExtractorWithDeserializer:
|
1812
|
+
"kind": "Variable",
|
1813
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!createResponseDataExtractorWithDeserializer:var",
|
1934
1814
|
"docComment": "/**\n * Creates an extractor that applies a deserializer to the extracted response data.\n *\n * @param deserializer - The deserializer to apply.\n *\n * @param extractor - An optional data extractor. Defaults to {@link defaultResponseDataExtractor}.\n *\n * @public\n */\n",
|
1935
1815
|
"excerptTokens": [
|
1936
1816
|
{
|
1937
1817
|
"kind": "Content",
|
1938
|
-
"text": "createResponseDataExtractorWithDeserializer:
|
1939
|
-
},
|
1940
|
-
{
|
1941
|
-
"kind": "Content",
|
1942
|
-
"text": "any"
|
1943
|
-
},
|
1944
|
-
{
|
1945
|
-
"kind": "Content",
|
1946
|
-
"text": ", TOutput = "
|
1947
|
-
},
|
1948
|
-
{
|
1949
|
-
"kind": "Content",
|
1950
|
-
"text": "any"
|
1951
|
-
},
|
1952
|
-
{
|
1953
|
-
"kind": "Content",
|
1954
|
-
"text": ">(deserializer: "
|
1818
|
+
"text": "createResponseDataExtractorWithDeserializer: "
|
1955
1819
|
},
|
1956
1820
|
{
|
1957
1821
|
"kind": "Content",
|
1958
|
-
"text": "(data: TInput) => "
|
1822
|
+
"text": "<TInput = any, TOutput = any>(deserializer: (data: TInput) => "
|
1959
1823
|
},
|
1960
1824
|
{
|
1961
1825
|
"kind": "Reference",
|
@@ -1964,11 +1828,7 @@
|
|
1964
1828
|
},
|
1965
1829
|
{
|
1966
1830
|
"kind": "Content",
|
1967
|
-
"text": "<TOutput
|
1968
|
-
},
|
1969
|
-
{
|
1970
|
-
"kind": "Content",
|
1971
|
-
"text": ", extractor?: "
|
1831
|
+
"text": "<TOutput>, extractor?: "
|
1972
1832
|
},
|
1973
1833
|
{
|
1974
1834
|
"kind": "Reference",
|
@@ -1986,55 +1846,13 @@
|
|
1986
1846
|
}
|
1987
1847
|
],
|
1988
1848
|
"fileUrlPath": "src/machines/fetch/types.ts",
|
1989
|
-
"
|
1990
|
-
"startIndex": 11,
|
1991
|
-
"endIndex": 12
|
1992
|
-
},
|
1849
|
+
"isReadonly": true,
|
1993
1850
|
"releaseTag": "Public",
|
1994
|
-
"
|
1995
|
-
"
|
1996
|
-
|
1997
|
-
|
1998
|
-
|
1999
|
-
"startIndex": 5,
|
2000
|
-
"endIndex": 8
|
2001
|
-
},
|
2002
|
-
"isOptional": false
|
2003
|
-
},
|
2004
|
-
{
|
2005
|
-
"parameterName": "extractor",
|
2006
|
-
"parameterTypeTokenRange": {
|
2007
|
-
"startIndex": 9,
|
2008
|
-
"endIndex": 10
|
2009
|
-
},
|
2010
|
-
"isOptional": true
|
2011
|
-
}
|
2012
|
-
],
|
2013
|
-
"typeParameters": [
|
2014
|
-
{
|
2015
|
-
"typeParameterName": "TInput",
|
2016
|
-
"constraintTokenRange": {
|
2017
|
-
"startIndex": 0,
|
2018
|
-
"endIndex": 0
|
2019
|
-
},
|
2020
|
-
"defaultTypeTokenRange": {
|
2021
|
-
"startIndex": 1,
|
2022
|
-
"endIndex": 2
|
2023
|
-
}
|
2024
|
-
},
|
2025
|
-
{
|
2026
|
-
"typeParameterName": "TOutput",
|
2027
|
-
"constraintTokenRange": {
|
2028
|
-
"startIndex": 0,
|
2029
|
-
"endIndex": 0
|
2030
|
-
},
|
2031
|
-
"defaultTypeTokenRange": {
|
2032
|
-
"startIndex": 3,
|
2033
|
-
"endIndex": 4
|
2034
|
-
}
|
2035
|
-
}
|
2036
|
-
],
|
2037
|
-
"name": "createResponseDataExtractorWithDeserializer"
|
1851
|
+
"name": "createResponseDataExtractorWithDeserializer",
|
1852
|
+
"variableTypeTokenRange": {
|
1853
|
+
"startIndex": 1,
|
1854
|
+
"endIndex": 7
|
1855
|
+
}
|
2038
1856
|
},
|
2039
1857
|
{
|
2040
1858
|
"kind": "Variable",
|
@@ -2435,52 +2253,6 @@
|
|
2435
2253
|
"endIndex": 3
|
2436
2254
|
}
|
2437
2255
|
},
|
2438
|
-
{
|
2439
|
-
"kind": "Function",
|
2440
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!errorWorkflowInput:function(1)",
|
2441
|
-
"docComment": "/**\n * Error workflow input.\n *\n * @param key - An error key.\n *\n * @public\n */\n",
|
2442
|
-
"excerptTokens": [
|
2443
|
-
{
|
2444
|
-
"kind": "Content",
|
2445
|
-
"text": "errorWorkflowInput: (key: "
|
2446
|
-
},
|
2447
|
-
{
|
2448
|
-
"kind": "Content",
|
2449
|
-
"text": "string"
|
2450
|
-
},
|
2451
|
-
{
|
2452
|
-
"kind": "Content",
|
2453
|
-
"text": ") => "
|
2454
|
-
},
|
2455
|
-
{
|
2456
|
-
"kind": "Content",
|
2457
|
-
"text": "({ context }: {\n context: any;\n}) => "
|
2458
|
-
},
|
2459
|
-
{
|
2460
|
-
"kind": "Reference",
|
2461
|
-
"text": "ErrorWorkflowInput",
|
2462
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!ErrorWorkflowInput:type"
|
2463
|
-
}
|
2464
|
-
],
|
2465
|
-
"fileUrlPath": "src/core/inputs.ts",
|
2466
|
-
"returnTypeTokenRange": {
|
2467
|
-
"startIndex": 3,
|
2468
|
-
"endIndex": 5
|
2469
|
-
},
|
2470
|
-
"releaseTag": "Public",
|
2471
|
-
"overloadIndex": 1,
|
2472
|
-
"parameters": [
|
2473
|
-
{
|
2474
|
-
"parameterName": "key",
|
2475
|
-
"parameterTypeTokenRange": {
|
2476
|
-
"startIndex": 1,
|
2477
|
-
"endIndex": 2
|
2478
|
-
},
|
2479
|
-
"isOptional": false
|
2480
|
-
}
|
2481
|
-
],
|
2482
|
-
"name": "errorWorkflowInput"
|
2483
|
-
},
|
2484
2256
|
{
|
2485
2257
|
"kind": "TypeAlias",
|
2486
2258
|
"canonicalReference": "@genesislcap/foundation-state-machine!ErrorWorkflowInput:type",
|
@@ -2525,6 +2297,34 @@
|
|
2525
2297
|
"endIndex": 6
|
2526
2298
|
}
|
2527
2299
|
},
|
2300
|
+
{
|
2301
|
+
"kind": "Variable",
|
2302
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!errorWorkflowInput:var",
|
2303
|
+
"docComment": "/**\n * Error workflow input.\n *\n * @param key - An error key.\n *\n * @public\n */\n",
|
2304
|
+
"excerptTokens": [
|
2305
|
+
{
|
2306
|
+
"kind": "Content",
|
2307
|
+
"text": "errorWorkflowInput: "
|
2308
|
+
},
|
2309
|
+
{
|
2310
|
+
"kind": "Content",
|
2311
|
+
"text": "(key: string) => ({ context }: {\n context: any;\n}) => "
|
2312
|
+
},
|
2313
|
+
{
|
2314
|
+
"kind": "Reference",
|
2315
|
+
"text": "ErrorWorkflowInput",
|
2316
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!ErrorWorkflowInput:type"
|
2317
|
+
}
|
2318
|
+
],
|
2319
|
+
"fileUrlPath": "src/core/inputs.ts",
|
2320
|
+
"isReadonly": true,
|
2321
|
+
"releaseTag": "Public",
|
2322
|
+
"name": "errorWorkflowInput",
|
2323
|
+
"variableTypeTokenRange": {
|
2324
|
+
"startIndex": 1,
|
2325
|
+
"endIndex": 3
|
2326
|
+
}
|
2327
|
+
},
|
2528
2328
|
{
|
2529
2329
|
"kind": "Variable",
|
2530
2330
|
"canonicalReference": "@genesislcap/foundation-state-machine!escalateError:var",
|
@@ -3696,70 +3496,40 @@
|
|
3696
3496
|
"implementsTokenRanges": []
|
3697
3497
|
},
|
3698
3498
|
{
|
3699
|
-
"kind": "
|
3700
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isAbortError:
|
3499
|
+
"kind": "Variable",
|
3500
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isAbortError:var",
|
3701
3501
|
"docComment": "/**\n * isAbortError.\n *\n * @public\n */\n",
|
3702
3502
|
"excerptTokens": [
|
3703
3503
|
{
|
3704
3504
|
"kind": "Content",
|
3705
|
-
"text": "isAbortError:
|
3706
|
-
},
|
3707
|
-
{
|
3708
|
-
"kind": "Content",
|
3709
|
-
"text": "{\n event: any;\n}"
|
3710
|
-
},
|
3711
|
-
{
|
3712
|
-
"kind": "Content",
|
3713
|
-
"text": ") => "
|
3505
|
+
"text": "isAbortError: "
|
3714
3506
|
},
|
3715
3507
|
{
|
3716
3508
|
"kind": "Content",
|
3717
|
-
"text": "boolean"
|
3509
|
+
"text": "({ event }: {\n event: any;\n}) => boolean"
|
3718
3510
|
}
|
3719
3511
|
],
|
3720
3512
|
"fileUrlPath": "src/core/guards.ts",
|
3721
|
-
"
|
3722
|
-
"startIndex": 3,
|
3723
|
-
"endIndex": 4
|
3724
|
-
},
|
3513
|
+
"isReadonly": true,
|
3725
3514
|
"releaseTag": "Public",
|
3726
|
-
"
|
3727
|
-
"
|
3728
|
-
|
3729
|
-
|
3730
|
-
|
3731
|
-
"startIndex": 1,
|
3732
|
-
"endIndex": 2
|
3733
|
-
},
|
3734
|
-
"isOptional": false
|
3735
|
-
}
|
3736
|
-
],
|
3737
|
-
"name": "isAbortError"
|
3515
|
+
"name": "isAbortError",
|
3516
|
+
"variableTypeTokenRange": {
|
3517
|
+
"startIndex": 1,
|
3518
|
+
"endIndex": 2
|
3519
|
+
}
|
3738
3520
|
},
|
3739
3521
|
{
|
3740
|
-
"kind": "
|
3741
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isActorErrorEvent:
|
3522
|
+
"kind": "Variable",
|
3523
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isActorErrorEvent:var",
|
3742
3524
|
"docComment": "/**\n * isActorErrorEvent.\n *\n * @param actorId - An actor id.\n *\n * @param event - An event.\n *\n * @public\n */\n",
|
3743
3525
|
"excerptTokens": [
|
3744
3526
|
{
|
3745
3527
|
"kind": "Content",
|
3746
|
-
"text": "isActorErrorEvent:
|
3747
|
-
},
|
3748
|
-
{
|
3749
|
-
"kind": "Content",
|
3750
|
-
"text": "any"
|
3751
|
-
},
|
3752
|
-
{
|
3753
|
-
"kind": "Content",
|
3754
|
-
"text": ">(actorId: "
|
3755
|
-
},
|
3756
|
-
{
|
3757
|
-
"kind": "Content",
|
3758
|
-
"text": "string"
|
3528
|
+
"text": "isActorErrorEvent: "
|
3759
3529
|
},
|
3760
3530
|
{
|
3761
3531
|
"kind": "Content",
|
3762
|
-
"text": ", event: "
|
3532
|
+
"text": "<TData = any>(actorId: string, event: "
|
3763
3533
|
},
|
3764
3534
|
{
|
3765
3535
|
"kind": "Reference",
|
@@ -3777,11 +3547,7 @@
|
|
3777
3547
|
},
|
3778
3548
|
{
|
3779
3549
|
"kind": "Content",
|
3780
|
-
"text": "<TData>"
|
3781
|
-
},
|
3782
|
-
{
|
3783
|
-
"kind": "Content",
|
3784
|
-
"text": ") => "
|
3550
|
+
"text": "<TData>) => "
|
3785
3551
|
},
|
3786
3552
|
{
|
3787
3553
|
"kind": "Reference",
|
@@ -3803,61 +3569,26 @@
|
|
3803
3569
|
}
|
3804
3570
|
],
|
3805
3571
|
"fileUrlPath": "src/core/guards.ts",
|
3806
|
-
"
|
3807
|
-
"startIndex": 10,
|
3808
|
-
"endIndex": 14
|
3809
|
-
},
|
3572
|
+
"isReadonly": true,
|
3810
3573
|
"releaseTag": "Public",
|
3811
|
-
"
|
3812
|
-
"
|
3813
|
-
|
3814
|
-
|
3815
|
-
|
3816
|
-
"startIndex": 3,
|
3817
|
-
"endIndex": 4
|
3818
|
-
},
|
3819
|
-
"isOptional": false
|
3820
|
-
},
|
3821
|
-
{
|
3822
|
-
"parameterName": "event",
|
3823
|
-
"parameterTypeTokenRange": {
|
3824
|
-
"startIndex": 5,
|
3825
|
-
"endIndex": 9
|
3826
|
-
},
|
3827
|
-
"isOptional": false
|
3828
|
-
}
|
3829
|
-
],
|
3830
|
-
"typeParameters": [
|
3831
|
-
{
|
3832
|
-
"typeParameterName": "TData",
|
3833
|
-
"constraintTokenRange": {
|
3834
|
-
"startIndex": 0,
|
3835
|
-
"endIndex": 0
|
3836
|
-
},
|
3837
|
-
"defaultTypeTokenRange": {
|
3838
|
-
"startIndex": 1,
|
3839
|
-
"endIndex": 2
|
3840
|
-
}
|
3841
|
-
}
|
3842
|
-
],
|
3843
|
-
"name": "isActorErrorEvent"
|
3574
|
+
"name": "isActorErrorEvent",
|
3575
|
+
"variableTypeTokenRange": {
|
3576
|
+
"startIndex": 1,
|
3577
|
+
"endIndex": 10
|
3578
|
+
}
|
3844
3579
|
},
|
3845
3580
|
{
|
3846
|
-
"kind": "
|
3847
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isAPIError:
|
3581
|
+
"kind": "Variable",
|
3582
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isAPIError:var",
|
3848
3583
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
3849
3584
|
"excerptTokens": [
|
3850
3585
|
{
|
3851
3586
|
"kind": "Content",
|
3852
|
-
"text": "isAPIError:
|
3587
|
+
"text": "isAPIError: "
|
3853
3588
|
},
|
3854
3589
|
{
|
3855
3590
|
"kind": "Content",
|
3856
|
-
"text": "unknown"
|
3857
|
-
},
|
3858
|
-
{
|
3859
|
-
"kind": "Content",
|
3860
|
-
"text": ") => "
|
3591
|
+
"text": "(error: unknown) => "
|
3861
3592
|
},
|
3862
3593
|
{
|
3863
3594
|
"kind": "Reference",
|
@@ -3875,40 +3606,26 @@
|
|
3875
3606
|
}
|
3876
3607
|
],
|
3877
3608
|
"fileUrlPath": "src/machines/fetch/errors.ts",
|
3878
|
-
"
|
3879
|
-
"startIndex": 3,
|
3880
|
-
"endIndex": 6
|
3881
|
-
},
|
3609
|
+
"isReadonly": true,
|
3882
3610
|
"releaseTag": "Public",
|
3883
|
-
"
|
3884
|
-
"
|
3885
|
-
|
3886
|
-
|
3887
|
-
|
3888
|
-
"startIndex": 1,
|
3889
|
-
"endIndex": 2
|
3890
|
-
},
|
3891
|
-
"isOptional": false
|
3892
|
-
}
|
3893
|
-
],
|
3894
|
-
"name": "isAPIError"
|
3611
|
+
"name": "isAPIError",
|
3612
|
+
"variableTypeTokenRange": {
|
3613
|
+
"startIndex": 1,
|
3614
|
+
"endIndex": 5
|
3615
|
+
}
|
3895
3616
|
},
|
3896
3617
|
{
|
3897
|
-
"kind": "
|
3898
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isDoneInvokeEvent:
|
3618
|
+
"kind": "Variable",
|
3619
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isDoneInvokeEvent:var",
|
3899
3620
|
"docComment": "/**\n * isDoneInvokeEvent.\n *\n * @param event - An event.\n *\n * @public\n */\n",
|
3900
3621
|
"excerptTokens": [
|
3901
3622
|
{
|
3902
3623
|
"kind": "Content",
|
3903
|
-
"text": "isDoneInvokeEvent:
|
3624
|
+
"text": "isDoneInvokeEvent: "
|
3904
3625
|
},
|
3905
3626
|
{
|
3906
3627
|
"kind": "Content",
|
3907
|
-
"text": "any"
|
3908
|
-
},
|
3909
|
-
{
|
3910
|
-
"kind": "Content",
|
3911
|
-
"text": ">(event: "
|
3628
|
+
"text": "<TData = any>(event: "
|
3912
3629
|
},
|
3913
3630
|
{
|
3914
3631
|
"kind": "Reference",
|
@@ -3926,11 +3643,7 @@
|
|
3926
3643
|
},
|
3927
3644
|
{
|
3928
3645
|
"kind": "Content",
|
3929
|
-
"text": "<TData>"
|
3930
|
-
},
|
3931
|
-
{
|
3932
|
-
"kind": "Content",
|
3933
|
-
"text": ") => "
|
3646
|
+
"text": "<TData>) => "
|
3934
3647
|
},
|
3935
3648
|
{
|
3936
3649
|
"kind": "Reference",
|
@@ -3952,53 +3665,26 @@
|
|
3952
3665
|
}
|
3953
3666
|
],
|
3954
3667
|
"fileUrlPath": "src/core/guards.ts",
|
3955
|
-
"
|
3956
|
-
"startIndex": 8,
|
3957
|
-
"endIndex": 12
|
3958
|
-
},
|
3668
|
+
"isReadonly": true,
|
3959
3669
|
"releaseTag": "Public",
|
3960
|
-
"
|
3961
|
-
"
|
3962
|
-
|
3963
|
-
|
3964
|
-
|
3965
|
-
"startIndex": 3,
|
3966
|
-
"endIndex": 7
|
3967
|
-
},
|
3968
|
-
"isOptional": false
|
3969
|
-
}
|
3970
|
-
],
|
3971
|
-
"typeParameters": [
|
3972
|
-
{
|
3973
|
-
"typeParameterName": "TData",
|
3974
|
-
"constraintTokenRange": {
|
3975
|
-
"startIndex": 0,
|
3976
|
-
"endIndex": 0
|
3977
|
-
},
|
3978
|
-
"defaultTypeTokenRange": {
|
3979
|
-
"startIndex": 1,
|
3980
|
-
"endIndex": 2
|
3981
|
-
}
|
3982
|
-
}
|
3983
|
-
],
|
3984
|
-
"name": "isDoneInvokeEvent"
|
3670
|
+
"name": "isDoneInvokeEvent",
|
3671
|
+
"variableTypeTokenRange": {
|
3672
|
+
"startIndex": 1,
|
3673
|
+
"endIndex": 10
|
3674
|
+
}
|
3985
3675
|
},
|
3986
3676
|
{
|
3987
|
-
"kind": "
|
3988
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorCustomEvent:
|
3677
|
+
"kind": "Variable",
|
3678
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorCustomEvent:var",
|
3989
3679
|
"docComment": "/**\n * isErrorCustomEvent.\n *\n * @remarks\n *\n * What `escalate` from a child is typed as.\n *\n * @param event - An event.\n *\n * @public\n */\n",
|
3990
3680
|
"excerptTokens": [
|
3991
3681
|
{
|
3992
3682
|
"kind": "Content",
|
3993
|
-
"text": "isErrorCustomEvent:
|
3994
|
-
},
|
3995
|
-
{
|
3996
|
-
"kind": "Content",
|
3997
|
-
"text": "any"
|
3683
|
+
"text": "isErrorCustomEvent: "
|
3998
3684
|
},
|
3999
3685
|
{
|
4000
3686
|
"kind": "Content",
|
4001
|
-
"text": ">(event: "
|
3687
|
+
"text": "<TData = any>(event: "
|
4002
3688
|
},
|
4003
3689
|
{
|
4004
3690
|
"kind": "Reference",
|
@@ -4016,11 +3702,7 @@
|
|
4016
3702
|
},
|
4017
3703
|
{
|
4018
3704
|
"kind": "Content",
|
4019
|
-
"text": "<TData>"
|
4020
|
-
},
|
4021
|
-
{
|
4022
|
-
"kind": "Content",
|
4023
|
-
"text": ") => "
|
3705
|
+
"text": "<TData>) => "
|
4024
3706
|
},
|
4025
3707
|
{
|
4026
3708
|
"kind": "Reference",
|
@@ -4042,53 +3724,26 @@
|
|
4042
3724
|
}
|
4043
3725
|
],
|
4044
3726
|
"fileUrlPath": "src/core/guards.ts",
|
4045
|
-
"
|
4046
|
-
"startIndex": 8,
|
4047
|
-
"endIndex": 12
|
4048
|
-
},
|
3727
|
+
"isReadonly": true,
|
4049
3728
|
"releaseTag": "Public",
|
4050
|
-
"
|
4051
|
-
"
|
4052
|
-
|
4053
|
-
|
4054
|
-
|
4055
|
-
"startIndex": 3,
|
4056
|
-
"endIndex": 7
|
4057
|
-
},
|
4058
|
-
"isOptional": false
|
4059
|
-
}
|
4060
|
-
],
|
4061
|
-
"typeParameters": [
|
4062
|
-
{
|
4063
|
-
"typeParameterName": "TData",
|
4064
|
-
"constraintTokenRange": {
|
4065
|
-
"startIndex": 0,
|
4066
|
-
"endIndex": 0
|
4067
|
-
},
|
4068
|
-
"defaultTypeTokenRange": {
|
4069
|
-
"startIndex": 1,
|
4070
|
-
"endIndex": 2
|
4071
|
-
}
|
4072
|
-
}
|
4073
|
-
],
|
4074
|
-
"name": "isErrorCustomEvent"
|
3729
|
+
"name": "isErrorCustomEvent",
|
3730
|
+
"variableTypeTokenRange": {
|
3731
|
+
"startIndex": 1,
|
3732
|
+
"endIndex": 10
|
3733
|
+
}
|
4075
3734
|
},
|
4076
3735
|
{
|
4077
|
-
"kind": "
|
4078
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorEvent:
|
3736
|
+
"kind": "Variable",
|
3737
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorEvent:var",
|
4079
3738
|
"docComment": "/**\n * isErrorEvent.\n *\n * @param event - An event.\n *\n * @public\n */\n",
|
4080
3739
|
"excerptTokens": [
|
4081
3740
|
{
|
4082
3741
|
"kind": "Content",
|
4083
|
-
"text": "isErrorEvent:
|
4084
|
-
},
|
4085
|
-
{
|
4086
|
-
"kind": "Content",
|
4087
|
-
"text": "any"
|
3742
|
+
"text": "isErrorEvent: "
|
4088
3743
|
},
|
4089
3744
|
{
|
4090
3745
|
"kind": "Content",
|
4091
|
-
"text": ">(event: "
|
3746
|
+
"text": "<TData = any>(event: "
|
4092
3747
|
},
|
4093
3748
|
{
|
4094
3749
|
"kind": "Reference",
|
@@ -4106,11 +3761,7 @@
|
|
4106
3761
|
},
|
4107
3762
|
{
|
4108
3763
|
"kind": "Content",
|
4109
|
-
"text": "<TData>"
|
4110
|
-
},
|
4111
|
-
{
|
4112
|
-
"kind": "Content",
|
4113
|
-
"text": ") => "
|
3764
|
+
"text": "<TData>) => "
|
4114
3765
|
},
|
4115
3766
|
{
|
4116
3767
|
"kind": "Reference",
|
@@ -4132,108 +3783,58 @@
|
|
4132
3783
|
}
|
4133
3784
|
],
|
4134
3785
|
"fileUrlPath": "src/core/guards.ts",
|
4135
|
-
"
|
4136
|
-
"startIndex": 8,
|
4137
|
-
"endIndex": 12
|
4138
|
-
},
|
3786
|
+
"isReadonly": true,
|
4139
3787
|
"releaseTag": "Public",
|
4140
|
-
"
|
4141
|
-
"
|
4142
|
-
|
4143
|
-
|
4144
|
-
|
4145
|
-
"startIndex": 3,
|
4146
|
-
"endIndex": 7
|
4147
|
-
},
|
4148
|
-
"isOptional": false
|
4149
|
-
}
|
4150
|
-
],
|
4151
|
-
"typeParameters": [
|
4152
|
-
{
|
4153
|
-
"typeParameterName": "TData",
|
4154
|
-
"constraintTokenRange": {
|
4155
|
-
"startIndex": 0,
|
4156
|
-
"endIndex": 0
|
4157
|
-
},
|
4158
|
-
"defaultTypeTokenRange": {
|
4159
|
-
"startIndex": 1,
|
4160
|
-
"endIndex": 2
|
4161
|
-
}
|
4162
|
-
}
|
4163
|
-
],
|
4164
|
-
"name": "isErrorEvent"
|
3788
|
+
"name": "isErrorEvent",
|
3789
|
+
"variableTypeTokenRange": {
|
3790
|
+
"startIndex": 1,
|
3791
|
+
"endIndex": 10
|
3792
|
+
}
|
4165
3793
|
},
|
4166
3794
|
{
|
4167
|
-
"kind": "
|
4168
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorType:
|
3795
|
+
"kind": "Variable",
|
3796
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isErrorType:var",
|
4169
3797
|
"docComment": "/**\n * isErrorType.\n *\n * @param type - An event type.\n *\n * @public\n */\n",
|
4170
3798
|
"excerptTokens": [
|
4171
3799
|
{
|
4172
3800
|
"kind": "Content",
|
4173
|
-
"text": "isErrorType:
|
4174
|
-
},
|
4175
|
-
{
|
4176
|
-
"kind": "Reference",
|
4177
|
-
"text": "ErrorConstructor",
|
4178
|
-
"canonicalReference": "!ErrorConstructor:interface"
|
4179
|
-
},
|
4180
|
-
{
|
4181
|
-
"kind": "Content",
|
4182
|
-
"text": ">(type: "
|
4183
|
-
},
|
4184
|
-
{
|
4185
|
-
"kind": "Content",
|
4186
|
-
"text": "TType"
|
4187
|
-
},
|
4188
|
-
{
|
4189
|
-
"kind": "Content",
|
4190
|
-
"text": ") => "
|
3801
|
+
"text": "isErrorType: "
|
4191
3802
|
},
|
4192
3803
|
{
|
4193
3804
|
"kind": "Content",
|
4194
|
-
"text": "
|
4195
|
-
}
|
4196
|
-
],
|
4197
|
-
"fileUrlPath": "src/core/guards.ts",
|
4198
|
-
"returnTypeTokenRange": {
|
4199
|
-
"startIndex": 5,
|
4200
|
-
"endIndex": 6
|
4201
|
-
},
|
4202
|
-
"releaseTag": "Public",
|
4203
|
-
"overloadIndex": 1,
|
4204
|
-
"parameters": [
|
4205
|
-
{
|
4206
|
-
"parameterName": "type",
|
4207
|
-
"parameterTypeTokenRange": {
|
4208
|
-
"startIndex": 3,
|
4209
|
-
"endIndex": 4
|
4210
|
-
},
|
4211
|
-
"isOptional": false
|
4212
|
-
}
|
4213
|
-
],
|
4214
|
-
"typeParameters": [
|
3805
|
+
"text": "<TType extends "
|
3806
|
+
},
|
4215
3807
|
{
|
4216
|
-
"
|
4217
|
-
"
|
4218
|
-
|
4219
|
-
|
4220
|
-
|
4221
|
-
"
|
4222
|
-
|
4223
|
-
"endIndex": 0
|
4224
|
-
}
|
3808
|
+
"kind": "Reference",
|
3809
|
+
"text": "ErrorConstructor",
|
3810
|
+
"canonicalReference": "!ErrorConstructor:interface"
|
3811
|
+
},
|
3812
|
+
{
|
3813
|
+
"kind": "Content",
|
3814
|
+
"text": ">(type: TType) => (event: any) => boolean"
|
4225
3815
|
}
|
4226
3816
|
],
|
4227
|
-
"
|
3817
|
+
"fileUrlPath": "src/core/guards.ts",
|
3818
|
+
"isReadonly": true,
|
3819
|
+
"releaseTag": "Public",
|
3820
|
+
"name": "isErrorType",
|
3821
|
+
"variableTypeTokenRange": {
|
3822
|
+
"startIndex": 1,
|
3823
|
+
"endIndex": 4
|
3824
|
+
}
|
4228
3825
|
},
|
4229
3826
|
{
|
4230
|
-
"kind": "
|
4231
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isEventWithParams:
|
3827
|
+
"kind": "Variable",
|
3828
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isEventWithParams:var",
|
4232
3829
|
"docComment": "/**\n * isEventWithParams.\n *\n * @param event - An event.\n *\n * @public\n */\n",
|
4233
3830
|
"excerptTokens": [
|
4234
3831
|
{
|
4235
3832
|
"kind": "Content",
|
4236
|
-
"text": "isEventWithParams:
|
3833
|
+
"text": "isEventWithParams: "
|
3834
|
+
},
|
3835
|
+
{
|
3836
|
+
"kind": "Content",
|
3837
|
+
"text": "(event: "
|
4237
3838
|
},
|
4238
3839
|
{
|
4239
3840
|
"kind": "Reference",
|
@@ -4260,40 +3861,26 @@
|
|
4260
3861
|
}
|
4261
3862
|
],
|
4262
3863
|
"fileUrlPath": "src/core/guards.ts",
|
4263
|
-
"
|
4264
|
-
"startIndex": 3,
|
4265
|
-
"endIndex": 6
|
4266
|
-
},
|
3864
|
+
"isReadonly": true,
|
4267
3865
|
"releaseTag": "Public",
|
4268
|
-
"
|
4269
|
-
"
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
"startIndex": 1,
|
4274
|
-
"endIndex": 2
|
4275
|
-
},
|
4276
|
-
"isOptional": false
|
4277
|
-
}
|
4278
|
-
],
|
4279
|
-
"name": "isEventWithParams"
|
3866
|
+
"name": "isEventWithParams",
|
3867
|
+
"variableTypeTokenRange": {
|
3868
|
+
"startIndex": 1,
|
3869
|
+
"endIndex": 7
|
3870
|
+
}
|
4280
3871
|
},
|
4281
3872
|
{
|
4282
|
-
"kind": "
|
4283
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isGenesisServerError:
|
3873
|
+
"kind": "Variable",
|
3874
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isGenesisServerError:var",
|
4284
3875
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
4285
3876
|
"excerptTokens": [
|
4286
3877
|
{
|
4287
3878
|
"kind": "Content",
|
4288
|
-
"text": "isGenesisServerError:
|
4289
|
-
},
|
4290
|
-
{
|
4291
|
-
"kind": "Content",
|
4292
|
-
"text": "unknown"
|
3879
|
+
"text": "isGenesisServerError: "
|
4293
3880
|
},
|
4294
3881
|
{
|
4295
3882
|
"kind": "Content",
|
4296
|
-
"text": ") => "
|
3883
|
+
"text": "(error: unknown) => "
|
4297
3884
|
},
|
4298
3885
|
{
|
4299
3886
|
"kind": "Reference",
|
@@ -4311,40 +3898,26 @@
|
|
4311
3898
|
}
|
4312
3899
|
],
|
4313
3900
|
"fileUrlPath": "src/core/errors.ts",
|
4314
|
-
"
|
4315
|
-
"startIndex": 3,
|
4316
|
-
"endIndex": 6
|
4317
|
-
},
|
3901
|
+
"isReadonly": true,
|
4318
3902
|
"releaseTag": "Public",
|
4319
|
-
"
|
4320
|
-
"
|
4321
|
-
|
4322
|
-
|
4323
|
-
|
4324
|
-
"startIndex": 1,
|
4325
|
-
"endIndex": 2
|
4326
|
-
},
|
4327
|
-
"isOptional": false
|
4328
|
-
}
|
4329
|
-
],
|
4330
|
-
"name": "isGenesisServerError"
|
3903
|
+
"name": "isGenesisServerError",
|
3904
|
+
"variableTypeTokenRange": {
|
3905
|
+
"startIndex": 1,
|
3906
|
+
"endIndex": 5
|
3907
|
+
}
|
4331
3908
|
},
|
4332
3909
|
{
|
4333
|
-
"kind": "
|
4334
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isMappingError:
|
3910
|
+
"kind": "Variable",
|
3911
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isMappingError:var",
|
4335
3912
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
4336
3913
|
"excerptTokens": [
|
4337
3914
|
{
|
4338
3915
|
"kind": "Content",
|
4339
|
-
"text": "isMappingError:
|
4340
|
-
},
|
4341
|
-
{
|
4342
|
-
"kind": "Content",
|
4343
|
-
"text": "unknown"
|
3916
|
+
"text": "isMappingError: "
|
4344
3917
|
},
|
4345
3918
|
{
|
4346
3919
|
"kind": "Content",
|
4347
|
-
"text": ") => "
|
3920
|
+
"text": "(error: unknown) => "
|
4348
3921
|
},
|
4349
3922
|
{
|
4350
3923
|
"kind": "Reference",
|
@@ -4362,40 +3935,26 @@
|
|
4362
3935
|
}
|
4363
3936
|
],
|
4364
3937
|
"fileUrlPath": "src/core/errors.ts",
|
4365
|
-
"
|
4366
|
-
"startIndex": 3,
|
4367
|
-
"endIndex": 6
|
4368
|
-
},
|
3938
|
+
"isReadonly": true,
|
4369
3939
|
"releaseTag": "Public",
|
4370
|
-
"
|
4371
|
-
"
|
4372
|
-
|
4373
|
-
|
4374
|
-
|
4375
|
-
"startIndex": 1,
|
4376
|
-
"endIndex": 2
|
4377
|
-
},
|
4378
|
-
"isOptional": false
|
4379
|
-
}
|
4380
|
-
],
|
4381
|
-
"name": "isMappingError"
|
3940
|
+
"name": "isMappingError",
|
3941
|
+
"variableTypeTokenRange": {
|
3942
|
+
"startIndex": 1,
|
3943
|
+
"endIndex": 5
|
3944
|
+
}
|
4382
3945
|
},
|
4383
3946
|
{
|
4384
|
-
"kind": "
|
4385
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isNetworkError:
|
3947
|
+
"kind": "Variable",
|
3948
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isNetworkError:var",
|
4386
3949
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
4387
3950
|
"excerptTokens": [
|
4388
3951
|
{
|
4389
3952
|
"kind": "Content",
|
4390
|
-
"text": "isNetworkError:
|
4391
|
-
},
|
4392
|
-
{
|
4393
|
-
"kind": "Content",
|
4394
|
-
"text": "unknown"
|
3953
|
+
"text": "isNetworkError: "
|
4395
3954
|
},
|
4396
3955
|
{
|
4397
3956
|
"kind": "Content",
|
4398
|
-
"text": ") => "
|
3957
|
+
"text": "(error: unknown) => "
|
4399
3958
|
},
|
4400
3959
|
{
|
4401
3960
|
"kind": "Reference",
|
@@ -4413,40 +3972,26 @@
|
|
4413
3972
|
}
|
4414
3973
|
],
|
4415
3974
|
"fileUrlPath": "src/machines/fetch/errors.ts",
|
4416
|
-
"
|
4417
|
-
"startIndex": 3,
|
4418
|
-
"endIndex": 6
|
4419
|
-
},
|
3975
|
+
"isReadonly": true,
|
4420
3976
|
"releaseTag": "Public",
|
4421
|
-
"
|
4422
|
-
"
|
4423
|
-
|
4424
|
-
|
4425
|
-
|
4426
|
-
"startIndex": 1,
|
4427
|
-
"endIndex": 2
|
4428
|
-
},
|
4429
|
-
"isOptional": false
|
4430
|
-
}
|
4431
|
-
],
|
4432
|
-
"name": "isNetworkError"
|
3977
|
+
"name": "isNetworkError",
|
3978
|
+
"variableTypeTokenRange": {
|
3979
|
+
"startIndex": 1,
|
3980
|
+
"endIndex": 5
|
3981
|
+
}
|
4433
3982
|
},
|
4434
3983
|
{
|
4435
|
-
"kind": "
|
4436
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isNotFoundError:
|
3984
|
+
"kind": "Variable",
|
3985
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isNotFoundError:var",
|
4437
3986
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
4438
3987
|
"excerptTokens": [
|
4439
3988
|
{
|
4440
3989
|
"kind": "Content",
|
4441
|
-
"text": "isNotFoundError:
|
3990
|
+
"text": "isNotFoundError: "
|
4442
3991
|
},
|
4443
3992
|
{
|
4444
3993
|
"kind": "Content",
|
4445
|
-
"text": "{\n status?: number;\n}"
|
4446
|
-
},
|
4447
|
-
{
|
4448
|
-
"kind": "Content",
|
4449
|
-
"text": ") => "
|
3994
|
+
"text": "(error: {\n status?: number;\n}) => "
|
4450
3995
|
},
|
4451
3996
|
{
|
4452
3997
|
"kind": "Reference",
|
@@ -4464,122 +4009,72 @@
|
|
4464
4009
|
}
|
4465
4010
|
],
|
4466
4011
|
"fileUrlPath": "src/machines/fetch/errors.ts",
|
4467
|
-
"
|
4468
|
-
"startIndex": 3,
|
4469
|
-
"endIndex": 6
|
4470
|
-
},
|
4012
|
+
"isReadonly": true,
|
4471
4013
|
"releaseTag": "Public",
|
4472
|
-
"
|
4473
|
-
"
|
4474
|
-
|
4475
|
-
|
4476
|
-
|
4477
|
-
"startIndex": 1,
|
4478
|
-
"endIndex": 2
|
4479
|
-
},
|
4480
|
-
"isOptional": false
|
4481
|
-
}
|
4482
|
-
],
|
4483
|
-
"name": "isNotFoundError"
|
4014
|
+
"name": "isNotFoundError",
|
4015
|
+
"variableTypeTokenRange": {
|
4016
|
+
"startIndex": 1,
|
4017
|
+
"endIndex": 5
|
4018
|
+
}
|
4484
4019
|
},
|
4485
4020
|
{
|
4486
|
-
"kind": "
|
4487
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isSyntaxError:
|
4021
|
+
"kind": "Variable",
|
4022
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isSyntaxError:var",
|
4488
4023
|
"docComment": "/**\n * isSyntaxError.\n *\n * @public\n */\n",
|
4489
4024
|
"excerptTokens": [
|
4490
4025
|
{
|
4491
4026
|
"kind": "Content",
|
4492
|
-
"text": "isSyntaxError:
|
4493
|
-
},
|
4494
|
-
{
|
4495
|
-
"kind": "Content",
|
4496
|
-
"text": "{\n event: any;\n}"
|
4027
|
+
"text": "isSyntaxError: "
|
4497
4028
|
},
|
4498
4029
|
{
|
4499
4030
|
"kind": "Content",
|
4500
|
-
"text": ") => "
|
4501
|
-
},
|
4502
|
-
{
|
4503
|
-
"kind": "Content",
|
4504
|
-
"text": "boolean"
|
4031
|
+
"text": "({ event }: {\n event: any;\n}) => boolean"
|
4505
4032
|
}
|
4506
4033
|
],
|
4507
4034
|
"fileUrlPath": "src/core/guards.ts",
|
4508
|
-
"
|
4509
|
-
"startIndex": 3,
|
4510
|
-
"endIndex": 4
|
4511
|
-
},
|
4035
|
+
"isReadonly": true,
|
4512
4036
|
"releaseTag": "Public",
|
4513
|
-
"
|
4514
|
-
"
|
4515
|
-
|
4516
|
-
|
4517
|
-
|
4518
|
-
"startIndex": 1,
|
4519
|
-
"endIndex": 2
|
4520
|
-
},
|
4521
|
-
"isOptional": false
|
4522
|
-
}
|
4523
|
-
],
|
4524
|
-
"name": "isSyntaxError"
|
4037
|
+
"name": "isSyntaxError",
|
4038
|
+
"variableTypeTokenRange": {
|
4039
|
+
"startIndex": 1,
|
4040
|
+
"endIndex": 2
|
4041
|
+
}
|
4525
4042
|
},
|
4526
4043
|
{
|
4527
|
-
"kind": "
|
4528
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isTypeError:
|
4044
|
+
"kind": "Variable",
|
4045
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isTypeError:var",
|
4529
4046
|
"docComment": "/**\n * isTypeError.\n *\n * @public\n */\n",
|
4530
4047
|
"excerptTokens": [
|
4531
4048
|
{
|
4532
4049
|
"kind": "Content",
|
4533
|
-
"text": "isTypeError:
|
4534
|
-
},
|
4535
|
-
{
|
4536
|
-
"kind": "Content",
|
4537
|
-
"text": "{\n event: any;\n}"
|
4538
|
-
},
|
4539
|
-
{
|
4540
|
-
"kind": "Content",
|
4541
|
-
"text": ") => "
|
4050
|
+
"text": "isTypeError: "
|
4542
4051
|
},
|
4543
4052
|
{
|
4544
4053
|
"kind": "Content",
|
4545
|
-
"text": "boolean"
|
4054
|
+
"text": "({ event }: {\n event: any;\n}) => boolean"
|
4546
4055
|
}
|
4547
4056
|
],
|
4548
4057
|
"fileUrlPath": "src/core/guards.ts",
|
4549
|
-
"
|
4550
|
-
"startIndex": 3,
|
4551
|
-
"endIndex": 4
|
4552
|
-
},
|
4058
|
+
"isReadonly": true,
|
4553
4059
|
"releaseTag": "Public",
|
4554
|
-
"
|
4555
|
-
"
|
4556
|
-
|
4557
|
-
|
4558
|
-
|
4559
|
-
"startIndex": 1,
|
4560
|
-
"endIndex": 2
|
4561
|
-
},
|
4562
|
-
"isOptional": false
|
4563
|
-
}
|
4564
|
-
],
|
4565
|
-
"name": "isTypeError"
|
4060
|
+
"name": "isTypeError",
|
4061
|
+
"variableTypeTokenRange": {
|
4062
|
+
"startIndex": 1,
|
4063
|
+
"endIndex": 2
|
4064
|
+
}
|
4566
4065
|
},
|
4567
4066
|
{
|
4568
|
-
"kind": "
|
4569
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!isUnauthorizedError:
|
4067
|
+
"kind": "Variable",
|
4068
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!isUnauthorizedError:var",
|
4570
4069
|
"docComment": "/**\n * @param error - An error.\n *\n * @public\n */\n",
|
4571
4070
|
"excerptTokens": [
|
4572
4071
|
{
|
4573
4072
|
"kind": "Content",
|
4574
|
-
"text": "isUnauthorizedError:
|
4575
|
-
},
|
4576
|
-
{
|
4577
|
-
"kind": "Content",
|
4578
|
-
"text": "{\n status?: number;\n}"
|
4073
|
+
"text": "isUnauthorizedError: "
|
4579
4074
|
},
|
4580
4075
|
{
|
4581
4076
|
"kind": "Content",
|
4582
|
-
"text": ") => "
|
4077
|
+
"text": "(error: {\n status?: number;\n}) => "
|
4583
4078
|
},
|
4584
4079
|
{
|
4585
4080
|
"kind": "Reference",
|
@@ -4597,23 +4092,13 @@
|
|
4597
4092
|
}
|
4598
4093
|
],
|
4599
4094
|
"fileUrlPath": "src/machines/fetch/errors.ts",
|
4600
|
-
"
|
4601
|
-
"startIndex": 3,
|
4602
|
-
"endIndex": 6
|
4603
|
-
},
|
4095
|
+
"isReadonly": true,
|
4604
4096
|
"releaseTag": "Public",
|
4605
|
-
"
|
4606
|
-
"
|
4607
|
-
|
4608
|
-
|
4609
|
-
|
4610
|
-
"startIndex": 1,
|
4611
|
-
"endIndex": 2
|
4612
|
-
},
|
4613
|
-
"isOptional": false
|
4614
|
-
}
|
4615
|
-
],
|
4616
|
-
"name": "isUnauthorizedError"
|
4097
|
+
"name": "isUnauthorizedError",
|
4098
|
+
"variableTypeTokenRange": {
|
4099
|
+
"startIndex": 1,
|
4100
|
+
"endIndex": 5
|
4101
|
+
}
|
4617
4102
|
},
|
4618
4103
|
{
|
4619
4104
|
"kind": "Variable",
|
@@ -6381,25 +5866,17 @@
|
|
6381
5866
|
}
|
6382
5867
|
},
|
6383
5868
|
{
|
6384
|
-
"kind": "
|
6385
|
-
"canonicalReference": "@genesislcap/foundation-state-machine!setErrorByKey:
|
5869
|
+
"kind": "Variable",
|
5870
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!setErrorByKey:var",
|
6386
5871
|
"docComment": "/**\n * Set error by key action.\n *\n * @remarks\n *\n * Used to set an error in the {@link @genesislcap/foundation-utils#ErrorMap} by key.\n *\n * @param key - The error key.\n *\n * @public\n */\n",
|
6387
5872
|
"excerptTokens": [
|
6388
5873
|
{
|
6389
5874
|
"kind": "Content",
|
6390
|
-
"text": "setErrorByKey:
|
6391
|
-
},
|
6392
|
-
{
|
6393
|
-
"kind": "Content",
|
6394
|
-
"text": "string"
|
6395
|
-
},
|
6396
|
-
{
|
6397
|
-
"kind": "Content",
|
6398
|
-
"text": ") => "
|
5875
|
+
"text": "setErrorByKey: "
|
6399
5876
|
},
|
6400
5877
|
{
|
6401
5878
|
"kind": "Content",
|
6402
|
-
"text": "{\n (_: import(\"xstate\")."
|
5879
|
+
"text": "(key: string) => {\n (_: import(\"xstate\")."
|
6403
5880
|
},
|
6404
5881
|
{
|
6405
5882
|
"kind": "Reference",
|
@@ -6556,23 +6033,13 @@
|
|
6556
6033
|
}
|
6557
6034
|
],
|
6558
6035
|
"fileUrlPath": "src/core/actions.ts",
|
6559
|
-
"
|
6560
|
-
"startIndex": 3,
|
6561
|
-
"endIndex": 38
|
6562
|
-
},
|
6036
|
+
"isReadonly": true,
|
6563
6037
|
"releaseTag": "Public",
|
6564
|
-
"
|
6565
|
-
"
|
6566
|
-
|
6567
|
-
|
6568
|
-
|
6569
|
-
"startIndex": 1,
|
6570
|
-
"endIndex": 2
|
6571
|
-
},
|
6572
|
-
"isOptional": false
|
6573
|
-
}
|
6574
|
-
],
|
6575
|
-
"name": "setErrorByKey"
|
6038
|
+
"name": "setErrorByKey",
|
6039
|
+
"variableTypeTokenRange": {
|
6040
|
+
"startIndex": 1,
|
6041
|
+
"endIndex": 36
|
6042
|
+
}
|
6576
6043
|
}
|
6577
6044
|
]
|
6578
6045
|
}
|