koishi-plugin-noah 1.0.3 → 1.0.11
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/core/services/card-service.d.ts +4 -0
- package/lib/core/utils/card.d.ts +1 -1
- package/lib/drawer/{SDVX → sdvx}/index.d.ts +13 -0
- package/lib/games/sdvx/commands/recent.d.ts +3 -0
- package/package.json +5 -2
- package/readme.md +1 -3
- package/lib/games/iidx/services/drawer-service.d.ts +0 -0
- package/lib/games/sdvx/services/drawer-service.d.ts +0 -0
- package/lib/index.js +0 -2489
- /package/lib/{core/services/drawer-service.d.ts → assets/index.d.ts} +0 -0
- /package/lib/drawer/{Core → core}/index.d.ts +0 -0
- /package/lib/drawer/{IIDX → iidx}/index.d.ts +0 -0
package/lib/core/utils/card.d.ts
CHANGED
|
@@ -5,6 +5,19 @@ import { SDVXConfig } from '../../types/config';
|
|
|
5
5
|
export declare class SDVXDrawer extends BaseDrawer {
|
|
6
6
|
ctx: Context;
|
|
7
7
|
constructor(ctx: Context);
|
|
8
|
+
/**
|
|
9
|
+
* Generate a Recent image for SDVX scores
|
|
10
|
+
* @param options Configuration options for image generation
|
|
11
|
+
* @param compression Compression options
|
|
12
|
+
* @returns Promise resolving to a Buffer containing the image data
|
|
13
|
+
*/
|
|
14
|
+
generateRecentImage(options: {
|
|
15
|
+
score: SDVXScore;
|
|
16
|
+
playerName: string;
|
|
17
|
+
config: SDVXConfig;
|
|
18
|
+
}, compression?: {
|
|
19
|
+
lossless: boolean;
|
|
20
|
+
}): Promise<Buffer>;
|
|
8
21
|
/**
|
|
9
22
|
* Generate a Volforce image for SDVX scores
|
|
10
23
|
* @param options Configuration options for image generation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-noah",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"contributors": [
|
|
5
5
|
"Logthm <logthm@outlook.com>"
|
|
6
6
|
],
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@ltxhhz/koishi-plugin-skia-canvas": "^0.0.8",
|
|
45
|
-
"@types/xml2js": "^0"
|
|
45
|
+
"@types/xml2js": "^0",
|
|
46
|
+
"koishi": "^4.18.7",
|
|
47
|
+
"typescript": "^5.9.0-dev.20250412",
|
|
48
|
+
"yml-register": "^1.2.5"
|
|
46
49
|
}
|
|
47
50
|
}
|
package/readme.md
CHANGED
|
File without changes
|
|
File without changes
|