@maiyunnet/kebab 7.6.1 → 7.6.2
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 +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/doc/README.sc.md +0 -201
- package/doc/README.tc.md +0 -203
- package/doc/icon.png +0 -0
- package/doc/sc/api/index/index.md +0 -47
- package/doc/sc/api/index/interfaces/IConfig.md +0 -165
- package/doc/sc/api/index/interfaces/IConfigAi.md +0 -29
- package/doc/sc/api/index/interfaces/IConfigConst.md +0 -201
- package/doc/sc/api/index/interfaces/IConfigDb.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigDns.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigJwt.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigKv.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigLang.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigS3.md +0 -53
- package/doc/sc/api/index/interfaces/IConfigSql.md +0 -19
- package/doc/sc/api/index/interfaces/IConfigTurnstile.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigVector.md +0 -51
- package/doc/sc/api/index/interfaces/IPostFile.md +0 -43
- package/doc/sc/api/index/interfaces/IUrlParse.md +0 -97
- package/doc/sc/api/index/interfaces/IVhost.md +0 -43
- package/doc/sc/api/index/type-aliases/DbValue.md +0 -13
- package/doc/sc/api/index/type-aliases/Json.md +0 -13
- package/doc/sc/api/index/variables/CERT_CWD.md +0 -11
- package/doc/sc/api/index/variables/CONF_CWD.md +0 -11
- package/doc/sc/api/index/variables/FTMP_CWD.md +0 -11
- package/doc/sc/api/index/variables/IND_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_PATH.md +0 -11
- package/doc/sc/api/index/variables/LOG_CWD.md +0 -11
- package/doc/sc/api/index/variables/MOD_CWD.md +0 -11
- package/doc/sc/api/index/variables/ROOT_CWD.md +0 -13
- package/doc/sc/api/index/variables/ROOT_PATH.md +0 -13
- package/doc/sc/api/index/variables/SYS_PATH.md +0 -11
- package/doc/sc/api/index/variables/VER.md +0 -13
- package/doc/sc/api/index/variables/VHOST_CWD.md +0 -11
- package/doc/sc/api/index/variables/WWW_CWD.md +0 -11
- package/doc/sc/api/index.md +0 -48
- package/doc/sc/api/lib/ai/classes/Ai.md +0 -103
- package/doc/sc/api/lib/ai/enumerations/ESERVICE.md +0 -61
- package/doc/sc/api/lib/ai/functions/get.md +0 -29
- package/doc/sc/api/lib/ai/index.md +0 -23
- package/doc/sc/api/lib/ai/interfaces/IOptions.md +0 -65
- package/doc/sc/api/lib/buffer/classes/Reader.md +0 -177
- package/doc/sc/api/lib/buffer/classes/Writer.md +0 -147
- package/doc/sc/api/lib/buffer/functions/getReader.md +0 -25
- package/doc/sc/api/lib/buffer/functions/getWriter.md +0 -25
- package/doc/sc/api/lib/buffer/index.md +0 -17
- package/doc/sc/api/lib/captcha/classes/Captcha.md +0 -79
- package/doc/sc/api/lib/captcha/functions/get.md +0 -37
- package/doc/sc/api/lib/captcha/index.md +0 -15
- package/doc/sc/api/lib/consistent/classes/Consistent.md +0 -135
- package/doc/sc/api/lib/consistent/functions/addToCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/fast.md +0 -37
- package/doc/sc/api/lib/consistent/functions/findInCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/get.md +0 -21
- package/doc/sc/api/lib/consistent/functions/getRange.md +0 -37
- package/doc/sc/api/lib/consistent/functions/hash.md +0 -25
- package/doc/sc/api/lib/consistent/index.md +0 -20
- package/doc/sc/api/lib/core/functions/checkType.md +0 -37
- package/doc/sc/api/lib/core/functions/clone.md +0 -31
- package/doc/sc/api/lib/core/functions/convert62.md +0 -25
- package/doc/sc/api/lib/core/functions/debug.md +0 -31
- package/doc/sc/api/lib/core/functions/display.md +0 -31
- package/doc/sc/api/lib/core/functions/emptyObject.md +0 -31
- package/doc/sc/api/lib/core/functions/exec.md +0 -31
- package/doc/sc/api/lib/core/functions/getLog.md +0 -71
- package/doc/sc/api/lib/core/functions/ip.md +0 -27
- package/doc/sc/api/lib/core/functions/log.md +0 -37
- package/doc/sc/api/lib/core/functions/ls.md +0 -39
- package/doc/sc/api/lib/core/functions/muid.md +0 -59
- package/doc/sc/api/lib/core/functions/objectSort.md +0 -31
- package/doc/sc/api/lib/core/functions/passThroughAppend.md +0 -37
- package/doc/sc/api/lib/core/functions/purify.md +0 -25
- package/doc/sc/api/lib/core/functions/rand.md +0 -37
- package/doc/sc/api/lib/core/functions/random.md +0 -37
- package/doc/sc/api/lib/core/functions/realIP.md +0 -29
- package/doc/sc/api/lib/core/functions/removeGlobal.md +0 -31
- package/doc/sc/api/lib/core/functions/sendNpm.md +0 -31
- package/doc/sc/api/lib/core/functions/sendPm2.md +0 -37
- package/doc/sc/api/lib/core/functions/sendReload.md +0 -24
- package/doc/sc/api/lib/core/functions/sendRestart.md +0 -24
- package/doc/sc/api/lib/core/functions/setCookie.md +0 -43
- package/doc/sc/api/lib/core/functions/setGlobal.md +0 -37
- package/doc/sc/api/lib/core/functions/sleep.md +0 -25
- package/doc/sc/api/lib/core/functions/unconvert62.md +0 -25
- package/doc/sc/api/lib/core/functions/updateCode.md +0 -49
- package/doc/sc/api/lib/core/functions/write.md +0 -31
- package/doc/sc/api/lib/core/functions/writeEventStreamHead.md +0 -21
- package/doc/sc/api/lib/core/functions/writeHead.md +0 -37
- package/doc/sc/api/lib/core/index.md +0 -66
- package/doc/sc/api/lib/core/interfaces/ICookieOptions.md +0 -59
- package/doc/sc/api/lib/core/interfaces/ILogOptions.md +0 -75
- package/doc/sc/api/lib/core/type-aliases/TPm2Action.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_L.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LU.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUNS.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_N.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_U.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_UN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_V.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_CF.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_X.md +0 -13
- package/doc/sc/api/lib/core/variables/global.md +0 -13
- package/doc/sc/api/lib/core/variables/globalConfig.md +0 -47
- package/doc/sc/api/lib/cron/functions/getRegulars.md +0 -17
- package/doc/sc/api/lib/cron/functions/regular.md +0 -31
- package/doc/sc/api/lib/cron/index.md +0 -17
- package/doc/sc/api/lib/cron/interfaces/IRegular.md +0 -59
- package/doc/sc/api/lib/cron/interfaces/IRegularData.md +0 -101
- package/doc/sc/api/lib/crypto/functions/aesDecrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/aesEncrypt.md +0 -95
- package/doc/sc/api/lib/crypto/functions/base64Decode.md +0 -59
- package/doc/sc/api/lib/crypto/functions/base64Encode.md +0 -25
- package/doc/sc/api/lib/crypto/functions/cipherDecrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/cipherEncrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/gcmDecrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/gcmEncrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/generateKeyPair.md +0 -61
- package/doc/sc/api/lib/crypto/functions/hashHmac.md +0 -79
- package/doc/sc/api/lib/crypto/functions/hashHmacFile.md +0 -79
- package/doc/sc/api/lib/crypto/functions/privateDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/privateEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/sign.md +0 -83
- package/doc/sc/api/lib/crypto/functions/sm4Decrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/sm4Encrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/uuid.md +0 -25
- package/doc/sc/api/lib/crypto/functions/verify.md +0 -43
- package/doc/sc/api/lib/crypto/index.md +0 -40
- package/doc/sc/api/lib/crypto/variables/AES_256_CBC.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_CTR.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_ECB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_GCM.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_CBC.md +0 -11
- package/doc/sc/api/lib/crypto/variables/SM4_CFB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_ECB.md +0 -13
- package/doc/sc/api/lib/db/conn/classes/Connection.md +0 -315
- package/doc/sc/api/lib/db/conn/index.md +0 -11
- package/doc/sc/api/lib/db/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/db/functions/get.md +0 -37
- package/doc/sc/api/lib/db/index.md +0 -50
- package/doc/sc/api/lib/db/interfaces/IData.md +0 -57
- package/doc/sc/api/lib/db/interfaces/IPacket.md +0 -75
- package/doc/sc/api/lib/db/pool/classes/Pool.md +0 -143
- package/doc/sc/api/lib/db/pool/functions/getConnectionList.md +0 -17
- package/doc/sc/api/lib/db/pool/index.md +0 -19
- package/doc/sc/api/lib/db/pool/interfaces/IConnectionInfo.md +0 -91
- package/doc/sc/api/lib/db/tran/classes/Transaction.md +0 -137
- package/doc/sc/api/lib/db/tran/index.md +0 -11
- package/doc/sc/api/lib/dns/classes/Dns.md +0 -187
- package/doc/sc/api/lib/dns/enumerations/ERECORDLINE.md +0 -59
- package/doc/sc/api/lib/dns/enumerations/ERECORDTYPE.md +0 -67
- package/doc/sc/api/lib/dns/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/dns/functions/get.md +0 -29
- package/doc/sc/api/lib/dns/index.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IAddDomainRecord.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IDomainList.md +0 -43
- package/doc/sc/api/lib/dns/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/fs/functions/chmod.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFile.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFolder.md +0 -37
- package/doc/sc/api/lib/fs/functions/createReadStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/createWriteStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/getContent.md +0 -63
- package/doc/sc/api/lib/fs/functions/isDir.md +0 -25
- package/doc/sc/api/lib/fs/functions/isFile.md +0 -25
- package/doc/sc/api/lib/fs/functions/mkdir.md +0 -31
- package/doc/sc/api/lib/fs/functions/pipe.md +0 -39
- package/doc/sc/api/lib/fs/functions/putContent.md +0 -47
- package/doc/sc/api/lib/fs/functions/readDir.md +0 -29
- package/doc/sc/api/lib/fs/functions/readLink.md +0 -31
- package/doc/sc/api/lib/fs/functions/readToResponse.md +0 -43
- package/doc/sc/api/lib/fs/functions/rename.md +0 -31
- package/doc/sc/api/lib/fs/functions/rmdir.md +0 -25
- package/doc/sc/api/lib/fs/functions/rmdirDeep.md +0 -25
- package/doc/sc/api/lib/fs/functions/stats.md +0 -25
- package/doc/sc/api/lib/fs/functions/symlink.md +0 -37
- package/doc/sc/api/lib/fs/functions/unlink.md +0 -25
- package/doc/sc/api/lib/fs/index.md +0 -30
- package/doc/sc/api/lib/kv/classes/Kv.md +0 -1161
- package/doc/sc/api/lib/kv/functions/get.md +0 -41
- package/doc/sc/api/lib/kv/index.md +0 -20
- package/doc/sc/api/lib/kv/interfaces/IConnectionInfo.md +0 -43
- package/doc/sc/api/lib/kv/interfaces/IZRangeOptions.md +0 -52
- package/doc/sc/api/lib/lan/functions/card.md +0 -17
- package/doc/sc/api/lib/lan/functions/scan.md +0 -17
- package/doc/sc/api/lib/lan/index.md +0 -12
- package/doc/sc/api/lib/lang/functions/getCodeByAccept.md +0 -25
- package/doc/sc/api/lib/lang/index.md +0 -17
- package/doc/sc/api/lib/lang/variables/codes.md +0 -13
- package/doc/sc/api/lib/lang/variables/map.md +0 -13
- package/doc/sc/api/lib/lang/variables/names.md +0 -11
- package/doc/sc/api/lib/net/formdata/classes/FormData.md +0 -157
- package/doc/sc/api/lib/net/formdata/index.md +0 -15
- package/doc/sc/api/lib/net/formdata/interfaces/IItem.md +0 -55
- package/doc/sc/api/lib/net/functions/buildCookieQuery.md +0 -31
- package/doc/sc/api/lib/net/functions/fetch.md +0 -31
- package/doc/sc/api/lib/net/functions/filterHeaders.md +0 -37
- package/doc/sc/api/lib/net/functions/get.md +0 -31
- package/doc/sc/api/lib/net/functions/getCa.md +0 -17
- package/doc/sc/api/lib/net/functions/getFormData.md +0 -17
- package/doc/sc/api/lib/net/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/net/functions/mproxyData.md +0 -25
- package/doc/sc/api/lib/net/functions/open.md +0 -23
- package/doc/sc/api/lib/net/functions/post.md +0 -37
- package/doc/sc/api/lib/net/functions/postJson.md +0 -37
- package/doc/sc/api/lib/net/functions/postJsonResponseJson.md +0 -39
- package/doc/sc/api/lib/net/functions/request.md +0 -33
- package/doc/sc/api/lib/net/functions/resetCookieSession.md +0 -25
- package/doc/sc/api/lib/net/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/net/functions/setCookie.md +0 -63
- package/doc/sc/api/lib/net/index.md +0 -37
- package/doc/sc/api/lib/net/interfaces/ICookie.md +0 -69
- package/doc/sc/api/lib/net/interfaces/IMproxyOptions.md +0 -85
- package/doc/sc/api/lib/net/interfaces/IRequestOptions.md +0 -133
- package/doc/sc/api/lib/net/interfaces/IRproxyOptions.md +0 -107
- package/doc/sc/api/lib/net/request/classes/Request.md +0 -297
- package/doc/sc/api/lib/net/request/index.md +0 -11
- package/doc/sc/api/lib/net/response/classes/Response.md +0 -109
- package/doc/sc/api/lib/net/response/index.md +0 -11
- package/doc/sc/api/lib/net/type-aliases/THttpHeaders.md +0 -27
- package/doc/sc/api/lib/s3/classes/S3.md +0 -220
- package/doc/sc/api/lib/s3/enumerations/ESERVICE.md +0 -43
- package/doc/sc/api/lib/s3/functions/get.md +0 -29
- package/doc/sc/api/lib/s3/index.md +0 -23
- package/doc/sc/api/lib/s3/interfaces/IOptions.md +0 -71
- package/doc/sc/api/lib/scan/classes/Scan.md +0 -127
- package/doc/sc/api/lib/scan/functions/get.md +0 -33
- package/doc/sc/api/lib/scan/functions/scanned.md +0 -37
- package/doc/sc/api/lib/scan/functions/setData.md +0 -35
- package/doc/sc/api/lib/scan/index.md +0 -22
- package/doc/sc/api/lib/scan/interfaces/IOptions.md +0 -43
- package/doc/sc/api/lib/scan/interfaces/IStaticOptions.md +0 -35
- package/doc/sc/api/lib/session/classes/Session.md +0 -103
- package/doc/sc/api/lib/session/index.md +0 -15
- package/doc/sc/api/lib/session/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/socket/functions/rwebsocket.md +0 -37
- package/doc/sc/api/lib/socket/index.md +0 -15
- package/doc/sc/api/lib/socket/interfaces/IRwebsocketOptions.md +0 -91
- package/doc/sc/api/lib/sql/classes/Sql.md +0 -791
- package/doc/sc/api/lib/sql/enumerations/EJSON.md +0 -61
- package/doc/sc/api/lib/sql/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/sql/functions/aoMix.md +0 -25
- package/doc/sc/api/lib/sql/functions/column.md +0 -35
- package/doc/sc/api/lib/sql/functions/format.md +0 -37
- package/doc/sc/api/lib/sql/functions/get.md +0 -43
- package/doc/sc/api/lib/sql/index.md +0 -23
- package/doc/sc/api/lib/ssh/classes/Connection.md +0 -123
- package/doc/sc/api/lib/ssh/functions/get.md +0 -25
- package/doc/sc/api/lib/ssh/index.md +0 -19
- package/doc/sc/api/lib/ssh/interfaces/IExtOptions.md +0 -33
- package/doc/sc/api/lib/ssh/sftp/classes/Connection.md +0 -628
- package/doc/sc/api/lib/ssh/sftp/index.md +0 -11
- package/doc/sc/api/lib/ssh/shell/classes/Connection.md +0 -189
- package/doc/sc/api/lib/ssh/shell/index.md +0 -11
- package/doc/sc/api/lib/text/functions/getFilename.md +0 -25
- package/doc/sc/api/lib/text/functions/htmlescape.md +0 -25
- package/doc/sc/api/lib/text/functions/int2str.md +0 -42
- package/doc/sc/api/lib/text/functions/isAscii.md +0 -25
- package/doc/sc/api/lib/text/functions/isDomain.md +0 -27
- package/doc/sc/api/lib/text/functions/isEMail.md +0 -23
- package/doc/sc/api/lib/text/functions/isFalsy.md +0 -25
- package/doc/sc/api/lib/text/functions/isIPv4.md +0 -23
- package/doc/sc/api/lib/text/functions/isIPv6.md +0 -23
- package/doc/sc/api/lib/text/functions/isIdCardCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isPhoneCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isRealPath.md +0 -25
- package/doc/sc/api/lib/text/functions/isTruthy.md +0 -31
- package/doc/sc/api/lib/text/functions/logicalOr.md +0 -41
- package/doc/sc/api/lib/text/functions/match.md +0 -31
- package/doc/sc/api/lib/text/functions/nlReplace.md +0 -31
- package/doc/sc/api/lib/text/functions/parseDomain.md +0 -25
- package/doc/sc/api/lib/text/functions/parseJson.md +0 -25
- package/doc/sc/api/lib/text/functions/parseUrl.md +0 -23
- package/doc/sc/api/lib/text/functions/queryParse.md +0 -25
- package/doc/sc/api/lib/text/functions/queryStringify.md +0 -69
- package/doc/sc/api/lib/text/functions/sizeFormat.md +0 -31
- package/doc/sc/api/lib/text/functions/str2int.md +0 -36
- package/doc/sc/api/lib/text/functions/stringifyBuffer.md +0 -25
- package/doc/sc/api/lib/text/functions/stringifyJson.md +0 -31
- package/doc/sc/api/lib/text/functions/stringifyResult.md +0 -25
- package/doc/sc/api/lib/text/functions/trimJson.md +0 -23
- package/doc/sc/api/lib/text/functions/urlAtom.md +0 -25
- package/doc/sc/api/lib/text/functions/urlResolve.md +0 -31
- package/doc/sc/api/lib/text/index.md +0 -55
- package/doc/sc/api/lib/text/interfaces/IDomain.md +0 -43
- package/doc/sc/api/lib/text/type-aliases/TFalsy.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_ASCII.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_DOMAIN.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_EMAIL.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV4.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV6.md +0 -11
- package/doc/sc/api/lib/time/classes/Time.md +0 -125
- package/doc/sc/api/lib/time/functions/format.md +0 -37
- package/doc/sc/api/lib/time/functions/get.md +0 -27
- package/doc/sc/api/lib/time/functions/isMs.md +0 -25
- package/doc/sc/api/lib/time/functions/stamp.md +0 -31
- package/doc/sc/api/lib/time/index.md +0 -28
- package/doc/sc/api/lib/time/interfaces/IOptions.md +0 -29
- package/doc/sc/api/lib/time/variables/DAY.md +0 -13
- package/doc/sc/api/lib/time/variables/HOUR.md +0 -13
- package/doc/sc/api/lib/time/variables/YEAR.md +0 -13
- package/doc/sc/api/lib/turnstile/enumerations/EFACTORY.md +0 -27
- package/doc/sc/api/lib/turnstile/functions/verify.md +0 -35
- package/doc/sc/api/lib/turnstile/index.md +0 -15
- package/doc/sc/api/lib/vector/classes/Vector.md +0 -141
- package/doc/sc/api/lib/vector/functions/get.md +0 -25
- package/doc/sc/api/lib/vector/index.md +0 -19
- package/doc/sc/api/lib/vector/interfaces/IOptions.md +0 -61
- package/doc/sc/api/lib/ws/classes/Socket.md +0 -331
- package/doc/sc/api/lib/ws/enumerations/EFrameReceiveMode.md +0 -35
- package/doc/sc/api/lib/ws/enumerations/EOpcode.md +0 -59
- package/doc/sc/api/lib/ws/functions/connect.md +0 -31
- package/doc/sc/api/lib/ws/functions/createServer.md +0 -45
- package/doc/sc/api/lib/ws/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/ws/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/ws/functions/rsocket.md +0 -37
- package/doc/sc/api/lib/ws/index.md +0 -30
- package/doc/sc/api/lib/ws/interfaces/IConnectOptions.md +0 -95
- package/doc/sc/api/lib/ws/interfaces/IMproxyOptions.md +0 -87
- package/doc/sc/api/lib/ws/interfaces/IRproxyOptions.md +0 -105
- package/doc/sc/api/lib/zip/classes/Zip.md +0 -392
- package/doc/sc/api/lib/zip/functions/get.md +0 -25
- package/doc/sc/api/lib/zip/index.md +0 -29
- package/doc/sc/api/lib/zip/interfaces/IZipInputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipItem.md +0 -65
- package/doc/sc/api/lib/zip/interfaces/IZipMetadata.md +0 -25
- package/doc/sc/api/lib/zip/interfaces/IZipOutputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipStats.md +0 -49
- package/doc/sc/api/lib/zip/type-aliases/TZipInputFileFormat.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipInputType.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipOutputType.md +0 -11
- package/doc/sc/api/lib/zlib/functions/brotliCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/brotliDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/compress.md +0 -37
- package/doc/sc/api/lib/zlib/functions/createBrotliCompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createBrotliDecompress.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/createDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createDeflate.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createGunzip.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createGzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createInflate.md +0 -17
- package/doc/sc/api/lib/zlib/functions/decompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/deflate.md +0 -31
- package/doc/sc/api/lib/zlib/functions/gunzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/gzip.md +0 -31
- package/doc/sc/api/lib/zlib/functions/inflate.md +0 -25
- package/doc/sc/api/lib/zlib/index.md +0 -31
- package/doc/sc/api/lib/zlib/interfaces/ICompress.md +0 -27
- package/doc/sc/api/lib/zlib/interfaces/ICompressBuffer.md +0 -27
- package/doc/sc/api/main/index.md +0 -7
- package/doc/sc/api/sys/ctr/classes/Ctr.md +0 -1242
- package/doc/sc/api/sys/ctr/functions/clearLocaleData.md +0 -17
- package/doc/sc/api/sys/ctr/index.md +0 -15
- package/doc/sc/api/sys/mod/classes/Rows.md +0 -165
- package/doc/sc/api/sys/mod/classes/default.md +0 -2175
- package/doc/sc/api/sys/mod/index.md +0 -21
- package/doc/sc/api/sys/mod/interfaces/IModUnionItem.md +0 -25
- package/doc/sc/api/sys/mod/interfaces/IRows.md +0 -57
- package/doc/sc/api/sys/mod/type-aliases/TOnlyProperties.md +0 -19
- package/doc/sc/api/sys/route/functions/clearKebabConfigs.md +0 -17
- package/doc/sc/api/sys/route/functions/getFormData.md +0 -47
- package/doc/sc/api/sys/route/functions/getPost.md +0 -25
- package/doc/sc/api/sys/route/functions/run.md +0 -83
- package/doc/sc/api/sys/route/functions/unlinkUploadFiles.md +0 -25
- package/doc/sc/api/sys/route/functions/waitCtr.md +0 -26
- package/doc/sc/api/sys/route/index.md +0 -16
- package/doc/sc/quick-start.md +0 -30
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IUrlParse
|
|
6
|
-
|
|
7
|
-
# Interface: IUrlParse
|
|
8
|
-
|
|
9
|
-
Defined in: [index.ts:87](https://github.com/maiyunnet/kebab/blob/master/index.ts#L87)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### auth
|
|
14
|
-
|
|
15
|
-
> **auth**: `string` \| `null`
|
|
16
|
-
|
|
17
|
-
Defined in: [index.ts:89](https://github.com/maiyunnet/kebab/blob/master/index.ts#L89)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### hash
|
|
22
|
-
|
|
23
|
-
> **hash**: `string` \| `null`
|
|
24
|
-
|
|
25
|
-
Defined in: [index.ts:98](https://github.com/maiyunnet/kebab/blob/master/index.ts#L98)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### host
|
|
30
|
-
|
|
31
|
-
> **host**: `string` \| `null`
|
|
32
|
-
|
|
33
|
-
Defined in: [index.ts:92](https://github.com/maiyunnet/kebab/blob/master/index.ts#L92)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### hostname
|
|
38
|
-
|
|
39
|
-
> **hostname**: `string` \| `null`
|
|
40
|
-
|
|
41
|
-
Defined in: [index.ts:93](https://github.com/maiyunnet/kebab/blob/master/index.ts#L93)
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### pass
|
|
46
|
-
|
|
47
|
-
> **pass**: `string` \| `null`
|
|
48
|
-
|
|
49
|
-
Defined in: [index.ts:91](https://github.com/maiyunnet/kebab/blob/master/index.ts#L91)
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### path
|
|
54
|
-
|
|
55
|
-
> **path**: `string` \| `null`
|
|
56
|
-
|
|
57
|
-
Defined in: [index.ts:96](https://github.com/maiyunnet/kebab/blob/master/index.ts#L96)
|
|
58
|
-
|
|
59
|
-
***
|
|
60
|
-
|
|
61
|
-
### pathname
|
|
62
|
-
|
|
63
|
-
> **pathname**: `string`
|
|
64
|
-
|
|
65
|
-
Defined in: [index.ts:95](https://github.com/maiyunnet/kebab/blob/master/index.ts#L95)
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### port
|
|
70
|
-
|
|
71
|
-
> **port**: `string` \| `null`
|
|
72
|
-
|
|
73
|
-
Defined in: [index.ts:94](https://github.com/maiyunnet/kebab/blob/master/index.ts#L94)
|
|
74
|
-
|
|
75
|
-
***
|
|
76
|
-
|
|
77
|
-
### protocol
|
|
78
|
-
|
|
79
|
-
> **protocol**: `string` \| `null`
|
|
80
|
-
|
|
81
|
-
Defined in: [index.ts:88](https://github.com/maiyunnet/kebab/blob/master/index.ts#L88)
|
|
82
|
-
|
|
83
|
-
***
|
|
84
|
-
|
|
85
|
-
### query
|
|
86
|
-
|
|
87
|
-
> **query**: `string` \| `null`
|
|
88
|
-
|
|
89
|
-
Defined in: [index.ts:97](https://github.com/maiyunnet/kebab/blob/master/index.ts#L97)
|
|
90
|
-
|
|
91
|
-
***
|
|
92
|
-
|
|
93
|
-
### user
|
|
94
|
-
|
|
95
|
-
> **user**: `string` \| `null`
|
|
96
|
-
|
|
97
|
-
Defined in: [index.ts:90](https://github.com/maiyunnet/kebab/blob/master/index.ts#L90)
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IVhost
|
|
6
|
-
|
|
7
|
-
# Interface: IVhost
|
|
8
|
-
|
|
9
|
-
Defined in: [index.ts:229](https://github.com/maiyunnet/kebab/blob/master/index.ts#L229)
|
|
10
|
-
|
|
11
|
-
虚拟机配置对象
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### domains
|
|
16
|
-
|
|
17
|
-
> `readonly` **domains**: `string`[]
|
|
18
|
-
|
|
19
|
-
Defined in: [index.ts:231](https://github.com/maiyunnet/kebab/blob/master/index.ts#L231)
|
|
20
|
-
|
|
21
|
-
***
|
|
22
|
-
|
|
23
|
-
### name?
|
|
24
|
-
|
|
25
|
-
> `readonly` `optional` **name**: `string`
|
|
26
|
-
|
|
27
|
-
Defined in: [index.ts:230](https://github.com/maiyunnet/kebab/blob/master/index.ts#L230)
|
|
28
|
-
|
|
29
|
-
***
|
|
30
|
-
|
|
31
|
-
### remark?
|
|
32
|
-
|
|
33
|
-
> `readonly` `optional` **remark**: `string`
|
|
34
|
-
|
|
35
|
-
Defined in: [index.ts:233](https://github.com/maiyunnet/kebab/blob/master/index.ts#L233)
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### root
|
|
40
|
-
|
|
41
|
-
> `readonly` **root**: `string`
|
|
42
|
-
|
|
43
|
-
Defined in: [index.ts:232](https://github.com/maiyunnet/kebab/blob/master/index.ts#L232)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / DbValue
|
|
6
|
-
|
|
7
|
-
# Type Alias: DbValue
|
|
8
|
-
|
|
9
|
-
> **DbValue** = `string` \| `number` \| `null` \| `Record`\<`string`, [`Json`](Json.md)\>
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:47](https://github.com/maiyunnet/kebab/blob/master/index.ts#L47)
|
|
12
|
-
|
|
13
|
-
数据库值的类型
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / Json
|
|
6
|
-
|
|
7
|
-
# Type Alias: Json
|
|
8
|
-
|
|
9
|
-
> **Json** = `any`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:44](https://github.com/maiyunnet/kebab/blob/master/index.ts#L44)
|
|
12
|
-
|
|
13
|
-
除非确定是不可知的 Json,否则不能使用
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / CERT\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: CERT\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **CERT\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:32](https://github.com/maiyunnet/kebab/blob/master/index.ts#L32)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / CONF\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: CONF\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **CONF\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:31](https://github.com/maiyunnet/kebab/blob/master/index.ts#L31)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / FTMP\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: FTMP\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **FTMP\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:38](https://github.com/maiyunnet/kebab/blob/master/index.ts#L38)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IND\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: IND\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **IND\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:37](https://github.com/maiyunnet/kebab/blob/master/index.ts#L37)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / LIB\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: LIB\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **LIB\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:34](https://github.com/maiyunnet/kebab/blob/master/index.ts#L34)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / LIB\_PATH
|
|
6
|
-
|
|
7
|
-
# Variable: LIB\_PATH
|
|
8
|
-
|
|
9
|
-
> `const` **LIB\_PATH**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:20](https://github.com/maiyunnet/kebab/blob/master/index.ts#L20)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / LOG\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: LOG\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **LOG\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:35](https://github.com/maiyunnet/kebab/blob/master/index.ts#L35)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / MOD\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: MOD\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **MOD\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:39](https://github.com/maiyunnet/kebab/blob/master/index.ts#L39)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / ROOT\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: ROOT\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **ROOT\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:30](https://github.com/maiyunnet/kebab/blob/master/index.ts#L30)
|
|
12
|
-
|
|
13
|
-
执行根目录,以 / 结尾
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / ROOT\_PATH
|
|
6
|
-
|
|
7
|
-
# Variable: ROOT\_PATH
|
|
8
|
-
|
|
9
|
-
> `const` **ROOT\_PATH**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:19](https://github.com/maiyunnet/kebab/blob/master/index.ts#L19)
|
|
12
|
-
|
|
13
|
-
框架根目录,以 / 结尾
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / SYS\_PATH
|
|
6
|
-
|
|
7
|
-
# Variable: SYS\_PATH
|
|
8
|
-
|
|
9
|
-
> `const` **SYS\_PATH**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:21](https://github.com/maiyunnet/kebab/blob/master/index.ts#L21)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / VER
|
|
6
|
-
|
|
7
|
-
# Variable: VER
|
|
8
|
-
|
|
9
|
-
> `const` **VER**: `"7.6.1"` = `'7.6.1'`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:10](https://github.com/maiyunnet/kebab/blob/master/index.ts#L10)
|
|
12
|
-
|
|
13
|
-
当前系统版本号
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / VHOST\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: VHOST\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **VHOST\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:33](https://github.com/maiyunnet/kebab/blob/master/index.ts#L33)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / WWW\_CWD
|
|
6
|
-
|
|
7
|
-
# Variable: WWW\_CWD
|
|
8
|
-
|
|
9
|
-
> `const` **WWW\_CWD**: `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [index.ts:36](https://github.com/maiyunnet/kebab/blob/master/index.ts#L36)
|
package/doc/sc/api/index.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
**Documents for @maiyunnet/kebab**
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Documents for @maiyunnet/kebab
|
|
6
|
-
|
|
7
|
-
## Modules
|
|
8
|
-
|
|
9
|
-
- [index](index/index.md)
|
|
10
|
-
- [lib/ai](lib/ai/index.md)
|
|
11
|
-
- [lib/buffer](lib/buffer/index.md)
|
|
12
|
-
- [lib/captcha](lib/captcha/index.md)
|
|
13
|
-
- [lib/consistent](lib/consistent/index.md)
|
|
14
|
-
- [lib/core](lib/core/index.md)
|
|
15
|
-
- [lib/cron](lib/cron/index.md)
|
|
16
|
-
- [lib/crypto](lib/crypto/index.md)
|
|
17
|
-
- [lib/db](lib/db/index.md)
|
|
18
|
-
- [lib/db/conn](lib/db/conn/index.md)
|
|
19
|
-
- [lib/db/pool](lib/db/pool/index.md)
|
|
20
|
-
- [lib/db/tran](lib/db/tran/index.md)
|
|
21
|
-
- [lib/dns](lib/dns/index.md)
|
|
22
|
-
- [lib/fs](lib/fs/index.md)
|
|
23
|
-
- [lib/kv](lib/kv/index.md)
|
|
24
|
-
- [lib/lan](lib/lan/index.md)
|
|
25
|
-
- [lib/lang](lib/lang/index.md)
|
|
26
|
-
- [lib/net](lib/net/index.md)
|
|
27
|
-
- [lib/net/formdata](lib/net/formdata/index.md)
|
|
28
|
-
- [lib/net/request](lib/net/request/index.md)
|
|
29
|
-
- [lib/net/response](lib/net/response/index.md)
|
|
30
|
-
- [lib/s3](lib/s3/index.md)
|
|
31
|
-
- [lib/scan](lib/scan/index.md)
|
|
32
|
-
- [lib/session](lib/session/index.md)
|
|
33
|
-
- [lib/socket](lib/socket/index.md)
|
|
34
|
-
- [lib/sql](lib/sql/index.md)
|
|
35
|
-
- [lib/ssh](lib/ssh/index.md)
|
|
36
|
-
- [lib/ssh/sftp](lib/ssh/sftp/index.md)
|
|
37
|
-
- [lib/ssh/shell](lib/ssh/shell/index.md)
|
|
38
|
-
- [lib/text](lib/text/index.md)
|
|
39
|
-
- [lib/time](lib/time/index.md)
|
|
40
|
-
- [lib/turnstile](lib/turnstile/index.md)
|
|
41
|
-
- [lib/vector](lib/vector/index.md)
|
|
42
|
-
- [lib/ws](lib/ws/index.md)
|
|
43
|
-
- [lib/zip](lib/zip/index.md)
|
|
44
|
-
- [lib/zlib](lib/zlib/index.md)
|
|
45
|
-
- [main](main/index.md)
|
|
46
|
-
- [sys/ctr](sys/ctr/index.md)
|
|
47
|
-
- [sys/mod](sys/mod/index.md)
|
|
48
|
-
- [sys/route](sys/route/index.md)
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/ai](../index.md) / Ai
|
|
6
|
-
|
|
7
|
-
# Class: Ai
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/ai.ts:49](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L49)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new Ai**(`ctrEtc`, `opt`): `Ai`
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/ai.ts:56](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L56)
|
|
18
|
-
|
|
19
|
-
#### Parameters
|
|
20
|
-
|
|
21
|
-
##### ctrEtc
|
|
22
|
-
|
|
23
|
-
[`IConfigAi`](../../../index/interfaces/IConfigAi.md) | [`Ctr`](../../../sys/ctr/classes/Ctr.md)
|
|
24
|
-
|
|
25
|
-
##### opt
|
|
26
|
-
|
|
27
|
-
[`IOptions`](../interfaces/IOptions.md)
|
|
28
|
-
|
|
29
|
-
#### Returns
|
|
30
|
-
|
|
31
|
-
`Ai`
|
|
32
|
-
|
|
33
|
-
## Properties
|
|
34
|
-
|
|
35
|
-
### link
|
|
36
|
-
|
|
37
|
-
> `readonly` **link**: `OpenAI`
|
|
38
|
-
|
|
39
|
-
Defined in: [lib/ai.ts:52](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L52)
|
|
40
|
-
|
|
41
|
-
openai 原生对象,建议只读
|
|
42
|
-
|
|
43
|
-
## Methods
|
|
44
|
-
|
|
45
|
-
### chat()
|
|
46
|
-
|
|
47
|
-
创建对话
|
|
48
|
-
|
|
49
|
-
#### Call Signature
|
|
50
|
-
|
|
51
|
-
> **chat**(`body`): `Promise`\<`false` \| `APIPromise`\<`ChatCompletion`\>\>
|
|
52
|
-
|
|
53
|
-
Defined in: [lib/ai.ts:111](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L111)
|
|
54
|
-
|
|
55
|
-
创建非流式对话
|
|
56
|
-
|
|
57
|
-
##### Parameters
|
|
58
|
-
|
|
59
|
-
###### body
|
|
60
|
-
|
|
61
|
-
`ChatCompletionCreateParamsNonStreaming`
|
|
62
|
-
|
|
63
|
-
##### Returns
|
|
64
|
-
|
|
65
|
-
`Promise`\<`false` \| `APIPromise`\<`ChatCompletion`\>\>
|
|
66
|
-
|
|
67
|
-
#### Call Signature
|
|
68
|
-
|
|
69
|
-
> **chat**(`body`): `Promise`\<`false` \| `APIPromise`\<`Stream`\<`ChatCompletionChunk`\>\>\>
|
|
70
|
-
|
|
71
|
-
Defined in: [lib/ai.ts:115](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L115)
|
|
72
|
-
|
|
73
|
-
创建流式对话
|
|
74
|
-
|
|
75
|
-
##### Parameters
|
|
76
|
-
|
|
77
|
-
###### body
|
|
78
|
-
|
|
79
|
-
`ChatCompletionCreateParamsStreaming`
|
|
80
|
-
|
|
81
|
-
##### Returns
|
|
82
|
-
|
|
83
|
-
`Promise`\<`false` \| `APIPromise`\<`Stream`\<`ChatCompletionChunk`\>\>\>
|
|
84
|
-
|
|
85
|
-
***
|
|
86
|
-
|
|
87
|
-
### embedding()
|
|
88
|
-
|
|
89
|
-
> **embedding**(`body`): `Promise`\<`false` \| `APIPromise`\<`CreateEmbeddingResponse`\>\>
|
|
90
|
-
|
|
91
|
-
Defined in: [lib/ai.ts:135](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L135)
|
|
92
|
-
|
|
93
|
-
创建向量
|
|
94
|
-
|
|
95
|
-
#### Parameters
|
|
96
|
-
|
|
97
|
-
##### body
|
|
98
|
-
|
|
99
|
-
`EmbeddingCreateParams`
|
|
100
|
-
|
|
101
|
-
#### Returns
|
|
102
|
-
|
|
103
|
-
`Promise`\<`false` \| `APIPromise`\<`CreateEmbeddingResponse`\>\>
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/ai](../index.md) / ESERVICE
|
|
6
|
-
|
|
7
|
-
# Enumeration: ESERVICE
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/ai.ts:18](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L18)
|
|
10
|
-
|
|
11
|
-
服务商定义
|
|
12
|
-
|
|
13
|
-
## Enumeration Members
|
|
14
|
-
|
|
15
|
-
### ALIAS
|
|
16
|
-
|
|
17
|
-
> **ALIAS**: `1`
|
|
18
|
-
|
|
19
|
-
Defined in: [lib/ai.ts:22](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L22)
|
|
20
|
-
|
|
21
|
-
阿里国际区
|
|
22
|
-
|
|
23
|
-
***
|
|
24
|
-
|
|
25
|
-
### ALICN
|
|
26
|
-
|
|
27
|
-
> **ALICN**: `0`
|
|
28
|
-
|
|
29
|
-
Defined in: [lib/ai.ts:20](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L20)
|
|
30
|
-
|
|
31
|
-
阿里中国大陆区
|
|
32
|
-
|
|
33
|
-
***
|
|
34
|
-
|
|
35
|
-
### AZURE
|
|
36
|
-
|
|
37
|
-
> **AZURE**: `2`
|
|
38
|
-
|
|
39
|
-
Defined in: [lib/ai.ts:24](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L24)
|
|
40
|
-
|
|
41
|
-
微软 Azure
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### AZURE2
|
|
46
|
-
|
|
47
|
-
> **AZURE2**: `3`
|
|
48
|
-
|
|
49
|
-
Defined in: [lib/ai.ts:26](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L26)
|
|
50
|
-
|
|
51
|
-
微软 Azure 2
|
|
52
|
-
|
|
53
|
-
***
|
|
54
|
-
|
|
55
|
-
### AZURE3
|
|
56
|
-
|
|
57
|
-
> **AZURE3**: `4`
|
|
58
|
-
|
|
59
|
-
Defined in: [lib/ai.ts:28](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L28)
|
|
60
|
-
|
|
61
|
-
微软 Azure 3
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/ai](../index.md) / get
|
|
6
|
-
|
|
7
|
-
# Function: get()
|
|
8
|
-
|
|
9
|
-
> **get**(`ctrEtc`, `opt`): [`Ai`](../classes/Ai.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/ai.ts:154](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L154)
|
|
12
|
-
|
|
13
|
-
创建一个 AI 对象
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### ctrEtc
|
|
18
|
-
|
|
19
|
-
[`IConfigAi`](../../../index/interfaces/IConfigAi.md) | [`Ctr`](../../../sys/ctr/classes/Ctr.md)
|
|
20
|
-
|
|
21
|
-
### opt
|
|
22
|
-
|
|
23
|
-
[`IOptions`](../interfaces/IOptions.md)
|
|
24
|
-
|
|
25
|
-
选项
|
|
26
|
-
|
|
27
|
-
## Returns
|
|
28
|
-
|
|
29
|
-
[`Ai`](../classes/Ai.md)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / lib/ai
|
|
6
|
-
|
|
7
|
-
# lib/ai
|
|
8
|
-
|
|
9
|
-
## Enumerations
|
|
10
|
-
|
|
11
|
-
- [ESERVICE](enumerations/ESERVICE.md)
|
|
12
|
-
|
|
13
|
-
## Classes
|
|
14
|
-
|
|
15
|
-
- [Ai](classes/Ai.md)
|
|
16
|
-
|
|
17
|
-
## Interfaces
|
|
18
|
-
|
|
19
|
-
- [IOptions](interfaces/IOptions.md)
|
|
20
|
-
|
|
21
|
-
## Functions
|
|
22
|
-
|
|
23
|
-
- [get](functions/get.md)
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/ai](../index.md) / IOptions
|
|
6
|
-
|
|
7
|
-
# Interface: IOptions
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/ai.ts:32](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L32)
|
|
10
|
-
|
|
11
|
-
选项
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### endpoint?
|
|
16
|
-
|
|
17
|
-
> `optional` **endpoint**: `string`
|
|
18
|
-
|
|
19
|
-
Defined in: [lib/ai.ts:36](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L36)
|
|
20
|
-
|
|
21
|
-
接入点
|
|
22
|
-
|
|
23
|
-
***
|
|
24
|
-
|
|
25
|
-
### fetch()?
|
|
26
|
-
|
|
27
|
-
> `optional` **fetch**: (`input`, `init?`) => `Promise`\<`Response`\>
|
|
28
|
-
|
|
29
|
-
Defined in: [lib/ai.ts:40](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L40)
|
|
30
|
-
|
|
31
|
-
自定义 fetch 函数
|
|
32
|
-
|
|
33
|
-
#### Parameters
|
|
34
|
-
|
|
35
|
-
##### input
|
|
36
|
-
|
|
37
|
-
`string` | `Request` | `URL`
|
|
38
|
-
|
|
39
|
-
##### init?
|
|
40
|
-
|
|
41
|
-
`RequestInit`
|
|
42
|
-
|
|
43
|
-
#### Returns
|
|
44
|
-
|
|
45
|
-
`Promise`\<`Response`\>
|
|
46
|
-
|
|
47
|
-
***
|
|
48
|
-
|
|
49
|
-
### secretKey?
|
|
50
|
-
|
|
51
|
-
> `optional` **secretKey**: `string`
|
|
52
|
-
|
|
53
|
-
Defined in: [lib/ai.ts:38](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L38)
|
|
54
|
-
|
|
55
|
-
密钥
|
|
56
|
-
|
|
57
|
-
***
|
|
58
|
-
|
|
59
|
-
### service
|
|
60
|
-
|
|
61
|
-
> **service**: [`ESERVICE`](../enumerations/ESERVICE.md)
|
|
62
|
-
|
|
63
|
-
Defined in: [lib/ai.ts:34](https://github.com/maiyunnet/kebab/blob/master/lib/ai.ts#L34)
|
|
64
|
-
|
|
65
|
-
服务商 -
|