🎨 style: 更新注释

This commit is contained in:
zhiyu1998 2024-07-14 13:00:43 +08:00
parent 77940411ef
commit bb22e8da24

View File

@ -1,5 +1,3 @@
import { contentEstimator } from "../utils/link-share-summary-util.js";
/** /**
* 用于百度翻译的常量控制 * 用于百度翻译的常量控制
* *
@ -36,8 +34,16 @@ export const douyinTypeMap = {
150: "image", 150: "image",
}; };
/**
* 固定值 1w目前用于哔哩哔哩的数值渲染
* @type {number}
*/
export const TEN_THOUSAND = 10000; export const TEN_THOUSAND = 10000;
/**
* #cat 指令的限制
* @type {number}
*/
export const CAT_LIMIT = 10; export const CAT_LIMIT = 10;
/** /**
@ -87,8 +93,16 @@ export const TWITTER_BEARER_TOKEN = "";
*/ */
export const BILI_DEFAULT_INTRO_LEN_LIMIT = 50; export const BILI_DEFAULT_INTRO_LEN_LIMIT = 50;
/**
* 总结的prompt
* @type {string}
*/
export const SUMMARY_PROMPT = `请返回您仔细阅读正文后精心写成的详尽笔记如果是ArXiv论文就简要介绍下内容和创新点即可` export const SUMMARY_PROMPT = `请返回您仔细阅读正文后精心写成的详尽笔记如果是ArXiv论文就简要介绍下内容和创新点即可`
/**
* 帮助文档提示
* @type {string}
*/
export const HELP_DOC = "\n文档https://gitee.com/kyrzy0416/rconsole-plugin" export const HELP_DOC = "\n文档https://gitee.com/kyrzy0416/rconsole-plugin"
/** /**