koishi-plugin-assets-copyparty 0.1.0 → 0.1.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/lib/index.d.ts CHANGED
@@ -18,7 +18,7 @@ declare namespace CopypartyAssets {
18
18
  loggerinfo: boolean;
19
19
  }
20
20
  const Config: Schema<Config>;
21
- const usage = "\n ---\n \n \u8981\u4F7F\u7528\u672C\u63D2\u4EF6\u63D0\u4F9B\u7684 assets \u670D\u52A1\uFF0C\u4F60\u9700\u8981\u5148\u5173\u95ED\u9ED8\u8BA4\u5F00\u542F\u7684 assets-local \u63D2\u4EF6\uFF0C\u7136\u540E\u5F00\u542F\u672C\u63D2\u4EF6\u3002\n\n ---\n\n \u672C\u63D2\u4EF6\u4F7F\u7528 copyparty \u5B9E\u73B0\u670D\u52A1\uFF0C\u652F\u6301\u56FE\u7247\u3001\u97F3\u9891\u3001\u89C6\u9891\u548C\u5176\u4ED6\u6587\u4EF6\u7684\u4E0A\u4F20\u548C\u5B58\u50A8\u3002\n\n ---\n\n \u672C\u63D2\u4EF6\u540E\u7AEF\u670D\u52A1\u6765\u81EA: <a href=\"https://filebin.net\" target=\"_blank\">https://filebin.net</a>\n\n --- \n ";
21
+ const usage = "\n ---\n \n \u8981\u4F7F\u7528\u672C\u63D2\u4EF6\u63D0\u4F9B\u7684 assets \u670D\u52A1\uFF0C\u4F60\u9700\u8981\u5148\u5173\u95ED\u9ED8\u8BA4\u5F00\u542F\u7684 assets-local \u63D2\u4EF6\uFF0C\u7136\u540E\u5F00\u542F\u672C\u63D2\u4EF6\u3002\n\n \u672C\u63D2\u4EF6\u4F7F\u7528 copyparty \u5B9E\u73B0\u670D\u52A1\uFF0C\u652F\u6301\u56FE\u7247\u3001\u97F3\u9891\u3001\u89C6\u9891\u548C\u5176\u4ED6\u6587\u4EF6\u7684\u4E0A\u4F20\u548C\u5B58\u50A8\u3002\n \u4F60\u5F88\u6709\u53EF\u80FD\u9700\u8981\u81EA\u5DF1\u67B6\u4E00\u4E2A...\n\n \u672C\u63D2\u4EF6\u540E\u7AEF\u670D\u52A1\u6765\u81EA: <a href=\"https://github.com/9001/copyparty\" target=\"_blank\">https://github.com/9001/copyparty</a>\n\n --- \n ";
22
22
  }
23
23
  export interface Config extends CopypartyAssets.Config {
24
24
  }
package/lib/index.js CHANGED
@@ -97,9 +97,9 @@ var CopypartyAssets = class extends import_assets.default {
97
97
  import_koishi.Schema.object({
98
98
  endpoint: import_koishi.Schema.string().role("link").description("copyparty 服务地址").required(),
99
99
  bin: import_koishi.Schema.string().description("上传至文件夹").required(),
100
- password: import_koishi.Schema.string().description("copyparty 密码(可不填)").experimental(),
101
- replace: import_koishi.Schema.string().description("endpoint replace").hidden(),
102
- loggerinfo: import_koishi.Schema.boolean().default(false).description("日志调试:一般输出<br>提issue时,请开启此功能 并且提供BUG复现日志").experimental()
100
+ password: import_koishi.Schema.string().description("copyparty 密码(可不填)"),
101
+ replace: import_koishi.Schema.string().description("endpoint replace<br>如果你需要把输出的endpoint替换的话...").experimental(),
102
+ loggerinfo: import_koishi.Schema.boolean().default(false).description("输出调试日志<br>提issue时,请开启此功能 并且提供BUG复现操作")
103
103
  }),
104
104
  import_assets.default.Config
105
105
  ]);
@@ -108,13 +108,10 @@ var CopypartyAssets = class extends import_assets.default {
108
108
 
109
109
  要使用本插件提供的 assets 服务,你需要先关闭默认开启的 assets-local 插件,然后开启本插件。
110
110
 
111
- ---
112
-
113
111
  本插件使用 copyparty 实现服务,支持图片、音频、视频和其他文件的上传和存储。
112
+ 你很有可能需要自己架一个...
114
113
 
115
- ---
116
-
117
- 本插件后端服务来自: <a href="https://filebin.net" target="_blank">https://filebin.net</a>
114
+ 本插件后端服务来自: <a href="https://github.com/9001/copyparty" target="_blank">https://github.com/9001/copyparty</a>
118
115
 
119
116
  ---
120
117
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-assets-copyparty",
3
3
  "description": "基于 copyparty 的资源转存服务",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [