@maiyunnet/kebab 8.1.0 → 8.2.1
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/doc/kebab-rag.md +192 -180
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/lib/ai.js +9 -4
- package/lib/net.js +33 -9
- package/lib/session.d.ts +1 -0
- package/lib/session.js +2 -1
- package/lib/time.js +6 -0
- package/package.json +4 -4
- package/sys/monitor.js +4 -5
- package/www/example/ctr/test.js +9 -1
package/doc/kebab-rag.md
CHANGED
|
@@ -147,7 +147,7 @@ index/interfaces/IConfig.md
|
|
|
147
147
|
|
|
148
148
|
# Interface: IConfig
|
|
149
149
|
|
|
150
|
-
Defined in: [index.ts:
|
|
150
|
+
Defined in: [index.ts:52](https://github.com/maiyunnet/kebab/blob/master/index.ts#L52)
|
|
151
151
|
|
|
152
152
|
目录配置文件
|
|
153
153
|
|
|
@@ -161,7 +161,7 @@ Defined in: [index.ts:50](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
161
161
|
|
|
162
162
|
> **ai**: `Record`\<`string`, [`IConfigAi`](IConfigAi.md)\>
|
|
163
163
|
|
|
164
|
-
Defined in: [index.ts:
|
|
164
|
+
Defined in: [index.ts:83](https://github.com/maiyunnet/kebab/blob/master/index.ts#L83)
|
|
165
165
|
|
|
166
166
|
***
|
|
167
167
|
|
|
@@ -169,7 +169,7 @@ Defined in: [index.ts:81](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
169
169
|
|
|
170
170
|
> **const**: [`IConfigConst`](IConfigConst.md)
|
|
171
171
|
|
|
172
|
-
Defined in: [index.ts:
|
|
172
|
+
Defined in: [index.ts:64](https://github.com/maiyunnet/kebab/blob/master/index.ts#L64)
|
|
173
173
|
|
|
174
174
|
***
|
|
175
175
|
|
|
@@ -177,7 +177,7 @@ Defined in: [index.ts:62](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
177
177
|
|
|
178
178
|
> **db**: `Record`\<`string`, \{ `default`: [`IConfigDb`](IConfigDb.md); `read`: [`IConfigDb`](IConfigDb.md); \}\> & `object`
|
|
179
179
|
|
|
180
|
-
Defined in: [index.ts:
|
|
180
|
+
Defined in: [index.ts:65](https://github.com/maiyunnet/kebab/blob/master/index.ts#L65)
|
|
181
181
|
|
|
182
182
|
#### Type Declaration
|
|
183
183
|
|
|
@@ -191,7 +191,7 @@ Defined in: [index.ts:63](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
191
191
|
|
|
192
192
|
> **dns**: `Record`\<`string`, [`IConfigDns`](IConfigDns.md)\>
|
|
193
193
|
|
|
194
|
-
Defined in: [index.ts:
|
|
194
|
+
Defined in: [index.ts:79](https://github.com/maiyunnet/kebab/blob/master/index.ts#L79)
|
|
195
195
|
|
|
196
196
|
***
|
|
197
197
|
|
|
@@ -199,7 +199,7 @@ Defined in: [index.ts:77](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
199
199
|
|
|
200
200
|
> **kv**: [`IConfigKv`](IConfigKv.md)
|
|
201
201
|
|
|
202
|
-
Defined in: [index.ts:
|
|
202
|
+
Defined in: [index.ts:71](https://github.com/maiyunnet/kebab/blob/master/index.ts#L71)
|
|
203
203
|
|
|
204
204
|
***
|
|
205
205
|
|
|
@@ -207,7 +207,7 @@ Defined in: [index.ts:69](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
207
207
|
|
|
208
208
|
> **lang**: [`IConfigLang`](IConfigLang.md)
|
|
209
209
|
|
|
210
|
-
Defined in: [index.ts:
|
|
210
|
+
Defined in: [index.ts:80](https://github.com/maiyunnet/kebab/blob/master/index.ts#L80)
|
|
211
211
|
|
|
212
212
|
***
|
|
213
213
|
|
|
@@ -215,7 +215,7 @@ Defined in: [index.ts:78](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
215
215
|
|
|
216
216
|
> **route**: `Record`\<`string`, `string`\>
|
|
217
217
|
|
|
218
|
-
Defined in: [index.ts:
|
|
218
|
+
Defined in: [index.ts:72](https://github.com/maiyunnet/kebab/blob/master/index.ts#L72)
|
|
219
219
|
|
|
220
220
|
***
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ Defined in: [index.ts:70](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
223
223
|
|
|
224
224
|
> **s3**: `Record`\<`string`, [`IConfigS3`](IConfigS3.md)\>
|
|
225
225
|
|
|
226
|
-
Defined in: [index.ts:
|
|
226
|
+
Defined in: [index.ts:81](https://github.com/maiyunnet/kebab/blob/master/index.ts#L81)
|
|
227
227
|
|
|
228
228
|
***
|
|
229
229
|
|
|
@@ -231,7 +231,7 @@ Defined in: [index.ts:79](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
231
231
|
|
|
232
232
|
> **session**: `object`
|
|
233
233
|
|
|
234
|
-
Defined in: [index.ts:
|
|
234
|
+
Defined in: [index.ts:73](https://github.com/maiyunnet/kebab/blob/master/index.ts#L73)
|
|
235
235
|
|
|
236
236
|
#### name
|
|
237
237
|
|
|
@@ -251,7 +251,7 @@ Defined in: [index.ts:71](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
251
251
|
|
|
252
252
|
> **set**: `object`
|
|
253
253
|
|
|
254
|
-
Defined in: [index.ts:
|
|
254
|
+
Defined in: [index.ts:53](https://github.com/maiyunnet/kebab/blob/master/index.ts#L53)
|
|
255
255
|
|
|
256
256
|
#### Index Signature
|
|
257
257
|
|
|
@@ -287,7 +287,7 @@ Defined in: [index.ts:51](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
287
287
|
|
|
288
288
|
> **sql**: [`IConfigSql`](IConfigSql.md)
|
|
289
289
|
|
|
290
|
-
Defined in: [index.ts:
|
|
290
|
+
Defined in: [index.ts:78](https://github.com/maiyunnet/kebab/blob/master/index.ts#L78)
|
|
291
291
|
|
|
292
292
|
***
|
|
293
293
|
|
|
@@ -295,7 +295,7 @@ Defined in: [index.ts:76](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
295
295
|
|
|
296
296
|
> **turnstile**: [`IConfigTurnstile`](IConfigTurnstile.md)
|
|
297
297
|
|
|
298
|
-
Defined in: [index.ts:
|
|
298
|
+
Defined in: [index.ts:82](https://github.com/maiyunnet/kebab/blob/master/index.ts#L82)
|
|
299
299
|
|
|
300
300
|
***
|
|
301
301
|
|
|
@@ -303,7 +303,7 @@ Defined in: [index.ts:80](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
303
303
|
|
|
304
304
|
> **vector**: [`IConfigVector`](IConfigVector.md)
|
|
305
305
|
|
|
306
|
-
Defined in: [index.ts:
|
|
306
|
+
Defined in: [index.ts:84](https://github.com/maiyunnet/kebab/blob/master/index.ts#L84)
|
|
307
307
|
|
|
308
308
|
index/interfaces/IConfigAi.md
|
|
309
309
|
---
|
|
@@ -316,7 +316,7 @@ index/interfaces/IConfigAi.md
|
|
|
316
316
|
|
|
317
317
|
# Interface: IConfigAi
|
|
318
318
|
|
|
319
|
-
Defined in: [index.ts:
|
|
319
|
+
Defined in: [index.ts:120](https://github.com/maiyunnet/kebab/blob/master/index.ts#L120)
|
|
320
320
|
|
|
321
321
|
AI
|
|
322
322
|
|
|
@@ -326,7 +326,7 @@ AI
|
|
|
326
326
|
|
|
327
327
|
> `optional` **endpoint**: `string`
|
|
328
328
|
|
|
329
|
-
Defined in: [index.ts:
|
|
329
|
+
Defined in: [index.ts:122](https://github.com/maiyunnet/kebab/blob/master/index.ts#L122)
|
|
330
330
|
|
|
331
331
|
目前只有微软 Azure 有
|
|
332
332
|
|
|
@@ -336,7 +336,7 @@ Defined in: [index.ts:120](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
336
336
|
|
|
337
337
|
> **skey**: `string`
|
|
338
338
|
|
|
339
|
-
Defined in: [index.ts:
|
|
339
|
+
Defined in: [index.ts:123](https://github.com/maiyunnet/kebab/blob/master/index.ts#L123)
|
|
340
340
|
|
|
341
341
|
index/interfaces/IConfigConst.md
|
|
342
342
|
---
|
|
@@ -349,7 +349,7 @@ index/interfaces/IConfigConst.md
|
|
|
349
349
|
|
|
350
350
|
# Interface: IConfigConst
|
|
351
351
|
|
|
352
|
-
Defined in: [index.ts:
|
|
352
|
+
Defined in: [index.ts:192](https://github.com/maiyunnet/kebab/blob/master/index.ts#L192)
|
|
353
353
|
|
|
354
354
|
常量
|
|
355
355
|
|
|
@@ -359,7 +359,7 @@ Defined in: [index.ts:190](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
359
359
|
|
|
360
360
|
> **ctrPath**: `string`
|
|
361
361
|
|
|
362
|
-
Defined in: [index.ts:
|
|
362
|
+
Defined in: [index.ts:217](https://github.com/maiyunnet/kebab/blob/master/index.ts#L217)
|
|
363
363
|
|
|
364
364
|
***
|
|
365
365
|
|
|
@@ -367,7 +367,7 @@ Defined in: [index.ts:215](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
367
367
|
|
|
368
368
|
> **dataPath**: `string`
|
|
369
369
|
|
|
370
|
-
Defined in: [index.ts:
|
|
370
|
+
Defined in: [index.ts:219](https://github.com/maiyunnet/kebab/blob/master/index.ts#L219)
|
|
371
371
|
|
|
372
372
|
***
|
|
373
373
|
|
|
@@ -375,7 +375,7 @@ Defined in: [index.ts:217](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
375
375
|
|
|
376
376
|
> **host**: `string`
|
|
377
377
|
|
|
378
|
-
Defined in: [index.ts:
|
|
378
|
+
Defined in: [index.ts:208](https://github.com/maiyunnet/kebab/blob/master/index.ts#L208)
|
|
379
379
|
|
|
380
380
|
***
|
|
381
381
|
|
|
@@ -383,7 +383,7 @@ Defined in: [index.ts:206](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
383
383
|
|
|
384
384
|
> **hostname**: `string`
|
|
385
385
|
|
|
386
|
-
Defined in: [index.ts:
|
|
386
|
+
Defined in: [index.ts:209](https://github.com/maiyunnet/kebab/blob/master/index.ts#L209)
|
|
387
387
|
|
|
388
388
|
***
|
|
389
389
|
|
|
@@ -391,7 +391,7 @@ Defined in: [index.ts:207](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
391
391
|
|
|
392
392
|
> **hostport**: `number`
|
|
393
393
|
|
|
394
|
-
Defined in: [index.ts:
|
|
394
|
+
Defined in: [index.ts:210](https://github.com/maiyunnet/kebab/blob/master/index.ts#L210)
|
|
395
395
|
|
|
396
396
|
***
|
|
397
397
|
|
|
@@ -399,7 +399,7 @@ Defined in: [index.ts:208](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
399
399
|
|
|
400
400
|
> **https**: `boolean`
|
|
401
401
|
|
|
402
|
-
Defined in: [index.ts:
|
|
402
|
+
Defined in: [index.ts:207](https://github.com/maiyunnet/kebab/blob/master/index.ts#L207)
|
|
403
403
|
|
|
404
404
|
***
|
|
405
405
|
|
|
@@ -407,7 +407,7 @@ Defined in: [index.ts:205](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
407
407
|
|
|
408
408
|
> **miniprogram**: `""` \| `"wechat"`
|
|
409
409
|
|
|
410
|
-
Defined in: [index.ts:
|
|
410
|
+
Defined in: [index.ts:206](https://github.com/maiyunnet/kebab/blob/master/index.ts#L206)
|
|
411
411
|
|
|
412
412
|
***
|
|
413
413
|
|
|
@@ -415,7 +415,7 @@ Defined in: [index.ts:204](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
415
415
|
|
|
416
416
|
> **mobile**: `boolean`
|
|
417
417
|
|
|
418
|
-
Defined in: [index.ts:
|
|
418
|
+
Defined in: [index.ts:204](https://github.com/maiyunnet/kebab/blob/master/index.ts#L204)
|
|
419
419
|
|
|
420
420
|
***
|
|
421
421
|
|
|
@@ -423,7 +423,7 @@ Defined in: [index.ts:202](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
423
423
|
|
|
424
424
|
> **modPath**: `string`
|
|
425
425
|
|
|
426
|
-
Defined in: [index.ts:
|
|
426
|
+
Defined in: [index.ts:216](https://github.com/maiyunnet/kebab/blob/master/index.ts#L216)
|
|
427
427
|
|
|
428
428
|
***
|
|
429
429
|
|
|
@@ -431,7 +431,7 @@ Defined in: [index.ts:214](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
431
431
|
|
|
432
432
|
> **path**: `string`
|
|
433
433
|
|
|
434
|
-
Defined in: [index.ts:
|
|
434
|
+
Defined in: [index.ts:194](https://github.com/maiyunnet/kebab/blob/master/index.ts#L194)
|
|
435
435
|
|
|
436
436
|
不以 / 开头,不含 qs
|
|
437
437
|
|
|
@@ -441,7 +441,7 @@ Defined in: [index.ts:192](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
441
441
|
|
|
442
442
|
> **qs**: `string`
|
|
443
443
|
|
|
444
|
-
Defined in: [index.ts:
|
|
444
|
+
Defined in: [index.ts:196](https://github.com/maiyunnet/kebab/blob/master/index.ts#L196)
|
|
445
445
|
|
|
446
446
|
不含 ? 开头
|
|
447
447
|
|
|
@@ -451,7 +451,7 @@ Defined in: [index.ts:194](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
451
451
|
|
|
452
452
|
> **qss**: `string`
|
|
453
453
|
|
|
454
|
-
Defined in: [index.ts:
|
|
454
|
+
Defined in: [index.ts:198](https://github.com/maiyunnet/kebab/blob/master/index.ts#L198)
|
|
455
455
|
|
|
456
456
|
含 ? 开头
|
|
457
457
|
|
|
@@ -461,7 +461,7 @@ Defined in: [index.ts:196](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
461
461
|
|
|
462
462
|
> **rootPath**: `string`
|
|
463
463
|
|
|
464
|
-
Defined in: [index.ts:
|
|
464
|
+
Defined in: [index.ts:215](https://github.com/maiyunnet/kebab/blob/master/index.ts#L215)
|
|
465
465
|
|
|
466
466
|
***
|
|
467
467
|
|
|
@@ -469,7 +469,7 @@ Defined in: [index.ts:213](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
469
469
|
|
|
470
470
|
> **startMemory**: `number`
|
|
471
471
|
|
|
472
|
-
Defined in: [index.ts:
|
|
472
|
+
Defined in: [index.ts:200](https://github.com/maiyunnet/kebab/blob/master/index.ts#L200)
|
|
473
473
|
|
|
474
474
|
***
|
|
475
475
|
|
|
@@ -477,7 +477,7 @@ Defined in: [index.ts:198](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
477
477
|
|
|
478
478
|
> **startTime**: `bigint`
|
|
479
479
|
|
|
480
|
-
Defined in: [index.ts:
|
|
480
|
+
Defined in: [index.ts:199](https://github.com/maiyunnet/kebab/blob/master/index.ts#L199)
|
|
481
481
|
|
|
482
482
|
***
|
|
483
483
|
|
|
@@ -485,7 +485,7 @@ Defined in: [index.ts:197](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
485
485
|
|
|
486
486
|
> **uri**: [`IUrlParse`](IUrlParse.md)
|
|
487
487
|
|
|
488
|
-
Defined in: [index.ts:
|
|
488
|
+
Defined in: [index.ts:211](https://github.com/maiyunnet/kebab/blob/master/index.ts#L211)
|
|
489
489
|
|
|
490
490
|
***
|
|
491
491
|
|
|
@@ -493,7 +493,7 @@ Defined in: [index.ts:209](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
493
493
|
|
|
494
494
|
> **urlBase**: `string`
|
|
495
495
|
|
|
496
|
-
Defined in: [index.ts:
|
|
496
|
+
Defined in: [index.ts:224](https://github.com/maiyunnet/kebab/blob/master/index.ts#L224)
|
|
497
497
|
|
|
498
498
|
***
|
|
499
499
|
|
|
@@ -501,7 +501,7 @@ Defined in: [index.ts:222](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
501
501
|
|
|
502
502
|
> **urlFull**: `string`
|
|
503
503
|
|
|
504
|
-
Defined in: [index.ts:
|
|
504
|
+
Defined in: [index.ts:226](https://github.com/maiyunnet/kebab/blob/master/index.ts#L226)
|
|
505
505
|
|
|
506
506
|
***
|
|
507
507
|
|
|
@@ -509,7 +509,7 @@ Defined in: [index.ts:224](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
509
509
|
|
|
510
510
|
> **urlStc**: `string`
|
|
511
511
|
|
|
512
|
-
Defined in: [index.ts:
|
|
512
|
+
Defined in: [index.ts:225](https://github.com/maiyunnet/kebab/blob/master/index.ts#L225)
|
|
513
513
|
|
|
514
514
|
***
|
|
515
515
|
|
|
@@ -517,7 +517,7 @@ Defined in: [index.ts:223](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
517
517
|
|
|
518
518
|
> **urlStcFull**: `string`
|
|
519
519
|
|
|
520
|
-
Defined in: [index.ts:
|
|
520
|
+
Defined in: [index.ts:227](https://github.com/maiyunnet/kebab/blob/master/index.ts#L227)
|
|
521
521
|
|
|
522
522
|
***
|
|
523
523
|
|
|
@@ -525,7 +525,7 @@ Defined in: [index.ts:225](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
525
525
|
|
|
526
526
|
> **viewPath**: `string`
|
|
527
527
|
|
|
528
|
-
Defined in: [index.ts:
|
|
528
|
+
Defined in: [index.ts:218](https://github.com/maiyunnet/kebab/blob/master/index.ts#L218)
|
|
529
529
|
|
|
530
530
|
***
|
|
531
531
|
|
|
@@ -533,7 +533,7 @@ Defined in: [index.ts:216](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
533
533
|
|
|
534
534
|
> **wechat**: `boolean`
|
|
535
535
|
|
|
536
|
-
Defined in: [index.ts:
|
|
536
|
+
Defined in: [index.ts:205](https://github.com/maiyunnet/kebab/blob/master/index.ts#L205)
|
|
537
537
|
|
|
538
538
|
***
|
|
539
539
|
|
|
@@ -541,7 +541,7 @@ Defined in: [index.ts:203](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
541
541
|
|
|
542
542
|
> **wsPath**: `string`
|
|
543
543
|
|
|
544
|
-
Defined in: [index.ts:
|
|
544
|
+
Defined in: [index.ts:220](https://github.com/maiyunnet/kebab/blob/master/index.ts#L220)
|
|
545
545
|
|
|
546
546
|
index/interfaces/IConfigDb.md
|
|
547
547
|
---
|
|
@@ -554,7 +554,7 @@ index/interfaces/IConfigDb.md
|
|
|
554
554
|
|
|
555
555
|
# Interface: IConfigDb
|
|
556
556
|
|
|
557
|
-
Defined in: [index.ts:
|
|
557
|
+
Defined in: [index.ts:150](https://github.com/maiyunnet/kebab/blob/master/index.ts#L150)
|
|
558
558
|
|
|
559
559
|
数据库
|
|
560
560
|
|
|
@@ -564,7 +564,7 @@ Defined in: [index.ts:148](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
564
564
|
|
|
565
565
|
> `optional` **charset**: `string`
|
|
566
566
|
|
|
567
|
-
Defined in: [index.ts:
|
|
567
|
+
Defined in: [index.ts:153](https://github.com/maiyunnet/kebab/blob/master/index.ts#L153)
|
|
568
568
|
|
|
569
569
|
***
|
|
570
570
|
|
|
@@ -572,7 +572,7 @@ Defined in: [index.ts:151](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
572
572
|
|
|
573
573
|
> **host**: `string`
|
|
574
574
|
|
|
575
|
-
Defined in: [index.ts:
|
|
575
|
+
Defined in: [index.ts:151](https://github.com/maiyunnet/kebab/blob/master/index.ts#L151)
|
|
576
576
|
|
|
577
577
|
***
|
|
578
578
|
|
|
@@ -580,7 +580,7 @@ Defined in: [index.ts:149](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
580
580
|
|
|
581
581
|
> `optional` **name**: `string`
|
|
582
582
|
|
|
583
|
-
Defined in: [index.ts:
|
|
583
|
+
Defined in: [index.ts:154](https://github.com/maiyunnet/kebab/blob/master/index.ts#L154)
|
|
584
584
|
|
|
585
585
|
***
|
|
586
586
|
|
|
@@ -588,7 +588,7 @@ Defined in: [index.ts:152](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
588
588
|
|
|
589
589
|
> **port**: `number`
|
|
590
590
|
|
|
591
|
-
Defined in: [index.ts:
|
|
591
|
+
Defined in: [index.ts:152](https://github.com/maiyunnet/kebab/blob/master/index.ts#L152)
|
|
592
592
|
|
|
593
593
|
***
|
|
594
594
|
|
|
@@ -596,7 +596,7 @@ Defined in: [index.ts:150](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
596
596
|
|
|
597
597
|
> **pwd**: `string`
|
|
598
598
|
|
|
599
|
-
Defined in: [index.ts:
|
|
599
|
+
Defined in: [index.ts:157](https://github.com/maiyunnet/kebab/blob/master/index.ts#L157)
|
|
600
600
|
|
|
601
601
|
***
|
|
602
602
|
|
|
@@ -604,7 +604,7 @@ Defined in: [index.ts:155](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
604
604
|
|
|
605
605
|
> **user**: `string`
|
|
606
606
|
|
|
607
|
-
Defined in: [index.ts:
|
|
607
|
+
Defined in: [index.ts:156](https://github.com/maiyunnet/kebab/blob/master/index.ts#L156)
|
|
608
608
|
|
|
609
609
|
index/interfaces/IConfigDns.md
|
|
610
610
|
---
|
|
@@ -617,7 +617,7 @@ index/interfaces/IConfigDns.md
|
|
|
617
617
|
|
|
618
618
|
# Interface: IConfigDns
|
|
619
619
|
|
|
620
|
-
Defined in: [index.ts:
|
|
620
|
+
Defined in: [index.ts:170](https://github.com/maiyunnet/kebab/blob/master/index.ts#L170)
|
|
621
621
|
|
|
622
622
|
DNS
|
|
623
623
|
|
|
@@ -627,7 +627,7 @@ DNS
|
|
|
627
627
|
|
|
628
628
|
> **sid**: `string`
|
|
629
629
|
|
|
630
|
-
Defined in: [index.ts:
|
|
630
|
+
Defined in: [index.ts:171](https://github.com/maiyunnet/kebab/blob/master/index.ts#L171)
|
|
631
631
|
|
|
632
632
|
***
|
|
633
633
|
|
|
@@ -635,7 +635,7 @@ Defined in: [index.ts:169](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
635
635
|
|
|
636
636
|
> **skey**: `string`
|
|
637
637
|
|
|
638
|
-
Defined in: [index.ts:
|
|
638
|
+
Defined in: [index.ts:172](https://github.com/maiyunnet/kebab/blob/master/index.ts#L172)
|
|
639
639
|
|
|
640
640
|
index/interfaces/IConfigJwt.md
|
|
641
641
|
---
|
|
@@ -648,7 +648,7 @@ index/interfaces/IConfigJwt.md
|
|
|
648
648
|
|
|
649
649
|
# Interface: IConfigJwt
|
|
650
650
|
|
|
651
|
-
Defined in: [index.ts:
|
|
651
|
+
Defined in: [index.ts:161](https://github.com/maiyunnet/kebab/blob/master/index.ts#L161)
|
|
652
652
|
|
|
653
653
|
Jwt 信息
|
|
654
654
|
|
|
@@ -658,7 +658,7 @@ Jwt 信息
|
|
|
658
658
|
|
|
659
659
|
> **auth**: `boolean`
|
|
660
660
|
|
|
661
|
-
Defined in: [index.ts:
|
|
661
|
+
Defined in: [index.ts:166](https://github.com/maiyunnet/kebab/blob/master/index.ts#L166)
|
|
662
662
|
|
|
663
663
|
***
|
|
664
664
|
|
|
@@ -666,7 +666,7 @@ Defined in: [index.ts:164](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
666
666
|
|
|
667
667
|
> **name**: `string`
|
|
668
668
|
|
|
669
|
-
Defined in: [index.ts:
|
|
669
|
+
Defined in: [index.ts:162](https://github.com/maiyunnet/kebab/blob/master/index.ts#L162)
|
|
670
670
|
|
|
671
671
|
***
|
|
672
672
|
|
|
@@ -674,7 +674,7 @@ Defined in: [index.ts:160](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
674
674
|
|
|
675
675
|
> **secret**: `string`
|
|
676
676
|
|
|
677
|
-
Defined in: [index.ts:
|
|
677
|
+
Defined in: [index.ts:165](https://github.com/maiyunnet/kebab/blob/master/index.ts#L165)
|
|
678
678
|
|
|
679
679
|
***
|
|
680
680
|
|
|
@@ -682,7 +682,7 @@ Defined in: [index.ts:163](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
682
682
|
|
|
683
683
|
> **ssl**: `boolean`
|
|
684
684
|
|
|
685
|
-
Defined in: [index.ts:
|
|
685
|
+
Defined in: [index.ts:164](https://github.com/maiyunnet/kebab/blob/master/index.ts#L164)
|
|
686
686
|
|
|
687
687
|
***
|
|
688
688
|
|
|
@@ -690,7 +690,7 @@ Defined in: [index.ts:162](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
690
690
|
|
|
691
691
|
> **ttl**: `number`
|
|
692
692
|
|
|
693
|
-
Defined in: [index.ts:
|
|
693
|
+
Defined in: [index.ts:163](https://github.com/maiyunnet/kebab/blob/master/index.ts#L163)
|
|
694
694
|
|
|
695
695
|
index/interfaces/IConfigKv.md
|
|
696
696
|
---
|
|
@@ -703,7 +703,7 @@ index/interfaces/IConfigKv.md
|
|
|
703
703
|
|
|
704
704
|
# Interface: IConfigKv
|
|
705
705
|
|
|
706
|
-
Defined in: [index.ts:
|
|
706
|
+
Defined in: [index.ts:176](https://github.com/maiyunnet/kebab/blob/master/index.ts#L176)
|
|
707
707
|
|
|
708
708
|
kv
|
|
709
709
|
|
|
@@ -713,7 +713,7 @@ kv
|
|
|
713
713
|
|
|
714
714
|
> **host**: `string`
|
|
715
715
|
|
|
716
|
-
Defined in: [index.ts:
|
|
716
|
+
Defined in: [index.ts:177](https://github.com/maiyunnet/kebab/blob/master/index.ts#L177)
|
|
717
717
|
|
|
718
718
|
***
|
|
719
719
|
|
|
@@ -721,7 +721,7 @@ Defined in: [index.ts:175](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
721
721
|
|
|
722
722
|
> **index**: `number`
|
|
723
723
|
|
|
724
|
-
Defined in: [index.ts:
|
|
724
|
+
Defined in: [index.ts:179](https://github.com/maiyunnet/kebab/blob/master/index.ts#L179)
|
|
725
725
|
|
|
726
726
|
***
|
|
727
727
|
|
|
@@ -729,7 +729,7 @@ Defined in: [index.ts:177](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
729
729
|
|
|
730
730
|
> **port**: `number`
|
|
731
731
|
|
|
732
|
-
Defined in: [index.ts:
|
|
732
|
+
Defined in: [index.ts:178](https://github.com/maiyunnet/kebab/blob/master/index.ts#L178)
|
|
733
733
|
|
|
734
734
|
***
|
|
735
735
|
|
|
@@ -737,7 +737,7 @@ Defined in: [index.ts:176](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
737
737
|
|
|
738
738
|
> **pre**: `string`
|
|
739
739
|
|
|
740
|
-
Defined in: [index.ts:
|
|
740
|
+
Defined in: [index.ts:180](https://github.com/maiyunnet/kebab/blob/master/index.ts#L180)
|
|
741
741
|
|
|
742
742
|
***
|
|
743
743
|
|
|
@@ -745,7 +745,7 @@ Defined in: [index.ts:178](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
745
745
|
|
|
746
746
|
> **pwd**: `string`
|
|
747
747
|
|
|
748
|
-
Defined in: [index.ts:
|
|
748
|
+
Defined in: [index.ts:183](https://github.com/maiyunnet/kebab/blob/master/index.ts#L183)
|
|
749
749
|
|
|
750
750
|
***
|
|
751
751
|
|
|
@@ -753,7 +753,7 @@ Defined in: [index.ts:181](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
753
753
|
|
|
754
754
|
> **user**: `string`
|
|
755
755
|
|
|
756
|
-
Defined in: [index.ts:
|
|
756
|
+
Defined in: [index.ts:182](https://github.com/maiyunnet/kebab/blob/master/index.ts#L182)
|
|
757
757
|
|
|
758
758
|
index/interfaces/IConfigLang.md
|
|
759
759
|
---
|
|
@@ -766,7 +766,7 @@ index/interfaces/IConfigLang.md
|
|
|
766
766
|
|
|
767
767
|
# Interface: IConfigLang
|
|
768
768
|
|
|
769
|
-
Defined in: [index.ts:
|
|
769
|
+
Defined in: [index.ts:104](https://github.com/maiyunnet/kebab/blob/master/index.ts#L104)
|
|
770
770
|
|
|
771
771
|
语言
|
|
772
772
|
|
|
@@ -776,7 +776,7 @@ Defined in: [index.ts:102](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
776
776
|
|
|
777
777
|
> **direct**: `string`[]
|
|
778
778
|
|
|
779
|
-
Defined in: [index.ts:
|
|
779
|
+
Defined in: [index.ts:106](https://github.com/maiyunnet/kebab/blob/master/index.ts#L106)
|
|
780
780
|
|
|
781
781
|
***
|
|
782
782
|
|
|
@@ -784,7 +784,7 @@ Defined in: [index.ts:104](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
784
784
|
|
|
785
785
|
> **list**: `string`[]
|
|
786
786
|
|
|
787
|
-
Defined in: [index.ts:
|
|
787
|
+
Defined in: [index.ts:105](https://github.com/maiyunnet/kebab/blob/master/index.ts#L105)
|
|
788
788
|
|
|
789
789
|
index/interfaces/IConfigS3.md
|
|
790
790
|
---
|
|
@@ -797,7 +797,7 @@ index/interfaces/IConfigS3.md
|
|
|
797
797
|
|
|
798
798
|
# Interface: IConfigS3
|
|
799
799
|
|
|
800
|
-
Defined in: [index.ts:
|
|
800
|
+
Defined in: [index.ts:110](https://github.com/maiyunnet/kebab/blob/master/index.ts#L110)
|
|
801
801
|
|
|
802
802
|
对象存储
|
|
803
803
|
|
|
@@ -807,7 +807,7 @@ Defined in: [index.ts:108](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
807
807
|
|
|
808
808
|
> `optional` **account**: `string`
|
|
809
809
|
|
|
810
|
-
Defined in: [index.ts:
|
|
810
|
+
Defined in: [index.ts:112](https://github.com/maiyunnet/kebab/blob/master/index.ts#L112)
|
|
811
811
|
|
|
812
812
|
cf r2 要用
|
|
813
813
|
|
|
@@ -817,7 +817,7 @@ cf r2 要用
|
|
|
817
817
|
|
|
818
818
|
> **bucket**: `string`
|
|
819
819
|
|
|
820
|
-
Defined in: [index.ts:
|
|
820
|
+
Defined in: [index.ts:116](https://github.com/maiyunnet/kebab/blob/master/index.ts#L116)
|
|
821
821
|
|
|
822
822
|
***
|
|
823
823
|
|
|
@@ -825,7 +825,7 @@ Defined in: [index.ts:114](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
825
825
|
|
|
826
826
|
> **region**: `string`
|
|
827
827
|
|
|
828
|
-
Defined in: [index.ts:
|
|
828
|
+
Defined in: [index.ts:115](https://github.com/maiyunnet/kebab/blob/master/index.ts#L115)
|
|
829
829
|
|
|
830
830
|
***
|
|
831
831
|
|
|
@@ -833,7 +833,7 @@ Defined in: [index.ts:113](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
833
833
|
|
|
834
834
|
> **sid**: `string`
|
|
835
835
|
|
|
836
|
-
Defined in: [index.ts:
|
|
836
|
+
Defined in: [index.ts:113](https://github.com/maiyunnet/kebab/blob/master/index.ts#L113)
|
|
837
837
|
|
|
838
838
|
***
|
|
839
839
|
|
|
@@ -841,7 +841,7 @@ Defined in: [index.ts:111](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
841
841
|
|
|
842
842
|
> **skey**: `string`
|
|
843
843
|
|
|
844
|
-
Defined in: [index.ts:
|
|
844
|
+
Defined in: [index.ts:114](https://github.com/maiyunnet/kebab/blob/master/index.ts#L114)
|
|
845
845
|
|
|
846
846
|
index/interfaces/IConfigSql.md
|
|
847
847
|
---
|
|
@@ -854,7 +854,7 @@ index/interfaces/IConfigSql.md
|
|
|
854
854
|
|
|
855
855
|
# Interface: IConfigSql
|
|
856
856
|
|
|
857
|
-
Defined in: [index.ts:
|
|
857
|
+
Defined in: [index.ts:187](https://github.com/maiyunnet/kebab/blob/master/index.ts#L187)
|
|
858
858
|
|
|
859
859
|
sql
|
|
860
860
|
|
|
@@ -864,7 +864,7 @@ sql
|
|
|
864
864
|
|
|
865
865
|
> **pre**: `string`
|
|
866
866
|
|
|
867
|
-
Defined in: [index.ts:
|
|
867
|
+
Defined in: [index.ts:188](https://github.com/maiyunnet/kebab/blob/master/index.ts#L188)
|
|
868
868
|
|
|
869
869
|
index/interfaces/IConfigTurnstile.md
|
|
870
870
|
---
|
|
@@ -877,7 +877,7 @@ index/interfaces/IConfigTurnstile.md
|
|
|
877
877
|
|
|
878
878
|
# Interface: IConfigTurnstile
|
|
879
879
|
|
|
880
|
-
Defined in: [index.ts:
|
|
880
|
+
Defined in: [index.ts:136](https://github.com/maiyunnet/kebab/blob/master/index.ts#L136)
|
|
881
881
|
|
|
882
882
|
人机码信息
|
|
883
883
|
|
|
@@ -887,7 +887,7 @@ Defined in: [index.ts:134](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
887
887
|
|
|
888
888
|
> **CF**: `object`
|
|
889
889
|
|
|
890
|
-
Defined in: [index.ts:
|
|
890
|
+
Defined in: [index.ts:137](https://github.com/maiyunnet/kebab/blob/master/index.ts#L137)
|
|
891
891
|
|
|
892
892
|
#### sid
|
|
893
893
|
|
|
@@ -903,7 +903,7 @@ Defined in: [index.ts:135](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
903
903
|
|
|
904
904
|
> **TENCENT**: `object`
|
|
905
905
|
|
|
906
|
-
Defined in: [index.ts:
|
|
906
|
+
Defined in: [index.ts:141](https://github.com/maiyunnet/kebab/blob/master/index.ts#L141)
|
|
907
907
|
|
|
908
908
|
#### aid
|
|
909
909
|
|
|
@@ -932,7 +932,7 @@ index/interfaces/IConfigVector.md
|
|
|
932
932
|
|
|
933
933
|
# Interface: IConfigVector
|
|
934
934
|
|
|
935
|
-
Defined in: [index.ts:
|
|
935
|
+
Defined in: [index.ts:127](https://github.com/maiyunnet/kebab/blob/master/index.ts#L127)
|
|
936
936
|
|
|
937
937
|
向量数据库
|
|
938
938
|
|
|
@@ -942,7 +942,7 @@ Defined in: [index.ts:125](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
942
942
|
|
|
943
943
|
> **host**: `string`
|
|
944
944
|
|
|
945
|
-
Defined in: [index.ts:
|
|
945
|
+
Defined in: [index.ts:128](https://github.com/maiyunnet/kebab/blob/master/index.ts#L128)
|
|
946
946
|
|
|
947
947
|
***
|
|
948
948
|
|
|
@@ -950,7 +950,7 @@ Defined in: [index.ts:126](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
950
950
|
|
|
951
951
|
> **name**: `string`
|
|
952
952
|
|
|
953
|
-
Defined in: [index.ts:
|
|
953
|
+
Defined in: [index.ts:130](https://github.com/maiyunnet/kebab/blob/master/index.ts#L130)
|
|
954
954
|
|
|
955
955
|
***
|
|
956
956
|
|
|
@@ -958,7 +958,7 @@ Defined in: [index.ts:128](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
958
958
|
|
|
959
959
|
> **port**: `number`
|
|
960
960
|
|
|
961
|
-
Defined in: [index.ts:
|
|
961
|
+
Defined in: [index.ts:129](https://github.com/maiyunnet/kebab/blob/master/index.ts#L129)
|
|
962
962
|
|
|
963
963
|
***
|
|
964
964
|
|
|
@@ -966,7 +966,7 @@ Defined in: [index.ts:127](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
966
966
|
|
|
967
967
|
> **pwd**: `string`
|
|
968
968
|
|
|
969
|
-
Defined in: [index.ts:
|
|
969
|
+
Defined in: [index.ts:132](https://github.com/maiyunnet/kebab/blob/master/index.ts#L132)
|
|
970
970
|
|
|
971
971
|
***
|
|
972
972
|
|
|
@@ -974,7 +974,7 @@ Defined in: [index.ts:130](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
974
974
|
|
|
975
975
|
> **user**: `string`
|
|
976
976
|
|
|
977
|
-
Defined in: [index.ts:
|
|
977
|
+
Defined in: [index.ts:131](https://github.com/maiyunnet/kebab/blob/master/index.ts#L131)
|
|
978
978
|
|
|
979
979
|
index/interfaces/IPostFile.md
|
|
980
980
|
---
|
|
@@ -987,7 +987,7 @@ index/interfaces/IPostFile.md
|
|
|
987
987
|
|
|
988
988
|
# Interface: IPostFile
|
|
989
989
|
|
|
990
|
-
Defined in: [index.ts:
|
|
990
|
+
Defined in: [index.ts:239](https://github.com/maiyunnet/kebab/blob/master/index.ts#L239)
|
|
991
991
|
|
|
992
992
|
上传的文件信息对象
|
|
993
993
|
|
|
@@ -997,7 +997,7 @@ Defined in: [index.ts:237](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
997
997
|
|
|
998
998
|
> `readonly` **name**: `string`
|
|
999
999
|
|
|
1000
|
-
Defined in: [index.ts:
|
|
1000
|
+
Defined in: [index.ts:240](https://github.com/maiyunnet/kebab/blob/master/index.ts#L240)
|
|
1001
1001
|
|
|
1002
1002
|
***
|
|
1003
1003
|
|
|
@@ -1005,7 +1005,7 @@ Defined in: [index.ts:238](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1005
1005
|
|
|
1006
1006
|
> `readonly` **origin**: `string`
|
|
1007
1007
|
|
|
1008
|
-
Defined in: [index.ts:
|
|
1008
|
+
Defined in: [index.ts:241](https://github.com/maiyunnet/kebab/blob/master/index.ts#L241)
|
|
1009
1009
|
|
|
1010
1010
|
***
|
|
1011
1011
|
|
|
@@ -1013,7 +1013,7 @@ Defined in: [index.ts:239](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1013
1013
|
|
|
1014
1014
|
> `readonly` **path**: `string`
|
|
1015
1015
|
|
|
1016
|
-
Defined in: [index.ts:
|
|
1016
|
+
Defined in: [index.ts:243](https://github.com/maiyunnet/kebab/blob/master/index.ts#L243)
|
|
1017
1017
|
|
|
1018
1018
|
***
|
|
1019
1019
|
|
|
@@ -1021,7 +1021,7 @@ Defined in: [index.ts:241](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1021
1021
|
|
|
1022
1022
|
> `readonly` **size**: `number`
|
|
1023
1023
|
|
|
1024
|
-
Defined in: [index.ts:
|
|
1024
|
+
Defined in: [index.ts:242](https://github.com/maiyunnet/kebab/blob/master/index.ts#L242)
|
|
1025
1025
|
|
|
1026
1026
|
index/interfaces/IUrlParse.md
|
|
1027
1027
|
---
|
|
@@ -1034,7 +1034,7 @@ index/interfaces/IUrlParse.md
|
|
|
1034
1034
|
|
|
1035
1035
|
# Interface: IUrlParse
|
|
1036
1036
|
|
|
1037
|
-
Defined in: [index.ts:
|
|
1037
|
+
Defined in: [index.ts:89](https://github.com/maiyunnet/kebab/blob/master/index.ts#L89)
|
|
1038
1038
|
|
|
1039
1039
|
## Properties
|
|
1040
1040
|
|
|
@@ -1042,7 +1042,7 @@ Defined in: [index.ts:87](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1042
1042
|
|
|
1043
1043
|
> **auth**: `string` \| `null`
|
|
1044
1044
|
|
|
1045
|
-
Defined in: [index.ts:
|
|
1045
|
+
Defined in: [index.ts:91](https://github.com/maiyunnet/kebab/blob/master/index.ts#L91)
|
|
1046
1046
|
|
|
1047
1047
|
***
|
|
1048
1048
|
|
|
@@ -1050,7 +1050,7 @@ Defined in: [index.ts:89](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1050
1050
|
|
|
1051
1051
|
> **hash**: `string` \| `null`
|
|
1052
1052
|
|
|
1053
|
-
Defined in: [index.ts:
|
|
1053
|
+
Defined in: [index.ts:100](https://github.com/maiyunnet/kebab/blob/master/index.ts#L100)
|
|
1054
1054
|
|
|
1055
1055
|
***
|
|
1056
1056
|
|
|
@@ -1058,7 +1058,7 @@ Defined in: [index.ts:98](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1058
1058
|
|
|
1059
1059
|
> **host**: `string` \| `null`
|
|
1060
1060
|
|
|
1061
|
-
Defined in: [index.ts:
|
|
1061
|
+
Defined in: [index.ts:94](https://github.com/maiyunnet/kebab/blob/master/index.ts#L94)
|
|
1062
1062
|
|
|
1063
1063
|
***
|
|
1064
1064
|
|
|
@@ -1066,7 +1066,7 @@ Defined in: [index.ts:92](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1066
1066
|
|
|
1067
1067
|
> **hostname**: `string` \| `null`
|
|
1068
1068
|
|
|
1069
|
-
Defined in: [index.ts:
|
|
1069
|
+
Defined in: [index.ts:95](https://github.com/maiyunnet/kebab/blob/master/index.ts#L95)
|
|
1070
1070
|
|
|
1071
1071
|
***
|
|
1072
1072
|
|
|
@@ -1074,7 +1074,7 @@ Defined in: [index.ts:93](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1074
1074
|
|
|
1075
1075
|
> **pass**: `string` \| `null`
|
|
1076
1076
|
|
|
1077
|
-
Defined in: [index.ts:
|
|
1077
|
+
Defined in: [index.ts:93](https://github.com/maiyunnet/kebab/blob/master/index.ts#L93)
|
|
1078
1078
|
|
|
1079
1079
|
***
|
|
1080
1080
|
|
|
@@ -1082,7 +1082,7 @@ Defined in: [index.ts:91](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1082
1082
|
|
|
1083
1083
|
> **path**: `string` \| `null`
|
|
1084
1084
|
|
|
1085
|
-
Defined in: [index.ts:
|
|
1085
|
+
Defined in: [index.ts:98](https://github.com/maiyunnet/kebab/blob/master/index.ts#L98)
|
|
1086
1086
|
|
|
1087
1087
|
***
|
|
1088
1088
|
|
|
@@ -1090,7 +1090,7 @@ Defined in: [index.ts:96](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1090
1090
|
|
|
1091
1091
|
> **pathname**: `string`
|
|
1092
1092
|
|
|
1093
|
-
Defined in: [index.ts:
|
|
1093
|
+
Defined in: [index.ts:97](https://github.com/maiyunnet/kebab/blob/master/index.ts#L97)
|
|
1094
1094
|
|
|
1095
1095
|
***
|
|
1096
1096
|
|
|
@@ -1098,7 +1098,7 @@ Defined in: [index.ts:95](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1098
1098
|
|
|
1099
1099
|
> **port**: `string` \| `null`
|
|
1100
1100
|
|
|
1101
|
-
Defined in: [index.ts:
|
|
1101
|
+
Defined in: [index.ts:96](https://github.com/maiyunnet/kebab/blob/master/index.ts#L96)
|
|
1102
1102
|
|
|
1103
1103
|
***
|
|
1104
1104
|
|
|
@@ -1106,7 +1106,7 @@ Defined in: [index.ts:94](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1106
1106
|
|
|
1107
1107
|
> **protocol**: `string` \| `null`
|
|
1108
1108
|
|
|
1109
|
-
Defined in: [index.ts:
|
|
1109
|
+
Defined in: [index.ts:90](https://github.com/maiyunnet/kebab/blob/master/index.ts#L90)
|
|
1110
1110
|
|
|
1111
1111
|
***
|
|
1112
1112
|
|
|
@@ -1114,7 +1114,7 @@ Defined in: [index.ts:88](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1114
1114
|
|
|
1115
1115
|
> **query**: `string` \| `null`
|
|
1116
1116
|
|
|
1117
|
-
Defined in: [index.ts:
|
|
1117
|
+
Defined in: [index.ts:99](https://github.com/maiyunnet/kebab/blob/master/index.ts#L99)
|
|
1118
1118
|
|
|
1119
1119
|
***
|
|
1120
1120
|
|
|
@@ -1122,7 +1122,7 @@ Defined in: [index.ts:97](https://github.com/maiyunnet/kebab/blob/master/index.t
|
|
|
1122
1122
|
|
|
1123
1123
|
> **user**: `string` \| `null`
|
|
1124
1124
|
|
|
1125
|
-
Defined in: [index.ts:
|
|
1125
|
+
Defined in: [index.ts:92](https://github.com/maiyunnet/kebab/blob/master/index.ts#L92)
|
|
1126
1126
|
|
|
1127
1127
|
index/interfaces/IVhost.md
|
|
1128
1128
|
---
|
|
@@ -1135,7 +1135,7 @@ index/interfaces/IVhost.md
|
|
|
1135
1135
|
|
|
1136
1136
|
# Interface: IVhost
|
|
1137
1137
|
|
|
1138
|
-
Defined in: [index.ts:
|
|
1138
|
+
Defined in: [index.ts:231](https://github.com/maiyunnet/kebab/blob/master/index.ts#L231)
|
|
1139
1139
|
|
|
1140
1140
|
虚拟机配置对象
|
|
1141
1141
|
|
|
@@ -1145,7 +1145,7 @@ Defined in: [index.ts:229](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1145
1145
|
|
|
1146
1146
|
> `readonly` **domains**: `string`[]
|
|
1147
1147
|
|
|
1148
|
-
Defined in: [index.ts:
|
|
1148
|
+
Defined in: [index.ts:233](https://github.com/maiyunnet/kebab/blob/master/index.ts#L233)
|
|
1149
1149
|
|
|
1150
1150
|
***
|
|
1151
1151
|
|
|
@@ -1153,7 +1153,7 @@ Defined in: [index.ts:231](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1153
1153
|
|
|
1154
1154
|
> `readonly` `optional` **name**: `string`
|
|
1155
1155
|
|
|
1156
|
-
Defined in: [index.ts:
|
|
1156
|
+
Defined in: [index.ts:232](https://github.com/maiyunnet/kebab/blob/master/index.ts#L232)
|
|
1157
1157
|
|
|
1158
1158
|
***
|
|
1159
1159
|
|
|
@@ -1161,7 +1161,7 @@ Defined in: [index.ts:230](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1161
1161
|
|
|
1162
1162
|
> `readonly` `optional` **remark**: `string`
|
|
1163
1163
|
|
|
1164
|
-
Defined in: [index.ts:
|
|
1164
|
+
Defined in: [index.ts:235](https://github.com/maiyunnet/kebab/blob/master/index.ts#L235)
|
|
1165
1165
|
|
|
1166
1166
|
***
|
|
1167
1167
|
|
|
@@ -1169,7 +1169,7 @@ Defined in: [index.ts:233](https://github.com/maiyunnet/kebab/blob/master/index.
|
|
|
1169
1169
|
|
|
1170
1170
|
> `readonly` **root**: `string`
|
|
1171
1171
|
|
|
1172
|
-
Defined in: [index.ts:
|
|
1172
|
+
Defined in: [index.ts:234](https://github.com/maiyunnet/kebab/blob/master/index.ts#L234)
|
|
1173
1173
|
|
|
1174
1174
|
index/type-aliases/DbValue.md
|
|
1175
1175
|
---
|
|
@@ -1184,7 +1184,7 @@ index/type-aliases/DbValue.md
|
|
|
1184
1184
|
|
|
1185
1185
|
> **DbValue** = `string` \| `number` \| `null` \| `Record`\<`string`, [`Json`](Json.md)\>
|
|
1186
1186
|
|
|
1187
|
-
Defined in: [index.ts:
|
|
1187
|
+
Defined in: [index.ts:49](https://github.com/maiyunnet/kebab/blob/master/index.ts#L49)
|
|
1188
1188
|
|
|
1189
1189
|
数据库值的类型
|
|
1190
1190
|
|
|
@@ -1201,7 +1201,7 @@ index/type-aliases/Json.md
|
|
|
1201
1201
|
|
|
1202
1202
|
> **Json** = `any`
|
|
1203
1203
|
|
|
1204
|
-
Defined in: [index.ts:
|
|
1204
|
+
Defined in: [index.ts:46](https://github.com/maiyunnet/kebab/blob/master/index.ts#L46)
|
|
1205
1205
|
|
|
1206
1206
|
除非确定是不可知的 Json,否则不能使用
|
|
1207
1207
|
|
|
@@ -1218,7 +1218,7 @@ index/variables/CERT_CWD.md
|
|
|
1218
1218
|
|
|
1219
1219
|
> `const` **CERT\_CWD**: `string`
|
|
1220
1220
|
|
|
1221
|
-
Defined in: [index.ts:
|
|
1221
|
+
Defined in: [index.ts:33](https://github.com/maiyunnet/kebab/blob/master/index.ts#L33)
|
|
1222
1222
|
|
|
1223
1223
|
index/variables/CONF_CWD.md
|
|
1224
1224
|
---
|
|
@@ -1233,7 +1233,7 @@ index/variables/CONF_CWD.md
|
|
|
1233
1233
|
|
|
1234
1234
|
> `const` **CONF\_CWD**: `string`
|
|
1235
1235
|
|
|
1236
|
-
Defined in: [index.ts:
|
|
1236
|
+
Defined in: [index.ts:32](https://github.com/maiyunnet/kebab/blob/master/index.ts#L32)
|
|
1237
1237
|
|
|
1238
1238
|
index/variables/FTMP_CWD.md
|
|
1239
1239
|
---
|
|
@@ -1248,7 +1248,7 @@ index/variables/FTMP_CWD.md
|
|
|
1248
1248
|
|
|
1249
1249
|
> `const` **FTMP\_CWD**: `string`
|
|
1250
1250
|
|
|
1251
|
-
Defined in: [index.ts:
|
|
1251
|
+
Defined in: [index.ts:40](https://github.com/maiyunnet/kebab/blob/master/index.ts#L40)
|
|
1252
1252
|
|
|
1253
1253
|
index/variables/IND_CWD.md
|
|
1254
1254
|
---
|
|
@@ -1263,7 +1263,7 @@ index/variables/IND_CWD.md
|
|
|
1263
1263
|
|
|
1264
1264
|
> `const` **IND\_CWD**: `string`
|
|
1265
1265
|
|
|
1266
|
-
Defined in: [index.ts:
|
|
1266
|
+
Defined in: [index.ts:39](https://github.com/maiyunnet/kebab/blob/master/index.ts#L39)
|
|
1267
1267
|
|
|
1268
1268
|
index/variables/LIB_CWD.md
|
|
1269
1269
|
---
|
|
@@ -1278,7 +1278,9 @@ index/variables/LIB_CWD.md
|
|
|
1278
1278
|
|
|
1279
1279
|
> `const` **LIB\_CWD**: `string`
|
|
1280
1280
|
|
|
1281
|
-
Defined in: [index.ts:
|
|
1281
|
+
Defined in: [index.ts:36](https://github.com/maiyunnet/kebab/blob/master/index.ts#L36)
|
|
1282
|
+
|
|
1283
|
+
用户的根 LIB,以 / 结尾
|
|
1282
1284
|
|
|
1283
1285
|
index/variables/LIB_PATH.md
|
|
1284
1286
|
---
|
|
@@ -1293,7 +1295,9 @@ index/variables/LIB_PATH.md
|
|
|
1293
1295
|
|
|
1294
1296
|
> `const` **LIB\_PATH**: `string`
|
|
1295
1297
|
|
|
1296
|
-
Defined in: [index.ts:
|
|
1298
|
+
Defined in: [index.ts:21](https://github.com/maiyunnet/kebab/blob/master/index.ts#L21)
|
|
1299
|
+
|
|
1300
|
+
框架的 LIB,以 / 结尾
|
|
1297
1301
|
|
|
1298
1302
|
index/variables/LOG_CWD.md
|
|
1299
1303
|
---
|
|
@@ -1308,7 +1312,7 @@ index/variables/LOG_CWD.md
|
|
|
1308
1312
|
|
|
1309
1313
|
> `const` **LOG\_CWD**: `string`
|
|
1310
1314
|
|
|
1311
|
-
Defined in: [index.ts:
|
|
1315
|
+
Defined in: [index.ts:37](https://github.com/maiyunnet/kebab/blob/master/index.ts#L37)
|
|
1312
1316
|
|
|
1313
1317
|
index/variables/MOD_CWD.md
|
|
1314
1318
|
---
|
|
@@ -1323,7 +1327,7 @@ index/variables/MOD_CWD.md
|
|
|
1323
1327
|
|
|
1324
1328
|
> `const` **MOD\_CWD**: `string`
|
|
1325
1329
|
|
|
1326
|
-
Defined in: [index.ts:
|
|
1330
|
+
Defined in: [index.ts:41](https://github.com/maiyunnet/kebab/blob/master/index.ts#L41)
|
|
1327
1331
|
|
|
1328
1332
|
index/variables/ROOT_CWD.md
|
|
1329
1333
|
---
|
|
@@ -1338,7 +1342,7 @@ index/variables/ROOT_CWD.md
|
|
|
1338
1342
|
|
|
1339
1343
|
> `const` **ROOT\_CWD**: `string`
|
|
1340
1344
|
|
|
1341
|
-
Defined in: [index.ts:
|
|
1345
|
+
Defined in: [index.ts:31](https://github.com/maiyunnet/kebab/blob/master/index.ts#L31)
|
|
1342
1346
|
|
|
1343
1347
|
执行根目录,以 / 结尾
|
|
1344
1348
|
|
|
@@ -1372,7 +1376,7 @@ index/variables/SYS_PATH.md
|
|
|
1372
1376
|
|
|
1373
1377
|
> `const` **SYS\_PATH**: `string`
|
|
1374
1378
|
|
|
1375
|
-
Defined in: [index.ts:
|
|
1379
|
+
Defined in: [index.ts:22](https://github.com/maiyunnet/kebab/blob/master/index.ts#L22)
|
|
1376
1380
|
|
|
1377
1381
|
index/variables/VER.md
|
|
1378
1382
|
---
|
|
@@ -1385,7 +1389,7 @@ index/variables/VER.md
|
|
|
1385
1389
|
|
|
1386
1390
|
# Variable: VER
|
|
1387
1391
|
|
|
1388
|
-
> `const` **VER**: `"8.1
|
|
1392
|
+
> `const` **VER**: `"8.2.1"` = `'8.2.1'`
|
|
1389
1393
|
|
|
1390
1394
|
Defined in: [index.ts:10](https://github.com/maiyunnet/kebab/blob/master/index.ts#L10)
|
|
1391
1395
|
|
|
@@ -1404,7 +1408,7 @@ index/variables/VHOST_CWD.md
|
|
|
1404
1408
|
|
|
1405
1409
|
> `const` **VHOST\_CWD**: `string`
|
|
1406
1410
|
|
|
1407
|
-
Defined in: [index.ts:
|
|
1411
|
+
Defined in: [index.ts:34](https://github.com/maiyunnet/kebab/blob/master/index.ts#L34)
|
|
1408
1412
|
|
|
1409
1413
|
index/variables/WWW_CWD.md
|
|
1410
1414
|
---
|
|
@@ -1419,7 +1423,7 @@ index/variables/WWW_CWD.md
|
|
|
1419
1423
|
|
|
1420
1424
|
> `const` **WWW\_CWD**: `string`
|
|
1421
1425
|
|
|
1422
|
-
Defined in: [index.ts:
|
|
1426
|
+
Defined in: [index.ts:38](https://github.com/maiyunnet/kebab/blob/master/index.ts#L38)
|
|
1423
1427
|
|
|
1424
1428
|
lib/ai/classes/Ai.md
|
|
1425
1429
|
---
|
|
@@ -1530,7 +1534,7 @@ Defined in: [lib/ai.ts:152](https://github.com/maiyunnet/kebab/blob/master/lib/a
|
|
|
1530
1534
|
|
|
1531
1535
|
> **embedding**(`body`): `Promise`\<`false` \| `APIPromise`\<`CreateEmbeddingResponse`\>\>
|
|
1532
1536
|
|
|
1533
|
-
Defined in: [lib/ai.ts:
|
|
1537
|
+
Defined in: [lib/ai.ts:175](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L175)
|
|
1534
1538
|
|
|
1535
1539
|
创建向量
|
|
1536
1540
|
|
|
@@ -1550,7 +1554,7 @@ Defined in: [lib/ai.ts:172](https://github.com/maiyunnet/kebab/blob/master/lib/a
|
|
|
1550
1554
|
|
|
1551
1555
|
> **image**(`opt`): `Promise`\<`false` \| \{ `list`: `object`[]; `request`: `string`; `seed`: `number`; \}\>
|
|
1552
1556
|
|
|
1553
|
-
Defined in: [lib/ai.ts:
|
|
1557
|
+
Defined in: [lib/ai.ts:191](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L191)
|
|
1554
1558
|
|
|
1555
1559
|
生成图像,不支持 GEMINI、GROK 服务商
|
|
1556
1560
|
|
|
@@ -1612,7 +1616,7 @@ Defined in: [lib/ai.ts:186](https://github.com/maiyunnet/kebab/blob/master/lib/a
|
|
|
1612
1616
|
|
|
1613
1617
|
> **poll**(`opt`): `Promise`\<`false` \| \{ `add?`: `number`; `end?`: `number`; `error?`: `string`; `start?`: `number`; `status`: `"PENDING"` \| `"RUNNING"` \| `"SUCCEEDED"` \| `"FAILED"` \| `"CANCELED"` \| `"UNKNOWN"`; `task`: `string`; `url?`: `string`; \}\>
|
|
1614
1618
|
|
|
1615
|
-
Defined in: [lib/ai.ts:
|
|
1619
|
+
Defined in: [lib/ai.ts:539](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L539)
|
|
1616
1620
|
|
|
1617
1621
|
轮询任务
|
|
1618
1622
|
|
|
@@ -1638,7 +1642,7 @@ Defined in: [lib/ai.ts:534](https://github.com/maiyunnet/kebab/blob/master/lib/a
|
|
|
1638
1642
|
|
|
1639
1643
|
> **video**(`opt`): `Promise`\<`false` \| \{ `request`: `string`; `seed`: `number`; `status`: `"PENDING"` \| `"RUNNING"` \| `"SUCCEEDED"` \| `"FAILED"` \| `"CANCELED"` \| `"UNKNOWN"`; `task`: `string`; \}\>
|
|
1640
1644
|
|
|
1641
|
-
Defined in: [lib/ai.ts:
|
|
1645
|
+
Defined in: [lib/ai.ts:371](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L371)
|
|
1642
1646
|
|
|
1643
1647
|
异步生成视频,仅支持 ALICN、ALIAS
|
|
1644
1648
|
|
|
@@ -1836,7 +1840,7 @@ lib/ai/functions/get.md
|
|
|
1836
1840
|
|
|
1837
1841
|
> **get**(`ctrEtc`, `opt`): [`Ai`](../classes/Ai.md)
|
|
1838
1842
|
|
|
1839
|
-
Defined in: [lib/ai.ts:
|
|
1843
|
+
Defined in: [lib/ai.ts:594](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L594)
|
|
1840
1844
|
|
|
1841
1845
|
创建一个 AI 对象
|
|
1842
1846
|
|
|
@@ -10413,7 +10417,7 @@ lib/net/functions/buildCookieQuery.md
|
|
|
10413
10417
|
|
|
10414
10418
|
> **buildCookieQuery**(`cookie`, `uri`): `string`
|
|
10415
10419
|
|
|
10416
|
-
Defined in: [lib/net.ts:
|
|
10420
|
+
Defined in: [lib/net.ts:628](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L628)
|
|
10417
10421
|
|
|
10418
10422
|
对象转换为 Cookie 拼接字符串(会自动筛掉不能发送的 cookie)
|
|
10419
10423
|
|
|
@@ -10483,7 +10487,7 @@ lib/net/functions/filterHeaders.md
|
|
|
10483
10487
|
|
|
10484
10488
|
> **filterHeaders**(`headers`, `res?`, `filter?`): `Record`\<`string`, `string` \| `string`[]\>
|
|
10485
10489
|
|
|
10486
|
-
Defined in: [lib/net.ts:
|
|
10490
|
+
Defined in: [lib/net.ts:706](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L706)
|
|
10487
10491
|
|
|
10488
10492
|
剔除不代理的 header,返回新的 header
|
|
10489
10493
|
|
|
@@ -10580,7 +10584,7 @@ lib/net/functions/getFormData.md
|
|
|
10580
10584
|
|
|
10581
10585
|
> **getFormData**(): [`FormData`](../formdata/classes/FormData.md)
|
|
10582
10586
|
|
|
10583
|
-
Defined in: [lib/net.ts:
|
|
10587
|
+
Defined in: [lib/net.ts:690](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L690)
|
|
10584
10588
|
|
|
10585
10589
|
创建 FormData 对象
|
|
10586
10590
|
|
|
@@ -10601,7 +10605,7 @@ lib/net/functions/mproxy.md
|
|
|
10601
10605
|
|
|
10602
10606
|
> **mproxy**(`ctr`, `auth`, `opt?`): `Promise`\<`number`\>
|
|
10603
10607
|
|
|
10604
|
-
Defined in: [lib/net.ts:
|
|
10608
|
+
Defined in: [lib/net.ts:742](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L742)
|
|
10605
10609
|
|
|
10606
10610
|
正向 mproxy 代理,注意提前处理不要自动处理 post 数据,读取 get 的 url 为实际请求地址
|
|
10607
10611
|
get: url, auth
|
|
@@ -10643,7 +10647,7 @@ lib/net/functions/mproxyData.md
|
|
|
10643
10647
|
|
|
10644
10648
|
> **mproxyData**(`ctr`): `any`
|
|
10645
10649
|
|
|
10646
|
-
Defined in: [lib/net.ts:
|
|
10650
|
+
Defined in: [lib/net.ts:791](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L791)
|
|
10647
10651
|
|
|
10648
10652
|
获取 mproxy 的附加数据
|
|
10649
10653
|
|
|
@@ -10861,7 +10865,7 @@ lib/net/functions/resetCookieSession.md
|
|
|
10861
10865
|
|
|
10862
10866
|
> **resetCookieSession**(`cookie`): `void`
|
|
10863
10867
|
|
|
10864
|
-
Defined in: [lib/net.ts:
|
|
10868
|
+
Defined in: [lib/net.ts:678](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L678)
|
|
10865
10869
|
|
|
10866
10870
|
模拟重启浏览器后的状态
|
|
10867
10871
|
|
|
@@ -10890,7 +10894,7 @@ lib/net/functions/rproxy.md
|
|
|
10890
10894
|
|
|
10891
10895
|
> **rproxy**(`ctr`, `route`, `opt?`): `Promise`\<`boolean`\>
|
|
10892
10896
|
|
|
10893
|
-
Defined in: [lib/net.ts:
|
|
10897
|
+
Defined in: [lib/net.ts:809](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L809)
|
|
10894
10898
|
|
|
10895
10899
|
反向代理,注意提前处理不要自动处理 post 数据,将本服务器的某个路由反代到其他网址
|
|
10896
10900
|
|
|
@@ -11037,7 +11041,7 @@ lib/net/interfaces/ICookie.md
|
|
|
11037
11041
|
|
|
11038
11042
|
# Interface: ICookie
|
|
11039
11043
|
|
|
11040
|
-
Defined in: [lib/net.ts:
|
|
11044
|
+
Defined in: [lib/net.ts:934](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L934)
|
|
11041
11045
|
|
|
11042
11046
|
Net Cookie 对象
|
|
11043
11047
|
|
|
@@ -11047,7 +11051,7 @@ Net Cookie 对象
|
|
|
11047
11051
|
|
|
11048
11052
|
> **domain**: `string`
|
|
11049
11053
|
|
|
11050
|
-
Defined in: [lib/net.ts:
|
|
11054
|
+
Defined in: [lib/net.ts:940](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L940)
|
|
11051
11055
|
|
|
11052
11056
|
***
|
|
11053
11057
|
|
|
@@ -11055,7 +11059,7 @@ Defined in: [lib/net.ts:916](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11055
11059
|
|
|
11056
11060
|
> **exp**: `number`
|
|
11057
11061
|
|
|
11058
|
-
Defined in: [lib/net.ts:
|
|
11062
|
+
Defined in: [lib/net.ts:938](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L938)
|
|
11059
11063
|
|
|
11060
11064
|
有效期秒级时间戳
|
|
11061
11065
|
|
|
@@ -11065,7 +11069,7 @@ Defined in: [lib/net.ts:914](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11065
11069
|
|
|
11066
11070
|
> **httponly**: `boolean`
|
|
11067
11071
|
|
|
11068
|
-
Defined in: [lib/net.ts:
|
|
11072
|
+
Defined in: [lib/net.ts:942](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L942)
|
|
11069
11073
|
|
|
11070
11074
|
***
|
|
11071
11075
|
|
|
@@ -11073,7 +11077,7 @@ Defined in: [lib/net.ts:918](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11073
11077
|
|
|
11074
11078
|
> **name**: `string`
|
|
11075
11079
|
|
|
11076
|
-
Defined in: [lib/net.ts:
|
|
11080
|
+
Defined in: [lib/net.ts:935](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L935)
|
|
11077
11081
|
|
|
11078
11082
|
***
|
|
11079
11083
|
|
|
@@ -11081,7 +11085,7 @@ Defined in: [lib/net.ts:911](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11081
11085
|
|
|
11082
11086
|
> **path**: `string`
|
|
11083
11087
|
|
|
11084
|
-
Defined in: [lib/net.ts:
|
|
11088
|
+
Defined in: [lib/net.ts:939](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L939)
|
|
11085
11089
|
|
|
11086
11090
|
***
|
|
11087
11091
|
|
|
@@ -11089,7 +11093,7 @@ Defined in: [lib/net.ts:915](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11089
11093
|
|
|
11090
11094
|
> **secure**: `boolean`
|
|
11091
11095
|
|
|
11092
|
-
Defined in: [lib/net.ts:
|
|
11096
|
+
Defined in: [lib/net.ts:941](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L941)
|
|
11093
11097
|
|
|
11094
11098
|
***
|
|
11095
11099
|
|
|
@@ -11097,7 +11101,7 @@ Defined in: [lib/net.ts:917](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11097
11101
|
|
|
11098
11102
|
> **value**: `string`
|
|
11099
11103
|
|
|
11100
|
-
Defined in: [lib/net.ts:
|
|
11104
|
+
Defined in: [lib/net.ts:936](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L936)
|
|
11101
11105
|
|
|
11102
11106
|
lib/net/interfaces/IMproxyOptions.md
|
|
11103
11107
|
---
|
|
@@ -11110,7 +11114,7 @@ lib/net/interfaces/IMproxyOptions.md
|
|
|
11110
11114
|
|
|
11111
11115
|
# Interface: IMproxyOptions
|
|
11112
11116
|
|
|
11113
|
-
Defined in: [lib/net.ts:
|
|
11117
|
+
Defined in: [lib/net.ts:889](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L889)
|
|
11114
11118
|
|
|
11115
11119
|
正向代理请求的传入参数选项
|
|
11116
11120
|
|
|
@@ -11120,7 +11124,7 @@ Defined in: [lib/net.ts:865](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11120
11124
|
|
|
11121
11125
|
> `optional` **filter**: (`h`) => `boolean`
|
|
11122
11126
|
|
|
11123
|
-
Defined in: [lib/net.ts:
|
|
11127
|
+
Defined in: [lib/net.ts:898](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L898)
|
|
11124
11128
|
|
|
11125
11129
|
过滤 header,返回 true 则留下
|
|
11126
11130
|
|
|
@@ -11140,7 +11144,7 @@ Defined in: [lib/net.ts:874](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11140
11144
|
|
|
11141
11145
|
> `optional` **follow**: `number`
|
|
11142
11146
|
|
|
11143
|
-
Defined in: [lib/net.ts:
|
|
11147
|
+
Defined in: [lib/net.ts:892](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L892)
|
|
11144
11148
|
|
|
11145
11149
|
***
|
|
11146
11150
|
|
|
@@ -11148,7 +11152,7 @@ Defined in: [lib/net.ts:868](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11148
11152
|
|
|
11149
11153
|
> `optional` **headers**: [`THttpHeaders`](../type-aliases/THttpHeaders.md)
|
|
11150
11154
|
|
|
11151
|
-
Defined in: [lib/net.ts:
|
|
11155
|
+
Defined in: [lib/net.ts:896](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L896)
|
|
11152
11156
|
|
|
11153
11157
|
***
|
|
11154
11158
|
|
|
@@ -11156,7 +11160,7 @@ Defined in: [lib/net.ts:872](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11156
11160
|
|
|
11157
11161
|
> `optional` **hosts**: `string` \| `Record`\<`string`, `string`\>
|
|
11158
11162
|
|
|
11159
|
-
Defined in: [lib/net.ts:
|
|
11163
|
+
Defined in: [lib/net.ts:894](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L894)
|
|
11160
11164
|
|
|
11161
11165
|
自定义 host 映射,如 {'www.maiyun.net': '127.0.0.1'},或全部映射到一个 host
|
|
11162
11166
|
|
|
@@ -11166,7 +11170,7 @@ Defined in: [lib/net.ts:870](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11166
11170
|
|
|
11167
11171
|
> `optional` **local**: `string`
|
|
11168
11172
|
|
|
11169
|
-
Defined in: [lib/net.ts:
|
|
11173
|
+
Defined in: [lib/net.ts:895](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L895)
|
|
11170
11174
|
|
|
11171
11175
|
***
|
|
11172
11176
|
|
|
@@ -11174,7 +11178,7 @@ Defined in: [lib/net.ts:871](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11174
11178
|
|
|
11175
11179
|
> `optional` **reuse**: `string`
|
|
11176
11180
|
|
|
11177
|
-
Defined in: [lib/net.ts:
|
|
11181
|
+
Defined in: [lib/net.ts:900](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L900)
|
|
11178
11182
|
|
|
11179
11183
|
默认为 default
|
|
11180
11184
|
|
|
@@ -11184,7 +11188,7 @@ Defined in: [lib/net.ts:876](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11184
11188
|
|
|
11185
11189
|
> `optional` **timeout**: `number`
|
|
11186
11190
|
|
|
11187
|
-
Defined in: [lib/net.ts:
|
|
11191
|
+
Defined in: [lib/net.ts:891](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L891)
|
|
11188
11192
|
|
|
11189
11193
|
秒数
|
|
11190
11194
|
|
|
@@ -11199,7 +11203,7 @@ lib/net/interfaces/IRequestOptions.md
|
|
|
11199
11203
|
|
|
11200
11204
|
# Interface: IRequestOptions
|
|
11201
11205
|
|
|
11202
|
-
Defined in: [lib/net.ts:
|
|
11206
|
+
Defined in: [lib/net.ts:862](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L862)
|
|
11203
11207
|
|
|
11204
11208
|
请求的传入参数选项
|
|
11205
11209
|
|
|
@@ -11209,7 +11213,7 @@ Defined in: [lib/net.ts:838](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11209
11213
|
|
|
11210
11214
|
> `optional` **cookie**: `Record`\<`string`, [`ICookie`](ICookie.md)\>
|
|
11211
11215
|
|
|
11212
|
-
Defined in: [lib/net.ts:
|
|
11216
|
+
Defined in: [lib/net.ts:885](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L885)
|
|
11213
11217
|
|
|
11214
11218
|
cookie 托管对象
|
|
11215
11219
|
|
|
@@ -11219,7 +11223,7 @@ cookie 托管对象
|
|
|
11219
11223
|
|
|
11220
11224
|
> `optional` **follow**: `number`
|
|
11221
11225
|
|
|
11222
|
-
Defined in: [lib/net.ts:
|
|
11226
|
+
Defined in: [lib/net.ts:868](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L868)
|
|
11223
11227
|
|
|
11224
11228
|
追踪 location 次数,0 为不追踪,默认为 0
|
|
11225
11229
|
|
|
@@ -11229,7 +11233,7 @@ Defined in: [lib/net.ts:844](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11229
11233
|
|
|
11230
11234
|
> `optional` **headers**: [`THttpHeaders`](../type-aliases/THttpHeaders.md)
|
|
11231
11235
|
|
|
11232
|
-
Defined in: [lib/net.ts:
|
|
11236
|
+
Defined in: [lib/net.ts:873](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L873)
|
|
11233
11237
|
|
|
11234
11238
|
***
|
|
11235
11239
|
|
|
@@ -11237,7 +11241,7 @@ Defined in: [lib/net.ts:849](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11237
11241
|
|
|
11238
11242
|
> `optional` **hosts**: `string` \| `Record`\<`string`, `string`\>
|
|
11239
11243
|
|
|
11240
|
-
Defined in: [lib/net.ts:
|
|
11244
|
+
Defined in: [lib/net.ts:870](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L870)
|
|
11241
11245
|
|
|
11242
11246
|
自定义 host 映射,如 {'www.maiyun.net': '127.0.0.1'},或全部映射到一个 host
|
|
11243
11247
|
|
|
@@ -11247,7 +11251,7 @@ Defined in: [lib/net.ts:846](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11247
11251
|
|
|
11248
11252
|
> `optional` **keep**: `boolean`
|
|
11249
11253
|
|
|
11250
|
-
Defined in: [lib/net.ts:
|
|
11254
|
+
Defined in: [lib/net.ts:881](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L881)
|
|
11251
11255
|
|
|
11252
11256
|
连接是否保持长连接(即是否允许复用),默认为 true
|
|
11253
11257
|
|
|
@@ -11257,7 +11261,7 @@ Defined in: [lib/net.ts:857](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11257
11261
|
|
|
11258
11262
|
> `optional` **local**: `string`
|
|
11259
11263
|
|
|
11260
|
-
Defined in: [lib/net.ts:
|
|
11264
|
+
Defined in: [lib/net.ts:872](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L872)
|
|
11261
11265
|
|
|
11262
11266
|
***
|
|
11263
11267
|
|
|
@@ -11265,7 +11269,7 @@ Defined in: [lib/net.ts:848](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11265
11269
|
|
|
11266
11270
|
> `optional` **method**: `"GET"` \| `"POST"` \| `"PUT"` \| `"DELETE"` \| `"OPTIONS"`
|
|
11267
11271
|
|
|
11268
|
-
Defined in: [lib/net.ts:
|
|
11272
|
+
Defined in: [lib/net.ts:863](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L863)
|
|
11269
11273
|
|
|
11270
11274
|
***
|
|
11271
11275
|
|
|
@@ -11273,7 +11277,7 @@ Defined in: [lib/net.ts:839](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11273
11277
|
|
|
11274
11278
|
> `optional` **mproxy**: `object`
|
|
11275
11279
|
|
|
11276
|
-
Defined in: [lib/net.ts:
|
|
11280
|
+
Defined in: [lib/net.ts:875](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L875)
|
|
11277
11281
|
|
|
11278
11282
|
正向 mproxy 代理,url 如 https://xxx/abc
|
|
11279
11283
|
|
|
@@ -11295,7 +11299,7 @@ Defined in: [lib/net.ts:851](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11295
11299
|
|
|
11296
11300
|
> `optional` **reuse**: `string`
|
|
11297
11301
|
|
|
11298
|
-
Defined in: [lib/net.ts:
|
|
11302
|
+
Defined in: [lib/net.ts:883](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L883)
|
|
11299
11303
|
|
|
11300
11304
|
复用池名,默认为 default
|
|
11301
11305
|
|
|
@@ -11305,7 +11309,7 @@ Defined in: [lib/net.ts:859](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11305
11309
|
|
|
11306
11310
|
> `optional` **save**: `string`
|
|
11307
11311
|
|
|
11308
|
-
Defined in: [lib/net.ts:
|
|
11312
|
+
Defined in: [lib/net.ts:871](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L871)
|
|
11309
11313
|
|
|
11310
11314
|
***
|
|
11311
11315
|
|
|
@@ -11313,7 +11317,7 @@ Defined in: [lib/net.ts:847](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11313
11317
|
|
|
11314
11318
|
> `optional` **timeout**: `number`
|
|
11315
11319
|
|
|
11316
|
-
Defined in: [lib/net.ts:
|
|
11320
|
+
Defined in: [lib/net.ts:866](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L866)
|
|
11317
11321
|
|
|
11318
11322
|
秒数
|
|
11319
11323
|
|
|
@@ -11323,7 +11327,7 @@ Defined in: [lib/net.ts:842](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11323
11327
|
|
|
11324
11328
|
> `optional` **type**: `"form"` \| `"json"`
|
|
11325
11329
|
|
|
11326
|
-
Defined in: [lib/net.ts:
|
|
11330
|
+
Defined in: [lib/net.ts:864](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L864)
|
|
11327
11331
|
|
|
11328
11332
|
lib/net/interfaces/IRproxyOptions.md
|
|
11329
11333
|
---
|
|
@@ -11336,7 +11340,7 @@ lib/net/interfaces/IRproxyOptions.md
|
|
|
11336
11340
|
|
|
11337
11341
|
# Interface: IRproxyOptions
|
|
11338
11342
|
|
|
11339
|
-
Defined in: [lib/net.ts:
|
|
11343
|
+
Defined in: [lib/net.ts:904](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L904)
|
|
11340
11344
|
|
|
11341
11345
|
反向代理请求的传入参数选项
|
|
11342
11346
|
|
|
@@ -11346,7 +11350,7 @@ Defined in: [lib/net.ts:880](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11346
11350
|
|
|
11347
11351
|
> `optional` **filter**: (`h`) => `boolean`
|
|
11348
11352
|
|
|
11349
|
-
Defined in: [lib/net.ts:
|
|
11353
|
+
Defined in: [lib/net.ts:913](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L913)
|
|
11350
11354
|
|
|
11351
11355
|
过滤 header,返回 true 则留下
|
|
11352
11356
|
|
|
@@ -11366,7 +11370,7 @@ Defined in: [lib/net.ts:889](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11366
11370
|
|
|
11367
11371
|
> `optional` **follow**: `number`
|
|
11368
11372
|
|
|
11369
|
-
Defined in: [lib/net.ts:
|
|
11373
|
+
Defined in: [lib/net.ts:907](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L907)
|
|
11370
11374
|
|
|
11371
11375
|
***
|
|
11372
11376
|
|
|
@@ -11374,7 +11378,7 @@ Defined in: [lib/net.ts:883](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11374
11378
|
|
|
11375
11379
|
> `optional` **headers**: [`THttpHeaders`](../type-aliases/THttpHeaders.md)
|
|
11376
11380
|
|
|
11377
|
-
Defined in: [lib/net.ts:
|
|
11381
|
+
Defined in: [lib/net.ts:911](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L911)
|
|
11378
11382
|
|
|
11379
11383
|
***
|
|
11380
11384
|
|
|
@@ -11382,7 +11386,7 @@ Defined in: [lib/net.ts:887](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11382
11386
|
|
|
11383
11387
|
> `optional` **hosts**: `string` \| `Record`\<`string`, `string`\>
|
|
11384
11388
|
|
|
11385
|
-
Defined in: [lib/net.ts:
|
|
11389
|
+
Defined in: [lib/net.ts:909](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L909)
|
|
11386
11390
|
|
|
11387
11391
|
自定义 host 映射,如 {'www.maiyun.net': '127.0.0.1'},或全部映射到一个 host
|
|
11388
11392
|
|
|
@@ -11392,7 +11396,7 @@ Defined in: [lib/net.ts:885](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11392
11396
|
|
|
11393
11397
|
> `optional` **local**: `string`
|
|
11394
11398
|
|
|
11395
|
-
Defined in: [lib/net.ts:
|
|
11399
|
+
Defined in: [lib/net.ts:910](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L910)
|
|
11396
11400
|
|
|
11397
11401
|
***
|
|
11398
11402
|
|
|
@@ -11400,7 +11404,7 @@ Defined in: [lib/net.ts:886](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11400
11404
|
|
|
11401
11405
|
> `optional` **mproxy**: `object`
|
|
11402
11406
|
|
|
11403
|
-
Defined in: [lib/net.ts:
|
|
11407
|
+
Defined in: [lib/net.ts:915](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L915)
|
|
11404
11408
|
|
|
11405
11409
|
正向 mproxy 代理,url 如 https://xxx/abc
|
|
11406
11410
|
|
|
@@ -11422,7 +11426,7 @@ Defined in: [lib/net.ts:891](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11422
11426
|
|
|
11423
11427
|
> `optional` **reuse**: `string`
|
|
11424
11428
|
|
|
11425
|
-
Defined in: [lib/net.ts:
|
|
11429
|
+
Defined in: [lib/net.ts:921](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L921)
|
|
11426
11430
|
|
|
11427
11431
|
默认为 default
|
|
11428
11432
|
|
|
@@ -11432,7 +11436,7 @@ Defined in: [lib/net.ts:897](https://github.com/maiyunnet/kebab/blob/master/lib/
|
|
|
11432
11436
|
|
|
11433
11437
|
> `optional` **timeout**: `number`
|
|
11434
11438
|
|
|
11435
|
-
Defined in: [lib/net.ts:
|
|
11439
|
+
Defined in: [lib/net.ts:906](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L906)
|
|
11436
11440
|
|
|
11437
11441
|
秒数
|
|
11438
11442
|
|
|
@@ -11893,7 +11897,7 @@ lib/net/type-aliases/THttpHeaders.md
|
|
|
11893
11897
|
|
|
11894
11898
|
> **THttpHeaders** = `http.IncomingHttpHeaders` & `object`
|
|
11895
11899
|
|
|
11896
|
-
Defined in: [lib/net.ts:
|
|
11900
|
+
Defined in: [lib/net.ts:926](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L926)
|
|
11897
11901
|
|
|
11898
11902
|
http headers
|
|
11899
11903
|
|
|
@@ -12710,7 +12714,7 @@ lib/session/classes/Session.md
|
|
|
12710
12714
|
|
|
12711
12715
|
# Class: Session
|
|
12712
12716
|
|
|
12713
|
-
Defined in: [lib/session.ts:
|
|
12717
|
+
Defined in: [lib/session.ts:38](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L38)
|
|
12714
12718
|
|
|
12715
12719
|
## Constructors
|
|
12716
12720
|
|
|
@@ -12728,7 +12732,7 @@ Defined in: [lib/session.ts:37](https://github.com/maiyunnet/kebab/blob/master/l
|
|
|
12728
12732
|
|
|
12729
12733
|
> **getName**(): `string`
|
|
12730
12734
|
|
|
12731
|
-
Defined in: [lib/session.ts:
|
|
12735
|
+
Defined in: [lib/session.ts:203](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L203)
|
|
12732
12736
|
|
|
12733
12737
|
获取当前的 cookie 的 name 值
|
|
12734
12738
|
|
|
@@ -12742,7 +12746,7 @@ Defined in: [lib/session.ts:201](https://github.com/maiyunnet/kebab/blob/master/
|
|
|
12742
12746
|
|
|
12743
12747
|
> **getToken**(): `string`
|
|
12744
12748
|
|
|
12745
|
-
Defined in: [lib/session.ts:
|
|
12749
|
+
Defined in: [lib/session.ts:196](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L196)
|
|
12746
12750
|
|
|
12747
12751
|
获取当前的 token 值
|
|
12748
12752
|
|
|
@@ -12756,7 +12760,7 @@ Defined in: [lib/session.ts:194](https://github.com/maiyunnet/kebab/blob/master/
|
|
|
12756
12760
|
|
|
12757
12761
|
> **init**(`ctr`, `link`, `auth?`, `opt?`): `Promise`\<`boolean`\>
|
|
12758
12762
|
|
|
12759
|
-
Defined in: [lib/session.ts:
|
|
12763
|
+
Defined in: [lib/session.ts:66](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L66)
|
|
12760
12764
|
|
|
12761
12765
|
初始化函数,相当于 construct
|
|
12762
12766
|
|
|
@@ -12798,7 +12802,7 @@ false 表示系统错误
|
|
|
12798
12802
|
|
|
12799
12803
|
> **update**(): `Promise`\<`void`\>
|
|
12800
12804
|
|
|
12801
|
-
Defined in: [lib/session.ts:
|
|
12805
|
+
Defined in: [lib/session.ts:210](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L210)
|
|
12802
12806
|
|
|
12803
12807
|
页面整体结束时,要写入到 Kv 或 数据库
|
|
12804
12808
|
|
|
@@ -12840,6 +12844,14 @@ Defined in: [lib/session.ts:30](https://github.com/maiyunnet/kebab/blob/master/l
|
|
|
12840
12844
|
|
|
12841
12845
|
## Properties
|
|
12842
12846
|
|
|
12847
|
+
### domain?
|
|
12848
|
+
|
|
12849
|
+
> `optional` **domain**: `string`
|
|
12850
|
+
|
|
12851
|
+
Defined in: [lib/session.ts:34](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L34)
|
|
12852
|
+
|
|
12853
|
+
***
|
|
12854
|
+
|
|
12843
12855
|
### name?
|
|
12844
12856
|
|
|
12845
12857
|
> `optional` **name**: `string`
|
|
@@ -12852,7 +12864,7 @@ Defined in: [lib/session.ts:31](https://github.com/maiyunnet/kebab/blob/master/l
|
|
|
12852
12864
|
|
|
12853
12865
|
> `optional` **sqlPre**: `string`
|
|
12854
12866
|
|
|
12855
|
-
Defined in: [lib/session.ts:
|
|
12867
|
+
Defined in: [lib/session.ts:35](https://github.com/maiyunnet/kebab/blob/master/lib/session.ts#L35)
|
|
12856
12868
|
|
|
12857
12869
|
***
|
|
12858
12870
|
|
|
@@ -16527,7 +16539,7 @@ lib/time/functions/format.md
|
|
|
16527
16539
|
|
|
16528
16540
|
> **format**(`zone`, `f`, `date?`): `string`
|
|
16529
16541
|
|
|
16530
|
-
Defined in: [lib/time.ts:
|
|
16542
|
+
Defined in: [lib/time.ts:167](https://github.com/maiyunnet/kebab/blob/master/lib/time.ts#L167)
|
|
16531
16543
|
|
|
16532
16544
|
将时间对象转换为时间字符串
|
|
16533
16545
|
|
|
@@ -16599,7 +16611,7 @@ lib/time/functions/isMs.md
|
|
|
16599
16611
|
|
|
16600
16612
|
> **isMs**(`time`): `boolean`
|
|
16601
16613
|
|
|
16602
|
-
Defined in: [lib/time.ts:
|
|
16614
|
+
Defined in: [lib/time.ts:157](https://github.com/maiyunnet/kebab/blob/master/lib/time.ts#L157)
|
|
16603
16615
|
|
|
16604
16616
|
是否是毫秒
|
|
16605
16617
|
|