@api-doctor/cli 0.0.4 → 0.0.6

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/plugin.d.ts CHANGED
@@ -455,9 +455,11 @@ declare const plugin: {
455
455
  schema: never[];
456
456
  };
457
457
  create(context: any): {
458
+ MemberExpression(node: any): void;
458
459
  VariableDeclarator(node: any): void;
459
460
  AssignmentExpression(node: any): void;
460
461
  ExpressionStatement(node: any): void;
462
+ 'Program:exit'(): void;
461
463
  };
462
464
  };
463
465
  readonly 'supabase-non-atomic-replace-pattern': {
@@ -502,9 +504,11 @@ declare const plugin: {
502
504
  schema: never[];
503
505
  };
504
506
  create(context: any): {
507
+ MemberExpression(node: any): void;
505
508
  ExpressionStatement(node: any): void;
506
509
  VariableDeclarator(node: any): void;
507
510
  AssignmentExpression(node: any): void;
511
+ 'Program:exit'(): void;
508
512
  };
509
513
  };
510
514
  readonly 'supabase-realtime-missing-filter': {
@@ -857,28 +861,7 @@ declare const plugin: {
857
861
  };
858
862
  create(context: any): {
859
863
  CallExpression(node: any): void;
860
- };
861
- };
862
- readonly 'firebase-middleware-token-not-verified': {
863
- meta: {
864
- type: string;
865
- docs: {
866
- description: string;
867
- category: string;
868
- cwe: string;
869
- owasp: string;
870
- rationale: string;
871
- docsUrl: string;
872
- recommended: boolean;
873
- };
874
- messages: {
875
- tokenNotVerified: string;
876
- };
877
- schema: never[];
878
- };
879
- create(context: any): {
880
- CallExpression(node: any): void;
881
- 'Program:exit'(): void;
864
+ AssignmentExpression(node: any): void;
882
865
  };
883
866
  };
884
867
  readonly 'firebase-hardcoded-user-id': {
@@ -899,6 +882,8 @@ declare const plugin: {
899
882
  schema: never[];
900
883
  };
901
884
  create(context: any): {
885
+ VariableDeclarator?: undefined;
886
+ } | {
902
887
  VariableDeclarator(node: any): void;
903
888
  };
904
889
  };
@@ -1705,7 +1690,7 @@ declare const plugin: {
1705
1690
  'Program:exit'(): void;
1706
1691
  };
1707
1692
  };
1708
- readonly 'tiptap-twitter-url-regex': {
1693
+ readonly 'tiptap-drop-handler-pos-precedence': {
1709
1694
  meta: {
1710
1695
  type: string;
1711
1696
  docs: {
@@ -1716,16 +1701,15 @@ declare const plugin: {
1716
1701
  recommended: boolean;
1717
1702
  };
1718
1703
  messages: {
1719
- twitterRegexMissingLegacyDomain: string;
1704
+ posNullCoalescePrecedence: string;
1720
1705
  };
1721
1706
  schema: never[];
1722
1707
  };
1723
1708
  create(context: any): {
1724
- Literal(node: any): void;
1725
- NewExpression(node: any): void;
1709
+ LogicalExpression(node: any): void;
1726
1710
  };
1727
1711
  };
1728
- readonly 'tiptap-drop-handler-pos-precedence': {
1712
+ readonly 'tiptap-prefer-table-kit': {
1729
1713
  meta: {
1730
1714
  type: string;
1731
1715
  docs: {
@@ -1736,15 +1720,16 @@ declare const plugin: {
1736
1720
  recommended: boolean;
1737
1721
  };
1738
1722
  messages: {
1739
- posNullCoalescePrecedence: string;
1723
+ preferTableKit: string;
1740
1724
  };
1741
1725
  schema: never[];
1742
1726
  };
1743
1727
  create(context: any): {
1744
- LogicalExpression(node: any): void;
1728
+ ImportDeclaration(node: any): void;
1729
+ 'Program:exit'(): void;
1745
1730
  };
1746
1731
  };
1747
- readonly 'tiptap-prefer-table-kit': {
1732
+ readonly 'tiptap-tiptap-markdown-missing-node-spec': {
1748
1733
  meta: {
1749
1734
  type: string;
1750
1735
  docs: {
@@ -1755,34 +1740,552 @@ declare const plugin: {
1755
1740
  recommended: boolean;
1756
1741
  };
1757
1742
  messages: {
1758
- preferTableKit: string;
1743
+ missingMarkdownNodeSpec: string;
1759
1744
  };
1760
1745
  schema: never[];
1761
1746
  };
1762
1747
  create(context: any): {
1763
1748
  ImportDeclaration(node: any): void;
1749
+ CallExpression(node: any): void;
1764
1750
  'Program:exit'(): void;
1765
1751
  };
1766
1752
  };
1767
- readonly 'tiptap-tiptap-markdown-missing-node-spec': {
1753
+ readonly 'elevenlabs-validate-signed-url-response': {
1768
1754
  meta: {
1769
1755
  type: string;
1770
1756
  docs: {
1771
1757
  description: string;
1772
1758
  category: string;
1759
+ cwe: string;
1773
1760
  rationale: string;
1774
1761
  docsUrl: string;
1775
1762
  recommended: boolean;
1776
1763
  };
1777
1764
  messages: {
1778
- missingMarkdownNodeSpec: string;
1765
+ missingValidation: string;
1766
+ };
1767
+ };
1768
+ create(context: any): {
1769
+ FunctionDeclaration(node: any): void;
1770
+ FunctionExpression(node: any): void;
1771
+ ArrowFunctionExpression(node: any): void;
1772
+ };
1773
+ };
1774
+ readonly 'elevenlabs-no-error-object-logging': {
1775
+ meta: {
1776
+ type: string;
1777
+ docs: {
1778
+ description: string;
1779
+ category: string;
1780
+ cwe: string;
1781
+ rationale: string;
1782
+ docsUrl: string;
1783
+ recommended: boolean;
1784
+ };
1785
+ messages: {
1786
+ rawErrorLogged: string;
1787
+ };
1788
+ };
1789
+ create(context: any): {
1790
+ TryStatement(node: any): void;
1791
+ };
1792
+ };
1793
+ readonly 'elevenlabs-fetch-timeout-required': {
1794
+ meta: {
1795
+ type: string;
1796
+ docs: {
1797
+ description: string;
1798
+ category: string;
1799
+ rationale: string;
1800
+ docsUrl: string;
1801
+ recommended: boolean;
1802
+ };
1803
+ messages: {
1804
+ missingTimeout: string;
1805
+ };
1806
+ };
1807
+ create(context: any): {
1808
+ CallExpression(node: any): void;
1809
+ };
1810
+ };
1811
+ readonly 'elevenlabs-validate-agent-id-format': {
1812
+ meta: {
1813
+ type: string;
1814
+ docs: {
1815
+ description: string;
1816
+ category: string;
1817
+ cwe: string;
1818
+ rationale: string;
1819
+ docsUrl: string;
1820
+ recommended: boolean;
1821
+ };
1822
+ messages: {
1823
+ missingFormatValidation: string;
1824
+ };
1825
+ };
1826
+ create(context: any): {
1827
+ FunctionDeclaration(node: any): void;
1828
+ FunctionExpression(node: any): void;
1829
+ ArrowFunctionExpression(node: any): void;
1830
+ };
1831
+ };
1832
+ readonly 'elevenlabs-secure-session-id-generation': {
1833
+ meta: {
1834
+ type: string;
1835
+ docs: {
1836
+ description: string;
1837
+ category: string;
1838
+ cwe: string;
1839
+ rationale: string;
1840
+ docsUrl: string;
1841
+ recommended: boolean;
1842
+ };
1843
+ messages: {
1844
+ insecureSessionId: string;
1845
+ };
1846
+ };
1847
+ create(context: any): {
1848
+ VariableDeclarator(node: any): void;
1849
+ };
1850
+ };
1851
+ readonly 'elevenlabs-conversation-error-recovery': {
1852
+ meta: {
1853
+ type: string;
1854
+ docs: {
1855
+ description: string;
1856
+ category: string;
1857
+ rationale: string;
1858
+ docsUrl: string;
1859
+ recommended: boolean;
1860
+ };
1861
+ messages: {
1862
+ missingLoadingReset: string;
1863
+ };
1864
+ };
1865
+ create(context: any): {
1866
+ FunctionDeclaration(node: any): void;
1867
+ FunctionExpression(node: any): void;
1868
+ ArrowFunctionExpression(node: any): void;
1869
+ };
1870
+ };
1871
+ readonly 'elevenlabs-api-version-pinning': {
1872
+ meta: {
1873
+ type: string;
1874
+ docs: {
1875
+ description: string;
1876
+ category: string;
1877
+ rationale: string;
1878
+ docsUrl: string;
1879
+ recommended: boolean;
1880
+ };
1881
+ messages: {
1882
+ missingVersionHeader: string;
1883
+ };
1884
+ };
1885
+ create(context: any): {
1886
+ CallExpression(node: any): void;
1887
+ };
1888
+ };
1889
+ readonly 'elevenlabs-check-http-status-before-json': {
1890
+ meta: {
1891
+ type: string;
1892
+ docs: {
1893
+ description: string;
1894
+ category: string;
1895
+ rationale: string;
1896
+ docsUrl: string;
1897
+ recommended: boolean;
1898
+ };
1899
+ messages: {
1900
+ missingStatusCheck: string;
1901
+ };
1902
+ };
1903
+ create(context: any): {
1904
+ FunctionDeclaration(node: any): void;
1905
+ FunctionExpression(node: any): void;
1906
+ ArrowFunctionExpression(node: any): void;
1907
+ };
1908
+ };
1909
+ readonly 'elevenlabs-conversation-cleanup-on-error': {
1910
+ meta: {
1911
+ type: string;
1912
+ docs: {
1913
+ description: string;
1914
+ category: string;
1915
+ rationale: string;
1916
+ docsUrl: string;
1917
+ recommended: boolean;
1918
+ };
1919
+ messages: {
1920
+ missingTryCatch: string;
1921
+ };
1922
+ };
1923
+ create(context: any): {
1924
+ 'Program:exit'(program: any): void;
1925
+ };
1926
+ };
1927
+ readonly 'elevenlabs-env-var-validation': {
1928
+ meta: {
1929
+ type: string;
1930
+ docs: {
1931
+ description: string;
1932
+ category: string;
1933
+ rationale: string;
1934
+ docsUrl: string;
1935
+ recommended: boolean;
1936
+ };
1937
+ messages: {
1938
+ missingStartupValidation: string;
1939
+ };
1940
+ };
1941
+ create(context: any): {
1942
+ 'Program:exit'(program: any): void;
1943
+ };
1944
+ };
1945
+ readonly 'twilio-validate-webhook-signature': {
1946
+ meta: {
1947
+ type: string;
1948
+ docs: {
1949
+ description: string;
1950
+ category: string;
1951
+ cwe: string;
1952
+ owasp: string;
1953
+ rationale: string;
1954
+ docsUrl: string;
1955
+ recommended: boolean;
1956
+ };
1957
+ messages: {
1958
+ missingSignatureValidation: string;
1959
+ };
1960
+ };
1961
+ create(context: any): {
1962
+ 'Program:exit'(program: any): void;
1963
+ };
1964
+ };
1965
+ readonly 'twilio-taskrouter-attributes-match-consumer': {
1966
+ meta: {
1967
+ type: string;
1968
+ docs: {
1969
+ description: string;
1970
+ category: string;
1971
+ rationale: string;
1972
+ docsUrl: string;
1973
+ recommended: boolean;
1974
+ };
1975
+ messages: {
1976
+ attributeMismatch: string;
1977
+ };
1978
+ };
1979
+ create(context: any): {
1980
+ 'Program:exit'(program: any): void;
1981
+ };
1982
+ };
1983
+ readonly 'twilio-enqueue-task-json-stringify': {
1984
+ meta: {
1985
+ type: string;
1986
+ docs: {
1987
+ description: string;
1988
+ category: string;
1989
+ cwe: string;
1990
+ owasp: string;
1991
+ rationale: string;
1992
+ docsUrl: string;
1993
+ recommended: boolean;
1994
+ };
1995
+ messages: {
1996
+ rawJsonInterpolation: string;
1997
+ };
1998
+ };
1999
+ create(context: any): {
2000
+ CallExpression(node: any): void;
2001
+ };
2002
+ };
2003
+ readonly 'twilio-media-streams-key-by-call-sid': {
2004
+ meta: {
2005
+ type: string;
2006
+ docs: {
2007
+ description: string;
2008
+ category: string;
2009
+ rationale: string;
2010
+ docsUrl: string;
2011
+ recommended: boolean;
2012
+ };
2013
+ messages: {
2014
+ keyedByPhoneNumber: string;
2015
+ };
2016
+ };
2017
+ create(context: any): {
2018
+ 'Program:exit'(program: any): void;
2019
+ };
2020
+ };
2021
+ readonly 'twilio-await-or-catch-rest-calls-in-event-handlers': {
2022
+ meta: {
2023
+ type: string;
2024
+ docs: {
2025
+ description: string;
2026
+ category: string;
2027
+ rationale: string;
2028
+ docsUrl: string;
2029
+ recommended: boolean;
2030
+ };
2031
+ messages: {
2032
+ missingTryCatch: string;
2033
+ };
2034
+ };
2035
+ create(context: any): {
2036
+ CallExpression(node: any): void;
2037
+ };
2038
+ };
2039
+ readonly 'twilio-use-twiml-builder-not-string-templates': {
2040
+ meta: {
2041
+ type: string;
2042
+ docs: {
2043
+ description: string;
2044
+ category: string;
2045
+ cwe: string;
2046
+ rationale: string;
2047
+ docsUrl: string;
2048
+ recommended: boolean;
2049
+ };
2050
+ messages: {
2051
+ rawTwimlTemplate: string;
2052
+ };
2053
+ };
2054
+ create(context: any): {
2055
+ TemplateLiteral(node: any): void;
2056
+ };
2057
+ };
2058
+ readonly 'twilio-media-streams-mark-pacing': {
2059
+ meta: {
2060
+ type: string;
2061
+ docs: {
2062
+ description: string;
2063
+ category: string;
2064
+ rationale: string;
2065
+ docsUrl: string;
2066
+ recommended: boolean;
2067
+ };
2068
+ messages: {
2069
+ noMarkPacing: string;
2070
+ };
2071
+ };
2072
+ create(context: any): {
2073
+ 'Program:exit'(program: any): void;
2074
+ };
2075
+ };
2076
+ readonly 'twilio-validate-all-request-inputs': {
2077
+ meta: {
2078
+ type: string;
2079
+ docs: {
2080
+ description: string;
2081
+ category: string;
2082
+ rationale: string;
2083
+ docsUrl: string;
2084
+ recommended: boolean;
2085
+ };
2086
+ messages: {
2087
+ missingQuerystringSchema: string;
2088
+ missingSchemaEntirely: string;
2089
+ };
2090
+ };
2091
+ create(context: any): {
2092
+ CallExpression(node: any): void;
2093
+ };
2094
+ };
2095
+ readonly 'twilio-media-streams-mark-name-string': {
2096
+ meta: {
2097
+ type: string;
2098
+ docs: {
2099
+ description: string;
2100
+ category: string;
2101
+ rationale: string;
2102
+ docsUrl: string;
2103
+ recommended: boolean;
2104
+ };
2105
+ messages: {
2106
+ markNameNotString: string;
2107
+ };
2108
+ };
2109
+ create(context: any): {
2110
+ Property(node: any): void;
2111
+ };
2112
+ };
2113
+ readonly 'openai-realtime-migrate-beta-to-ga': {
2114
+ meta: {
2115
+ type: string;
2116
+ docs: {
2117
+ description: string;
2118
+ category: string;
2119
+ docsUrl: string;
2120
+ rationale: string;
2121
+ recommended: boolean;
2122
+ };
2123
+ messages: {
2124
+ betaHeaderPresent: string;
1779
2125
  };
1780
2126
  schema: never[];
1781
2127
  };
1782
2128
  create(context: any): {
1783
- ImportDeclaration(node: any): void;
2129
+ Program(node: any): void;
2130
+ NewExpression(node: any): void;
2131
+ };
2132
+ };
2133
+ readonly 'openai-realtime-no-log-raw-message-payloads': {
2134
+ meta: {
2135
+ type: string;
2136
+ docs: {
2137
+ description: string;
2138
+ category: string;
2139
+ cwe: string;
2140
+ docsUrl: string;
2141
+ rationale: string;
2142
+ recommended: boolean;
2143
+ };
2144
+ messages: {
2145
+ rawPayloadLogged: string;
2146
+ };
2147
+ schema: never[];
2148
+ };
2149
+ create(context: any): {
2150
+ Program(node: any): void;
1784
2151
  CallExpression(node: any): void;
1785
- 'Program:exit'(): void;
2152
+ };
2153
+ };
2154
+ readonly 'openai-realtime-handle-error-server-event': {
2155
+ meta: {
2156
+ type: string;
2157
+ docs: {
2158
+ description: string;
2159
+ category: string;
2160
+ docsUrl: string;
2161
+ rationale: string;
2162
+ recommended: boolean;
2163
+ };
2164
+ messages: {
2165
+ missingErrorBranch: string;
2166
+ };
2167
+ schema: never[];
2168
+ };
2169
+ create(context: any): {
2170
+ Program(node: any): void;
2171
+ CallExpression(node: any): void;
2172
+ };
2173
+ };
2174
+ readonly 'openai-realtime-reconnect-on-drop': {
2175
+ meta: {
2176
+ type: string;
2177
+ docs: {
2178
+ description: string;
2179
+ category: string;
2180
+ docsUrl: string;
2181
+ rationale: string;
2182
+ recommended: boolean;
2183
+ };
2184
+ messages: {
2185
+ noReconnectAttempt: string;
2186
+ };
2187
+ schema: never[];
2188
+ };
2189
+ create(context: any): {
2190
+ Program(node: any): void;
2191
+ CallExpression(node: any): void;
2192
+ };
2193
+ };
2194
+ readonly 'openai-realtime-avoid-dated-preview-snapshots': {
2195
+ meta: {
2196
+ type: string;
2197
+ docs: {
2198
+ description: string;
2199
+ category: string;
2200
+ docsUrl: string;
2201
+ rationale: string;
2202
+ recommended: boolean;
2203
+ };
2204
+ messages: {
2205
+ datedPreviewSnapshot: string;
2206
+ };
2207
+ schema: never[];
2208
+ };
2209
+ create(context: any): {
2210
+ Program(node: any): void;
2211
+ NewExpression(node: any): void;
2212
+ };
2213
+ };
2214
+ readonly 'openai-realtime-verify-deprecated-session-fields': {
2215
+ meta: {
2216
+ type: string;
2217
+ docs: {
2218
+ description: string;
2219
+ category: string;
2220
+ docsUrl: string;
2221
+ rationale: string;
2222
+ recommended: boolean;
2223
+ };
2224
+ messages: {
2225
+ unverifiedTemperatureField: string;
2226
+ };
2227
+ schema: never[];
2228
+ };
2229
+ create(context: any): {
2230
+ ObjectExpression(node: any): void;
2231
+ };
2232
+ };
2233
+ readonly 'openai-realtime-buffer-audio-until-session-ready': {
2234
+ meta: {
2235
+ type: string;
2236
+ docs: {
2237
+ description: string;
2238
+ category: string;
2239
+ docsUrl: string;
2240
+ rationale: string;
2241
+ recommended: boolean;
2242
+ };
2243
+ messages: {
2244
+ audioDroppedNotBuffered: string;
2245
+ };
2246
+ schema: never[];
2247
+ };
2248
+ create(context: any): {
2249
+ IfStatement(node: any): void;
2250
+ };
2251
+ };
2252
+ readonly 'openai-realtime-send-safety-identifier': {
2253
+ meta: {
2254
+ type: string;
2255
+ docs: {
2256
+ description: string;
2257
+ category: string;
2258
+ docsUrl: string;
2259
+ rationale: string;
2260
+ recommended: boolean;
2261
+ };
2262
+ messages: {
2263
+ missingSafetyIdentifier: string;
2264
+ };
2265
+ schema: never[];
2266
+ };
2267
+ create(context: any): {
2268
+ Program(node: any): void;
2269
+ NewExpression(node: any): void;
2270
+ };
2271
+ };
2272
+ readonly 'openai-realtime-transcription-model-choice': {
2273
+ meta: {
2274
+ type: string;
2275
+ docs: {
2276
+ description: string;
2277
+ category: string;
2278
+ docsUrl: string;
2279
+ rationale: string;
2280
+ recommended: boolean;
2281
+ };
2282
+ messages: {
2283
+ nonStreamingTranscriptionModel: string;
2284
+ };
2285
+ schema: never[];
2286
+ };
2287
+ create(context: any): {
2288
+ ObjectExpression(node: any): void;
1786
2289
  };
1787
2290
  };
1788
2291
  };