haruki-sekai-deck-recommend-cpp 0.2.22 → 0.2.24

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/README.md CHANGED
@@ -42,6 +42,14 @@ const result = engine.recommend({
42
42
  music_id: 1,
43
43
  music_diff: "easy",
44
44
  user_data: suiteData,
45
+ single_card_configs: [{
46
+ card_id: 12345,
47
+ level: 60,
48
+ skill_level: 4,
49
+ master_rank: 5,
50
+ episode_read_count: 2,
51
+ canvas: true,
52
+ }],
45
53
  limit: 10,
46
54
  timeout_ms: 15000,
47
55
  })
package/index.d.ts CHANGED
@@ -46,6 +46,10 @@ export interface CardConfig {
46
46
  master_max?: boolean
47
47
  skill_max?: boolean
48
48
  canvas?: boolean
49
+ level?: number
50
+ skill_level?: number
51
+ master_rank?: number
52
+ episode_read_count?: number
49
53
  }
50
54
 
51
55
  export interface SingleCardConfig extends CardConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haruki-sekai-deck-recommend-cpp",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "WebAssembly bindings for the Project Sekai deck recommendation engine.",
5
5
  "type": "module",
6
6
  "license": "LGPL-2.0-only",
Binary file