@genesislcap/foundation-state-machine 14.225.3 → 14.225.4-alpha-5f6eefd.0

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