jh-be-tools 1.0.30 → 1.0.32
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AxiosError, AxiosRequestConfig,
|
|
1
|
+
import { AxiosError, AxiosRequestConfig, AxiosResponseHeaders } from 'axios';
|
|
2
2
|
import { RouteDef } from '../route-handler/routeCreation';
|
|
3
3
|
export interface QueryData {
|
|
4
4
|
params?: Record<string, string>;
|
|
5
5
|
query?: AxiosRequestConfig['params'];
|
|
6
|
-
headers?:
|
|
6
|
+
headers?: AxiosResponseHeaders;
|
|
7
7
|
body?: unknown;
|
|
8
8
|
}
|
|
9
9
|
export interface Request {
|
|
@@ -1,2 +1,110 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: (import("eslint").Linter.Config<import("eslint").Linter.RulesRecord> | {
|
|
2
|
+
plugins: {
|
|
3
|
+
'@typescript-eslint': import("eslint").ESLint.Plugin;
|
|
4
|
+
import: import("eslint").ESLint.Plugin;
|
|
5
|
+
prettier: import("eslint").ESLint.Plugin;
|
|
6
|
+
'unused-imports': import("eslint").ESLint.Plugin;
|
|
7
|
+
node: import("eslint").ESLint.Plugin;
|
|
8
|
+
};
|
|
9
|
+
languageOptions: {
|
|
10
|
+
globals: {
|
|
11
|
+
__dirname: false;
|
|
12
|
+
__filename: false;
|
|
13
|
+
AbortController: false;
|
|
14
|
+
AbortSignal: false;
|
|
15
|
+
atob: false;
|
|
16
|
+
Blob: false;
|
|
17
|
+
BroadcastChannel: false;
|
|
18
|
+
btoa: false;
|
|
19
|
+
Buffer: false;
|
|
20
|
+
ByteLengthQueuingStrategy: false;
|
|
21
|
+
clearImmediate: false;
|
|
22
|
+
clearInterval: false;
|
|
23
|
+
clearTimeout: false;
|
|
24
|
+
CompressionStream: false;
|
|
25
|
+
console: false;
|
|
26
|
+
CountQueuingStrategy: false;
|
|
27
|
+
crypto: false;
|
|
28
|
+
Crypto: false;
|
|
29
|
+
CryptoKey: false;
|
|
30
|
+
CustomEvent: false;
|
|
31
|
+
DecompressionStream: false;
|
|
32
|
+
DOMException: false;
|
|
33
|
+
Event: false;
|
|
34
|
+
EventTarget: false;
|
|
35
|
+
exports: true;
|
|
36
|
+
fetch: false;
|
|
37
|
+
File: false;
|
|
38
|
+
FormData: false;
|
|
39
|
+
global: false;
|
|
40
|
+
Headers: false;
|
|
41
|
+
Intl: false;
|
|
42
|
+
MessageChannel: false;
|
|
43
|
+
MessageEvent: false;
|
|
44
|
+
MessagePort: false;
|
|
45
|
+
module: false;
|
|
46
|
+
performance: false;
|
|
47
|
+
PerformanceEntry: false;
|
|
48
|
+
PerformanceMark: false;
|
|
49
|
+
PerformanceMeasure: false;
|
|
50
|
+
PerformanceObserver: false;
|
|
51
|
+
PerformanceObserverEntryList: false;
|
|
52
|
+
PerformanceResourceTiming: false;
|
|
53
|
+
process: false;
|
|
54
|
+
queueMicrotask: false;
|
|
55
|
+
ReadableByteStreamController: false;
|
|
56
|
+
ReadableStream: false;
|
|
57
|
+
ReadableStreamBYOBReader: false;
|
|
58
|
+
ReadableStreamBYOBRequest: false;
|
|
59
|
+
ReadableStreamDefaultController: false;
|
|
60
|
+
ReadableStreamDefaultReader: false;
|
|
61
|
+
Request: false;
|
|
62
|
+
require: false;
|
|
63
|
+
Response: false;
|
|
64
|
+
setImmediate: false;
|
|
65
|
+
setInterval: false;
|
|
66
|
+
setTimeout: false;
|
|
67
|
+
structuredClone: false;
|
|
68
|
+
SubtleCrypto: false;
|
|
69
|
+
TextDecoder: false;
|
|
70
|
+
TextDecoderStream: false;
|
|
71
|
+
TextEncoder: false;
|
|
72
|
+
TextEncoderStream: false;
|
|
73
|
+
TransformStream: false;
|
|
74
|
+
TransformStreamDefaultController: false;
|
|
75
|
+
URL: false;
|
|
76
|
+
URLSearchParams: false;
|
|
77
|
+
WebAssembly: false;
|
|
78
|
+
WritableStream: false;
|
|
79
|
+
WritableStreamDefaultController: false;
|
|
80
|
+
WritableStreamDefaultWriter: false;
|
|
81
|
+
};
|
|
82
|
+
parser: typeof tsParser;
|
|
83
|
+
ecmaVersion: string;
|
|
84
|
+
};
|
|
85
|
+
settings: {
|
|
86
|
+
'import/parsers': {
|
|
87
|
+
'@typescript-eslint/parser': string[];
|
|
88
|
+
};
|
|
89
|
+
'import/resolver': {
|
|
90
|
+
typescript: {
|
|
91
|
+
alwaysTryTypes: boolean;
|
|
92
|
+
};
|
|
93
|
+
node: {
|
|
94
|
+
extensions: string[];
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
rules: {
|
|
99
|
+
semi: string;
|
|
100
|
+
'import/order': (string | {
|
|
101
|
+
'newlines-between': string;
|
|
102
|
+
alphabetize: {
|
|
103
|
+
order: string;
|
|
104
|
+
};
|
|
105
|
+
})[];
|
|
106
|
+
'import/export': string;
|
|
107
|
+
};
|
|
108
|
+
})[];
|
|
2
109
|
export default _default;
|
|
110
|
+
import tsParser from '@typescript-eslint/parser';
|