@delta-comic/plugin 2.0.1 → 2.2.0
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/dist/core-Czlf2w3A.js.map +1 -1
- package/dist/index.js +1108 -1886
- package/dist/index.js.map +1 -1
- package/dist/lib/depends.d.ts +4 -1
- package/dist/pack.tgz +0 -0
- package/package.json +7 -7
package/dist/lib/depends.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
interface DependDefineConstraint<_T> {
|
|
2
2
|
}
|
|
3
|
-
export type DependDefine<T> = symbol & DependDefineConstraint<T
|
|
3
|
+
export type DependDefine<T> = symbol & DependDefineConstraint<T> & {
|
|
4
|
+
_ts: T;
|
|
5
|
+
};
|
|
4
6
|
export declare const declareDepType: <T>(name: string) => DependDefine<T>;
|
|
5
7
|
export declare const require: <T>(define: DependDefine<T>) => T;
|
|
8
|
+
export type InferDependType<T extends DependDefine<any>> = T['_ts'];
|
|
6
9
|
export declare const pluginExposes: Map<symbol, any>;
|
|
7
10
|
export {};
|
package/dist/pack.tgz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delta-comic/plugin",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "空阙虱楼",
|
|
5
5
|
"homepage": "https://github.com/delta-comic/delta-comic",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@tauri-apps/api": "^2.10.1",
|
|
37
37
|
"@tauri-apps/plugin-fs": "^2.4.5",
|
|
38
38
|
"@vueuse/core": "^14.2.1",
|
|
39
|
-
"axios": "^1.13.6",
|
|
40
39
|
"jszip": "^3.10.1",
|
|
40
|
+
"ky": "^2.0.1",
|
|
41
41
|
"lz-string": "^1.5.0",
|
|
42
42
|
"mitt": "^3.0.1",
|
|
43
43
|
"pinia": "^3.0.4",
|
|
44
44
|
"userscript-meta": "^1.0.1",
|
|
45
45
|
"vue": "^3.5.30",
|
|
46
46
|
"vue-component-type-helpers": "^3.2.6",
|
|
47
|
-
"@delta-comic/
|
|
48
|
-
"@delta-comic/
|
|
49
|
-
"@delta-comic/
|
|
50
|
-
"@delta-comic/utils": "2.0
|
|
51
|
-
"@delta-comic/ui": "2.0
|
|
47
|
+
"@delta-comic/core": "2.2.0",
|
|
48
|
+
"@delta-comic/db": "2.2.0",
|
|
49
|
+
"@delta-comic/model": "2.2.0",
|
|
50
|
+
"@delta-comic/utils": "2.2.0",
|
|
51
|
+
"@delta-comic/ui": "2.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@tailwindcss/vite": "^4.2.1",
|