node-karin 1.4.6 → 1.4.7
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/CHANGELOG.md +7 -0
- package/README.md +32 -0
- package/dist/index.d.ts +115 -3
- package/dist/index.js +13328 -13157
- package/dist/web/assets/accordion-Batk5_GB.js.gz +0 -0
- package/dist/web/assets/adapter-Dm1geMkp.js.gz +0 -0
- package/dist/web/assets/chunk-DYRPAKRC-BualQoXq.js.gz +0 -0
- package/dist/web/assets/config-Bl--9WOd.js.gz +0 -0
- package/dist/web/assets/cssMode-CccHrj2w.js.gz +0 -0
- package/dist/web/assets/{env-c4IZKIKV.js.gz → env-OmZsPELI.js.gz} +0 -0
- package/dist/web/assets/freemarker2--YCoEnVt.js.gz +0 -0
- package/dist/web/assets/group-C8JUM_UV.js.gz +0 -0
- package/dist/web/assets/handlebars-DjXgumFR.js.gz +0 -0
- package/dist/web/assets/html-Drbf_YZO.js.gz +0 -0
- package/dist/web/assets/htmlMode-BMJt-GJV.js.gz +0 -0
- package/dist/web/assets/index-Bcaa5nG3.js.gz +0 -0
- package/dist/web/assets/index-Dac7t8My.js +1 -0
- package/dist/web/assets/index-sVqVeUHC.js +1 -0
- package/dist/web/assets/inputGroup-DZf2qxqa.js.gz +0 -0
- package/dist/web/assets/javascript-NYb696me.js.gz +0 -0
- package/dist/web/assets/jsonMode-DNUI9gN3.js.gz +0 -0
- package/dist/web/assets/liquid-jXyyLgKV.js.gz +0 -0
- package/dist/web/assets/mdx-Ioa7ifYZ.js.gz +0 -0
- package/dist/web/assets/pm2-DVewe0cU.js.gz +0 -0
- package/dist/web/assets/private-DH4X9XVx.js.gz +0 -0
- package/dist/web/assets/python-C0o1-wxk.js.gz +0 -0
- package/dist/web/assets/razor-Be5iTftE.js.gz +0 -0
- package/dist/web/assets/redis-C4PikuRS.js.gz +0 -0
- package/dist/web/assets/render-bXNnTWIx.js.gz +0 -0
- package/dist/web/assets/{save-C0_Ql9-S.js → save-BSfF3Klv.js} +1 -1
- package/dist/web/assets/ts.worker-B_RpyLgm.js.gz +0 -0
- package/dist/web/assets/tsMode-CVEwPwen.js.gz +0 -0
- package/dist/web/assets/typescript-r1pDYlL_.js.gz +0 -0
- package/dist/web/assets/xml-CuDcVWf-.js.gz +0 -0
- package/dist/web/assets/yaml-BR07SmK8.js.gz +0 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/web/assets/accordion-WcIxaDrl.js.gz +0 -0
- package/dist/web/assets/adapter-DzU6Wpx4.js.gz +0 -0
- package/dist/web/assets/chunk-RRTOIK23-fsTTpjyI.js.gz +0 -0
- package/dist/web/assets/config-B2KZ9O07.js.gz +0 -0
- package/dist/web/assets/cssMode-ChGt83N8.js.gz +0 -0
- package/dist/web/assets/freemarker2-BNBpU3O_.js.gz +0 -0
- package/dist/web/assets/group-BaYheir2.js.gz +0 -0
- package/dist/web/assets/handlebars-Bv2olmjh.js.gz +0 -0
- package/dist/web/assets/html-DjLQ648n.js.gz +0 -0
- package/dist/web/assets/htmlMode-Byp7JxLp.js.gz +0 -0
- package/dist/web/assets/index-6g1t6wsY.js.gz +0 -0
- package/dist/web/assets/index-BNXr-pbF.js +0 -1
- package/dist/web/assets/index-D_n2vAEv.js +0 -1
- package/dist/web/assets/inputGroup-C_Bk3Tb7.js.gz +0 -0
- package/dist/web/assets/javascript-DIcV_b8v.js.gz +0 -0
- package/dist/web/assets/jsonMode-BnaGNeov.js.gz +0 -0
- package/dist/web/assets/liquid-DRJzYgUL.js.gz +0 -0
- package/dist/web/assets/mdx-CEbFzt-5.js.gz +0 -0
- package/dist/web/assets/pm2-BzxD3Siq.js.gz +0 -0
- package/dist/web/assets/private-Di4GsKD4.js.gz +0 -0
- package/dist/web/assets/python-D8pPp5aY.js.gz +0 -0
- package/dist/web/assets/razor-BJvqJmeL.js.gz +0 -0
- package/dist/web/assets/redis-XfDSlPuL.js.gz +0 -0
- package/dist/web/assets/render-DbwgxT-M.js.gz +0 -0
- package/dist/web/assets/ts.worker-Bd4z-OY3.js.gz +0 -0
- package/dist/web/assets/tsMode-BuTe04cn.js.gz +0 -0
- package/dist/web/assets/typescript-DOPOfZDy.js.gz +0 -0
- package/dist/web/assets/xml-Da3poBCM.js.gz +0 -0
- package/dist/web/assets/yaml-BFBel0xv.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.4.7](https://github.com/KarinJS/Karin/compare/core-v1.4.6...core-v1.4.7) (2025-03-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* hmr ([c09f423](https://github.com/KarinJS/Karin/commit/c09f4231d53d26ac1e3643ba18dd7dab10d032cc))
|
|
9
|
+
|
|
3
10
|
## [1.4.6](https://github.com/KarinJS/Karin/compare/core-v1.4.5...core-v1.4.6) (2025-03-05)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
## 项目介绍
|
|
4
|
+
|
|
5
|
+
`karin` 中译为「卡琳」,这个名字由[fuqiuluo](https://github.com/fuqiuluo)提供~
|
|
6
|
+
|
|
7
|
+
## 快速开始
|
|
8
|
+
|
|
9
|
+
[点击跳转文档](https://karin.fun/)
|
|
10
|
+
|
|
11
|
+
当前文档可能存在滞后性,正在努力更新中。
|
|
12
|
+
|
|
13
|
+
有其他问题请加群讨论: 967068507
|
|
14
|
+
|
|
15
|
+
## 温馨提示
|
|
16
|
+
|
|
17
|
+
当前`1.0.0`仍处于测试阶段,欢迎大家提出宝贵意见,我们会尽快修复。
|
|
18
|
+
|
|
19
|
+
## 鸣谢
|
|
20
|
+
|
|
21
|
+
- webui: [bietiaop](https://github.com/bietiaop)
|
|
22
|
+
- docs: [ikenxuan](https://github.com/ikenxuan)
|
|
23
|
+
|
|
24
|
+
> ps: 感谢两位大佬~
|
|
25
|
+
|
|
26
|
+
### 贡献者
|
|
27
|
+
|
|
28
|
+
> 🌟 星光闪烁,你们的智慧如同璀璨的夜空。感谢所有为**Karin**做出贡献的人!
|
|
29
|
+
|
|
30
|
+
[](https://github.com/KarinJS/Karin/graphs/contributors)
|
|
31
|
+
|
|
32
|
+

|
package/dist/index.d.ts
CHANGED
|
@@ -4361,6 +4361,11 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
4361
4361
|
SendApi<T extends keyof OB11ApiParams>(action: T, params: OB11ApiParams[T], time?: number): Promise<OB11ApiRequest[T]>;
|
|
4362
4362
|
}
|
|
4363
4363
|
|
|
4364
|
+
/**
|
|
4365
|
+
* @description 初始化OneBot11客户端
|
|
4366
|
+
*/
|
|
4367
|
+
declare const createClient: () => Promise<void>;
|
|
4368
|
+
declare const createHttp: () => Promise<void>;
|
|
4364
4369
|
/**
|
|
4365
4370
|
* @internal
|
|
4366
4371
|
* @description 初始化OneBot适配器
|
|
@@ -8834,6 +8839,100 @@ declare const makeMessage: (elements: SendMessage) => Array<Elements>;
|
|
|
8834
8839
|
*/
|
|
8835
8840
|
declare const makeForward: (elements: SendMessage | Array<Elements[]>, fakeId?: string, fakeName?: string) => Array<CustomNodeElement>;
|
|
8836
8841
|
|
|
8842
|
+
/**
|
|
8843
|
+
* 比较两个对象数组,找出它们之间的差异
|
|
8844
|
+
* @description 使用深度比较方式,返回在旧数组中被移除的对象和在新数组中新增的对象
|
|
8845
|
+
* @param old 旧数组 - 作为比较基准的原始数组
|
|
8846
|
+
* @param data 新数组 - 需要与基准数组进行比较的目标数组
|
|
8847
|
+
* @returns 包含差异的对象
|
|
8848
|
+
* - removed: 在旧数组中存在但在新数组中不存在的对象集合
|
|
8849
|
+
* - added: 在新数组中存在但在旧数组中不存在的对象集合
|
|
8850
|
+
* @example
|
|
8851
|
+
* const diff = diffArray(
|
|
8852
|
+
* [{ self_id: 123, token: '123' }, { self_id: 222, token: '123' }],
|
|
8853
|
+
* [{ self_id: 123, token: '123' }, { self_id: 333, token: '123' }]
|
|
8854
|
+
* )
|
|
8855
|
+
* // 结果: {
|
|
8856
|
+
* // removed: [{ self_id: 222, token: '123' }],
|
|
8857
|
+
* // added: [{ self_id: 333, token: '123' }]
|
|
8858
|
+
* // }
|
|
8859
|
+
*/
|
|
8860
|
+
declare const diffArray: <T extends Record<string, any>, K extends Record<string, any>>(old: T[], data: K[]) => {
|
|
8861
|
+
removed: T[];
|
|
8862
|
+
added: K[];
|
|
8863
|
+
};
|
|
8864
|
+
/**
|
|
8865
|
+
* 确保数值在指定范围内
|
|
8866
|
+
* @param value 需要限制的数值
|
|
8867
|
+
* @param min 最小值
|
|
8868
|
+
* @param max 最大值
|
|
8869
|
+
* @returns 限制在范围内的数值
|
|
8870
|
+
* @example clamp(5, 0, 10) // 返回 5
|
|
8871
|
+
* clamp(-1, 0, 10) // 返回 0
|
|
8872
|
+
* clamp(11, 0, 10) // 返回 10
|
|
8873
|
+
*/
|
|
8874
|
+
declare const clamp: (value: number, min: number, max: number) => number;
|
|
8875
|
+
/**
|
|
8876
|
+
* 生成指定范围内的随机整数
|
|
8877
|
+
* @param min 最小值(包含)
|
|
8878
|
+
* @param max 最大值(包含)
|
|
8879
|
+
* @returns 随机整数
|
|
8880
|
+
* @example random(1, 10) // 返回 1-10 之间的随机整数
|
|
8881
|
+
*/
|
|
8882
|
+
declare const random: (min: number, max: number) => number;
|
|
8883
|
+
/**
|
|
8884
|
+
* 格式化数字,添加千位分隔符
|
|
8885
|
+
* @param num 需要格式化的数字
|
|
8886
|
+
* @param digits 保留小数位数,默认为 0
|
|
8887
|
+
* @returns 格式化后的字符串
|
|
8888
|
+
* @example formatNumber(1234567) // 返回 "1,234,567"
|
|
8889
|
+
* formatNumber(1234.567, 2) // 返回 "1,234.57"
|
|
8890
|
+
*/
|
|
8891
|
+
declare const formatNumber: (num: number, digits?: number) => string;
|
|
8892
|
+
/**
|
|
8893
|
+
* 计算百分比
|
|
8894
|
+
* @param value 当前值
|
|
8895
|
+
* @param total 总值
|
|
8896
|
+
* @param digits 保留小数位数,默认为 2
|
|
8897
|
+
* @returns 百分比值
|
|
8898
|
+
* @example percentage(75, 200) // 返回 37.5
|
|
8899
|
+
*/
|
|
8900
|
+
declare const percentage: (value: number, total: number, digits?: number) => number;
|
|
8901
|
+
/**
|
|
8902
|
+
* 将数字转换为带单位的字符串(K, M, B)
|
|
8903
|
+
* @param num 需要转换的数字
|
|
8904
|
+
* @param digits 保留小数位数,默认为 1
|
|
8905
|
+
* @returns 带单位的字符串
|
|
8906
|
+
* @example formatUnit(1234) // 返回 "1.2K"
|
|
8907
|
+
* formatUnit(1234567) // 返回 "1.2M"
|
|
8908
|
+
* formatUnit(1234567890) // 返回 "1.2B"
|
|
8909
|
+
*/
|
|
8910
|
+
declare const formatUnit: (num: number, digits?: number) => string;
|
|
8911
|
+
/**
|
|
8912
|
+
* 判断一个数是否为偶数
|
|
8913
|
+
* @param num 需要判断的数字
|
|
8914
|
+
* @returns 是否为偶数
|
|
8915
|
+
* @example isEven(2) // 返回 true
|
|
8916
|
+
* isEven(3) // 返回 false
|
|
8917
|
+
*/
|
|
8918
|
+
declare const isEven: (num: number) => boolean;
|
|
8919
|
+
/**
|
|
8920
|
+
* 计算数组的平均值
|
|
8921
|
+
* @param numbers 数字数组
|
|
8922
|
+
* @returns 平均值
|
|
8923
|
+
* @example average([1, 2, 3, 4, 5]) // 返回 3
|
|
8924
|
+
*/
|
|
8925
|
+
declare const average: (numbers: number[]) => number;
|
|
8926
|
+
/**
|
|
8927
|
+
* 将数字四舍五入到指定小数位
|
|
8928
|
+
* @param num 需要处理的数字
|
|
8929
|
+
* @param decimals 小数位数,默认为 0
|
|
8930
|
+
* @returns 处理后的数字
|
|
8931
|
+
* @example round(1.234, 2) // 返回 1.23
|
|
8932
|
+
* round(1.235, 2) // 返回 1.24
|
|
8933
|
+
*/
|
|
8934
|
+
declare const round: (num: number, decimals?: number) => number;
|
|
8935
|
+
|
|
8837
8936
|
/**
|
|
8838
8937
|
* 休眠函数
|
|
8839
8938
|
* @param ms 毫秒
|
|
@@ -8962,23 +9061,32 @@ declare const getAbsPath: (images: string[], root: string) => string[];
|
|
|
8962
9061
|
type index$1_AxiosFn = AxiosFn;
|
|
8963
9062
|
type index$1_NpmInfo = NpmInfo;
|
|
8964
9063
|
declare const index$1_absPath: typeof absPath;
|
|
9064
|
+
declare const index$1_average: typeof average;
|
|
8965
9065
|
declare const index$1_axios: typeof axios;
|
|
8966
9066
|
declare const index$1_base64: typeof base64;
|
|
8967
9067
|
declare const index$1_buffer: typeof buffer;
|
|
9068
|
+
declare const index$1_clamp: typeof clamp;
|
|
8968
9069
|
declare const index$1_createRawMessage: typeof createRawMessage;
|
|
9070
|
+
declare const index$1_diffArray: typeof diffArray;
|
|
8969
9071
|
declare const index$1_downFile: typeof downFile;
|
|
9072
|
+
declare const index$1_formatNumber: typeof formatNumber;
|
|
8970
9073
|
declare const index$1_formatTime: typeof formatTime;
|
|
9074
|
+
declare const index$1_formatUnit: typeof formatUnit;
|
|
8971
9075
|
declare const index$1_getAbsPath: typeof getAbsPath;
|
|
8972
9076
|
declare const index$1_getGitPlugins: typeof getGitPlugins;
|
|
8973
9077
|
declare const index$1_getNpmPlugins: typeof getNpmPlugins;
|
|
8974
9078
|
declare const index$1_getRelPath: typeof getRelPath;
|
|
8975
9079
|
declare const index$1_isDir: typeof isDir;
|
|
9080
|
+
declare const index$1_isEven: typeof isEven;
|
|
8976
9081
|
declare const index$1_isPlugin: typeof isPlugin;
|
|
8977
9082
|
declare const index$1_karinToQQBot: typeof karinToQQBot;
|
|
8978
9083
|
declare const index$1_makeForward: typeof makeForward;
|
|
8979
9084
|
declare const index$1_makeMessage: typeof makeMessage;
|
|
8980
9085
|
declare const index$1_mergeImage: typeof mergeImage;
|
|
9086
|
+
declare const index$1_percentage: typeof percentage;
|
|
8981
9087
|
declare const index$1_qqbotToKarin: typeof qqbotToKarin;
|
|
9088
|
+
declare const index$1_random: typeof random;
|
|
9089
|
+
declare const index$1_round: typeof round;
|
|
8982
9090
|
declare const index$1_sleep: typeof sleep;
|
|
8983
9091
|
declare const index$1_splitPath: typeof splitPath;
|
|
8984
9092
|
declare const index$1_stream: typeof stream;
|
|
@@ -8986,7 +9094,7 @@ declare const index$1_updateYaml: typeof updateYaml;
|
|
|
8986
9094
|
declare const index$1_uptime: typeof uptime;
|
|
8987
9095
|
declare const index$1_urlToPath: typeof urlToPath;
|
|
8988
9096
|
declare namespace index$1 {
|
|
8989
|
-
export { type index$1_AxiosFn as AxiosFn, type index$1_NpmInfo as NpmInfo, index$1_absPath as absPath, index$1_axios as axios, index$1_base64 as base64, index$1_buffer as buffer, karinToQQBot as buttonToQQBot, index$1_createRawMessage as createRawMessage, index$1_downFile as downFile, existToMkdir as exists, index$1_formatTime as formatTime, index$1_getAbsPath as getAbsPath, index$1_getGitPlugins as getGitPlugins, index$1_getNpmPlugins as getNpmPlugins, getPlugins$1 as getPlugins, index$1_getRelPath as getRelPath, index$1_isDir as isDir, index$1_isPlugin as isPlugin, index$1_karinToQQBot as karinToQQBot, index$1_makeForward as makeForward, index$1_makeMessage as makeMessage, createRawMessage as makeMessageLog, index$1_mergeImage as mergeImage, mkdirSync as mkdir, getPluginInfo as pkgJson, pkgRoot as pkgroot, index$1_qqbotToKarin as qqbotToKarin, readJsonSync as readJson, read as readYaml, index$1_sleep as sleep, index$1_splitPath as splitPath, index$1_stream as stream, index$1_updateYaml as updateYaml, index$1_uptime as uptime, index$1_urlToPath as urlToPath, writeJsonSync as writeJson, write as writeYaml };
|
|
9097
|
+
export { type index$1_AxiosFn as AxiosFn, type index$1_NpmInfo as NpmInfo, index$1_absPath as absPath, index$1_average as average, index$1_axios as axios, index$1_base64 as base64, index$1_buffer as buffer, karinToQQBot as buttonToQQBot, index$1_clamp as clamp, index$1_createRawMessage as createRawMessage, index$1_diffArray as diffArray, index$1_downFile as downFile, existToMkdir as exists, index$1_formatNumber as formatNumber, index$1_formatTime as formatTime, index$1_formatUnit as formatUnit, index$1_getAbsPath as getAbsPath, index$1_getGitPlugins as getGitPlugins, index$1_getNpmPlugins as getNpmPlugins, getPlugins$1 as getPlugins, index$1_getRelPath as getRelPath, index$1_isDir as isDir, index$1_isEven as isEven, index$1_isPlugin as isPlugin, index$1_karinToQQBot as karinToQQBot, index$1_makeForward as makeForward, index$1_makeMessage as makeMessage, createRawMessage as makeMessageLog, index$1_mergeImage as mergeImage, mkdirSync as mkdir, index$1_percentage as percentage, getPluginInfo as pkgJson, pkgRoot as pkgroot, index$1_qqbotToKarin as qqbotToKarin, index$1_random as random, readJsonSync as readJson, read as readYaml, index$1_round as round, index$1_sleep as sleep, index$1_splitPath as splitPath, index$1_stream as stream, index$1_updateYaml as updateYaml, index$1_uptime as uptime, index$1_urlToPath as urlToPath, writeJsonSync as writeJson, write as writeYaml };
|
|
8990
9098
|
}
|
|
8991
9099
|
|
|
8992
9100
|
/**
|
|
@@ -9188,8 +9296,12 @@ interface Adapters {
|
|
|
9188
9296
|
self_id: string;
|
|
9189
9297
|
/** http服务的地址 */
|
|
9190
9298
|
url: string;
|
|
9191
|
-
/** http服务的鉴权令牌
|
|
9299
|
+
/** @deprecated http服务的鉴权令牌 */
|
|
9192
9300
|
token: string;
|
|
9301
|
+
/** 用于发送Api请求的鉴权Token 如果协议端没有设置无需填写 */
|
|
9302
|
+
api_token: string;
|
|
9303
|
+
/** 用于验证请求合法的Token 如果协议端没有设置无需填写 */
|
|
9304
|
+
post_token: string;
|
|
9193
9305
|
}[];
|
|
9194
9306
|
};
|
|
9195
9307
|
}
|
|
@@ -11386,4 +11498,4 @@ declare let level: ReturnType<typeof createLevelDB>;
|
|
|
11386
11498
|
*/
|
|
11387
11499
|
declare const start: () => Promise<void>;
|
|
11388
11500
|
|
|
11389
|
-
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type GetAtAllCountResponse, type GetBot, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, type ImageElement, type ImageSegment, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KeyboardElement, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgEnv, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, Renderer, type Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SEND_MSG, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type SwitchResult, type Task, type TextElement, type TextField, type TextSegment, type TitleField, type UnionMessage, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_SANDBOX, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, hooks, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, level, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, requireFile, requireFileSync, restart, restartDirect, rmSync, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|
|
11501
|
+
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type GetAtAllCountResponse, type GetBot, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, type ImageElement, type ImageSegment, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KeyboardElement, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgEnv, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, Renderer, type Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SEND_MSG, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type SwitchResult, type Task, type TextElement, type TextField, type TextSegment, type TitleField, type UnionMessage, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_SANDBOX, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createClient, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createHttp, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, hooks, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, level, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, requireFile, requireFileSync, restart, restartDirect, rmSync, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|