@maiyunnet/kebab 7.6.0 → 7.6.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/README.sc.md +201 -0
- package/doc/README.tc.md +203 -0
- package/doc/icon.png +0 -0
- package/doc/kebab-rag.md +23161 -0
- package/doc/sc/api/index/index.md +47 -0
- package/doc/sc/api/index/interfaces/IConfig.md +165 -0
- package/doc/sc/api/index/interfaces/IConfigAi.md +29 -0
- package/doc/sc/api/index/interfaces/IConfigConst.md +201 -0
- package/doc/sc/api/index/interfaces/IConfigDb.md +59 -0
- package/doc/sc/api/index/interfaces/IConfigDns.md +27 -0
- package/doc/sc/api/index/interfaces/IConfigJwt.md +51 -0
- package/doc/sc/api/index/interfaces/IConfigKv.md +59 -0
- package/doc/sc/api/index/interfaces/IConfigLang.md +27 -0
- package/doc/sc/api/index/interfaces/IConfigS3.md +53 -0
- package/doc/sc/api/index/interfaces/IConfigSql.md +19 -0
- package/doc/sc/api/index/interfaces/IConfigTurnstile.md +51 -0
- package/doc/sc/api/index/interfaces/IConfigVector.md +51 -0
- package/doc/sc/api/index/interfaces/IPostFile.md +43 -0
- package/doc/sc/api/index/interfaces/IUrlParse.md +97 -0
- package/doc/sc/api/index/interfaces/IVhost.md +43 -0
- package/doc/sc/api/index/type-aliases/DbValue.md +13 -0
- package/doc/sc/api/index/type-aliases/Json.md +13 -0
- package/doc/sc/api/index/variables/CERT_CWD.md +11 -0
- package/doc/sc/api/index/variables/CONF_CWD.md +11 -0
- package/doc/sc/api/index/variables/FTMP_CWD.md +11 -0
- package/doc/sc/api/index/variables/IND_CWD.md +11 -0
- package/doc/sc/api/index/variables/LIB_CWD.md +11 -0
- package/doc/sc/api/index/variables/LIB_PATH.md +11 -0
- package/doc/sc/api/index/variables/LOG_CWD.md +11 -0
- package/doc/sc/api/index/variables/MOD_CWD.md +11 -0
- package/doc/sc/api/index/variables/ROOT_CWD.md +13 -0
- package/doc/sc/api/index/variables/ROOT_PATH.md +13 -0
- package/doc/sc/api/index/variables/SYS_PATH.md +11 -0
- package/doc/sc/api/index/variables/VER.md +13 -0
- package/doc/sc/api/index/variables/VHOST_CWD.md +11 -0
- package/doc/sc/api/index/variables/WWW_CWD.md +11 -0
- package/doc/sc/api/index.md +48 -0
- package/doc/sc/api/lib/ai/classes/Ai.md +103 -0
- package/doc/sc/api/lib/ai/enumerations/ESERVICE.md +61 -0
- package/doc/sc/api/lib/ai/functions/get.md +29 -0
- package/doc/sc/api/lib/ai/index.md +23 -0
- package/doc/sc/api/lib/ai/interfaces/IOptions.md +65 -0
- package/doc/sc/api/lib/buffer/classes/Reader.md +177 -0
- package/doc/sc/api/lib/buffer/classes/Writer.md +147 -0
- package/doc/sc/api/lib/buffer/functions/getReader.md +25 -0
- package/doc/sc/api/lib/buffer/functions/getWriter.md +25 -0
- package/doc/sc/api/lib/buffer/index.md +17 -0
- package/doc/sc/api/lib/captcha/classes/Captcha.md +79 -0
- package/doc/sc/api/lib/captcha/functions/get.md +37 -0
- package/doc/sc/api/lib/captcha/index.md +15 -0
- package/doc/sc/api/lib/consistent/classes/Consistent.md +135 -0
- package/doc/sc/api/lib/consistent/functions/addToCircle.md +37 -0
- package/doc/sc/api/lib/consistent/functions/fast.md +37 -0
- package/doc/sc/api/lib/consistent/functions/findInCircle.md +37 -0
- package/doc/sc/api/lib/consistent/functions/get.md +21 -0
- package/doc/sc/api/lib/consistent/functions/getRange.md +37 -0
- package/doc/sc/api/lib/consistent/functions/hash.md +25 -0
- package/doc/sc/api/lib/consistent/index.md +20 -0
- package/doc/sc/api/lib/core/functions/checkType.md +37 -0
- package/doc/sc/api/lib/core/functions/clone.md +31 -0
- package/doc/sc/api/lib/core/functions/convert62.md +25 -0
- package/doc/sc/api/lib/core/functions/debug.md +31 -0
- package/doc/sc/api/lib/core/functions/display.md +31 -0
- package/doc/sc/api/lib/core/functions/emptyObject.md +31 -0
- package/doc/sc/api/lib/core/functions/exec.md +31 -0
- package/doc/sc/api/lib/core/functions/getLog.md +71 -0
- package/doc/sc/api/lib/core/functions/ip.md +27 -0
- package/doc/sc/api/lib/core/functions/log.md +37 -0
- package/doc/sc/api/lib/core/functions/ls.md +39 -0
- package/doc/sc/api/lib/core/functions/muid.md +59 -0
- package/doc/sc/api/lib/core/functions/objectSort.md +31 -0
- package/doc/sc/api/lib/core/functions/passThroughAppend.md +37 -0
- package/doc/sc/api/lib/core/functions/purify.md +25 -0
- package/doc/sc/api/lib/core/functions/rand.md +37 -0
- package/doc/sc/api/lib/core/functions/random.md +37 -0
- package/doc/sc/api/lib/core/functions/realIP.md +29 -0
- package/doc/sc/api/lib/core/functions/removeGlobal.md +31 -0
- package/doc/sc/api/lib/core/functions/sendNpm.md +31 -0
- package/doc/sc/api/lib/core/functions/sendPm2.md +37 -0
- package/doc/sc/api/lib/core/functions/sendReload.md +24 -0
- package/doc/sc/api/lib/core/functions/sendRestart.md +24 -0
- package/doc/sc/api/lib/core/functions/setCookie.md +43 -0
- package/doc/sc/api/lib/core/functions/setGlobal.md +37 -0
- package/doc/sc/api/lib/core/functions/sleep.md +25 -0
- package/doc/sc/api/lib/core/functions/unconvert62.md +25 -0
- package/doc/sc/api/lib/core/functions/updateCode.md +49 -0
- package/doc/sc/api/lib/core/functions/write.md +31 -0
- package/doc/sc/api/lib/core/functions/writeEventStreamHead.md +21 -0
- package/doc/sc/api/lib/core/functions/writeHead.md +37 -0
- package/doc/sc/api/lib/core/index.md +66 -0
- package/doc/sc/api/lib/core/interfaces/ICookieOptions.md +59 -0
- package/doc/sc/api/lib/core/interfaces/ILogOptions.md +75 -0
- package/doc/sc/api/lib/core/type-aliases/TPm2Action.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_L.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_LN.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_LU.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_LUN.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_LUNS.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_N.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_U.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_UN.md +13 -0
- package/doc/sc/api/lib/core/variables/RANDOM_V.md +13 -0
- package/doc/sc/api/lib/core/variables/REAL_IP_CF.md +13 -0
- package/doc/sc/api/lib/core/variables/REAL_IP_X.md +13 -0
- package/doc/sc/api/lib/core/variables/global.md +13 -0
- package/doc/sc/api/lib/core/variables/globalConfig.md +47 -0
- package/doc/sc/api/lib/cron/functions/getRegulars.md +17 -0
- package/doc/sc/api/lib/cron/functions/regular.md +31 -0
- package/doc/sc/api/lib/cron/index.md +17 -0
- package/doc/sc/api/lib/cron/interfaces/IRegular.md +59 -0
- package/doc/sc/api/lib/cron/interfaces/IRegularData.md +101 -0
- package/doc/sc/api/lib/crypto/functions/aesDecrypt.md +91 -0
- package/doc/sc/api/lib/crypto/functions/aesEncrypt.md +95 -0
- package/doc/sc/api/lib/crypto/functions/base64Decode.md +59 -0
- package/doc/sc/api/lib/crypto/functions/base64Encode.md +25 -0
- package/doc/sc/api/lib/crypto/functions/cipherDecrypt.md +49 -0
- package/doc/sc/api/lib/crypto/functions/cipherEncrypt.md +49 -0
- package/doc/sc/api/lib/crypto/functions/gcmDecrypt.md +71 -0
- package/doc/sc/api/lib/crypto/functions/gcmEncrypt.md +71 -0
- package/doc/sc/api/lib/crypto/functions/generateKeyPair.md +61 -0
- package/doc/sc/api/lib/crypto/functions/hashHmac.md +79 -0
- package/doc/sc/api/lib/crypto/functions/hashHmacFile.md +79 -0
- package/doc/sc/api/lib/crypto/functions/privateDecrypt.md +31 -0
- package/doc/sc/api/lib/crypto/functions/privateEncrypt.md +31 -0
- package/doc/sc/api/lib/crypto/functions/publicDecrypt.md +31 -0
- package/doc/sc/api/lib/crypto/functions/publicEncrypt.md +31 -0
- package/doc/sc/api/lib/crypto/functions/sign.md +83 -0
- package/doc/sc/api/lib/crypto/functions/sm4Decrypt.md +91 -0
- package/doc/sc/api/lib/crypto/functions/sm4Encrypt.md +91 -0
- package/doc/sc/api/lib/crypto/functions/uuid.md +25 -0
- package/doc/sc/api/lib/crypto/functions/verify.md +43 -0
- package/doc/sc/api/lib/crypto/index.md +40 -0
- package/doc/sc/api/lib/crypto/variables/AES_256_CBC.md +13 -0
- package/doc/sc/api/lib/crypto/variables/AES_256_CTR.md +13 -0
- package/doc/sc/api/lib/crypto/variables/AES_256_ECB.md +13 -0
- package/doc/sc/api/lib/crypto/variables/AES_256_GCM.md +13 -0
- package/doc/sc/api/lib/crypto/variables/SM4_CBC.md +11 -0
- package/doc/sc/api/lib/crypto/variables/SM4_CFB.md +13 -0
- package/doc/sc/api/lib/crypto/variables/SM4_ECB.md +13 -0
- package/doc/sc/api/lib/db/conn/classes/Connection.md +315 -0
- package/doc/sc/api/lib/db/conn/index.md +11 -0
- package/doc/sc/api/lib/db/enumerations/ESERVICE.md +27 -0
- package/doc/sc/api/lib/db/functions/get.md +37 -0
- package/doc/sc/api/lib/db/index.md +50 -0
- package/doc/sc/api/lib/db/interfaces/IData.md +57 -0
- package/doc/sc/api/lib/db/interfaces/IPacket.md +75 -0
- package/doc/sc/api/lib/db/pool/classes/Pool.md +143 -0
- package/doc/sc/api/lib/db/pool/functions/getConnectionList.md +17 -0
- package/doc/sc/api/lib/db/pool/index.md +19 -0
- package/doc/sc/api/lib/db/pool/interfaces/IConnectionInfo.md +91 -0
- package/doc/sc/api/lib/db/tran/classes/Transaction.md +137 -0
- package/doc/sc/api/lib/db/tran/index.md +11 -0
- package/doc/sc/api/lib/dns/classes/Dns.md +187 -0
- package/doc/sc/api/lib/dns/enumerations/ERECORDLINE.md +59 -0
- package/doc/sc/api/lib/dns/enumerations/ERECORDTYPE.md +67 -0
- package/doc/sc/api/lib/dns/enumerations/ESERVICE.md +27 -0
- package/doc/sc/api/lib/dns/functions/get.md +29 -0
- package/doc/sc/api/lib/dns/index.md +27 -0
- package/doc/sc/api/lib/dns/interfaces/IAddDomainRecord.md +27 -0
- package/doc/sc/api/lib/dns/interfaces/IDomainList.md +43 -0
- package/doc/sc/api/lib/dns/interfaces/IOptions.md +41 -0
- package/doc/sc/api/lib/fs/functions/chmod.md +31 -0
- package/doc/sc/api/lib/fs/functions/copyFile.md +31 -0
- package/doc/sc/api/lib/fs/functions/copyFolder.md +37 -0
- package/doc/sc/api/lib/fs/functions/createReadStream.md +31 -0
- package/doc/sc/api/lib/fs/functions/createWriteStream.md +31 -0
- package/doc/sc/api/lib/fs/functions/getContent.md +63 -0
- package/doc/sc/api/lib/fs/functions/isDir.md +25 -0
- package/doc/sc/api/lib/fs/functions/isFile.md +25 -0
- package/doc/sc/api/lib/fs/functions/mkdir.md +31 -0
- package/doc/sc/api/lib/fs/functions/pipe.md +39 -0
- package/doc/sc/api/lib/fs/functions/putContent.md +47 -0
- package/doc/sc/api/lib/fs/functions/readDir.md +29 -0
- package/doc/sc/api/lib/fs/functions/readLink.md +31 -0
- package/doc/sc/api/lib/fs/functions/readToResponse.md +43 -0
- package/doc/sc/api/lib/fs/functions/rename.md +31 -0
- package/doc/sc/api/lib/fs/functions/rmdir.md +25 -0
- package/doc/sc/api/lib/fs/functions/rmdirDeep.md +25 -0
- package/doc/sc/api/lib/fs/functions/stats.md +25 -0
- package/doc/sc/api/lib/fs/functions/symlink.md +37 -0
- package/doc/sc/api/lib/fs/functions/unlink.md +25 -0
- package/doc/sc/api/lib/fs/index.md +30 -0
- package/doc/sc/api/lib/kv/classes/Kv.md +1161 -0
- package/doc/sc/api/lib/kv/functions/get.md +41 -0
- package/doc/sc/api/lib/kv/index.md +20 -0
- package/doc/sc/api/lib/kv/interfaces/IConnectionInfo.md +43 -0
- package/doc/sc/api/lib/kv/interfaces/IZRangeOptions.md +52 -0
- package/doc/sc/api/lib/lan/functions/card.md +17 -0
- package/doc/sc/api/lib/lan/functions/scan.md +17 -0
- package/doc/sc/api/lib/lan/index.md +12 -0
- package/doc/sc/api/lib/lang/functions/getCodeByAccept.md +25 -0
- package/doc/sc/api/lib/lang/index.md +17 -0
- package/doc/sc/api/lib/lang/variables/codes.md +13 -0
- package/doc/sc/api/lib/lang/variables/map.md +13 -0
- package/doc/sc/api/lib/lang/variables/names.md +11 -0
- package/doc/sc/api/lib/net/formdata/classes/FormData.md +157 -0
- package/doc/sc/api/lib/net/formdata/index.md +15 -0
- package/doc/sc/api/lib/net/formdata/interfaces/IItem.md +55 -0
- package/doc/sc/api/lib/net/functions/buildCookieQuery.md +31 -0
- package/doc/sc/api/lib/net/functions/fetch.md +31 -0
- package/doc/sc/api/lib/net/functions/filterHeaders.md +37 -0
- package/doc/sc/api/lib/net/functions/get.md +31 -0
- package/doc/sc/api/lib/net/functions/getCa.md +17 -0
- package/doc/sc/api/lib/net/functions/getFormData.md +17 -0
- package/doc/sc/api/lib/net/functions/mproxy.md +38 -0
- package/doc/sc/api/lib/net/functions/mproxyData.md +25 -0
- package/doc/sc/api/lib/net/functions/open.md +23 -0
- package/doc/sc/api/lib/net/functions/post.md +37 -0
- package/doc/sc/api/lib/net/functions/postJson.md +37 -0
- package/doc/sc/api/lib/net/functions/postJsonResponseJson.md +39 -0
- package/doc/sc/api/lib/net/functions/request.md +33 -0
- package/doc/sc/api/lib/net/functions/resetCookieSession.md +25 -0
- package/doc/sc/api/lib/net/functions/rproxy.md +37 -0
- package/doc/sc/api/lib/net/functions/setCookie.md +63 -0
- package/doc/sc/api/lib/net/index.md +37 -0
- package/doc/sc/api/lib/net/interfaces/ICookie.md +69 -0
- package/doc/sc/api/lib/net/interfaces/IMproxyOptions.md +85 -0
- package/doc/sc/api/lib/net/interfaces/IRequestOptions.md +133 -0
- package/doc/sc/api/lib/net/interfaces/IRproxyOptions.md +107 -0
- package/doc/sc/api/lib/net/request/classes/Request.md +297 -0
- package/doc/sc/api/lib/net/request/index.md +11 -0
- package/doc/sc/api/lib/net/response/classes/Response.md +109 -0
- package/doc/sc/api/lib/net/response/index.md +11 -0
- package/doc/sc/api/lib/net/type-aliases/THttpHeaders.md +27 -0
- package/doc/sc/api/lib/s3/classes/S3.md +220 -0
- package/doc/sc/api/lib/s3/enumerations/ESERVICE.md +43 -0
- package/doc/sc/api/lib/s3/functions/get.md +29 -0
- package/doc/sc/api/lib/s3/index.md +23 -0
- package/doc/sc/api/lib/s3/interfaces/IOptions.md +71 -0
- package/doc/sc/api/lib/scan/classes/Scan.md +127 -0
- package/doc/sc/api/lib/scan/functions/get.md +33 -0
- package/doc/sc/api/lib/scan/functions/scanned.md +37 -0
- package/doc/sc/api/lib/scan/functions/setData.md +35 -0
- package/doc/sc/api/lib/scan/index.md +22 -0
- package/doc/sc/api/lib/scan/interfaces/IOptions.md +43 -0
- package/doc/sc/api/lib/scan/interfaces/IStaticOptions.md +35 -0
- package/doc/sc/api/lib/session/classes/Session.md +103 -0
- package/doc/sc/api/lib/session/index.md +15 -0
- package/doc/sc/api/lib/session/interfaces/IOptions.md +41 -0
- package/doc/sc/api/lib/socket/functions/rwebsocket.md +37 -0
- package/doc/sc/api/lib/socket/index.md +15 -0
- package/doc/sc/api/lib/socket/interfaces/IRwebsocketOptions.md +91 -0
- package/doc/sc/api/lib/sql/classes/Sql.md +791 -0
- package/doc/sc/api/lib/sql/enumerations/EJSON.md +61 -0
- package/doc/sc/api/lib/sql/enumerations/ESERVICE.md +27 -0
- package/doc/sc/api/lib/sql/functions/aoMix.md +25 -0
- package/doc/sc/api/lib/sql/functions/column.md +35 -0
- package/doc/sc/api/lib/sql/functions/format.md +37 -0
- package/doc/sc/api/lib/sql/functions/get.md +43 -0
- package/doc/sc/api/lib/sql/index.md +23 -0
- package/doc/sc/api/lib/ssh/classes/Connection.md +123 -0
- package/doc/sc/api/lib/ssh/functions/get.md +25 -0
- package/doc/sc/api/lib/ssh/index.md +19 -0
- package/doc/sc/api/lib/ssh/interfaces/IExtOptions.md +33 -0
- package/doc/sc/api/lib/ssh/sftp/classes/Connection.md +628 -0
- package/doc/sc/api/lib/ssh/sftp/index.md +11 -0
- package/doc/sc/api/lib/ssh/shell/classes/Connection.md +189 -0
- package/doc/sc/api/lib/ssh/shell/index.md +11 -0
- package/doc/sc/api/lib/text/functions/getFilename.md +25 -0
- package/doc/sc/api/lib/text/functions/htmlescape.md +25 -0
- package/doc/sc/api/lib/text/functions/int2str.md +42 -0
- package/doc/sc/api/lib/text/functions/isAscii.md +25 -0
- package/doc/sc/api/lib/text/functions/isDomain.md +27 -0
- package/doc/sc/api/lib/text/functions/isEMail.md +23 -0
- package/doc/sc/api/lib/text/functions/isFalsy.md +25 -0
- package/doc/sc/api/lib/text/functions/isIPv4.md +23 -0
- package/doc/sc/api/lib/text/functions/isIPv6.md +23 -0
- package/doc/sc/api/lib/text/functions/isIdCardCN.md +25 -0
- package/doc/sc/api/lib/text/functions/isPhoneCN.md +25 -0
- package/doc/sc/api/lib/text/functions/isRealPath.md +25 -0
- package/doc/sc/api/lib/text/functions/isTruthy.md +31 -0
- package/doc/sc/api/lib/text/functions/logicalOr.md +41 -0
- package/doc/sc/api/lib/text/functions/match.md +31 -0
- package/doc/sc/api/lib/text/functions/nlReplace.md +31 -0
- package/doc/sc/api/lib/text/functions/parseDomain.md +25 -0
- package/doc/sc/api/lib/text/functions/parseJson.md +25 -0
- package/doc/sc/api/lib/text/functions/parseUrl.md +23 -0
- package/doc/sc/api/lib/text/functions/queryParse.md +25 -0
- package/doc/sc/api/lib/text/functions/queryStringify.md +69 -0
- package/doc/sc/api/lib/text/functions/sizeFormat.md +31 -0
- package/doc/sc/api/lib/text/functions/str2int.md +36 -0
- package/doc/sc/api/lib/text/functions/stringifyBuffer.md +25 -0
- package/doc/sc/api/lib/text/functions/stringifyJson.md +31 -0
- package/doc/sc/api/lib/text/functions/stringifyResult.md +25 -0
- package/doc/sc/api/lib/text/functions/trimJson.md +23 -0
- package/doc/sc/api/lib/text/functions/urlAtom.md +25 -0
- package/doc/sc/api/lib/text/functions/urlResolve.md +31 -0
- package/doc/sc/api/lib/text/index.md +55 -0
- package/doc/sc/api/lib/text/interfaces/IDomain.md +43 -0
- package/doc/sc/api/lib/text/type-aliases/TFalsy.md +13 -0
- package/doc/sc/api/lib/text/variables/REGEXP_ASCII.md +13 -0
- package/doc/sc/api/lib/text/variables/REGEXP_DOMAIN.md +11 -0
- package/doc/sc/api/lib/text/variables/REGEXP_EMAIL.md +11 -0
- package/doc/sc/api/lib/text/variables/REGEXP_IPV4.md +11 -0
- package/doc/sc/api/lib/text/variables/REGEXP_IPV6.md +11 -0
- package/doc/sc/api/lib/time/classes/Time.md +125 -0
- package/doc/sc/api/lib/time/functions/format.md +37 -0
- package/doc/sc/api/lib/time/functions/get.md +27 -0
- package/doc/sc/api/lib/time/functions/isMs.md +25 -0
- package/doc/sc/api/lib/time/functions/stamp.md +31 -0
- package/doc/sc/api/lib/time/index.md +28 -0
- package/doc/sc/api/lib/time/interfaces/IOptions.md +29 -0
- package/doc/sc/api/lib/time/variables/DAY.md +13 -0
- package/doc/sc/api/lib/time/variables/HOUR.md +13 -0
- package/doc/sc/api/lib/time/variables/YEAR.md +13 -0
- package/doc/sc/api/lib/turnstile/enumerations/EFACTORY.md +27 -0
- package/doc/sc/api/lib/turnstile/functions/verify.md +35 -0
- package/doc/sc/api/lib/turnstile/index.md +15 -0
- package/doc/sc/api/lib/vector/classes/Vector.md +141 -0
- package/doc/sc/api/lib/vector/functions/get.md +25 -0
- package/doc/sc/api/lib/vector/index.md +19 -0
- package/doc/sc/api/lib/vector/interfaces/IOptions.md +61 -0
- package/doc/sc/api/lib/ws/classes/Socket.md +331 -0
- package/doc/sc/api/lib/ws/enumerations/EFrameReceiveMode.md +35 -0
- package/doc/sc/api/lib/ws/enumerations/EOpcode.md +59 -0
- package/doc/sc/api/lib/ws/functions/connect.md +31 -0
- package/doc/sc/api/lib/ws/functions/createServer.md +45 -0
- package/doc/sc/api/lib/ws/functions/mproxy.md +38 -0
- package/doc/sc/api/lib/ws/functions/rproxy.md +37 -0
- package/doc/sc/api/lib/ws/functions/rsocket.md +37 -0
- package/doc/sc/api/lib/ws/index.md +30 -0
- package/doc/sc/api/lib/ws/interfaces/IConnectOptions.md +95 -0
- package/doc/sc/api/lib/ws/interfaces/IMproxyOptions.md +87 -0
- package/doc/sc/api/lib/ws/interfaces/IRproxyOptions.md +105 -0
- package/doc/sc/api/lib/zip/classes/Zip.md +392 -0
- package/doc/sc/api/lib/zip/functions/get.md +25 -0
- package/doc/sc/api/lib/zip/index.md +29 -0
- package/doc/sc/api/lib/zip/interfaces/IZipInputByType.md +81 -0
- package/doc/sc/api/lib/zip/interfaces/IZipItem.md +65 -0
- package/doc/sc/api/lib/zip/interfaces/IZipMetadata.md +25 -0
- package/doc/sc/api/lib/zip/interfaces/IZipOutputByType.md +81 -0
- package/doc/sc/api/lib/zip/interfaces/IZipStats.md +49 -0
- package/doc/sc/api/lib/zip/type-aliases/TZipInputFileFormat.md +11 -0
- package/doc/sc/api/lib/zip/type-aliases/TZipInputType.md +11 -0
- package/doc/sc/api/lib/zip/type-aliases/TZipOutputType.md +11 -0
- package/doc/sc/api/lib/zlib/functions/brotliCompress.md +31 -0
- package/doc/sc/api/lib/zlib/functions/brotliDecompress.md +25 -0
- package/doc/sc/api/lib/zlib/functions/compress.md +37 -0
- package/doc/sc/api/lib/zlib/functions/createBrotliCompress.md +25 -0
- package/doc/sc/api/lib/zlib/functions/createBrotliDecompress.md +17 -0
- package/doc/sc/api/lib/zlib/functions/createCompress.md +31 -0
- package/doc/sc/api/lib/zlib/functions/createDecompress.md +25 -0
- package/doc/sc/api/lib/zlib/functions/createDeflate.md +25 -0
- package/doc/sc/api/lib/zlib/functions/createGunzip.md +17 -0
- package/doc/sc/api/lib/zlib/functions/createGzip.md +25 -0
- package/doc/sc/api/lib/zlib/functions/createInflate.md +17 -0
- package/doc/sc/api/lib/zlib/functions/decompress.md +31 -0
- package/doc/sc/api/lib/zlib/functions/deflate.md +31 -0
- package/doc/sc/api/lib/zlib/functions/gunzip.md +25 -0
- package/doc/sc/api/lib/zlib/functions/gzip.md +31 -0
- package/doc/sc/api/lib/zlib/functions/inflate.md +25 -0
- package/doc/sc/api/lib/zlib/index.md +31 -0
- package/doc/sc/api/lib/zlib/interfaces/ICompress.md +27 -0
- package/doc/sc/api/lib/zlib/interfaces/ICompressBuffer.md +27 -0
- package/doc/sc/api/main/index.md +7 -0
- package/doc/sc/api/sys/ctr/classes/Ctr.md +1242 -0
- package/doc/sc/api/sys/ctr/functions/clearLocaleData.md +17 -0
- package/doc/sc/api/sys/ctr/index.md +15 -0
- package/doc/sc/api/sys/mod/classes/Rows.md +165 -0
- package/doc/sc/api/sys/mod/classes/default.md +2175 -0
- package/doc/sc/api/sys/mod/index.md +21 -0
- package/doc/sc/api/sys/mod/interfaces/IModUnionItem.md +25 -0
- package/doc/sc/api/sys/mod/interfaces/IRows.md +57 -0
- package/doc/sc/api/sys/mod/type-aliases/TOnlyProperties.md +19 -0
- package/doc/sc/api/sys/route/functions/clearKebabConfigs.md +17 -0
- package/doc/sc/api/sys/route/functions/getFormData.md +47 -0
- package/doc/sc/api/sys/route/functions/getPost.md +25 -0
- package/doc/sc/api/sys/route/functions/run.md +83 -0
- package/doc/sc/api/sys/route/functions/unlinkUploadFiles.md +25 -0
- package/doc/sc/api/sys/route/functions/waitCtr.md +26 -0
- package/doc/sc/api/sys/route/index.md +16 -0
- package/doc/sc/quick-start.md +30 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../index.md) / index
|
|
6
|
+
|
|
7
|
+
# index
|
|
8
|
+
|
|
9
|
+
## Interfaces
|
|
10
|
+
|
|
11
|
+
- [IConfig](interfaces/IConfig.md)
|
|
12
|
+
- [IConfigAi](interfaces/IConfigAi.md)
|
|
13
|
+
- [IConfigConst](interfaces/IConfigConst.md)
|
|
14
|
+
- [IConfigDb](interfaces/IConfigDb.md)
|
|
15
|
+
- [IConfigDns](interfaces/IConfigDns.md)
|
|
16
|
+
- [IConfigJwt](interfaces/IConfigJwt.md)
|
|
17
|
+
- [IConfigKv](interfaces/IConfigKv.md)
|
|
18
|
+
- [IConfigLang](interfaces/IConfigLang.md)
|
|
19
|
+
- [IConfigS3](interfaces/IConfigS3.md)
|
|
20
|
+
- [IConfigSql](interfaces/IConfigSql.md)
|
|
21
|
+
- [IConfigTurnstile](interfaces/IConfigTurnstile.md)
|
|
22
|
+
- [IConfigVector](interfaces/IConfigVector.md)
|
|
23
|
+
- [IPostFile](interfaces/IPostFile.md)
|
|
24
|
+
- [IUrlParse](interfaces/IUrlParse.md)
|
|
25
|
+
- [IVhost](interfaces/IVhost.md)
|
|
26
|
+
|
|
27
|
+
## Type Aliases
|
|
28
|
+
|
|
29
|
+
- [DbValue](type-aliases/DbValue.md)
|
|
30
|
+
- [Json](type-aliases/Json.md)
|
|
31
|
+
|
|
32
|
+
## Variables
|
|
33
|
+
|
|
34
|
+
- [CERT\_CWD](variables/CERT_CWD.md)
|
|
35
|
+
- [CONF\_CWD](variables/CONF_CWD.md)
|
|
36
|
+
- [FTMP\_CWD](variables/FTMP_CWD.md)
|
|
37
|
+
- [IND\_CWD](variables/IND_CWD.md)
|
|
38
|
+
- [LIB\_CWD](variables/LIB_CWD.md)
|
|
39
|
+
- [LIB\_PATH](variables/LIB_PATH.md)
|
|
40
|
+
- [LOG\_CWD](variables/LOG_CWD.md)
|
|
41
|
+
- [MOD\_CWD](variables/MOD_CWD.md)
|
|
42
|
+
- [ROOT\_CWD](variables/ROOT_CWD.md)
|
|
43
|
+
- [ROOT\_PATH](variables/ROOT_PATH.md)
|
|
44
|
+
- [SYS\_PATH](variables/SYS_PATH.md)
|
|
45
|
+
- [VER](variables/VER.md)
|
|
46
|
+
- [VHOST\_CWD](variables/VHOST_CWD.md)
|
|
47
|
+
- [WWW\_CWD](variables/WWW_CWD.md)
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfig
|
|
6
|
+
|
|
7
|
+
# Interface: IConfig
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:50](https://github.com/maiyunnet/kebab/blob/master/index.ts#L50)
|
|
10
|
+
|
|
11
|
+
目录配置文件
|
|
12
|
+
|
|
13
|
+
## Indexable
|
|
14
|
+
|
|
15
|
+
\[`key`: `string`\]: `Record`\<`string`, `any`\>
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### ai
|
|
20
|
+
|
|
21
|
+
> **ai**: `Record`\<`string`, [`IConfigAi`](IConfigAi.md)\>
|
|
22
|
+
|
|
23
|
+
Defined in: [index.ts:81](https://github.com/maiyunnet/kebab/blob/master/index.ts#L81)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### const
|
|
28
|
+
|
|
29
|
+
> **const**: [`IConfigConst`](IConfigConst.md)
|
|
30
|
+
|
|
31
|
+
Defined in: [index.ts:62](https://github.com/maiyunnet/kebab/blob/master/index.ts#L62)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### db
|
|
36
|
+
|
|
37
|
+
> **db**: `Record`\<`string`, \{ `default`: [`IConfigDb`](IConfigDb.md); `read`: [`IConfigDb`](IConfigDb.md); \}\> & `object`
|
|
38
|
+
|
|
39
|
+
Defined in: [index.ts:63](https://github.com/maiyunnet/kebab/blob/master/index.ts#L63)
|
|
40
|
+
|
|
41
|
+
#### Type Declaration
|
|
42
|
+
|
|
43
|
+
##### default
|
|
44
|
+
|
|
45
|
+
> **default**: `"MYSQL"` \| `"PGSQL"`
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### dns
|
|
50
|
+
|
|
51
|
+
> **dns**: `Record`\<`string`, [`IConfigDns`](IConfigDns.md)\>
|
|
52
|
+
|
|
53
|
+
Defined in: [index.ts:77](https://github.com/maiyunnet/kebab/blob/master/index.ts#L77)
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### kv
|
|
58
|
+
|
|
59
|
+
> **kv**: [`IConfigKv`](IConfigKv.md)
|
|
60
|
+
|
|
61
|
+
Defined in: [index.ts:69](https://github.com/maiyunnet/kebab/blob/master/index.ts#L69)
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### lang
|
|
66
|
+
|
|
67
|
+
> **lang**: [`IConfigLang`](IConfigLang.md)
|
|
68
|
+
|
|
69
|
+
Defined in: [index.ts:78](https://github.com/maiyunnet/kebab/blob/master/index.ts#L78)
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### route
|
|
74
|
+
|
|
75
|
+
> **route**: `Record`\<`string`, `string`\>
|
|
76
|
+
|
|
77
|
+
Defined in: [index.ts:70](https://github.com/maiyunnet/kebab/blob/master/index.ts#L70)
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### s3
|
|
82
|
+
|
|
83
|
+
> **s3**: `Record`\<`string`, [`IConfigS3`](IConfigS3.md)\>
|
|
84
|
+
|
|
85
|
+
Defined in: [index.ts:79](https://github.com/maiyunnet/kebab/blob/master/index.ts#L79)
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### session
|
|
90
|
+
|
|
91
|
+
> **session**: `object`
|
|
92
|
+
|
|
93
|
+
Defined in: [index.ts:71](https://github.com/maiyunnet/kebab/blob/master/index.ts#L71)
|
|
94
|
+
|
|
95
|
+
#### name
|
|
96
|
+
|
|
97
|
+
> **name**: `string`
|
|
98
|
+
|
|
99
|
+
#### ssl
|
|
100
|
+
|
|
101
|
+
> **ssl**: `boolean`
|
|
102
|
+
|
|
103
|
+
#### ttl
|
|
104
|
+
|
|
105
|
+
> **ttl**: `number`
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### set
|
|
110
|
+
|
|
111
|
+
> **set**: `object`
|
|
112
|
+
|
|
113
|
+
Defined in: [index.ts:51](https://github.com/maiyunnet/kebab/blob/master/index.ts#L51)
|
|
114
|
+
|
|
115
|
+
#### Index Signature
|
|
116
|
+
|
|
117
|
+
\[`key`: `string`\]: `any`
|
|
118
|
+
|
|
119
|
+
#### cacheTtl
|
|
120
|
+
|
|
121
|
+
> **cacheTtl**: `number`
|
|
122
|
+
|
|
123
|
+
#### mustHttps
|
|
124
|
+
|
|
125
|
+
> **mustHttps**: `boolean`
|
|
126
|
+
|
|
127
|
+
#### staticPath
|
|
128
|
+
|
|
129
|
+
> **staticPath**: `string`
|
|
130
|
+
|
|
131
|
+
#### staticPathFull
|
|
132
|
+
|
|
133
|
+
> **staticPathFull**: `string`
|
|
134
|
+
|
|
135
|
+
#### staticVer
|
|
136
|
+
|
|
137
|
+
> **staticVer**: `string`
|
|
138
|
+
|
|
139
|
+
#### timezone
|
|
140
|
+
|
|
141
|
+
> **timezone**: `number`
|
|
142
|
+
|
|
143
|
+
***
|
|
144
|
+
|
|
145
|
+
### sql
|
|
146
|
+
|
|
147
|
+
> **sql**: [`IConfigSql`](IConfigSql.md)
|
|
148
|
+
|
|
149
|
+
Defined in: [index.ts:76](https://github.com/maiyunnet/kebab/blob/master/index.ts#L76)
|
|
150
|
+
|
|
151
|
+
***
|
|
152
|
+
|
|
153
|
+
### turnstile
|
|
154
|
+
|
|
155
|
+
> **turnstile**: [`IConfigTurnstile`](IConfigTurnstile.md)
|
|
156
|
+
|
|
157
|
+
Defined in: [index.ts:80](https://github.com/maiyunnet/kebab/blob/master/index.ts#L80)
|
|
158
|
+
|
|
159
|
+
***
|
|
160
|
+
|
|
161
|
+
### vector
|
|
162
|
+
|
|
163
|
+
> **vector**: [`IConfigVector`](IConfigVector.md)
|
|
164
|
+
|
|
165
|
+
Defined in: [index.ts:82](https://github.com/maiyunnet/kebab/blob/master/index.ts#L82)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigAi
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigAi
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:118](https://github.com/maiyunnet/kebab/blob/master/index.ts#L118)
|
|
10
|
+
|
|
11
|
+
AI
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### endpoint?
|
|
16
|
+
|
|
17
|
+
> `optional` **endpoint**: `string`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:120](https://github.com/maiyunnet/kebab/blob/master/index.ts#L120)
|
|
20
|
+
|
|
21
|
+
目前只有微软 Azure 有
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### skey
|
|
26
|
+
|
|
27
|
+
> **skey**: `string`
|
|
28
|
+
|
|
29
|
+
Defined in: [index.ts:121](https://github.com/maiyunnet/kebab/blob/master/index.ts#L121)
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigConst
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigConst
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:190](https://github.com/maiyunnet/kebab/blob/master/index.ts#L190)
|
|
10
|
+
|
|
11
|
+
常量
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### ctrPath
|
|
16
|
+
|
|
17
|
+
> **ctrPath**: `string`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:215](https://github.com/maiyunnet/kebab/blob/master/index.ts#L215)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### dataPath
|
|
24
|
+
|
|
25
|
+
> **dataPath**: `string`
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:217](https://github.com/maiyunnet/kebab/blob/master/index.ts#L217)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### host
|
|
32
|
+
|
|
33
|
+
> **host**: `string`
|
|
34
|
+
|
|
35
|
+
Defined in: [index.ts:206](https://github.com/maiyunnet/kebab/blob/master/index.ts#L206)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### hostname
|
|
40
|
+
|
|
41
|
+
> **hostname**: `string`
|
|
42
|
+
|
|
43
|
+
Defined in: [index.ts:207](https://github.com/maiyunnet/kebab/blob/master/index.ts#L207)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### hostport
|
|
48
|
+
|
|
49
|
+
> **hostport**: `number`
|
|
50
|
+
|
|
51
|
+
Defined in: [index.ts:208](https://github.com/maiyunnet/kebab/blob/master/index.ts#L208)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### https
|
|
56
|
+
|
|
57
|
+
> **https**: `boolean`
|
|
58
|
+
|
|
59
|
+
Defined in: [index.ts:205](https://github.com/maiyunnet/kebab/blob/master/index.ts#L205)
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### miniprogram
|
|
64
|
+
|
|
65
|
+
> **miniprogram**: `""` \| `"wechat"`
|
|
66
|
+
|
|
67
|
+
Defined in: [index.ts:204](https://github.com/maiyunnet/kebab/blob/master/index.ts#L204)
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### mobile
|
|
72
|
+
|
|
73
|
+
> **mobile**: `boolean`
|
|
74
|
+
|
|
75
|
+
Defined in: [index.ts:202](https://github.com/maiyunnet/kebab/blob/master/index.ts#L202)
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### modPath
|
|
80
|
+
|
|
81
|
+
> **modPath**: `string`
|
|
82
|
+
|
|
83
|
+
Defined in: [index.ts:214](https://github.com/maiyunnet/kebab/blob/master/index.ts#L214)
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### path
|
|
88
|
+
|
|
89
|
+
> **path**: `string`
|
|
90
|
+
|
|
91
|
+
Defined in: [index.ts:192](https://github.com/maiyunnet/kebab/blob/master/index.ts#L192)
|
|
92
|
+
|
|
93
|
+
不以 / 开头,不含 qs
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### qs
|
|
98
|
+
|
|
99
|
+
> **qs**: `string`
|
|
100
|
+
|
|
101
|
+
Defined in: [index.ts:194](https://github.com/maiyunnet/kebab/blob/master/index.ts#L194)
|
|
102
|
+
|
|
103
|
+
不含 ? 开头
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
107
|
+
### qss
|
|
108
|
+
|
|
109
|
+
> **qss**: `string`
|
|
110
|
+
|
|
111
|
+
Defined in: [index.ts:196](https://github.com/maiyunnet/kebab/blob/master/index.ts#L196)
|
|
112
|
+
|
|
113
|
+
含 ? 开头
|
|
114
|
+
|
|
115
|
+
***
|
|
116
|
+
|
|
117
|
+
### rootPath
|
|
118
|
+
|
|
119
|
+
> **rootPath**: `string`
|
|
120
|
+
|
|
121
|
+
Defined in: [index.ts:213](https://github.com/maiyunnet/kebab/blob/master/index.ts#L213)
|
|
122
|
+
|
|
123
|
+
***
|
|
124
|
+
|
|
125
|
+
### startMemory
|
|
126
|
+
|
|
127
|
+
> **startMemory**: `number`
|
|
128
|
+
|
|
129
|
+
Defined in: [index.ts:198](https://github.com/maiyunnet/kebab/blob/master/index.ts#L198)
|
|
130
|
+
|
|
131
|
+
***
|
|
132
|
+
|
|
133
|
+
### startTime
|
|
134
|
+
|
|
135
|
+
> **startTime**: `bigint`
|
|
136
|
+
|
|
137
|
+
Defined in: [index.ts:197](https://github.com/maiyunnet/kebab/blob/master/index.ts#L197)
|
|
138
|
+
|
|
139
|
+
***
|
|
140
|
+
|
|
141
|
+
### uri
|
|
142
|
+
|
|
143
|
+
> **uri**: [`IUrlParse`](IUrlParse.md)
|
|
144
|
+
|
|
145
|
+
Defined in: [index.ts:209](https://github.com/maiyunnet/kebab/blob/master/index.ts#L209)
|
|
146
|
+
|
|
147
|
+
***
|
|
148
|
+
|
|
149
|
+
### urlBase
|
|
150
|
+
|
|
151
|
+
> **urlBase**: `string`
|
|
152
|
+
|
|
153
|
+
Defined in: [index.ts:222](https://github.com/maiyunnet/kebab/blob/master/index.ts#L222)
|
|
154
|
+
|
|
155
|
+
***
|
|
156
|
+
|
|
157
|
+
### urlFull
|
|
158
|
+
|
|
159
|
+
> **urlFull**: `string`
|
|
160
|
+
|
|
161
|
+
Defined in: [index.ts:224](https://github.com/maiyunnet/kebab/blob/master/index.ts#L224)
|
|
162
|
+
|
|
163
|
+
***
|
|
164
|
+
|
|
165
|
+
### urlStc
|
|
166
|
+
|
|
167
|
+
> **urlStc**: `string`
|
|
168
|
+
|
|
169
|
+
Defined in: [index.ts:223](https://github.com/maiyunnet/kebab/blob/master/index.ts#L223)
|
|
170
|
+
|
|
171
|
+
***
|
|
172
|
+
|
|
173
|
+
### urlStcFull
|
|
174
|
+
|
|
175
|
+
> **urlStcFull**: `string`
|
|
176
|
+
|
|
177
|
+
Defined in: [index.ts:225](https://github.com/maiyunnet/kebab/blob/master/index.ts#L225)
|
|
178
|
+
|
|
179
|
+
***
|
|
180
|
+
|
|
181
|
+
### viewPath
|
|
182
|
+
|
|
183
|
+
> **viewPath**: `string`
|
|
184
|
+
|
|
185
|
+
Defined in: [index.ts:216](https://github.com/maiyunnet/kebab/blob/master/index.ts#L216)
|
|
186
|
+
|
|
187
|
+
***
|
|
188
|
+
|
|
189
|
+
### wechat
|
|
190
|
+
|
|
191
|
+
> **wechat**: `boolean`
|
|
192
|
+
|
|
193
|
+
Defined in: [index.ts:203](https://github.com/maiyunnet/kebab/blob/master/index.ts#L203)
|
|
194
|
+
|
|
195
|
+
***
|
|
196
|
+
|
|
197
|
+
### wsPath
|
|
198
|
+
|
|
199
|
+
> **wsPath**: `string`
|
|
200
|
+
|
|
201
|
+
Defined in: [index.ts:218](https://github.com/maiyunnet/kebab/blob/master/index.ts#L218)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigDb
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigDb
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:148](https://github.com/maiyunnet/kebab/blob/master/index.ts#L148)
|
|
10
|
+
|
|
11
|
+
数据库
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### charset
|
|
16
|
+
|
|
17
|
+
> **charset**: `string`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:151](https://github.com/maiyunnet/kebab/blob/master/index.ts#L151)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### host
|
|
24
|
+
|
|
25
|
+
> **host**: `string`
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:149](https://github.com/maiyunnet/kebab/blob/master/index.ts#L149)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### name
|
|
32
|
+
|
|
33
|
+
> **name**: `string`
|
|
34
|
+
|
|
35
|
+
Defined in: [index.ts:152](https://github.com/maiyunnet/kebab/blob/master/index.ts#L152)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### port
|
|
40
|
+
|
|
41
|
+
> **port**: `number`
|
|
42
|
+
|
|
43
|
+
Defined in: [index.ts:150](https://github.com/maiyunnet/kebab/blob/master/index.ts#L150)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### pwd
|
|
48
|
+
|
|
49
|
+
> **pwd**: `string`
|
|
50
|
+
|
|
51
|
+
Defined in: [index.ts:155](https://github.com/maiyunnet/kebab/blob/master/index.ts#L155)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### user
|
|
56
|
+
|
|
57
|
+
> **user**: `string`
|
|
58
|
+
|
|
59
|
+
Defined in: [index.ts:154](https://github.com/maiyunnet/kebab/blob/master/index.ts#L154)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigDns
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigDns
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:168](https://github.com/maiyunnet/kebab/blob/master/index.ts#L168)
|
|
10
|
+
|
|
11
|
+
DNS
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### sid
|
|
16
|
+
|
|
17
|
+
> **sid**: `string`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:169](https://github.com/maiyunnet/kebab/blob/master/index.ts#L169)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### skey
|
|
24
|
+
|
|
25
|
+
> **skey**: `string`
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:170](https://github.com/maiyunnet/kebab/blob/master/index.ts#L170)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigJwt
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigJwt
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:159](https://github.com/maiyunnet/kebab/blob/master/index.ts#L159)
|
|
10
|
+
|
|
11
|
+
Jwt 信息
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### auth
|
|
16
|
+
|
|
17
|
+
> **auth**: `boolean`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:164](https://github.com/maiyunnet/kebab/blob/master/index.ts#L164)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### name
|
|
24
|
+
|
|
25
|
+
> **name**: `string`
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:160](https://github.com/maiyunnet/kebab/blob/master/index.ts#L160)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### secret
|
|
32
|
+
|
|
33
|
+
> **secret**: `string`
|
|
34
|
+
|
|
35
|
+
Defined in: [index.ts:163](https://github.com/maiyunnet/kebab/blob/master/index.ts#L163)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### ssl
|
|
40
|
+
|
|
41
|
+
> **ssl**: `boolean`
|
|
42
|
+
|
|
43
|
+
Defined in: [index.ts:162](https://github.com/maiyunnet/kebab/blob/master/index.ts#L162)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### ttl
|
|
48
|
+
|
|
49
|
+
> **ttl**: `number`
|
|
50
|
+
|
|
51
|
+
Defined in: [index.ts:161](https://github.com/maiyunnet/kebab/blob/master/index.ts#L161)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigKv
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigKv
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:174](https://github.com/maiyunnet/kebab/blob/master/index.ts#L174)
|
|
10
|
+
|
|
11
|
+
kv
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### host
|
|
16
|
+
|
|
17
|
+
> **host**: `string`
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:175](https://github.com/maiyunnet/kebab/blob/master/index.ts#L175)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### index
|
|
24
|
+
|
|
25
|
+
> **index**: `number`
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:177](https://github.com/maiyunnet/kebab/blob/master/index.ts#L177)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### port
|
|
32
|
+
|
|
33
|
+
> **port**: `number`
|
|
34
|
+
|
|
35
|
+
Defined in: [index.ts:176](https://github.com/maiyunnet/kebab/blob/master/index.ts#L176)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### pre
|
|
40
|
+
|
|
41
|
+
> **pre**: `string`
|
|
42
|
+
|
|
43
|
+
Defined in: [index.ts:178](https://github.com/maiyunnet/kebab/blob/master/index.ts#L178)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### pwd
|
|
48
|
+
|
|
49
|
+
> **pwd**: `string`
|
|
50
|
+
|
|
51
|
+
Defined in: [index.ts:181](https://github.com/maiyunnet/kebab/blob/master/index.ts#L181)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### user
|
|
56
|
+
|
|
57
|
+
> **user**: `string`
|
|
58
|
+
|
|
59
|
+
Defined in: [index.ts:180](https://github.com/maiyunnet/kebab/blob/master/index.ts#L180)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[Documents for @maiyunnet/kebab](../../index.md) / [index](../index.md) / IConfigLang
|
|
6
|
+
|
|
7
|
+
# Interface: IConfigLang
|
|
8
|
+
|
|
9
|
+
Defined in: [index.ts:102](https://github.com/maiyunnet/kebab/blob/master/index.ts#L102)
|
|
10
|
+
|
|
11
|
+
语言
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### direct
|
|
16
|
+
|
|
17
|
+
> **direct**: `string`[]
|
|
18
|
+
|
|
19
|
+
Defined in: [index.ts:104](https://github.com/maiyunnet/kebab/blob/master/index.ts#L104)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### list
|
|
24
|
+
|
|
25
|
+
> **list**: `string`[]
|
|
26
|
+
|
|
27
|
+
Defined in: [index.ts:103](https://github.com/maiyunnet/kebab/blob/master/index.ts#L103)
|