@nocobase/plugin-multi-app-manager 1.2.12-alpha → 1.3.0-alpha.20240710084543

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.
Files changed (175) hide show
  1. package/package.json +2 -2
  2. package/dist/client/AppManager.d.ts +0 -10
  3. package/dist/client/AppNameInput.d.ts +0 -10
  4. package/dist/client/MultiAppManagerProvider.d.ts +0 -10
  5. package/dist/client/MultiAppManagerProvider.style.d.ts +0 -13
  6. package/dist/client/Settings.d.ts +0 -10
  7. package/dist/client/index.d.ts +0 -14
  8. package/dist/client/index.js +0 -10
  9. package/dist/client/settings/schemas/applications.d.ts +0 -18
  10. package/dist/client/utils.d.ts +0 -12
  11. package/dist/externalVersion.js +0 -25
  12. package/dist/index.d.ts +0 -10
  13. package/dist/index.js +0 -48
  14. package/dist/locale/en-US.json +0 -11
  15. package/dist/locale/es-ES.json +0 -9
  16. package/dist/locale/index.d.ts +0 -9
  17. package/dist/locale/index.js +0 -36
  18. package/dist/locale/ko_KR.json +0 -11
  19. package/dist/locale/pt-BR.json +0 -9
  20. package/dist/locale/zh-CN.json +0 -14
  21. package/dist/node_modules/mariadb/LICENSE +0 -502
  22. package/dist/node_modules/mariadb/callback.js +0 -41
  23. package/dist/node_modules/mariadb/lib/cmd/batch-bulk.js +0 -278
  24. package/dist/node_modules/mariadb/lib/cmd/batch-rewrite.js +0 -372
  25. package/dist/node_modules/mariadb/lib/cmd/change-user.js +0 -149
  26. package/dist/node_modules/mariadb/lib/cmd/class/ok-packet.js +0 -17
  27. package/dist/node_modules/mariadb/lib/cmd/column-definition.js +0 -102
  28. package/dist/node_modules/mariadb/lib/cmd/command.js +0 -168
  29. package/dist/node_modules/mariadb/lib/cmd/common-binary-cmd.js +0 -327
  30. package/dist/node_modules/mariadb/lib/cmd/common-text-cmd.js +0 -427
  31. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/caching-sha2-password-auth.js +0 -168
  32. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/clear-password-auth.js +0 -23
  33. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/ed25519-password-auth.js +0 -761
  34. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/native-password-auth.js +0 -55
  35. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/pam-password-auth.js +0 -58
  36. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/plugin-auth.js +0 -19
  37. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/sha256-password-auth.js +0 -142
  38. package/dist/node_modules/mariadb/lib/cmd/handshake/client-capabilities.js +0 -74
  39. package/dist/node_modules/mariadb/lib/cmd/handshake/client-handshake-response.js +0 -126
  40. package/dist/node_modules/mariadb/lib/cmd/handshake/handshake.js +0 -292
  41. package/dist/node_modules/mariadb/lib/cmd/handshake/initial-handshake.js +0 -74
  42. package/dist/node_modules/mariadb/lib/cmd/handshake/ssl-request.js +0 -29
  43. package/dist/node_modules/mariadb/lib/cmd/ping.js +0 -52
  44. package/dist/node_modules/mariadb/lib/cmd/query.js +0 -255
  45. package/dist/node_modules/mariadb/lib/cmd/quit.js +0 -28
  46. package/dist/node_modules/mariadb/lib/cmd/reset.js +0 -54
  47. package/dist/node_modules/mariadb/lib/cmd/resultset.js +0 -607
  48. package/dist/node_modules/mariadb/lib/cmd/stream.js +0 -45
  49. package/dist/node_modules/mariadb/lib/config/connection-options.js +0 -258
  50. package/dist/node_modules/mariadb/lib/config/pool-cluster-options.js +0 -19
  51. package/dist/node_modules/mariadb/lib/config/pool-options.js +0 -47
  52. package/dist/node_modules/mariadb/lib/connection-callback.js +0 -160
  53. package/dist/node_modules/mariadb/lib/connection.js +0 -1460
  54. package/dist/node_modules/mariadb/lib/const/capabilities.js +0 -64
  55. package/dist/node_modules/mariadb/lib/const/collations.js +0 -473
  56. package/dist/node_modules/mariadb/lib/const/connection_status.js +0 -13
  57. package/dist/node_modules/mariadb/lib/const/error-code.js +0 -1282
  58. package/dist/node_modules/mariadb/lib/const/field-detail.js +0 -35
  59. package/dist/node_modules/mariadb/lib/const/field-type.js +0 -71
  60. package/dist/node_modules/mariadb/lib/const/server-status.js +0 -30
  61. package/dist/node_modules/mariadb/lib/const/state-change.js +0 -12
  62. package/dist/node_modules/mariadb/lib/filtered-pool-cluster.js +0 -81
  63. package/dist/node_modules/mariadb/lib/io/bulk-packet.js +0 -590
  64. package/dist/node_modules/mariadb/lib/io/compression-input-stream.js +0 -141
  65. package/dist/node_modules/mariadb/lib/io/compression-output-stream.js +0 -171
  66. package/dist/node_modules/mariadb/lib/io/packet-input-stream.js +0 -193
  67. package/dist/node_modules/mariadb/lib/io/packet-node-encoded.js +0 -36
  68. package/dist/node_modules/mariadb/lib/io/packet-node-iconv.js +0 -37
  69. package/dist/node_modules/mariadb/lib/io/packet-output-stream.js +0 -502
  70. package/dist/node_modules/mariadb/lib/io/packet.js +0 -515
  71. package/dist/node_modules/mariadb/lib/io/rewrite-packet.js +0 -481
  72. package/dist/node_modules/mariadb/lib/misc/connection-information.js +0 -96
  73. package/dist/node_modules/mariadb/lib/misc/errors.js +0 -123
  74. package/dist/node_modules/mariadb/lib/misc/parse.js +0 -1033
  75. package/dist/node_modules/mariadb/lib/misc/utils.js +0 -298
  76. package/dist/node_modules/mariadb/lib/pool-base.js +0 -611
  77. package/dist/node_modules/mariadb/lib/pool-callback.js +0 -202
  78. package/dist/node_modules/mariadb/lib/pool-cluster-callback.js +0 -66
  79. package/dist/node_modules/mariadb/lib/pool-cluster.js +0 -407
  80. package/dist/node_modules/mariadb/lib/pool-promise.js +0 -108
  81. package/dist/node_modules/mariadb/node_modules/@types/node/assert/strict.d.ts +0 -8
  82. package/dist/node_modules/mariadb/node_modules/@types/node/assert.d.ts +0 -912
  83. package/dist/node_modules/mariadb/node_modules/@types/node/async_hooks.d.ts +0 -501
  84. package/dist/node_modules/mariadb/node_modules/@types/node/buffer.d.ts +0 -2232
  85. package/dist/node_modules/mariadb/node_modules/@types/node/child_process.d.ts +0 -1366
  86. package/dist/node_modules/mariadb/node_modules/@types/node/cluster.d.ts +0 -414
  87. package/dist/node_modules/mariadb/node_modules/@types/node/console.d.ts +0 -412
  88. package/dist/node_modules/mariadb/node_modules/@types/node/constants.d.ts +0 -18
  89. package/dist/node_modules/mariadb/node_modules/@types/node/crypto.d.ts +0 -3338
  90. package/dist/node_modules/mariadb/node_modules/@types/node/dgram.d.ts +0 -545
  91. package/dist/node_modules/mariadb/node_modules/@types/node/diagnostics_channel.d.ts +0 -152
  92. package/dist/node_modules/mariadb/node_modules/@types/node/dns/promises.d.ts +0 -370
  93. package/dist/node_modules/mariadb/node_modules/@types/node/dns.d.ts +0 -659
  94. package/dist/node_modules/mariadb/node_modules/@types/node/domain.d.ts +0 -169
  95. package/dist/node_modules/mariadb/node_modules/@types/node/events.d.ts +0 -651
  96. package/dist/node_modules/mariadb/node_modules/@types/node/fs/promises.d.ts +0 -1091
  97. package/dist/node_modules/mariadb/node_modules/@types/node/fs.d.ts +0 -3869
  98. package/dist/node_modules/mariadb/node_modules/@types/node/globals.d.ts +0 -294
  99. package/dist/node_modules/mariadb/node_modules/@types/node/globals.global.d.ts +0 -1
  100. package/dist/node_modules/mariadb/node_modules/@types/node/http.d.ts +0 -1396
  101. package/dist/node_modules/mariadb/node_modules/@types/node/http2.d.ts +0 -2101
  102. package/dist/node_modules/mariadb/node_modules/@types/node/https.d.ts +0 -391
  103. package/dist/node_modules/mariadb/node_modules/@types/node/index.d.ts +0 -129
  104. package/dist/node_modules/mariadb/node_modules/@types/node/inspector.d.ts +0 -2744
  105. package/dist/node_modules/mariadb/node_modules/@types/node/module.d.ts +0 -114
  106. package/dist/node_modules/mariadb/node_modules/@types/node/net.d.ts +0 -791
  107. package/dist/node_modules/mariadb/node_modules/@types/node/os.d.ts +0 -455
  108. package/dist/node_modules/mariadb/node_modules/@types/node/package.json +0 -220
  109. package/dist/node_modules/mariadb/node_modules/@types/node/path.d.ts +0 -180
  110. package/dist/node_modules/mariadb/node_modules/@types/node/perf_hooks.d.ts +0 -557
  111. package/dist/node_modules/mariadb/node_modules/@types/node/process.d.ts +0 -1481
  112. package/dist/node_modules/mariadb/node_modules/@types/node/punycode.d.ts +0 -117
  113. package/dist/node_modules/mariadb/node_modules/@types/node/querystring.d.ts +0 -131
  114. package/dist/node_modules/mariadb/node_modules/@types/node/readline.d.ts +0 -650
  115. package/dist/node_modules/mariadb/node_modules/@types/node/repl.d.ts +0 -424
  116. package/dist/node_modules/mariadb/node_modules/@types/node/stream/consumers.d.ts +0 -24
  117. package/dist/node_modules/mariadb/node_modules/@types/node/stream/promises.d.ts +0 -42
  118. package/dist/node_modules/mariadb/node_modules/@types/node/stream/web.d.ts +0 -330
  119. package/dist/node_modules/mariadb/node_modules/@types/node/stream.d.ts +0 -1249
  120. package/dist/node_modules/mariadb/node_modules/@types/node/string_decoder.d.ts +0 -67
  121. package/dist/node_modules/mariadb/node_modules/@types/node/timers/promises.d.ts +0 -68
  122. package/dist/node_modules/mariadb/node_modules/@types/node/timers.d.ts +0 -94
  123. package/dist/node_modules/mariadb/node_modules/@types/node/tls.d.ts +0 -1020
  124. package/dist/node_modules/mariadb/node_modules/@types/node/trace_events.d.ts +0 -161
  125. package/dist/node_modules/mariadb/node_modules/@types/node/tty.d.ts +0 -204
  126. package/dist/node_modules/mariadb/node_modules/@types/node/url.d.ts +0 -891
  127. package/dist/node_modules/mariadb/node_modules/@types/node/util.d.ts +0 -1594
  128. package/dist/node_modules/mariadb/node_modules/@types/node/v8.d.ts +0 -378
  129. package/dist/node_modules/mariadb/node_modules/@types/node/vm.d.ts +0 -507
  130. package/dist/node_modules/mariadb/node_modules/@types/node/wasi.d.ts +0 -158
  131. package/dist/node_modules/mariadb/node_modules/@types/node/worker_threads.d.ts +0 -649
  132. package/dist/node_modules/mariadb/node_modules/@types/node/zlib.d.ts +0 -517
  133. package/dist/node_modules/mariadb/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  134. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  135. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  136. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  137. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  138. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/modules.xml +0 -8
  139. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  140. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  141. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  142. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/index.js +0 -23
  143. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/internal.js +0 -198
  144. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  145. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  146. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  147. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  148. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  149. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  150. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  151. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  152. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  153. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  154. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  155. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf16.js +0 -197
  156. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf32.js +0 -319
  157. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf7.js +0 -290
  158. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  159. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.d.ts +0 -41
  160. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.js +0 -180
  161. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/streams.js +0 -109
  162. package/dist/node_modules/mariadb/node_modules/iconv-lite/package.json +0 -44
  163. package/dist/node_modules/mariadb/package.json +0 -1
  164. package/dist/node_modules/mariadb/promise.js +0 -34
  165. package/dist/node_modules/mariadb/types/index.d.ts +0 -870
  166. package/dist/server/collections/applications.d.ts +0 -10
  167. package/dist/server/collections/applications.js +0 -75
  168. package/dist/server/index.d.ts +0 -11
  169. package/dist/server/index.js +0 -40
  170. package/dist/server/models/application.d.ts +0 -18
  171. package/dist/server/models/application.js +0 -50
  172. package/dist/server/server.d.ts +0 -26
  173. package/dist/server/server.js +0 -310
  174. package/dist/swagger/index.d.ts +0 -195
  175. package/dist/swagger/index.js +0 -226
@@ -1,455 +0,0 @@
1
- /**
2
- * The `os` module provides operating system-related utility methods and
3
- * properties. It can be accessed using:
4
- *
5
- * ```js
6
- * const os = require('os');
7
- * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/os.js)
9
- */
10
- declare module 'os' {
11
- interface CpuInfo {
12
- model: string;
13
- speed: number;
14
- times: {
15
- user: number;
16
- nice: number;
17
- sys: number;
18
- idle: number;
19
- irq: number;
20
- };
21
- }
22
- interface NetworkInterfaceBase {
23
- address: string;
24
- netmask: string;
25
- mac: string;
26
- internal: boolean;
27
- cidr: string | null;
28
- }
29
- interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
30
- family: 'IPv4';
31
- }
32
- interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
33
- family: 'IPv6';
34
- scopeid: number;
35
- }
36
- interface UserInfo<T> {
37
- username: T;
38
- uid: number;
39
- gid: number;
40
- shell: T;
41
- homedir: T;
42
- }
43
- type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
44
- /**
45
- * Returns the host name of the operating system as a string.
46
- * @since v0.3.3
47
- */
48
- function hostname(): string;
49
- /**
50
- * Returns an array containing the 1, 5, and 15 minute load averages.
51
- *
52
- * The load average is a measure of system activity calculated by the operating
53
- * system and expressed as a fractional number.
54
- *
55
- * The load average is a Unix-specific concept. On Windows, the return value is
56
- * always `[0, 0, 0]`.
57
- * @since v0.3.3
58
- */
59
- function loadavg(): number[];
60
- /**
61
- * Returns the system uptime in number of seconds.
62
- * @since v0.3.3
63
- */
64
- function uptime(): number;
65
- /**
66
- * Returns the amount of free system memory in bytes as an integer.
67
- * @since v0.3.3
68
- */
69
- function freemem(): number;
70
- /**
71
- * Returns the total amount of system memory in bytes as an integer.
72
- * @since v0.3.3
73
- */
74
- function totalmem(): number;
75
- /**
76
- * Returns an array of objects containing information about each logical CPU core.
77
- *
78
- * The properties included on each object include:
79
- *
80
- * ```js
81
- * [
82
- * {
83
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
84
- * speed: 2926,
85
- * times: {
86
- * user: 252020,
87
- * nice: 0,
88
- * sys: 30340,
89
- * idle: 1070356870,
90
- * irq: 0
91
- * }
92
- * },
93
- * {
94
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
95
- * speed: 2926,
96
- * times: {
97
- * user: 306960,
98
- * nice: 0,
99
- * sys: 26980,
100
- * idle: 1071569080,
101
- * irq: 0
102
- * }
103
- * },
104
- * {
105
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
106
- * speed: 2926,
107
- * times: {
108
- * user: 248450,
109
- * nice: 0,
110
- * sys: 21750,
111
- * idle: 1070919370,
112
- * irq: 0
113
- * }
114
- * },
115
- * {
116
- * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
117
- * speed: 2926,
118
- * times: {
119
- * user: 256880,
120
- * nice: 0,
121
- * sys: 19430,
122
- * idle: 1070905480,
123
- * irq: 20
124
- * }
125
- * },
126
- * ]
127
- * ```
128
- *
129
- * `nice` values are POSIX-only. On Windows, the `nice` values of all processors
130
- * are always 0.
131
- * @since v0.3.3
132
- */
133
- function cpus(): CpuInfo[];
134
- /**
135
- * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it
136
- * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.
137
- *
138
- * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information
139
- * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems.
140
- * @since v0.3.3
141
- */
142
- function type(): string;
143
- /**
144
- * Returns the operating system as a string.
145
- *
146
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
147
- * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
148
- * @since v0.3.3
149
- */
150
- function release(): string;
151
- /**
152
- * Returns an object containing network interfaces that have been assigned a
153
- * network address.
154
- *
155
- * Each key on the returned object identifies a network interface. The associated
156
- * value is an array of objects that each describe an assigned network address.
157
- *
158
- * The properties available on the assigned network address object include:
159
- *
160
- * ```js
161
- * {
162
- * lo: [
163
- * {
164
- * address: '127.0.0.1',
165
- * netmask: '255.0.0.0',
166
- * family: 'IPv4',
167
- * mac: '00:00:00:00:00:00',
168
- * internal: true,
169
- * cidr: '127.0.0.1/8'
170
- * },
171
- * {
172
- * address: '::1',
173
- * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
174
- * family: 'IPv6',
175
- * mac: '00:00:00:00:00:00',
176
- * scopeid: 0,
177
- * internal: true,
178
- * cidr: '::1/128'
179
- * }
180
- * ],
181
- * eth0: [
182
- * {
183
- * address: '192.168.1.108',
184
- * netmask: '255.255.255.0',
185
- * family: 'IPv4',
186
- * mac: '01:02:03:0a:0b:0c',
187
- * internal: false,
188
- * cidr: '192.168.1.108/24'
189
- * },
190
- * {
191
- * address: 'fe80::a00:27ff:fe4e:66a1',
192
- * netmask: 'ffff:ffff:ffff:ffff::',
193
- * family: 'IPv6',
194
- * mac: '01:02:03:0a:0b:0c',
195
- * scopeid: 1,
196
- * internal: false,
197
- * cidr: 'fe80::a00:27ff:fe4e:66a1/64'
198
- * }
199
- * ]
200
- * }
201
- * ```
202
- * @since v0.6.0
203
- */
204
- function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
205
- /**
206
- * Returns the string path of the current user's home directory.
207
- *
208
- * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it
209
- * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory.
210
- *
211
- * On Windows, it uses the `USERPROFILE` environment variable if defined.
212
- * Otherwise it uses the path to the profile directory of the current user.
213
- * @since v2.3.0
214
- */
215
- function homedir(): string;
216
- /**
217
- * Returns information about the currently effective user. On POSIX platforms,
218
- * this is typically a subset of the password file. The returned object includes
219
- * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`.
220
- *
221
- * The value of `homedir` returned by `os.userInfo()` is provided by the operating
222
- * system. This differs from the result of `os.homedir()`, which queries
223
- * environment variables for the home directory before falling back to the
224
- * operating system response.
225
- *
226
- * Throws a `SystemError` if a user has no `username` or `homedir`.
227
- * @since v6.0.0
228
- */
229
- function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
230
- function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
231
- type SignalConstants = {
232
- [key in NodeJS.Signals]: number;
233
- };
234
- namespace constants {
235
- const UV_UDP_REUSEADDR: number;
236
- namespace signals {}
237
- const signals: SignalConstants;
238
- namespace errno {
239
- const E2BIG: number;
240
- const EACCES: number;
241
- const EADDRINUSE: number;
242
- const EADDRNOTAVAIL: number;
243
- const EAFNOSUPPORT: number;
244
- const EAGAIN: number;
245
- const EALREADY: number;
246
- const EBADF: number;
247
- const EBADMSG: number;
248
- const EBUSY: number;
249
- const ECANCELED: number;
250
- const ECHILD: number;
251
- const ECONNABORTED: number;
252
- const ECONNREFUSED: number;
253
- const ECONNRESET: number;
254
- const EDEADLK: number;
255
- const EDESTADDRREQ: number;
256
- const EDOM: number;
257
- const EDQUOT: number;
258
- const EEXIST: number;
259
- const EFAULT: number;
260
- const EFBIG: number;
261
- const EHOSTUNREACH: number;
262
- const EIDRM: number;
263
- const EILSEQ: number;
264
- const EINPROGRESS: number;
265
- const EINTR: number;
266
- const EINVAL: number;
267
- const EIO: number;
268
- const EISCONN: number;
269
- const EISDIR: number;
270
- const ELOOP: number;
271
- const EMFILE: number;
272
- const EMLINK: number;
273
- const EMSGSIZE: number;
274
- const EMULTIHOP: number;
275
- const ENAMETOOLONG: number;
276
- const ENETDOWN: number;
277
- const ENETRESET: number;
278
- const ENETUNREACH: number;
279
- const ENFILE: number;
280
- const ENOBUFS: number;
281
- const ENODATA: number;
282
- const ENODEV: number;
283
- const ENOENT: number;
284
- const ENOEXEC: number;
285
- const ENOLCK: number;
286
- const ENOLINK: number;
287
- const ENOMEM: number;
288
- const ENOMSG: number;
289
- const ENOPROTOOPT: number;
290
- const ENOSPC: number;
291
- const ENOSR: number;
292
- const ENOSTR: number;
293
- const ENOSYS: number;
294
- const ENOTCONN: number;
295
- const ENOTDIR: number;
296
- const ENOTEMPTY: number;
297
- const ENOTSOCK: number;
298
- const ENOTSUP: number;
299
- const ENOTTY: number;
300
- const ENXIO: number;
301
- const EOPNOTSUPP: number;
302
- const EOVERFLOW: number;
303
- const EPERM: number;
304
- const EPIPE: number;
305
- const EPROTO: number;
306
- const EPROTONOSUPPORT: number;
307
- const EPROTOTYPE: number;
308
- const ERANGE: number;
309
- const EROFS: number;
310
- const ESPIPE: number;
311
- const ESRCH: number;
312
- const ESTALE: number;
313
- const ETIME: number;
314
- const ETIMEDOUT: number;
315
- const ETXTBSY: number;
316
- const EWOULDBLOCK: number;
317
- const EXDEV: number;
318
- const WSAEINTR: number;
319
- const WSAEBADF: number;
320
- const WSAEACCES: number;
321
- const WSAEFAULT: number;
322
- const WSAEINVAL: number;
323
- const WSAEMFILE: number;
324
- const WSAEWOULDBLOCK: number;
325
- const WSAEINPROGRESS: number;
326
- const WSAEALREADY: number;
327
- const WSAENOTSOCK: number;
328
- const WSAEDESTADDRREQ: number;
329
- const WSAEMSGSIZE: number;
330
- const WSAEPROTOTYPE: number;
331
- const WSAENOPROTOOPT: number;
332
- const WSAEPROTONOSUPPORT: number;
333
- const WSAESOCKTNOSUPPORT: number;
334
- const WSAEOPNOTSUPP: number;
335
- const WSAEPFNOSUPPORT: number;
336
- const WSAEAFNOSUPPORT: number;
337
- const WSAEADDRINUSE: number;
338
- const WSAEADDRNOTAVAIL: number;
339
- const WSAENETDOWN: number;
340
- const WSAENETUNREACH: number;
341
- const WSAENETRESET: number;
342
- const WSAECONNABORTED: number;
343
- const WSAECONNRESET: number;
344
- const WSAENOBUFS: number;
345
- const WSAEISCONN: number;
346
- const WSAENOTCONN: number;
347
- const WSAESHUTDOWN: number;
348
- const WSAETOOMANYREFS: number;
349
- const WSAETIMEDOUT: number;
350
- const WSAECONNREFUSED: number;
351
- const WSAELOOP: number;
352
- const WSAENAMETOOLONG: number;
353
- const WSAEHOSTDOWN: number;
354
- const WSAEHOSTUNREACH: number;
355
- const WSAENOTEMPTY: number;
356
- const WSAEPROCLIM: number;
357
- const WSAEUSERS: number;
358
- const WSAEDQUOT: number;
359
- const WSAESTALE: number;
360
- const WSAEREMOTE: number;
361
- const WSASYSNOTREADY: number;
362
- const WSAVERNOTSUPPORTED: number;
363
- const WSANOTINITIALISED: number;
364
- const WSAEDISCON: number;
365
- const WSAENOMORE: number;
366
- const WSAECANCELLED: number;
367
- const WSAEINVALIDPROCTABLE: number;
368
- const WSAEINVALIDPROVIDER: number;
369
- const WSAEPROVIDERFAILEDINIT: number;
370
- const WSASYSCALLFAILURE: number;
371
- const WSASERVICE_NOT_FOUND: number;
372
- const WSATYPE_NOT_FOUND: number;
373
- const WSA_E_NO_MORE: number;
374
- const WSA_E_CANCELLED: number;
375
- const WSAEREFUSED: number;
376
- }
377
- namespace priority {
378
- const PRIORITY_LOW: number;
379
- const PRIORITY_BELOW_NORMAL: number;
380
- const PRIORITY_NORMAL: number;
381
- const PRIORITY_ABOVE_NORMAL: number;
382
- const PRIORITY_HIGH: number;
383
- const PRIORITY_HIGHEST: number;
384
- }
385
- }
386
- const devNull: string;
387
- const EOL: string;
388
- /**
389
- * Returns the operating system CPU architecture for which the Node.js binary was
390
- * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
391
- *
392
- * The return value is equivalent to `process.arch`.
393
- * @since v0.5.0
394
- */
395
- function arch(): string;
396
- /**
397
- * Returns a string identifying the kernel version.
398
- *
399
- * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
400
- * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
401
- * @since v13.11.0, v12.17.0
402
- */
403
- function version(): string;
404
- /**
405
- * Returns a string identifying the operating system platform. The value is set
406
- * at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
407
- *
408
- * The return value is equivalent to `process.platform`.
409
- *
410
- * The value `'android'` may also be returned if Node.js is built on the Android
411
- * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
412
- * @since v0.5.0
413
- */
414
- function platform(): NodeJS.Platform;
415
- /**
416
- * Returns the operating system's default directory for temporary files as a
417
- * string.
418
- * @since v0.9.9
419
- */
420
- function tmpdir(): string;
421
- /**
422
- * Returns a string identifying the endianness of the CPU for which the Node.js
423
- * binary was compiled.
424
- *
425
- * Possible values are `'BE'` for big endian and `'LE'` for little endian.
426
- * @since v0.9.4
427
- */
428
- function endianness(): 'BE' | 'LE';
429
- /**
430
- * Returns the scheduling priority for the process specified by `pid`. If `pid` is
431
- * not provided or is `0`, the priority of the current process is returned.
432
- * @since v10.10.0
433
- * @param [pid=0] The process ID to retrieve scheduling priority for.
434
- */
435
- function getPriority(pid?: number): number;
436
- /**
437
- * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used.
438
- *
439
- * The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows
440
- * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range
441
- * mapping may cause the return value to be slightly different on Windows. To avoid
442
- * confusion, set `priority` to one of the priority constants.
443
- *
444
- * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user
445
- * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`.
446
- * @since v10.10.0
447
- * @param [pid=0] The process ID to set scheduling priority for.
448
- * @param priority The scheduling priority to assign to the process.
449
- */
450
- function setPriority(priority: number): void;
451
- function setPriority(pid: number, priority: number): void;
452
- }
453
- declare module 'node:os' {
454
- export * from 'os';
455
- }
@@ -1,220 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "17.0.45",
4
- "description": "TypeScript definitions for Node.js",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "url": "https://github.com/Microsoft",
11
- "githubUsername": "Microsoft"
12
- },
13
- {
14
- "name": "DefinitelyTyped",
15
- "url": "https://github.com/DefinitelyTyped",
16
- "githubUsername": "DefinitelyTyped"
17
- },
18
- {
19
- "name": "Alberto Schiabel",
20
- "url": "https://github.com/jkomyno",
21
- "githubUsername": "jkomyno"
22
- },
23
- {
24
- "name": "Alvis HT Tang",
25
- "url": "https://github.com/alvis",
26
- "githubUsername": "alvis"
27
- },
28
- {
29
- "name": "Andrew Makarov",
30
- "url": "https://github.com/r3nya",
31
- "githubUsername": "r3nya"
32
- },
33
- {
34
- "name": "Benjamin Toueg",
35
- "url": "https://github.com/btoueg",
36
- "githubUsername": "btoueg"
37
- },
38
- {
39
- "name": "Chigozirim C.",
40
- "url": "https://github.com/smac89",
41
- "githubUsername": "smac89"
42
- },
43
- {
44
- "name": "David Junger",
45
- "url": "https://github.com/touffy",
46
- "githubUsername": "touffy"
47
- },
48
- {
49
- "name": "Deividas Bakanas",
50
- "url": "https://github.com/DeividasBakanas",
51
- "githubUsername": "DeividasBakanas"
52
- },
53
- {
54
- "name": "Eugene Y. Q. Shen",
55
- "url": "https://github.com/eyqs",
56
- "githubUsername": "eyqs"
57
- },
58
- {
59
- "name": "Hannes Magnusson",
60
- "url": "https://github.com/Hannes-Magnusson-CK",
61
- "githubUsername": "Hannes-Magnusson-CK"
62
- },
63
- {
64
- "name": "Huw",
65
- "url": "https://github.com/hoo29",
66
- "githubUsername": "hoo29"
67
- },
68
- {
69
- "name": "Kelvin Jin",
70
- "url": "https://github.com/kjin",
71
- "githubUsername": "kjin"
72
- },
73
- {
74
- "name": "Klaus Meinhardt",
75
- "url": "https://github.com/ajafff",
76
- "githubUsername": "ajafff"
77
- },
78
- {
79
- "name": "Lishude",
80
- "url": "https://github.com/islishude",
81
- "githubUsername": "islishude"
82
- },
83
- {
84
- "name": "Mariusz Wiktorczyk",
85
- "url": "https://github.com/mwiktorczyk",
86
- "githubUsername": "mwiktorczyk"
87
- },
88
- {
89
- "name": "Mohsen Azimi",
90
- "url": "https://github.com/mohsen1",
91
- "githubUsername": "mohsen1"
92
- },
93
- {
94
- "name": "Nicolas Even",
95
- "url": "https://github.com/n-e",
96
- "githubUsername": "n-e"
97
- },
98
- {
99
- "name": "Nikita Galkin",
100
- "url": "https://github.com/galkin",
101
- "githubUsername": "galkin"
102
- },
103
- {
104
- "name": "Parambir Singh",
105
- "url": "https://github.com/parambirs",
106
- "githubUsername": "parambirs"
107
- },
108
- {
109
- "name": "Sebastian Silbermann",
110
- "url": "https://github.com/eps1lon",
111
- "githubUsername": "eps1lon"
112
- },
113
- {
114
- "name": "Simon Schick",
115
- "url": "https://github.com/SimonSchick",
116
- "githubUsername": "SimonSchick"
117
- },
118
- {
119
- "name": "Thomas den Hollander",
120
- "url": "https://github.com/ThomasdenH",
121
- "githubUsername": "ThomasdenH"
122
- },
123
- {
124
- "name": "Wilco Bakker",
125
- "url": "https://github.com/WilcoBakker",
126
- "githubUsername": "WilcoBakker"
127
- },
128
- {
129
- "name": "wwwy3y3",
130
- "url": "https://github.com/wwwy3y3",
131
- "githubUsername": "wwwy3y3"
132
- },
133
- {
134
- "name": "Samuel Ainsworth",
135
- "url": "https://github.com/samuela",
136
- "githubUsername": "samuela"
137
- },
138
- {
139
- "name": "Kyle Uehlein",
140
- "url": "https://github.com/kuehlein",
141
- "githubUsername": "kuehlein"
142
- },
143
- {
144
- "name": "Thanik Bhongbhibhat",
145
- "url": "https://github.com/bhongy",
146
- "githubUsername": "bhongy"
147
- },
148
- {
149
- "name": "Marcin Kopacz",
150
- "url": "https://github.com/chyzwar",
151
- "githubUsername": "chyzwar"
152
- },
153
- {
154
- "name": "Trivikram Kamat",
155
- "url": "https://github.com/trivikr",
156
- "githubUsername": "trivikr"
157
- },
158
- {
159
- "name": "Junxiao Shi",
160
- "url": "https://github.com/yoursunny",
161
- "githubUsername": "yoursunny"
162
- },
163
- {
164
- "name": "Ilia Baryshnikov",
165
- "url": "https://github.com/qwelias",
166
- "githubUsername": "qwelias"
167
- },
168
- {
169
- "name": "ExE Boss",
170
- "url": "https://github.com/ExE-Boss",
171
- "githubUsername": "ExE-Boss"
172
- },
173
- {
174
- "name": "Piotr Błażejewicz",
175
- "url": "https://github.com/peterblazejewicz",
176
- "githubUsername": "peterblazejewicz"
177
- },
178
- {
179
- "name": "Anna Henningsen",
180
- "url": "https://github.com/addaleax",
181
- "githubUsername": "addaleax"
182
- },
183
- {
184
- "name": "Victor Perin",
185
- "url": "https://github.com/victorperin",
186
- "githubUsername": "victorperin"
187
- },
188
- {
189
- "name": "Yongsheng Zhang",
190
- "url": "https://github.com/ZYSzys",
191
- "githubUsername": "ZYSzys"
192
- },
193
- {
194
- "name": "NodeJS Contributors",
195
- "url": "https://github.com/NodeJS",
196
- "githubUsername": "NodeJS"
197
- },
198
- {
199
- "name": "Linus Unnebäck",
200
- "url": "https://github.com/LinusU",
201
- "githubUsername": "LinusU"
202
- },
203
- {
204
- "name": "wafuwafu13",
205
- "url": "https://github.com/wafuwafu13",
206
- "githubUsername": "wafuwafu13"
207
- }
208
- ],
209
- "main": "",
210
- "types": "index.d.ts",
211
- "repository": {
212
- "type": "git",
213
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
214
- "directory": "types/node"
215
- },
216
- "scripts": {},
217
- "dependencies": {},
218
- "typesPublisherContentHash": "af50fb21a4ee56ffd08ac1a41afbed06689aa44fec9f855368376b13ef1742b6",
219
- "typeScriptVersion": "4.0"
220
- }